
A practical, no-panic plan for clearing ants from your bed: strip and wash bedding, vacuum the mattress, break the scent trail, set baits, and create a barrier so they don't come back.
Finding ants in your bed is unsettling, but it almost always has a fixable cause: a scent trail leading to a food source, a moist hiding spot, or an entry point near the bedroom. The fastest way to fix it isn't a single spray - it's a short sequence of steps that disrupts the trail, removes the colony's draw, and seals the route so they don't come back the next night.
Below is the same plan most pest-control guides converge on, distilled into the order that actually works at home.
Ants follow pheromone trails laid by scouts. Once a scout finds something worth foraging - crumbs, sugary residue, even pet food on a nearby floor - it leaves a chemical breadcrumb the rest of the colony reinforces every time they make the trip. If that trail crosses your bed, you have ants in your bed.
Common reasons the trail ends up on the mattress:
If you can identify which of these applies to your room, the rest of this guide is faster - you'll know which step is doing the heavy lifting.
Pull off sheets, pillowcases, mattress protector, and any blankets. Wash them on the hottest setting the fabric tolerates and dry on high heat. Hot water plus a hot dryer cycle kills ants and any eggs they may have left, and it removes the food residue that pulled them in.
Don't shake bedding out indoors - that just relocates the ants and their pheromone-coated bodies. Take linens straight to the washing machine in a sealed bag if you can.

Use the crevice tool to vacuum every seam, tuft, and quilted indentation on the mattress, then move to the box spring, slats, and bed frame - especially joints and screw holes. The goal here isn't just removing live ants; it's pulling out crumbs, dust, and anything else that registers as food to a returning scout.
Empty the vacuum canister into a sealed bag and take it straight to the outside trash. A canister left full of live ants will simply leak them back into the room over the next few hours.
This is the step most people skip, and it's the one that decides whether the ants come back tomorrow. Mix equal parts white vinegar and water in a spray bottle and wipe down the bed frame, headboard, baseboards, and the floor under the bed. Vinegar dissolves the pheromone trail, so even if a few scouts return, they can't lead the colony back.
Don't crush ants on the way to the trash - squashed ants release more pheromones, doubling down on the trail you're trying to erase. Pick them up with a damp microfiber cloth or a piece of tape.

Sprays kill the ants you can see; baits kill the ones you can't. A slow-acting liquid bait (Terro and similar borax-based stations are the most-recommended drugstore options) lets workers carry the poison back to the nest, where it reaches the queen and the brood. That's the only way to end the infestation rather than thin it.
Place stations along the trail, near baseboards, and at suspected entry points - not directly on top of an active trail, which scares workers off. Leave them alone for several days. It's normal to see more ants at first, not fewer; that's the bait being shared.
Skip the bait if anyone is actively spraying the same area with insecticide. Spray repels workers from the bait, which is the opposite of what you want.
While the bait does its work, make the bed itself unreachable:
If the bedroom doubles as a snack space, that habit is the trail's anchor. The fix isn't dramatic - just consistent:
A quick read on the ant in front of you helps decide whether bait alone is enough or you need outside help:
If the trail keeps reappearing after a full week of baiting, if you find a swarm of flying ants indoors, or if you see frass (sawdust-like debris) near wooden furniture, the nest is likely inside a wall, the bed frame itself, or the structure of the home. At that point a licensed pest-control technician can find and treat the nest in a way over-the-counter products can't.
A scout ant found a food source - usually crumbs, sugary residue on sheets, or pet food nearby - and laid a pheromone trail the rest of the colony is now following. Moisture in the frame and a bed pushed against a wall make the route easier. Wash the bedding hot, vacuum the mattress, wipe everything down with a vinegar-water solution, and the trail breaks.
Sometimes, if the food source is removed and they can't find a replacement nearby. More often, breaking the pheromone trail and setting bait traps is what actually ends the visits. Doing nothing usually means they shift to a different room rather than leave the home.
White vinegar is the most effective at home because it both repels ants and dissolves the scent trail. Peppermint oil, cinnamon, black pepper, and coffee grounds also work as deterrents, though they don't break the trail the way vinegar does.
Most household ants (sugar, odorous house, pavement ants) don't bite humans in any meaningful way. Carpenter ants can pinch if provoked. Fire ants do sting and require a different approach - call pest control rather than handling them yourself.
It's uncommon but possible if the mattress has open seams, cracks, or stays consistently damp. If you suspect a nest inside the mattress itself - visible trails coming from the seam, ants emerging when you press the surface - it's usually time to replace the mattress and treat the room before a new one arrives.
Most enclosed bait stations (Terro, Raid Ant Baits, etc.) are designed so the bait isn't directly accessible to pets or children, but they should still be placed out of reach where possible. Read the label for the specific product, and avoid loose-bait or DIY borax mixtures in homes with curious pets.
Written by
Banner Mattress EditorialThe Banner Mattress editorial team publishes independent mattress reviews, buying guides, and sleep-health advice. Since 2018 we've tested 1,000+ mattresses and 3,000+ pillows, sheets, and bedding accessories in our review lab - every recommendation is hands-on, never sourced from vendor talking points. Affiliate links may earn us a commission, but never change what we recommend.
Home TipsA step-by-step guide to packing any mattress for a move - bag, box, or vacuum-compress - without ruining the coils, foam, or your back.
Home TipsYes, rats can climb beds - here's how they do it, the warning signs of a bedroom infestation, and 10 prevention steps backed by CDC and EPA guidance (no mothballs, no ultrasonic gimmicks).
Home TipsTempur-Pedic says never submerge or machine-wash the pillow itself - only the cover. Here's the safe spot-clean and deodorize routine that actually preserves the foam.
