Why Are There Ants in My Laundry Basket?

As an Amazon Associate I earn from qualifying purchases.

Ants turn up in a laundry basket because they are looking for food, water, or shelter, and dirty laundry can offer all three. Food smears and sweet drink spills on clothes, damp towels, and a basket parked near a crack or pipe where ants already travel are the usual reasons. The University of California’s Integrated Pest Management program (UC IPM) says ants often come indoors seeking food and water, warmth and shelter, or refuge from hot, dry weather or flooding. The fix is to remove what they want, clean up their trail, and deal with the colony outside.

Last updated: November 14, 2026.

Below: what draws ants to laundry, how to get them out of the basket today, and how to keep them from coming back. For more on choosing and placing a hamper, see our laundry baskets and hampers hub and where to put a laundry basket in an apartment.

What attracts ants to a laundry basket?

  • Food and sugar on clothes. According to UC IPM’s ant guide, household ants feed on sugar, syrup, honey, fruit juice, fats, and meat. A shirt with a juice spill, a bib, a napkin left in a pocket, or kitchen towels can all carry those residues.
  • Moisture. UC IPM notes that water attracts ants and recommends fixing leaky faucets for that reason. Wet swimsuits, gym clothes, and damp towels left in a basket give thirsty ants a reason to visit, especially in hot, dry spells.
  • A route that already exists. Ants like to trail along wires and pipes and enter through cracks, UC IPM says. A basket set against a wall, beside plumbing, or near a door or window crack sits right on their highway.
  • Warm, sheltered spots. Pharaoh ants, the main species that nests indoors in California, choose warm, moist places such as wall voids, under flooring, or near hot water pipes and heaters. A laundry room can fit that description.
  • A change in weather. UC IPM says ants may appear suddenly indoors when outdoor food sources run out or the weather changes.

How to get ants out of the basket today

  1. Take the basket outside, empty it, and shake each item out.
  2. Wash the clothes as usual. Washing removes the food and sweat residues that attracted the ants. Dry them right away rather than letting them sit damp. See how long clothes can sit in the washer.
  3. Wipe the basket inside and out with soapy water, then let it dry.
  4. Wipe the ant trail with a sponge and soapy water, or vacuum it. UC IPM says soapy water removes the scent trail ants follow, and that vacuuming or mopping trails can work as well as a spray for removing foraging ants indoors.
  5. Follow the trail back to where the ants are getting in, and seal the gap with caulk. UC IPM also suggests plugging openings with petroleum jelly in an emergency.

How to keep ants out of your laundry

  • Do not let food-stained items wait. Rinse or wash bibs, kitchen towels, and clothes with sweet spills sooner rather than later.
  • Keep wet things out of the hamper. Hang damp towels and swimsuits to dry first, or wash them the same day.
  • Use a lidded hamper and move it a few inches away from walls, baseboards, and pipes.
  • Clean up the rest of the house. UC IPM recommends storing food in sealed containers rather than plastic bags or open packages, cleaning up crumbs, grease, and spills, taking out the garbage often, and rinsing soda cans.
  • Fix leaks under sinks and around the washer hookups.
  • Look outside. UC IPM advises keeping plants, grass, and mulch away from the foundation and caulking cracks around it.

Should you spray the basket?

Spraying is not the answer. UC IPM says spraying ants indoors will not prevent more from entering, and pesticide sprays give only temporary control and may not be safe to use indoors. Do not spray insecticide on clothes or on a basket that holds clothes.

For a persistent problem, UC IPM recommends baits. Worker ants carry slow-acting bait back to the nest, where it can kill the whole colony, including queens. Its guidance:

  • Use baits mainly outdoors, near trails and nest openings. Use them indoors only for a serious infestation when you cannot find the entry point, because indoor baits can draw ants inside.
  • Prepackaged bait stations or stakes are the safest and easiest to use. Keep them away from children and pets.
  • Do not use sprays at the same time as baits.
  • Expect it to take 5 to 10 days to see fewer ants.

Is it a different pest?

Winged ants are sometimes confused with termites. UC IPM explains how to tell them apart: ants have a pinched waist, hind wings smaller than the front wings, and elbowed antennae. If you see small dark insects in laundry that are not ants, compare our guides on roaches and bed bugs.

Frequently asked questions

Are ants attracted to laundry detergent?

Food residue, sweet spills, and moisture are the usual draws. UC IPM lists sugars, fats, and proteins as household ant foods, so check the laundry for spills first.

Will washing get rid of ants in clothes?

Washing removes the ants and the food residue that attracted them. Shake items out outdoors first, then clean the basket and wipe the trail so more do not follow.

Can I spray bug spray in my laundry basket?

No. UC IPM says indoor sprays give only temporary control and may not be safe to use indoors. Clean the trail with soapy water and use bait stations outdoors instead.

How long do ant baits take to work?

UC IPM says it can take 5 to 10 days to see fewer ants. If ants ignore a bait, move it or try a different product.

Sources

Resource Links