Ergocalciferol, also known as vitamin D2 and nonspecifically calciferol, is a type of vitamin D found in food. It is used as a dietary supplement to prevent and treat vitamin D deficiency due to poor absorption by the intestines or liver disease. It may also be used for low blood calcium due to hypoparathyroidism. It is taken by mouth or via injection into a muscle.
Excessive doses can result in vitamin D toxicity causing increased urine production, high blood pressure, kidney stones, kidney failure, muscle weakness, and constipation. If high doses are taken for a long period of time, tissue calcification may occur. Normal doses are safe in pregnancy. It works by increasing the amount of calcium absorbed by the intestines and reabsorbed by the kidneys. Food in which it is found include some mushrooms.