Supplementing the diet with nicotinamide or niacin is also of benefit in preventing Hartnup disease episodes. In some instances, during a symptomatic episode, treatment with nicotinamide may be recommended.