Ants aren’t interested in your clothing itself. They’re after microscopic traces of food, sweat, or surprisingly, the scent of your laundry detergent. Ants have an extraordinary sense of smell, and what seems like a clean shirt to you can register as a food source to a foraging ant. In some cases, ants aren’t foraging at all but are using piled clothing as a nesting site.
Sweat, Sugar, and Invisible Food Residue
The most common reason ants show up in clothing is residue you can’t see or smell. Microscopic traces of sugary drinks, food spills, or even body sweat can linger on fabric long after you’ve worn it. Ants are especially drawn to anything sweet, but they’re also attracted to the salt and oils in human sweat. That gym shirt sitting in your hamper is basically a buffet sign.
A single scout ant that finds these traces will lay down a chemical trail back to the colony, and within hours you can have a visible line of ants marching toward your laundry pile. The amount of residue needed to trigger this is vanishingly small. You don’t need a visible stain. A faint trace of sweat or a spot where you brushed crumbs off your lap is more than enough.
Clean Clothes Can Attract Ants Too
If the ants are on freshly laundered clothing, your detergent or fabric softener is the likely culprit. Many scented laundry products contain sweet, floral fragrances that mimic the kinds of smells ants follow to food sources. To an ant’s sensory system, a pile of warm, lavender-scented towels can read as something worth investigating.
Switching to an unscented detergent is the simplest fix. If you prefer scented products, store clean laundry in sealed containers or closed drawers rather than leaving it in open baskets where ants can easily reach it.
Damp Clothing Makes a Good Nest
Ants need moisture to survive, and a pile of damp laundry on the floor provides both humidity and shelter. Some species take this a step further and actually nest in fabric. Pharaoh ants, a common indoor species, build nests so small they can fit inside a thimble. They’ve been found nesting between sheets of paper, inside folded linens, and in piles of laundry. These tiny, light-yellow ants thrive indoors and are a serious pest in apartments, hotels, and hospitals, where they’ve been documented gnawing holes in silk and rayon fabrics.
If you’re finding ants repeatedly in the same pile of clothes or linen closet, you may be dealing with a nest rather than foragers passing through. A foraging trail usually appears as a line of ants moving in both directions. A nest will look more like a cluster of ants concentrated in one spot, sometimes with tiny white eggs or larvae visible.
Where the Ants Are Coming From
Ants in your clothes are almost always part of a larger colony living nearby. Common indoor nesting spots include wall voids, gaps behind baseboards, spaces under flooring, and cracks in cement or stone walls. The ants on your clothes are foragers following scent trails from the nest to whatever attracted them.
Look for the trail. Follow the line of ants away from your clothing and you’ll typically find them heading toward a wall crack, a gap around a pipe, or a seam where the floor meets the baseboard. That entry point is where you want to focus your efforts.
How to Get Ants Out of Your Clothes
Start by shaking out any visibly infested clothing outdoors, then wash everything on a normal cycle. The water and detergent will kill any ants and remove the residue that attracted them.
To keep them from coming back:
- Don’t leave worn clothes on the floor. Use a hamper with a lid, and keep it off the ground if possible. A hamper sitting directly on the floor near a wall is easy for ants to access.
- Wash sweaty clothes promptly. The longer damp, sweat-soaked fabric sits, the stronger the signal it sends to nearby ants.
- Dry laundry completely before storing. Residual dampness in folded clothes creates the humidity ants look for in nesting sites.
- Seal entry points. Caulk cracks along baseboards, around window frames, and where pipes enter walls. This cuts off the trail from the colony to your closet.
- Use ant bait near the trail. Bait stations placed along the path ants are using let foragers carry poison back to the colony, which eliminates the source rather than just the scouts.
Spraying ants on contact kills the visible ones but does nothing about the colony. Bait is slower but far more effective because it targets the queen and the thousands of workers you never see.
When It’s a Bigger Problem
Most ant-in-clothing situations are a minor nuisance caused by a laundry pile that sat too long. But if you’re dealing with pharaoh ants, the problem can be harder to solve on your own. Pharaoh ant colonies respond to disturbance by splitting into multiple smaller colonies, a behavior called budding. Spraying them with repellent insecticide can actually make an infestation worse by scattering the colony into several new nesting sites throughout your home. Bait is the only reliable approach for pharaoh ants, and professional treatment is often necessary because of how quickly they spread.
You can identify pharaoh ants by their size and color. They’re extremely small, about 1.5 to 2 millimeters long, and pale yellow to light brown. If you’re seeing ants that match that description nesting inside folded fabric rather than just walking across it, that’s a strong sign you’re dealing with this species.

