The quickest way to tell dandruff from lice eggs is to try moving the speck. Dandruff flakes slide off or fall freely when you run your fingers through your hair. Lice eggs, called nits, are glued to the hair shaft and won’t budge without effort. That single test resolves most confusion, but there are several other differences in shape, location, and symptoms that help you identify exactly what you’re dealing with.
The Slide Test: Your Best Starting Point
Female lice secrete a liquid glue from their reproductive glands that hardens within seconds around the egg and the hair shaft. This cement is protein-based and cross-linked at a molecular level, making it remarkably strong. You cannot flick a nit off with your fingernail. Removing one requires pinching it between two fingers or two fingernails and deliberately sliding it down the length of the hair strand.
Dandruff is the opposite. These are loose flakes of dead skin that sit on the scalp surface or rest lightly against hair. Shaking your head, brushing your hair, or simply running your hands through it will dislodge them. If the white speck falls away easily, it’s almost certainly not a nit.
Shape and Size Differences
Under close inspection (a magnifying glass helps), nits and dandruff look quite different. Nits are tiny, teardrop-shaped or oval capsules attached to one side of a hair strand. They’re uniform in shape, roughly the size of a pinhead, and yellow to white in color. Each one sits at a slight angle on the shaft, like a bead threaded onto a string.
Dandruff flakes are irregular. They vary in size, have ragged or uneven edges, and look flat rather than three-dimensional. Their color ranges from white to yellowish, which is why they’re easy to confuse with nits at a glance. But dandruff never has that consistent oval shape, and it doesn’t attach to a single strand of hair the way a nit does.
Where They Show Up on Your Scalp
Lice lay their eggs close to the scalp because the warmth is essential for incubation. Viable nits are typically found within about 6 millimeters of the skin surface, most often behind the ears and along the nape of the neck. Nits found farther down the hair shaft have usually already hatched or are no longer viable. They won’t hatch at temperatures lower than what the scalp provides.
Dandruff, on the other hand, appears across the entire scalp. You’ll see flakes scattered through your hair at all lengths, sitting on the scalp itself, or falling onto your shoulders. It doesn’t cluster in specific zones the way nits tend to.
How the Itching Feels Different
Both conditions cause itching, but the sensations are distinct. Dandruff itching is a diffuse, dry-scalp irritation. It can range from mild to persistent, and you’ll often notice visible flaking along with it. The itch doesn’t change much throughout the day.
Lice itching comes from bites. The insects pierce the skin to feed on blood, and the resulting itch tends to be more intense and localized, especially behind the ears and at the back of the head. Many people also describe a crawling or tickling sensation, as though something is moving through their hair. Lice are most active at night, so the itching and crawling feeling often worsens at bedtime and can disrupt sleep.
What Causes Each Condition
Dandruff is a skin condition, not an infestation. It’s driven by a combination of a naturally occurring yeast on the scalp (part of the normal skin flora), the oils your skin produces, and your individual immune response. The yeast feeds on skin oils and breaks down fatty acids, which can disrupt the scalp’s lipid balance and trigger excess skin cell turnover. The result is visible flaking. Stress, cold weather, and oily skin can all make it worse, but dandruff is not contagious.
Head lice are parasitic insects that spread through direct head-to-head contact. A female louse lays eggs on the hair shaft close to the scalp, and each egg takes about 8 to 9 days to hatch. The nymphs that emerge mature into adults that bite, feed, and reproduce. Lice cannot jump or fly. They crawl from one person’s hair to another’s, which is why they spread so readily among children in close quarters.
Other Things That Look Like Nits
Dandruff isn’t the only imposter. Hair casts, sometimes called pseudonits, are thin, white, cylindrical sheaths that wrap around the hair shaft. They’re 2 to 7 millimeters long, shiny, and firm. The key difference from actual nits is that hair casts slide easily along the strand when you pinch them. They encircle the hair like a sleeve rather than attaching to one side, and they can appear anywhere along the shaft, not just near the scalp. Product buildup, dried hairspray, and residue from styling products can also leave small white particles that mimic nits at first glance.
If you’re unsure, the combination of the slide test and close visual inspection will rule out most lookalikes. Nits are oval, fixed in place, and clustered near the scalp. Anything that moves freely, wraps all the way around the hair, or appears far from the roots is likely something else.
How to Check Definitively
Wet combing is the most reliable home method. Wet the hair thoroughly, apply a generous amount of conditioner, and use a fine-toothed lice comb to systematically sweep from the scalp to the ends, section by section. After each pass, wipe the comb onto a white paper towel or tissue. Conditioner slows live lice down so they can’t escape the comb, and the white background makes nits, nymphs, and adult lice easy to spot. A 10x magnifying glass helps confirm what you’re seeing.
Finding live lice or nits firmly attached within a quarter inch of the scalp confirms an active infestation. Finding only dandruff flakes, product residue, or empty casings far from the scalp points away from lice.
Treatment Is Completely Different
This distinction matters because treatments for dandruff do nothing for lice, and vice versa. Dandruff responds to medicated shampoos containing antifungal ingredients that target the yeast responsible for the flaking. These shampoos are available over the counter, and regular use keeps symptoms controlled in most people. Dandruff is a chronic, manageable condition rather than something you cure once.
Lice require a targeted approach: a pediculicide treatment (available over the counter or by prescription) combined with thorough combing to physically remove nits. Because lice glue is so durable, even dead nits won’t fall off on their own. You’ll need to comb them out strand by strand. Most treatments require a second application about 9 days later to catch any nymphs that hatched after the first round. Bedding, hats, and hair accessories used in the 48 hours before treatment should be washed in hot water or sealed in a plastic bag for two weeks, since lice and nits can’t survive long without a human host.

