Ants in Your Bed: Why They Come and How to Stop Them

Ants in a bed are almost always foragers following a trail to food, drink or moisture, not ants living in the mattress. Strip and hot-wash the bedding, pull the bed away from the wall, follow the trail back to where it enters the room, and put bait on that trail rather than on the bed. The two exceptions are tiny pale pharaoh ants, which UF/IFAS says can nest between layers of bed linen, and fire ants, which have stung bedridden people indoors.
What the ants on your bed are telling you
| What you see | Most likely cause | First move |
|---|---|---|
| A steady line of small brown or black ants running up a bed leg or along the headboard | A foraging trail from a nest in the wall, floor or outside, drawn to crumbs, sugary drink or a water glass | Follow the line to the entry point; bait there, not on the bed |
| Ants only where you eat or drink in bed, and they stop once it is cleaned | Food residue on sheets, pillows or a bedside table | Wash bedding, vacuum, keep food and drink out of bed until the trail is gone |
| Tiny yellowish or light brown ants, about 1.5 to 2 mm, in a flat or apartment, sometimes in folded linen | Pharaoh ants, which nest in warm, humid voids and occasionally in stored linen and clothes | Do not spray. Bait only; in a multi-unit building, tell the landlord |
| Minute ants with a dark head and a pale, almost see-through abdomen and legs | Ghost ants, common in central and southern Florida and confined to heated buildings further north | Bait on the trail and check within one or two days that they are feeding |
| Reddish brown ants of mixed sizes that sting, in the South, often after heavy rain | Red imported fire ants that have moved indoors from a colony close to or under the house | Remove anyone who cannot move away easily; call a licensed professional |
| Large black ants, a quarter inch or more, near a damp window or wall | Carpenter ants nesting in wet or damaged wood | Find the moisture problem; a professional inspection is usually worth it |
Not sure which ant it is? Our sugar ants guide separates the small brown and black species most people mean by that name.

Why are there ants in my bed?
UC IPM lists the reasons ants come indoors as food, water, warmth and shelter, or refuge from hot, dry weather or flooding. A bed offers crumbs, a glass of water or juice on the nightstand, and a warm spot against a wall. That wall is the bridge: a bed pushed against it, with a duvet touching the floor, connects a skirting board trail straight to the sheets. Odorous house ants nest in wall voids, often near plumbing leaks, so a bedroom sharing a wall with a bathroom is the classic case; our ants in the bathroom guide covers that side.
Ants in the bedroom with no food
With no food, look for water, a nest already in the wall, or an unexpected attractant. UF/IFAS says pharaoh ants nest near food or water in warm (80 to 86°F), humid (80 per cent) voids, and that red imported fire ants forage for sweets, proteins and fats in homes and are sometimes attracted to piles of dirty laundry.
Can ants live in beds?
Usually not. Common house ants nest in soil, wall voids, under flooring or in damp wood, and visit a bed to forage. The documented exception is the pharaoh ant: UF/IFAS states that pharaoh ants will nest in the oddest places, including between layers of bed linen and clothes. White larvae among tiny pale ants in folded linen mean a nest. A colony inside a mattress is not something extension sources describe. Our pharaoh ants guide explains why these are the hardest household ant to control.

Are ants in bed dangerous?
For most households, no. Odorous house ants lack a stinger and the Mississippi Entomological Museum calls their bite minimal; UF/IFAS says the pharaoh ant stinger is rarely exserted and ghost ants have none. The real hazards are narrower:
- Fire ants and people who cannot move. The medical literature on indoor fire ant attacks centres on bed-bound people and those with cognitive or neurological impairment, as the table below shows.
- Pharaoh ants in care settings. UF/IFAS states that in infested hospitals, burn victims and newborns face increased risk because pharaoh ants can carry over a dozen pathogens, including Salmonella and Staphylococcus. That is documented for hospitals, not home beds, but it argues for prompt action where someone has open wounds.
| Report | Setting | What it found |
|---|---|---|
| deShazo and Banks, Journal of Allergy and Clinical Immunology, 1994 | Indoor settings | Two new indoor attacks, bringing reported indoor massive sting episodes to four; people with cognitive dysfunction appeared especially at risk |
| deShazo and Williams, Southern Medical Journal, 1995 | Inhabited dwellings | Two cases, one an attack on a bed-bound patient by a colony of ants; another intact colony established inside a home |
| deShazo, Williams and Moak, Annals of Internal Medicine, 1999 | Two Mississippi nursing homes | Ten reported indoor attacks since 1989, eight of them in the previous four years; six victims had neurological impairment; both nursing home residents died |
| deShazo, Kemp, deShazo and Goddard, American Journal of Medicine, 2004 | Nursing homes | Six attacks in about ten years; four patients died within a week; ants were usually noticed in the facility days before |
Compiled by The Pest Control Brief from the four published case series named in the table.
The 2004 review found ants were usually noticed days before the attacks. Fire ants on or near the bed of someone who cannot get up unaided are urgent; our fire ants guide covers the outdoor colony control that stops them.
Is it ants, or something biting you in bed?
If you wake with bites but see ants only by day, do not blame the ants: household ants do not feed on sleeping people, and bed bugs do. An adult bed bug is 5 to 7 mm long (EPA), flat, oval and wingless. Check mattress seams for the dark excrement spotting and tan cast skins Kentucky entomologists describe; Kentucky notes about 30 per cent of people never react to bites, so an unmarked partner proves nothing. Our bite identification guide covers the marks, and a doctor should see any reaction that worries you.
Season is a clue. Odorous house ant records hold at 153 on our index from March to May and fall to 48 in December, so a spring trail fits an outdoor colony waking up. Ghost ant raw records stay between 72 and 104 a month, so their January index of 211 reflects winter outdoor records collapsing around a species that lives indoors. Ants on a bed in a northern midwinter point to a colony inside the building.

