Ants in the Dishwasher: Why They Go In and How to Stop Them

By the Pest Control Brief editorial team Updated November 26, 2026 10 min read
An open dishwasher in a bright kitchen with the lower rack pulled out and the filter visible, no insects
AI-generated illustration.
Quick answer

Ants get into a dishwasher for the food residue in the filter and on the door seal, and for water, usually walking in along the drain hose, the air gap or the gap behind the kick plate. A hot cycle kills the ants inside the tub but never reaches the colony. Clean the filter and gasket, follow the trail back to where it enters, and put bait on that trail outside the dishwasher.

The cleanout, in order

  1. Watch before you wipe. Follow the trail with a torch for two minutes and note where it leaves the dishwasher: the bottom of the door, under the sink, the toe kick, the countertop edge or the air gap cap on the sink. That point is where the bait goes later, and wiping first erases the scent trail you need to read.
  2. Cut the power if you will reach under or behind the machine. Pull the kick plate only with the dishwasher off at the breaker or unplugged.
  3. Clean the filter. Many dishwashers have a removable filter under the lower spray arm. Rinse it under a running tap and scrub off grease and food. This is the main food source for ants inside the tub.
  4. Wipe the door gasket and the tub lip. Food and detergent residue lodge in the folds of the rubber seal and along the bottom edge of the door. Use a cloth with soapy water: UC IPM advises cleaning up invading ants “with a sponge and soapy water as soon as they enter to remove the scent trail they leave behind.”
  5. Run a hot cycle, empty. This kills ants left in the tub and flushes the drain line. Leave the door shut for the full cycle.
  6. Bait the trail, outside the dishwasher. Place bait where the trail enters the kitchen or the cabinet, not in the tub and never with dishes. UC IPM says to place baits “along edges where ants travel” and warns that “It can take 5 to 10 days to see fewer ants.”
  7. Seal the route. Caulk the gap where the drain hose and supply line pass through the sink cabinet wall, and gaps along the countertop edge. UC IPM: “Caulk cracks and openings that provide entry into buildings.”
  8. Change the habit. Rinse plates or run the machine promptly, and do not leave a half-loaded dishwasher with food on it for days.
A dishwasher filter removed and held under a running tap, hands visible, no face
A clean filter removes the food residue that draws ants in. AI-generated illustration.

Which ant is it, and what changes the plan

Ant Worker size and look Sign at the dishwasher Fix
Odorous house ant 1/8 in (about 3 mm), dark brown to black, strong smell when crushed Busy trail to the door seal; records peak in spring Sweet bait on the trail; no sprays
Argentine ant 1/8 in, dull brown Very large trails; records peak in winter Sweet liquid bait on the trail; outdoor nest treatment
Pavement ant 3/16 in (about 5 mm), dark brown to black Trail from a floor crack or slab edge Bait at the crack; seal it
Pharaoh ant 1/16 in (about 1.5 mm), yellow to orange Tiny pale ants around plumbing, water and warm pipes Bait only; never spray; usually a professional job
Carpenter ant 1/4 to 1/2 in (UC IPM, western species), large Large single ants near the cabinet base Look for a leak and damp wood; inspect

Compiled by The Pest Control Brief from UC IPM Pest Notes: Ants (Publication 7411) for worker sizes of Argentine, odorous house, pavement and pharaoh ants, UC IPM Pest Notes: Carpenter Ants (Publication 7416), and Ohio State University Extension HYG-2136 on pharaoh ants.

Most dishwasher ants are the small trailing species people call sugar ants; our guide to which ants people call sugar ants sorts them out.

For anything that does not match these five rows, the wider ant identification key covers the other US household species by size and colour.

Why the pharaoh ant row says never spray

Ohio State University Extension says pharaoh ant colonies split, or bud, and that “Budding may occur due to overcrowding, seasonal changes in the building’s central heating and cooling system, or application of a repellent pesticide.” It adds that repellent insecticides such as pyrethroids “will move the colonies, spreading them further throughout the building.” The same factsheet says pharaoh ants “prefer dark, warm areas near hot water pipes,” which is exactly the space behind a dishwasher. If your ants are tiny and pale, read up on pharaoh ants and why sprays make them worse before treating anything.

