Fortified foods and dietary supplements can also be consumed to ensure adequate intake. Food preparation
Niacin naturally found in food is susceptible to destruction from high heat cooking, especially in the presence of acidic foods and sauces. It is soluble in water, and so may also be lost from foods boiled in water. Food fortification
Countries fortify foods with nutrients to address known deficiencies. As of 2020, 54 countries required food fortification of wheat flour with niacin or niacinamide; 14 also mandate fortification of maize flour, and 6 mandate fortification of rice. From country to country, niacin fortification ranges from 1.3 to 6.0 mg/100 g.

As a dietary supplement
In the United States, niacin is sold as a non-prescription dietary supplement with a range of 100 to 1000 mg per serving. These products often have a Structure/Function health claim allowed by the US Food & Drug Administration (FDA). An example would be "Supports a healthy blood lipid profile." The American Heart Association strongly advises against the substitution of dietary supplement niacin for prescription niacin because of potentially serious side effects, which means that niacin should only be used under the supervision of a health care professional, and because manufacture of dietary supplement niacin is not as well-regulated by the FDA as prescription niacin. More than 30 mg niacin consumed as a dietary supplement can cause skin flushing. Face, arms and chest skin turns a reddish color because of vasodilation of small subcutaneous blood vessels, accompanied by sensations of heat, tingling and itching.
A disease that was characterized by dermatitis of sunlight-exposed skin was described in Spain in 1735 by Gaspar Casal. He attributed the cause to poor diet. In northern Italy it was named "pellagra" from the Lombard language (agra = holly-like or serum-like; pell = skin). In time, the disease was more closely linked specifically to corn. In the US, Joseph Goldberger was assigned to study pellagra by the Surgeon General of the United States. His studies confirmed a corn-based diet as the culprit, but he did not identify the root cause.Nicotinic acid was extracted from liver by biochemist Conrad Elvehjem in 1937. He later identified the active ingredient, referring to it as "pellagra-preventing factor" and the "anti-blacktongue factor." It was also referred to as "vitamin PP", "vitamin P-P" and "PP-factor", all derived from the term "pellagra-preventive factor". In the late 1930s, studies by Tom Douglas Spies, Marion Blankenhorn, and Clark Cooper confirmed that niacin cured pellagra in humans. The prevalence of the disease was greatly reduced as a result.In 1942, when flour enrichment with nicotinic acid began, a headline in the popular press said "Tobacco in Your Bread." In response, the Council on Foods and Nutrition of the American Medical Association approved of the Food and Nutrition Boards new names niacin and niacin amide for use primarily by non-scientists. It was thought appropriate to choose a name to dissociate nicotinic acid from nicotine, to avoid the perception that vitamins or niacin-rich food contains nicotine, or that cigarettes contain vitamins.