Why does chocolate turn white (and is it safe to eat)?

Sometimes dark or milk chocolate gets a white sheen or blotchy white spots on it. What is happening, and is chocolate that has turned white safe to eat?

These old praline chocolates are blooming with white markings.

(Image credit: Trygve Finkelsen via Getty Images)
Latest Videos From
Charles Q. Choi
Live Science Contributor
Charles Q. Choi is a contributing writer for Live Science and Space.com. He covers all things human origins and astronomy as well as physics, animals and general science topics. Charles has a Master of Arts degree from the University of Missouri-Columbia, School of Journalism and a Bachelor of Arts degree from the University of South Florida. Charles has visited every continent on Earth, drinking rancid yak butter tea in Lhasa, snorkeling with sea lions in the Galapagos and even climbing an iceberg in Antarctica.