A dog's hair turns white when his body stops forming melanin.
Just as it is with humans, aging is the most common cause of white hair in dogs.
It is a normal and natural process and is not a cause for concern.
There are, however, other potential causes involving medical conditions and more.