White specks in your hair are almost always one of four things: dandruff flakes, lice eggs (nits), product buildup, or a less common fungal infection. The most likely culprit is dandruff, which affects roughly 4 to 5 percent of the global population in its clinical form, seborrheic dermatitis, and is far more common in milder presentations. A simple at-home test can help you figure out which one you’re dealing with.
The Quick Test to Narrow It Down
Pinch one of the white specks between your fingers and try to pull it off the hair strand. According to CDC guidelines for examining head lice, dandruff flakes slide off easily or flick away with minimal effort. Nits, on the other hand, are cemented to the hair shaft and resist being pulled off. This single test rules out lice for most people and points toward dandruff or buildup instead.
If the speck doesn’t slide off but also doesn’t look like a tiny teardrop glued at an angle to the strand, you may be dealing with something else entirely, like a fungal nodule or a hair cast. More on those below.
Dandruff and Seborrheic Dermatitis
Dandruff is by far the most common reason for white specks. It happens when the scalp sheds skin cells faster than normal, often triggered by an overgrowth of a yeast that naturally lives on your skin. The flakes originate on the scalp itself and then fall onto your hair, clothing, and shoulders. They’re usually flat, irregularly shaped, and white or yellowish. You might notice them more when your scalp feels dry or oily, and mild itching is common.
Seborrheic dermatitis is the more persistent, inflammatory version. The scales tend to look oily and crusted rather than dry and powdery, and the skin underneath may appear red or irritated. Scalp psoriasis can look similar but typically produces thicker, drier, silvery-white scales that feel more firmly attached to raised patches of skin. If your flakes are thick, silvery, and sit on top of well-defined red plaques, psoriasis is worth considering.
For standard dandruff, medicated shampoos with one of three active ingredients are the go-to treatment. Zinc pyrithione works by reducing the yeast population on your scalp and normalizing how skin cells shed. Selenium sulfide targets the same yeast while also slowing the rate at which your scalp produces new cells. Ketoconazole is a broad-spectrum antifungal that disrupts the cell membranes of the yeast directly. All three are available over the counter at 1 percent concentrations, with stronger versions available by prescription. Most people see improvement within two to four weeks of regular use, typically lathering the shampoo and leaving it on the scalp for a few minutes before rinsing.
Lice Eggs (Nits)
Nits are small, teardrop-shaped eggs laid by head lice. They attach at an angle to individual hair strands, usually close to the scalp where warmth helps them incubate. Unlike dandruff, nits don’t flake off when touched. They’re glued in place with a cement-like substance and require deliberate effort to remove. They’re typically found behind the ears and along the nape of the neck.
If you also spot tiny brown or black bugs crawling on the scalp or hair, that confirms lice rather than dandruff. Persistent itching, particularly at the back of the head, is another hallmark. Dandruff itching tends to be more generalized across the scalp.
Over-the-counter lice treatments (pediculicides) are the standard first step. Some formulations kill both lice and eggs in a single application, while others kill only live lice and require a second treatment 7 to 9 days later to catch newly hatched nymphs. After treatment, use a fine-toothed nit comb to physically remove dead lice and eggs from the hair. Check and comb every two to three days for the following two to three weeks. If lice still appear active 8 to 12 hours after treatment, the product may not be effective, and a different medication may be needed.
Product Buildup and Hair Casts
Dry shampoo, hairspray, gel, and other styling products can leave white residue that flakes or crumbles along the hair shaft. This is especially common if you go several days between washes or layer multiple products. The specks tend to be irregularly shaped, feel waxy or powdery, and wash out completely with a clarifying shampoo. If your white specks appeared after changing products or extending the time between washes, buildup is the likely explanation.
Hair casts are a related but distinct possibility. These are thin, white, tube-shaped sheaths that slide freely along the hair strand when pulled. They’re made of dead skin cells that have wrapped around the base of the hair and detached. They look a bit like nits at first glance but move easily up and down the strand, while nits stay locked in place. Hair casts are harmless and typically result from scalp conditions like psoriasis or seborrheic dermatitis, or sometimes from frequent ponytails pulling at the hair follicle.
White Piedra: A Fungal Infection
White piedra is an uncommon fungal infection caused by a type of yeast that forms small, hard, white-to-tan nodules along the hair shaft. Unlike dandruff flakes, these nodules fully encircle the strand and can’t be easily slid off. Unlike nits, they tend to appear farther from the scalp and wrap around the hair rather than attaching at an angle.
People with long or curly hair, those who tie their hair up while it’s still wet, and anyone living in a humid climate are at higher risk. The nodules feel gritty when you run a strand between your fingers. White piedra doesn’t usually cause itching or scalp irritation, which helps distinguish it from dandruff and lice. It’s treatable with antifungal shampoos or, in some cases, simply cutting the affected hair. If you suspect white piedra, a dermatologist can confirm the diagnosis with a microscopic exam.
How to Tell Them Apart at a Glance
- Dandruff: Flat, irregular flakes on the scalp and in the hair. Flick off easily. Scalp may be itchy, red, or oily.
- Nits: Teardrop-shaped, glued to hair at an angle, close to the scalp. Won’t slide off. May see live bugs.
- Product buildup: Waxy or powdery residue along hair strands. Washes out completely with thorough shampooing.
- Hair casts: Thin white tubes that slide freely along the hair strand when pulled.
- White piedra: Hard, gritty nodules encircling the hair shaft. Immobile. Found farther from the scalp.
Signs That Need Professional Attention
Most white specks in the hair resolve with the right over-the-counter shampoo or a change in hair care routine. But if you’ve tried medicated shampoos for several weeks without improvement, or if your scalp becomes constantly itchy, develops a red rash, or feels swollen, warm, or painful to the touch, a dermatologist can examine the specks under magnification and determine exactly what’s going on. Persistent, thick, silvery scales that don’t respond to dandruff shampoos may point toward psoriasis, which benefits from targeted treatment.

