DIY Pest Control for Ants: What Actually Works

Most ant problems inside your home can be solved without calling an exterminator. The key is matching your approach to the type of ant you’re dealing with, then combining bait, barriers, and exclusion to wipe out the colony rather than just the workers you see. A few dollars in supplies and one to two weeks of patience will handle the majority of common household ant invasions.

Identify the Ant First

Not all ants respond to the same treatments, so a quick identification saves you time and wasted effort. The three species you’re most likely to find indoors are odorous house ants, pharaoh ants, and carpenter ants.

Odorous house ants are the most common invaders. They’re medium-sized, smooth-bodied, and attracted to sweets. Crush one and you’ll notice a distinctive licorice-like smell. They typically nest outdoors under mulch and stones but will move into wall voids and brick gaps when conditions are right.

Pharaoh ants are tiny, about 1/32 of an inch, yellowish with a darker tip on their abdomen. They nest exclusively indoors in dark, narrow spaces like electrical boxes, wall voids, and cardboard boxes. They’re picky eaters that alternate between sugary and protein-rich foods, making them harder to bait. Standard ant baits often don’t work on them, and specially designed pharaoh ant baits are usually necessary.

Carpenter ants are the ones to take seriously. They’re large (1/4 to 1/2 inch), often solid black or a mix of black and red-orange, and mostly active at night. They nest inside hollow wood, including tree trunks, doors, walls, and ceilings. Unlike termites, they don’t eat wood but excavate it for nesting. According to the University of Minnesota Extension, spraying foraging carpenter ant workers is not effective because they carry very little insecticide back to the nest. If you’re seeing large black ants regularly, especially near wood structures, you likely need a pest management professional.

Homemade Borax Bait for Sugar-Loving Ants

Liquid borax bait is the most effective DIY method for eliminating a colony of odorous house ants and other sugar-feeding species. The concept is simple: worker ants drink the sweet liquid, carry it back to the nest, and share it with the queen and other colony members. The borax concentration needs to be low enough that workers survive long enough to make that trip.

A recipe developed by the University of Hawai’i Master Gardeners works well: dissolve 1 teaspoon of boric acid powder and 3 tablespoons of white sugar in warm water, filling to about 1¾ cups total. Use distilled or bottled water rather than tap water. Stir until everything dissolves completely.

Place the bait in shallow containers (bottle caps, small lids, or cotton balls soaked in the mixture) directly along the ant trails you’ve observed. Resist the urge to kill the ants you see feeding. Those workers are your delivery system. You may actually see ant traffic increase in the first day or two as the colony sends more foragers to the food source. That’s a good sign.

Expect to keep seeing ants for a week or more after setting out bait. Leave the bait stations in place for three to four days after you see no more signs of feeding. Removing bait too early is the most common mistake people make.

Diatomaceous Earth Along Trails and Entry Points

Food-grade diatomaceous earth (DE) works as a physical killer, not a chemical one. The microscopic fossilized particles abrade the waxy coating on an insect’s outer skeleton, causing it to dehydrate and die. Because it kills mechanically, ants can’t develop resistance to it, which makes it useful for long-term control.

DE must be completely dry to work. Apply it in a thin, wide layer using a bulb duster or a plastic squeeze bottle filled no more than halfway. A light “poofing” motion gets the right consistency. Thick piles are less effective than a barely visible dusting. Target the ant trail directly, as well as cracks along baseboards, behind appliances, and around entry points. Ants that walk through the dust pick up particles through electrostatic attraction and carry them back to the nest, spreading DE to other colony members.

One important safety note: food-grade DE is not toxic if ingested in small amounts, but the fine dust irritates lungs. Wear a dust mask while applying it and keep pets and children out of the room until the dust has fully settled. Once it’s settled onto surfaces, the risk drops significantly. If you need to apply it to floors or furniture, a light sprinkle that you let settle before allowing foot traffic is the safest approach.

Essential Oils as a Short-Term Repellent

Peppermint, cinnamon, and tea tree oils can disrupt ant scent trails and deter them from specific areas. Peppermint oil contains menthol, which ants find highly irritating. Cinnamon oil’s active compound is a strong repellent. Tea tree oil disrupts their chemical navigation.

Mix 10 to 15 drops of any of these oils with water in a spray bottle and apply along windowsills, doorframes, and countertop edges. You’ll need to reapply every few days or after cleaning, since the oils evaporate. Cotton balls soaked in essential oil and placed near entry points last a bit longer but still need weekly replacement as the scent fades.

Think of essential oils as a temporary line of defense, not a colony killer. They redirect ants and can keep them off your kitchen counters while your bait stations do the real work. For anything beyond a handful of scouts, oils alone won’t solve the problem.

Seal Entry Points to Keep Ants Out

Ants can fit through gaps as small as 1/16 of an inch, so exclusion work makes a real difference. The most common entry points are the bottom edges and corners of door thresholds, utility openings where pipes and wires enter your foundation (outdoor faucets, gas meters, dryer vents, cable TV wires), and gaps along siding and window frames.

A good quality silicone or acrylic latex caulk handles most of these gaps. Latex caulk is slightly less flexible than pure silicone but cleans up easily with water and can be painted over. For larger holes, urethane expandable foam, steel wool, or copper mesh are better options. Pay particular attention to bottom corners of door and window frames, which are the most common insect entry points.

Outside, keep mulch pulled back a few inches from your foundation and trim any branches or vegetation touching the house. Ants follow linear objects like tree limbs, fence lines, and even garden hoses as highways to your walls. Carpenter ants in particular use overhanging branches as direct routes onto your roof and into your attic.

Putting It All Together

The most effective DIY approach layers these methods. Start by identifying your ant species to rule out carpenter ants or pharaoh ants that need specialized treatment. Clean up the immediate food sources that attracted scouts in the first place: crumbs, sticky residues, pet food left out overnight, and open sugar containers.

Set out borax bait stations along active trails and give them one to two weeks to work. While the bait is doing its job, apply diatomaceous earth in dry areas where ants travel, especially behind appliances and inside cabinets. Use essential oil sprays to keep ants off food-prep surfaces. Seal every crack and gap you can find along your home’s exterior.

If you’ve baited consistently for two weeks and the ants are still coming, you may be dealing with a species that needs protein-based bait instead of sugar bait, or there could be multiple colonies involved. Switching bait types or trying a commercial gel bait with a different active ingredient is the logical next step. For carpenter ants nesting inside your walls, or pharaoh ants that won’t respond to standard baits, a pest control professional with the tools to locate and treat the nest directly will save you months of frustration.