Dandruff isn't contagious. So how do you get it? Doctors aren't sure, but one theory is that it may be due to an overgrowth of a fungus. Other possible risk factors include oily skin, stress, obesity, cold, dry weather, and having eczema or psoriasis. Although it's embarrassing -- and the itching can be bothersome -- dandruff isn't harmful.