Hairy tongue occurs due to lack of stimulation / abrasion to the top of the tongue. The result is a buildup of a protein known as keratin (the same protein that makes up the hair on your head).