A disease caused by having too little vitamin B3 (niacin) or the amino acid tryptophan in the diet. It can also occur if the body fails to absorb these nutrients, after gastrointestinal diseases or with alcoholism. Symptoms of pellagra include diarrhea, mental confusion, and scaly skin sores.