No, pellagra is not contagious. It is a nutritional deficiency disease caused by inadequate intake or absorption of niacin.