When the ants are big

Carpenter ants do not come for crumbs in the same way. UC IPM says they “enter buildings in search of nesting sites or moisture,” and indoor nests often begin “in an area where there is damage from water or wood decay.” A slow leak from the dishwasher’s drain or supply connection can soak the subfloor or cabinet base. Large ants around the dishwasher are a reason to check for a leak and to trace them back with how to find a carpenter ant nest.

Why are ants in the dishwasher?

Food, water and a sheltered route, in that order. A dishwasher holds food residue in the filter and gasket between cycles, standing water in the sump, and warmth after a hot cycle. UC IPM says ants “often enter buildings seeking food and water, warmth and shelter,” and that they come in for “refuge from dry, hot weather or flooded conditions.” The scent trail then keeps the column coming: once a forager finds food, its nestmates follow. Our page on what ants eat and why they find kitchens covers the diet side.

The routes in

  • The air gap. The small chrome cap on the sink deck connects the dishwasher drain hose to the sink drain or disposal. Ants seen coming out of it are travelling along that drain plumbing, usually from inside the sink cabinet.
  • The drain hose and supply line. Both pass through a hole in the sink cabinet wall, usually larger than the hose. Ants and other insects use that gap; mice use the same one, as how mice get into dishwashers describes.
  • The kick plate void. The open space under and behind the dishwasher runs to the wall and floor.
  • The door seal. A worn or dirty gasket lets ants walk straight into the tub.

The same trail often feeds other appliances. Ants in the microwave follow food spatters from the same wall or counter gap, covered in why ants get into microwaves and how to clear them.

If the insects in the dishwasher are flat, brown and fast rather than trailing in a line, they are cockroaches living in the voids around the tub, and the roach cleanout for dishwashers applies instead.

Ants at the sink as well as the dishwasher usually share the same under-sink route; bugs in the kitchen sink at night covers the cabinet check.

The rubber door gasket of an open dishwasher, close view
Gaps at the door gasket are one way ants reach the tub. AI-generated illustration.

Will ants die in a dishwasher?

The ones inside the tub during a hot cycle, almost certainly. Virginia Cooperative Extension says “Almost all new dishwashers have such built-in booster heaters,” which can raise the wash water to 140 °F (60 °C) or higher. In a laboratory study, Walters and Mackay (Annals of the Entomological Society of America, 2004) held Argentine ant workers at set temperatures: survival was almost 100 per cent at 45 °C (113 °F), all died within 3 hours at 47 °C, and at 50 °C (122 °F) none survived 1 hour.

Heat that kills ants vs dishwasher wash waterWash water in a dishwasher with a booster heater reaches about 60 °C (140 °F) or more, well above the 50 °C (122 °F) at which no Argentine ant workers survived an hour in the lab. Only ants inside the tub are exposed; the colony is not.Argentine ants: almost all survive 3 h45°CArgentine ants: all dead within 3 h47°CArgentine ants: none survive 1 h50°CBooster-heated wash water60°C
Heat that kills ants vs dishwasher wash water Wash water in a dishwasher with a booster heater reaches about 60 °C (140 °F) or more, well above the 50 °C (122 °F) at which no Argentine ant workers survived an hour in the lab. Only ants inside the tub are exposed; the colony is not. Source: Walters and Mackay, Annals of the Entomological Society of America, 2004; Virginia Cooperative Extension 2908-9018.

That is why a cycle clears the tub and changes nothing else. The workers in the door, the gasket folds outside the spray, the kick plate void and the air gap never see that water, and the queens are in the nest in a wall, under a slab or outdoors. Killing foragers only removes the ones that were already out. Our guide on how to get rid of ants for good covers why baiting the colony is the step that ends it.

When dishwasher ants show up

