Medical conditions, such as vitiligo or alopecia areata, can cause white hair. These conditions affect the melanin production in your hair follicles, resulting in a loss of pigment and the appearance of white or gray hair.