Skip to main content
Ants

Ants in appliances and electrical: why they're attracted to heat and what to do

Ants seek warmth — dishwashers, ovens, refrigerators, and electrical panels are all documented ant nesting sites. Here's why and how to address it safely.

Why ants are attracted to appliances

Dishwashers and ovens produce heat, moisture, and food residue simultaneously — the complete ant attractant combination. Dishwasher drain lines penetrate the cabinet floor in unsealed gaps that also allow heat from the dishwasher motor to warm the under-cabinet void, while residual water in the line provides moisture. This makes the under-dishwasher void one of the most commonly occupied ant locations in Metro Vancouver kitchens, particularly for odorous house ants and pavement ants.

Pharaoh ants in appliance voids

Pharaoh ants are the species most likely to actually nest inside appliances rather than just forage through them. They require brood development temperatures above 25°C — consistently achieved inside the insulation of a running dishwasher, in the compressor housing of a refrigerator, or in the wall cavity behind a baseboard heater. Pharaoh ant nests inside a dishwasher are a documented phenomenon in multi-unit buildings where the colony migrates via building pipe chases. Signs: tiny yellow ants emerging from the dishwasher door seal or from behind the control panel.

The dishwasher drain line entry point

The dishwasher drain and fill lines run through the cabinet floor on most Metro Vancouver kitchen installations. In homes built before 2000, this penetration is almost never sealed — the line passes through a hole cut to fit the line, leaving 3-10 mm of open gap around it. This gap connects the cabinet interior directly to the space below the kitchen floor or to the crawlspace. Workers from any below-floor colony can enter the cabinet via this gap. Sealing it with silicone caulk (available at any hardware store, $6-8) eliminates one of the most common kitchen ant entry pathways. It takes 15 minutes.

Treating ants in and around appliances

  • Seal the dishwasher drain line at the cabinet floor penetration — fill the gap around the line with silicone caulk.
  • Clean under and behind the refrigerator and oven quarterly — food debris in these areas is persistent and provides a food signal even when the main kitchen is clean.
  • Apply gel bait in the under-appliance void (not inside the appliance itself) — place at the trail where workers emerge.
  • For pharaoh ants in a dishwasher specifically: do not spray. Apply non-repellent bait at the door seal perimeter and wait 21+ days.
  • For ants in an outlet or switch: turn off the circuit, remove the outlet plate, vacuum workers, apply a small amount of bait gel at the entry gap in the back of the box, replace cover.

Frequently asked questions

I found ants inside my refrigerator — how did they get in?+
Usually via the drain hole in the fridge floor (the defrost drain), or via the gasket seal where it is not tight against the cabinet. Clean the drain hole and gasket area, bait outside the fridge near the trail source, and they will leave once the food signal is removed.
Should I move appliances to treat ants behind them?+
Moving appliances is helpful for cleaning and for locating the trail source. It is not necessary before baiting — gel bait placed at the trail where it disappears under the appliance reaches workers just as effectively as bait placed directly behind the appliance.
Can I spray inside the dishwasher to kill ants?+
No — repellent spray inside or near the dishwasher will contaminate the appliance interior and will likely break any bait protocol you have running. Bait is the correct and safe tool for dishwasher-adjacent ant activity.
My oven has ants. Is it a fire hazard?+
Worker ants in an oven are killed by normal cooking temperatures and are not a fire hazard per se. The concern is food contamination before cooking. Clean the oven interior, seal any gaps in the back-panel where lines enter, and bait the trail at its entry point.