Dandruff is a common condition that causes the skin on the scalp to flake. It isn’t contagious or serious. But it can be embarrassing and difficult to treat. Mild dandruff can be treated with a gentle daily shampoo. If that doesn’t work, a medicated shampoo may help.