Nicotinamide is a form of vitamin B₃ found in food and used as a dietary supplement and medication. As a supplement, it is used by mouth to prevent and treat pellagra. While nicotinic acid may be used for this purpose, nicotinamide has the benefit of not causing skin flushing. As a cream, it is used to treat acne. It is a water soluble vitamin. Side effects are minimal. At high doses liver problems may occur. Normal amounts are safe for use during pregnancy. Nicotinamide is in the vitamin B family of medications, specifically the vitamin B₃ complex. It is an amide of nicotinic acid. Foods that contain nicotinamide include yeast, meat, milk, and green vegetables. Nicotinamide was discovered between 1935 and 1937. It is on the World Health Organization's List of Essential Medicines. Nicotinamide is available as a generic medication and over the counter. Commercially, nicotinamide is made from either nicotinic acid or nicotinonitrile.