Gastroenterostomy can also cause pellagra. Chronic alcoholism can also cause poor absorption which combines with a diet already low in niacin and tryptophan to produce pellagra. Hartnup disease is a genetic disorder that reduces tryptophan absorption, leading to pellagra. Alterations in protein metabolism may also produce pellagra-like symptoms. An example is carcinoid syndrome, a disease in which neuroendocrine tumors along the GI tract use tryptophan as the source for serotonin production, which limits the available tryptophan for niacin synthesis. In normal patients, only one percent of dietary tryptophan is converted to serotonin; however, in patients with carcinoid syndrome, this value may increase to 70%. Carcinoid syndrome thus may produce niacin deficiency and clinical manifestations of pellagra. Anti-tuberculosis medication tends to bind to vitamin B6 and reduce niacin synthesis, since B6 (pyridoxine) is a required cofactor in the tryptophan-to-niacin reaction. Several therapeutic drugs can provoke pellagra. These include the antibiotics isoniazid, which decreases available B6 by binding to it and making it inactive, so it cannot be used in niacin synthesis, and chloramphenicol; the anti-cancer agent fluorouracil; and the immunosuppressant mercaptopurine. Treatment
If untreated, pellagra can kill within four or five years. Treatment is with nicotinamide, which has the same vitamin function as niacin and a similar chemical structure, but has lower toxicity. The frequency and amount of nicotinamide administered depends on the degree to which the condition has progressed. Epidemiology
Pellagra can be common in people who obtain most of their food energy from corn, notably rural South America, where maize is a staple food.
Frostigs and Tom Spies—according to Cleary and Cleary—described more specific psychological symptoms of pellagra as:

Psychosensory disturbances (impressions as being painful, annoying bright lights, odors intolerance causing nausea and vomiting, dizziness after sudden movements),
Psychomotor disturbances (restlessness, tense and a desire to quarrel, increased preparedness for motor action), as well as
Emotional disturbancesIndependently of clinical symptoms, blood level of tryptophan or urinary metabolites such as 2-pyridone/N-methylniacinamide ratio <2 or NAD/NADP ratio in red blood cells can diagnose pellagra. The diagnosis is confirmed by rapid improvements in symptoms after doses of niacin (250–500 mg/day) or niacin enriched food. Pathophysiology
Pellagra can develop according to several mechanisms, classically as a result of niacin (vitamin B3) deficiency, which results in decreased nicotinamide adenine dinucleotide (NAD). Since NAD and its phosphorylated NADP form are cofactors required in many body processes, the pathological impact of pellagra is broad and results in death if not treated. The first mechanism is simple dietary lack of niacin. Second, it may result from deficiency of tryptophan, an essential amino acid found in meat, poultry, fish, eggs, and peanuts that the body uses to make niacin. Third, it may be caused by excess leucine, as it inhibits quinolinate phosphoribosyl transferase (QPRT) and inhibits the formation of niacin or nicotinic acid to nicotinamide mononucleotide (NMN) causing pellagra like symptoms to occur.Some conditions can prevent the absorption of dietary niacin or tryptophan and lead to pellagra. Inflammation of the jejunum or ileum can prevent nutrient absorption, leading to pellagra, and this can in turn be caused by Crohns disease.