Causes of pellagra: maize-based diets (maize contains niacytin, which the body cannot use), alcohol misuse, chronic small intestinal disease, Hartnup disease (impaired tryptophan absorption), and carcinoid syndrome (tryptophan used up making 5-HT). It can develop within 8 weeks on a very deficient diet.