“Bed worms” isn’t a single species. It’s a catch-all term for several different creatures that show up in mattresses, sheets, and bedding. The most common culprits are carpet beetle larvae, flea larvae, pinworms, and occasionally bed bug nymphs or tapeworm segments from pets. Identifying which one you’re dealing with is the first step to getting rid of it, and each looks distinct enough that you can usually narrow it down with a close look.
Carpet Beetle Larvae
These are the most common “bed worms” people find. Carpet beetle larvae look like tiny, fuzzy caterpillars, roughly 5 to 8 millimeters long. Depending on the species, they range from light brown with dark stripes to nearly black, and their bodies are covered in short, stiff hairs or dense tufts. The varied carpet beetle larva is wider at the rear and narrower at the front, while the furniture carpet beetle larva has the opposite shape. If you disturb one, it may fan its hair tufts upright into a small plume.
You’ll typically find them in dark, secluded spots: along mattress seams, under the bed, or tucked into the folds of sheets. They don’t bite or burrow into skin. They feed on natural fibers like wool, silk, feathers, and pet hair, which means your bedding and bedroom carpet are prime real estate for them. Their presence usually signals that shed skin, pet dander, or natural-fiber fabrics are available as a food source.
Getting rid of carpet beetle larvae starts with thorough vacuuming of your mattress, bed frame, carpet edges, and any dark corners nearby. Wash all bedding on hot and run it through the dryer on high for at least 30 minutes, which is enough heat to kill larvae and eggs. If you have wool blankets or down pillows, these need special attention since larvae are drawn to animal-based materials. Repeated vacuuming over several weeks helps catch newly hatched larvae before they mature.
Flea Larvae
If you have cats or dogs that sleep on or near your bed, the tiny worms you’re seeing may be flea larvae. They’re small (under 6 millimeters), legless, and dirty white. They look like translucent little grubs and tend to curl into a C-shape. Unlike carpet beetle larvae, they have no hair tufts and no obvious coloring.
Flea larvae don’t feed on blood directly. They survive on dried adult flea droppings, dead skin, and organic debris in bedding and carpet fibers. You’ll most often find them in pet bedding, under furniture, or in the crevices of a mattress where a pet regularly sleeps. The larval stage lasts 5 to 11 days before they spin a cocoon and pupate into adult fleas.
Eliminating flea larvae in bedding requires treating the entire flea lifecycle, not just what you can see. Wash pet bedding and your own sheets in hot water and dry on high heat. Vacuum the mattress, carpet, and upholstered furniture thoroughly, then dispose of the vacuum bag or empty the canister outside. Your pet will need flea treatment as well, since adults on the animal are the source of new eggs.
Pinworms
If the “worms” in your bed are white, thread-thin, and about 6 to 12 millimeters long, they may be actual worms: pinworms. These are the most common intestinal parasite in the United States, and they’re especially frequent in school-age children. Female pinworms crawl out of the rectum at night, typically two to three hours after falling asleep, to lay eggs around the anus. This causes intense nighttime itching.
You might spot them wriggling on bedsheets, underwear, or pajamas. They look like tiny pieces of white thread. Their eggs are microscopic, so even when you don’t see adult worms, eggs can be present on sheets, towels, and clothing. Pinworms spread easily within a household because eggs stick to fingers after scratching, then transfer to surfaces, food, and other family members.
An over-the-counter deworming medication is available at most pharmacies. It works by paralyzing the worms so they pass out of the body in stool. The dose is based on body weight, taken once, then typically repeated two to three weeks later to catch any worms that hatched after the first dose. Because pinworms transfer so easily between people sharing a home, all household members usually need treatment at the same time. Wash all bedding, towels, and underwear in hot water on the day of treatment.
Bed Bug Nymphs
Young bed bugs can look worm-like to the naked eye, especially in their earliest stage. First-instar nymphs are translucent whitish-yellow, oval-shaped, and small enough to be hard to spot unless they’ve recently fed. After a blood meal, they turn bright red and swell to resemble a tiny raspberry seed. Bed bugs go through five nymphal stages before reaching adulthood, growing slightly larger and darker at each one.
Unlike the other creatures on this list, bed bug nymphs are flat (when unfed) rather than cylindrical. They don’t move in a worm-like crawl. You’ll also see other telltale signs if bed bugs are the cause: small rust-colored stains on sheets from crushed bugs or droppings, a musty odor in heavy infestations, and itchy bite marks that often appear in clusters or lines on exposed skin. If you suspect bed bugs, check mattress seams, the crevices of your bed frame, and behind the headboard.
Tapeworm Segments From Pets
If your cat or dog sleeps in your bed and you’re finding what looks like dried grains of rice on the sheets, those are likely tapeworm segments. As a tapeworm grows inside a pet’s intestines, pieces break off and pass out through the animal’s stool or crawl out and cling to the fur around the tail. From there, they end up on bedding, furniture, and carpet.
Fresh segments are whitish-cream, flat, and ribbon-like. They may still be moving. Once dried, they shrink and look like sesame seeds or small rice grains. These segments contain tapeworm eggs but aren’t directly infectious to humans through casual contact. The fix is straightforward: your pet needs a deworming treatment from a veterinarian, and you should wash all bedding the pet has contacted in hot water.
Quick Identification Guide
- Fuzzy, striped, 5 to 8 mm: Carpet beetle larva. Feeds on fibers, not people.
- White, legless grub, under 6 mm: Flea larva. Found near pet sleeping areas.
- Thread-thin, white, 6 to 12 mm: Pinworm. Causes nighttime anal itching.
- Flat, oval, translucent or red: Bed bug nymph. Look for bite marks and stains.
- Rice-grain shapes, dry or wriggling: Tapeworm segments from a pet.
Cleaning Steps That Work for All of Them
Regardless of which creature you’re dealing with, a few universal steps help. Strip all bedding, including mattress covers and pillowcases, and wash everything on the hottest setting your fabric allows. Run the dryer on high for at least 30 minutes. This temperature kills larvae, eggs, and nymphs across all the species listed above.
Vacuum your mattress thoroughly, paying close attention to seams, tufts, and the area where the mattress meets the bed frame. Vacuum the surrounding carpet, especially along baseboards and under furniture. If you have pets, wash their bedding on the same schedule. Repeat the full process weekly for at least three to four weeks, since eggs you missed can hatch in the interim. For persistent infestations of carpet beetles or bed bugs, a professional pest treatment may be necessary if cleaning alone doesn’t resolve the problem.