How do I get rid of ants in my bedroom?
Expect one to two weeks, mostly waiting for bait.
- Look before you clean. Follow the ants to their entry point: a skirting board gap, an outlet, a window frame or a heating pipe.
- Strip the bed and wash. Hot-wash sheets, pillowcases and any throw, then dry on high heat.
- Vacuum the mattress seams, the bed frame and the floor under the bed. Empty the vacuum outside.
- Wipe the trail with soapy water. UC IPM says this removes the scent trail, especially at the entry point.
- Break the bridges. Move the bed a few inches from the wall and keep bedding off the floor, so the only way up is the legs.
- Bait at the entry point, not on the bed. UC IPM says it can take 5 to 10 days to see fewer ants, and full control may take several weeks. University of Wisconsin entomologists note activity may rise at first as more of the colony is recruited to the bait.
- Do not spray while baiting. Mississippi State Extension warns that sprays repel ants and stop them taking bait, and UF/IFAS warns that repellent products can make pharaoh ant colonies split into several new ones.
- Seal the entry point once activity stops. UC IPM suggests caulk, or petroleum jelly as a quick plug.
Why you should never spray the mattress
Ant sprays are not labelled for the surface you sleep on. One EPA-registered pressurized insecticide labelled for ants including pharaoh and fire ants (EPA Reg. No. 499-531, dinotefuran 0.5 per cent) states: do not use this product on mattresses, pillow, bed linens or clothes. Read the use sites on any product before it goes near a bed, and do not use foggers.
How to get rid of ants in the bedroom naturally
The low-toxicity steps with extension support are soapy water, removing food and drink, sealing gaps and low-dose boric acid bait: UC IPM says odorous house ants prefer sweet baits with less than 1 per cent boric acid. Peppermint, clove and orange oils give excellent contact kill but limited residual activity, UC IPM notes, so they never reach the nest. Our borax for ants guide covers boric acid baits in more depth.
When this needs a professional
Call a licensed professional for pharaoh ants in a multi-unit building (UF/IFAS says the entire building needs treating), fire ants indoors, carpenter ants, or a trail still running after two weeks of baiting. Our ant control cost guide puts a standard professional ant treatment at $80 to $500, with most visits around $150 to $250.
Frequently asked questions
Why are there ants in my bed?
Usually a foraging trail has found crumbs, sugary residue or a drink by the bed, and the bed touches the wall or floor where the trail runs. UC IPM lists food, water, warmth and shelter as the reasons ants come indoors. Ants on a bed in a northern winter point to a colony nesting inside the building.
Can ants live in beds?
Rarely. Most household ants nest in walls, floors, soil or damp wood and only visit the bed. The exception is the pharaoh ant, which UF/IFAS says will nest between layers of bed linen and clothes. Tiny pale ants with white larvae in folded linen are a nest that needs baiting, not spraying.
Are ants in bed dangerous?
For healthy adults, rarely: odorous house ants have no stinger and ghost ants have none either. Fire ants are the exception. Published case reports describe indoor attacks on bed-bound patients and nursing home residents, several of them fatal, so keep anyone who cannot move away easily out of a bed where fire ants have been seen.
How do I get rid of ants in my bedroom?
Wash the bedding, vacuum, wipe the trail with soapy water, move the bed off the wall and put bait where the trail enters the room. Do not spray near bait or on the mattress. UC IPM says baits take 5 to 10 days to cut numbers; call a professional for pharaoh ants in apartments, fire ants or carpenter ants.
Sources
- University of California Statewide IPM Program, Pest Notes: Ants, Publication 7411, and Ant Identification Key: Odorous house ant baiting.
- Nickerson, Harris and Fasulo, Pharaoh Ant, Monomorium pharaonis, UF/IFAS Featured Creatures EENY290 (IN533).
- Nickerson, Bloomcamp and Pereira, Ghost Ant, Tapinoma melanocephalum, UF/IFAS Featured Creatures EENY310 (IN532).
- Red Imported Fire Ant, Solenopsis invicta, UF/IFAS Featured Creatures EENY195 (IN352).
- Penn State Extension, Odorous House Ant, and Pavement Ant.
- University of Wisconsin Garden Facts XHT1285, Odorous House Ants (Liesch and Pierret), revised 2021.
- Texas A&M AgriLife, Urban and Structural Entomology Program, Little Black Ant.
- Mississippi Entomological Museum, Mississippi State University, Tapinoma sessile species page.
- Mississippi State University Extension, Publication 2407, Control of Argentine Ants and Odorous House Ants in the Home.
- deShazo RD and Banks WA, Medical consequences of multiple fire ant stings occurring indoors, Journal of Allergy and Clinical Immunology 93(5): 847 to 850, 1994.
- deShazo RD and Williams DF, Multiple fire ant stings indoors, Southern Medical Journal 88(7): 712 to 715, 1995.
- deShazo RD, Williams DF and Moak ES, Fire ant attacks on residents in health care facilities: a report of two cases, Annals of Internal Medicine 131(6): 424 to 429, 1999.
- deShazo RD, Kemp SF, deShazo MD and Goddard J, Fire ant attacks on patients in nursing homes: an increasing problem, American Journal of Medicine 116(12): 843 to 846, 2004.
- US Environmental Protection Agency, Bed Bugs Appearance and Life Cycle.
- University of Kentucky Entomology, ENTFACT-636, Bed Bugs.
- US EPA pesticide product label, EPA Reg. No. 499-531, accepted labelling amendment, January 2012.
- The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.


