Most countertop ant problems are trailing ants — small black or brown ants walking a fixed line from a crack or gap to a crumb source. The method that works is to kill the trail and the nest together: clean the surface, seal the entry, and set a slow-acting bait the workers carry back. If you are seeing large black carpenter ants or ants emerging from wood rather than a seam, the method changes — you need a professional, because those ants are nesting in the structure, not behind the counter.

Identify What You Are Dealing With Before You Spray

Spraying a trail with a household cleaner kills the ants you can see and does nothing to the colony. Worse, it destroys the scent trail the workers follow, so the next wave scatters and you lose the line you were using to find the nest. Watch the ants for two minutes before you touch anything and note three things: size, colour, and where the line ends.

What you seeLikely causeFix
Tiny ants in a steady line along a seam or backsplash edgeTrail from a nest behind the counter, in a wall void, or under the floorGel bait placed along the line plus sealing the entry
Ants clustered around a spill, sugar jar, or pet bowlFood source on the surfaceRemove the source, clean with soap and water, bait nearby
Ants appearing after rain or humid weatherNest flooded out, ants moving to a drier voidBait and seal; check for damp under the sink
Large black ants, 6-12 mm, near window frames or woodCarpenter ants nesting in timberDo not bait with sugar gels; call a pest control professional
Ants inside a sealed jar or in the cabinet aboveNest in the cabinet, not on the counterEmpty the cabinet, clean, bait inside it

Size matters more than colour. Small ants (2-3 mm) respond well to sweet gel baits. Slightly larger ants that ignore sugar and go for grease, pet food or meat scraps need a protein-based bait instead. If the ants ignore one bait for 48 hours, switch type rather than increasing the amount.

Clear the Counter and Kill the Trail

  1. Move everything off the counter — appliances, jars, dish racks, the knife block. Ants hide behind and under all of it, and you cannot seal a surface you cannot see.
  2. Vacuum the visible ants and the crumbs along the trail with a crevice tool, then empty the vacuum bag or canister into an outdoor bin immediately. This removes the workers without laying down a repellent scent.
  3. Wash the counter with warm water and a few drops of dish soap, working along the trail line and into the seam where the counter meets the backsplash. Rinse with clean water and dry with a cloth. Do not use bleach or vinegar on the trail at this stage — you want the surface clean, not repellent, so the ants keep using their line while you bait.
  4. Clear the cabinets directly below and above the counter. Pull out the shelves' contents, vacuum the corners, and wipe the shelf edges with soapy water. A nest in a cabinet will keep sending ants up regardless of how clean the counter is.

Bait the Line, Then Seal the Entry

Gel bait is the core of the method because foraging ants carry it back and feed it to the queen and brood. Place it where the ants walk, not where you would like them to walk.

  1. Put small dabs of gel bait — each about the size of a grain of rice, roughly 3-4 mm across — every 6-8 inches along the trail, plus one at the point where the line disappears into a seam or gap. Ten to fifteen dabs is typical for a normal counter run.
  2. Keep the dabs out of reach of children and pets. Place them inside an upturned jar lid or on a small piece of card taped down, and put bait inside cabinets rather than on open food-preparation areas where possible.
  3. Leave the bait undisturbed for 48 hours. Do not wipe it up, do not spray near it, and do not kill the ants feeding on it. Expect the trail to look busier for the first day — that is the bait working.
  4. Replenish dabs that are fully consumed after 24 hours. If the ants have not touched a dab after 48 hours, remove it and place a protein-based bait instead.
  5. Seal the entry once baiting has run 5-7 days. Fill gaps under the backsplash edge, around the sink rim, and along the counter-to-wall joint with a thin bead of silicone caulk. Seal only after the bait period, because sealing first traps the colony behind the counter with no bait to carry.
  6. Check under the sink for a damp patch or a gap around the pipes. Ants use plumbing penetrations as highways; seal the gap around each pipe with caulk or steel wool packed tight.

If the ants are in the cabinet, not on the counter

Bait inside the cabinet first, on a lid placed on the shelf, and leave the cabinet doors ajar for ventilation during the bait period. Once the trail stops, wipe the shelf with soapy water, let it dry fully, and line the shelf with fresh paper. Store opened dry goods in glass or rigid plastic containers with gasket lids — a bag clip does not stop ants.

Worked Example: A Typical Counter Run

Say the trail runs 4 feet along the back edge of the counter, from behind the toaster to a gap where the backsplash meets the wall. Vacuum the line, wash and dry the 4-foot strip, then place a dab every 6 inches: that is 8 dabs along the run plus 1 at the gap, so 9 dabs in total, each about 3 mm. Leave them 48 hours, top up the 2 or 3 that get consumed, and keep baiting for 5-7 days. Then caulk the gap at the backsplash — a bead about 3 mm wide is enough — and wipe the counter with soapy water once the caulk has cured for 24 hours. If ants reappear at a new point on the same wall within a week, the nest was not reached; bait again at the new line for another 5-7 days before sealing.

Keep the Counter Clear of the Next Trail

Ants return to moisture and grease as much as to sugar. Wipe the counter after every meal, dry the sink and the area around the tap, and empty the dish rack before bed. Take the bin out nightly if it holds food waste, and rinse recyclables before they go in the bin. Fix a dripping tap or a damp patch under the sink promptly — a slow leak behind a cabinet is enough to keep a colony in place.

Check the caulk line every few months. Silicone shrinks and pulls away from the wall over time, and a 1-2 mm gap is all a small ant needs. Re-caulk any lifted section rather than patching over it. If you have baited and sealed twice over 2-3 weeks and ants still appear, the nest is likely in a wall void or under the floor, and a pest control professional with access to those spaces is the next step. Do not use outdoor ant granules indoors, and never mix baits with sprays in the same area — the spray repels the workers you need to carry the bait home.