Vitamin D toxicity, also called hypervitaminosis D, is a rare but potentially serious condition that occurs when you have excessive amounts of vitamin D in your body. Vitamin D toxicity is usually caused by megadoses of vitamin D supplements — not by diet or sun exposure. That's because your body regulates the amount of vitamin D produced by sun exposure, and even fortified foods don't contain large amounts of vitamin D.