How to Get Rid of Ants

These five simple steps will help keep ants from marching into your home

When you shop through retailer links on our site, we may earn affiliate commissions. 100% of the fees we collect are used to support our nonprofit mission. Learn more.

trail of black ants on white background Photo: iStock

Ants make for terrible houseguests: They come uninvited, get into everything, and are in no hurry to leave. Even in the best of times, they’re unwelcome. But if you, like many people, have been spending far more time at home because of social distancing, the little critters could very well drive you insane.

Through the warmer months, the two types most likely to show up are carpenter ants and odorous house ants, aka house ants. When their natural habitat is destroyed, ants seek out alternate food sources, which is what brings them indoors.

More on pests

“The problem is they can really proliferate,” says Jody Gangloff-Kauffman, an entomologist and the director of the Integrated Pest Management Program at Cornell University. “By the time you start spotting them inside your house, you may already have hundreds.”

According to Gangloff-Kauffman, house ants—typically less than 1⁄8 inch long—are the most common ant species to invade your house.

“The good news is that they’re really considered a nuisance pest,” she says. So while house ants may show up on your kitchen counters or around the shower, they won’t transmit disease or cause any real damage to your home.

Odorous ant on wood surface and carpenter ant on leaf
An odorous house ant, left, and a carpenter ant.

Photos: Alamy Photos: Alamy

The same can’t be said of carpenter ants, which feed on rotten or damp wood, potentially damaging windows, doors, or even structural framing in the process. Carpenter ants are about 1⁄4 to 1⁄2 inch long.

But think twice before you grab a can of bug spray and start crop-dusting your kitchen countertops.

“Ant poison may make you feel like you’re accomplishing something, but you’re not,” says CR senior scientist Michael Hansen, Ph.D., a biologist and ecologist who wrote his doctoral thesis on integrated pest management. “Unless you solve the problem of what’s attracting them to your house—and how they’re getting in—you should remember that there are thousands of ants in every colony, and you’ll just keep seeing them.”

With that pleasant thought in mind, here are five tips from our go-to experts in pest management on how to get ants out of your house—and keep them out.

1. Keep Your House Clean

Ants feed on sugar, protein, and just about anything else they can find. “Generally, a colony will send out a few ants to scout—they’ll bring back a sampling of any food they find to the colony, and hundreds will follow them back into the house,” Gangloff-Kauffman says. “And in my experience, they particularly gravitate towards sugary liquids.”

To keep scouts from returning with hundreds of their friends in tow, quickly clean up spills, particularly things like honey, maple syrup, and soda. And keep all food in airtight containers.

2. Eliminate Damp Spots and Rotted Wood

“While house and carpenter ants generally form a primary colony outdoors, they’ll sometimes build satellite colonies inside a home to serve as a conduit for resources,” Gangloff-Kauffman says. “And both species prefer damp areas.” That means showers, windows, and damp areas in the basement all need extra attention.

Look for leaks, fix them quickly, and replace any water-damaged materials. “Unlike termites, which eat their way through new or old wood, carpenter ants will only tunnel through wood that’s already been damaged by water,” Gangloff-Kauffman says.

One source of water-damaged wood to avoid? A deck. These structures will rot from neglect, and function like a red carpet for carpenter ants. Below, we’ve highlighted three standout wood stains for sealing your deck to protect it from damage.

3. Set Ant Baits

“The most effective method for controlling an ant infestation is using ant baits—set them out anywhere you see ants and expect a party,” Gangloff-Kauffman says. “If you still see ants around the house, try a few different brands of baits until you find one that’s appealing to this particular colony.”

In addition to killing off any ants that feed on the sweet, sugary bait syrup, when scouts track the liquid back to the colony it kills larvae and helps control the population.

If you have pets, check the packaging carefully and be mindful of where you place ant baits.

4. Stay Away From Sprays

You might be tempted to apply a bug barrier spray around the foundation of your home to discourage entry, but Consumer Reports experts don’t recommend it. For starters, the spray wears off and addresses only one potential source of entry for ants. But there’s even more to our advice.

“I’d argue that insect barrier sprays are both ineffective against ants and complete overkill,” says CR’s Hansen. “Worse, some of these sprays contain chemicals that are endocrine-disrupting compounds, which can alter our hormones. Similar compounds have been linked to neurobehavioral effects in children, including reduced IQ and increased rates of ADHD, even at the low levels you’d be exposed to when spraying your house.”

Instead, if you spot a few ants here and there, kill them the old-fashioned way: with a good stomp. They may be scouts, after all, so getting rid of them early means they can’t come back with reinforcements.

5. Make the Outdoors Appealing

Ants provide an important ecological function by aerating soil and providing a source of food for birds, according to Gangloff-Kauffman. To keep them outdoors, consider the food sources outside the house. “Aphids, which are little insects that live on plants, excrete honeydew, a sweet substance left on plants,” she says. “Ants feed on that honeydew, but if a landscaper or homeowner sprays outdoor plants for aphids, they’re also killing off an outdoor food source for ants.”

That has the potential to drive them into your house in search of new sources of nutrients. Indoor houseplants, particularly tropical varieties, are very appealing to ants. Aphids that feed on indoor plants excrete honeydew, too, which resembles white scale on leaves. Wipe leaves clean to eliminate the food source for ants, and consider placing aphid-killing plant spikes in the soil of any houseplants.

Of course, keeping your yard in tip-top shape and appealing to ants (as well as for yourself) is easiest with the right gear. Check out these articles for our selection of the best tools to keep your yard looking great:

Best and Worst Walk-Behind Lawn Mowers

Best String Trimmers

Best Leaf Blowers

Paul Hope

As a classically trained chef and an enthusiastic DIYer, I've always valued having the best tool for a job—whether the task at hand is dicing onions for mirepoix or hanging drywall. When I'm not writing about home products, I can be found putting them to the test, often with help from my two young children, in the 1860s townhouse I'm restoring in my free time.