When the commonest dishwasher ants are recordedSeasonality index (100 = the species' usual share of all US research-grade records). Odorous house ants peak from March to June; Argentine ants peak in winter and late autumn. These are mostly outdoor sightings, not indoor infestation rates.JFMAMJJASONDOdorous house antpeaks in MarchArgentine antpeaks in February
When the commonest dishwasher ants are recorded Seasonality index (100 = the species' usual share of all US research-grade records). Odorous house ants peak from March to June; Argentine ants peak in winter and late autumn. These are mostly outdoor sightings, not indoor infestation rates. Source: The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026 (b19 to b30 files).

The two commonest dishwasher species keep opposite calendars in our analysis of US iNaturalist research-grade records. Odorous house ant records run highest from March to June (index 143 to 153), while Argentine ant records peak in winter (index 151 to 170 in January and February) and again from October to December. That fits UC IPM’s note that ants move indoors for refuge from flooded conditions as well as dry, hot weather. The index is each species’ share of all records that month, which removes observer effort; it reflects outdoor sightings, not indoor infestations.

A small plain bait station on a kitchen counter near the wall, away from dishes, no text
Baits go outside the dishwasher, on the trail. AI-generated illustration.

How to get rid of ants in a dishwasher with vinegar

Vinegar cleans; it does not end the problem. Wiping the gasket and door edge with a vinegar or soapy-water cloth removes residue and the scent trail, Check the manual before putting vinegar in the machine itself. It does not reach the colony. Our review of whether vinegar kills ants sets out why the ants usually return within days.

The bait does the work. UC IPM favours baits over sprays for trailing ants: “When properly used, baits are more effective and safer than sprays” and that “Spraying ants indoors with pesticides will not prevent more ants from entering.” Borate baits are a common choice for sweet-feeding ants; how borax and boric acid baits work on ants covers concentration and placement. Follow the label, keep baits away from dishes, food and children, and do not spray near the bait or the ants will avoid it.

Call a licensed professional if the ants are pharaoh ants, if baiting for two to three weeks has not slowed the trail, or if large carpenter ants suggest damp wood behind the cabinets.

Frequently asked questions

How to get rid of ants in dishwasher?

Clean the filter and door gasket, run an empty hot cycle, then follow the trail to where it enters the kitchen and place ant bait there, outside the appliance. Seal the gap around the drain hose in the sink cabinet. UC IPM says baits take 5 to 10 days to show fewer ants, and longer to finish the colony.

What to do about ants in dishwasher?

Identify the ant first. Small trailing ants such as odorous house ants and Argentine ants respond to sweet baits on the trail. Tiny pale pharaoh ants must not be sprayed, because Ohio State Extension says repellent insecticides spread the colony. Large carpenter ants point to moisture, so check under the dishwasher for a leak.

Why are ants in dishwasher?

For food residue in the filter and gasket, for the water in the sump, and for shelter. UC IPM says ants enter buildings seeking food and water, warmth and shelter, and to escape dry, hot weather or flooding. Once one forager finds food, the scent trail brings the rest, usually along the drain hose or through the kick plate gap.

Will ants die in dishwasher?

Ants caught in the tub during a hot cycle die. Booster heaters take wash water to about 140 °F, and a 2004 laboratory study found no Argentine ants survived one hour at 122 °F. Ants in the door, kick plate void or air gap are not reached, and the colony and queens live elsewhere, so a cycle alone does not stop the trail.

Sources

  • University of California Statewide IPM Program, Pest Notes: Ants (Publication 7411).
  • University of California Statewide IPM Program, Pest Notes: Carpenter Ants (Publication 7416).
  • Ohio State University Extension, Pharaoh Ant, HYG-2136.
  • Virginia Cooperative Extension, Energy Series: What about Dishwashers? (2908-9018).
  • Walters, A. C. and Mackay, D. A., Comparisons of Upper Thermal Tolerances Between the Invasive Argentine Ant and Two Native Australian Ant Species, Annals of the Entomological Society of America 97(5), 2004.
  • The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026 (b19 to b30 files).
Got ants?Compare local quotes