The primary cause of dandruff is the yeast Malassezia that lives in hair follicles. When it grows too much, it can suck up oil, causing irritation, drying out skin and causing dandruff.