The short answer
- Name the ant first. Food preferences and the right bait differ by species.
- Most house ant problems start outdoors. Clean up food, fix moisture and seal entry points before reaching for any product.
- Slow baits that workers carry home beat sprays, which only kill the ants you can see.
- Never spray pharaoh ants. Insecticides can make the colony split into many new colonies.
- Carpenter ants in a structure and fire ants near people with sting allergies are good reasons to call a professional.
On this page
A line of ants is marching across your counter, and you would rather not fill the kitchen with insecticide to stop it. Good news: the low-toxicity approach is also the one that works best. Spraying the ants you can see does almost nothing to the colony. This guide helps you identify the ant, then work through the gentlest controls first and use a targeted bait only if you need one.
How to identify common house ants
Ants have elbowed antennae and a pinched waist with one or two small bumps (nodes) between the middle section and the abdomen. Winged ants are sometimes mistaken for termites. Termites have straight antennae, a thick waist and wings of equal length. If you are unsure, our guide to signs of termites shows the difference.
| Ant | Size | Color and clues | Where it nests | Favorite foods |
|---|---|---|---|---|
| Odorous house ant | About 1/10 to 1/8 in | Brown to shiny black; one node; smells like rotten coconut when crushed | Shallow soil, under stones and boards; indoors in wall voids near pipes and heaters | Sweets |
| Pavement ant | About 1/8 to 3/16 in | Dark brown to black; two nodes; fine grooves on head and thorax | Under sidewalks, slabs and stones; small soil piles along pavement cracks | Grease, meat, insects, seeds |
| Argentine ant | About 1/8 in | Dull brown; one node; the most common pest ant in California | Shallow outdoor nests in soil, mulch and debris | Sweets year-round, protein in spring |
| Pharaoh ant | About 1/16 in | Pale yellow to orange; two nodes; very tiny | Indoors in warm, hidden voids, behind baseboards, in cabinets | Sweets, grease, protein |
| Little black ant | About 1/8 in | Shiny black, sometimes dark brown; two nodes | Soil (tiny craters of fine soil), rotted wood, masonry, woodwork | Sweets, meats, insects, honeydew |
Carpenter ants (large, 1/4 to 1/2 inch) and fire ants have their own sections below.
Signs of an ant problem
- Trails of ants along baseboards, countertops, window frames and plumbing.
- Small soil piles in pavement cracks, along the foundation or in the lawn.
- Ants clustered on sweets, grease, pet food or the honeydew left by aphids on houseplants and shrubs.
- Winged ants indoors, which can mean a nest inside the building.
To find the nest, set a dab of jelly or bit of bacon near the activity and follow the trail.
Why ants come inside
Most house-invading ants nest outdoors and come in looking for food and water. Branches, shrubs and mulch touching the house give them an easy route in. Once foragers find food, they lay a scent trail and the rest of the colony follows it.
How to get rid of ants the eco-friendly way
Work through these groups in order. Many problems end in the first three.
1. Behavioral control: use how ants work against them
Ants follow scent trails and carry food home to share. Use both habits:
- Erase the trail. Wipe trails with soapy water or vacuum them. This removes the scent the others follow. Window cleaner kills ants on contact but leaves nothing behind, so it is a cleanup tool, not a barrier.
- Let foragers carry bait home if you use it (see chemical control below).
2. Habitat control: take away food, water and shelter
- Store food in sealed containers. Clean up crumbs, spills and grease right away, including under appliances.
- Do not leave pet food out longer than needed.
- Fix leaky faucets and pipes, and dry damp areas.
- Trim shrubs and branches back from the house and pull mulch and dense groundcover away from the foundation.
- Control aphids and scale on plants near the house. Ants tend them for their sugary honeydew.
3. Physical control: block the way in
- Caulk cracks around windows, baseboards, pipes and wiring where ants enter.
- Repair screens and weatherstripping.
- Boiling water has limits. Pouring a few gallons on an outdoor mound kills the colony only some of the time. Texas A&M fire ant researchers report roughly 60 percent success on fire ant mounds, and when it fails the colony usually just moves. It also kills the grass and plants it touches and can scald you. Flooding nests with plain water is not effective either.
4. Mechanical control: remove ants directly
- Vacuum trails and clusters, then empty the vacuum outside.
- Soak potted plants that have ants nesting in them in a solution of insecticidal soap and water.
5. Biological control: leave outdoor ants alone when you can
Outdoors, ants are mostly helpful. They eat fleas, termites and other pests. A nest in the middle of the yard that is not sending ants indoors usually does not need treatment. For fire ants, biological control agents are one of the organic options listed by Texas A&M.
6. Chemical control: baits first, sprays rarely
- Use slow-acting baits. Workers carry the bait home and share it, which can kill the queens and the colony. It usually takes 5 to 10 days to see fewer ants and several weeks for full control.
- Match the bait to the ant. Sugar baits for sweet-feeding ants like Argentine and odorous house ants. Protein or grease baits for pharaoh and grease-feeding ants. Fire ants prefer oil-based baits. If ants ignore a bait, try another type.
- Place baits on the trail and near nest openings, out of reach of children and pets.
- Do not spray while you bait. Sprays kill the foragers that would carry bait home. Ants also detect and avoid surfaces treated with residual sprays.
- Skip bug bombs. Total release foggers do not reach ant nests.
- Indoor sprays are usually unnecessary. Perimeter sprays rarely kill the colony.
About diatomaceous earth. This dust kills insects by drying them out, but only while it stays dry and undisturbed, and only ants that walk through it are affected. It does not reach the colony the way bait does. Breathing the dust can irritate your nose and lungs, so apply it lightly in cracks and voids, not as a cloud.
Read and follow the label on every ant product, even baits. Keep bait stations away from children and pets, and see our guide to using pesticides safely before you start.
Carpenter ants
Carpenter ants are large black or red-and-black ants, roughly 1/4 to 1/2 inch long, with one node. They do not eat wood like termites do. They chew it out to make nesting galleries, leaving piles of coarse sawdust-like debris (frass) outside the nest. Their tunnels are clean and smooth, while termite tunnels are packed with mud-like material.
They prefer wood that is already damp or rotting. Look around leaky tubs, showers, sinks and dishwashers, under roofing, in attic beams and in window and door frames. Outdoors they nest in stumps, firewood and fence posts. Winged carpenter ants swarming inside, usually in spring, point to a nest in the building. Workers forage mostly at night, so a flashlight check after sunset is the best way to follow a trail home.
What to do:
- Fix the moisture problem and replace water-damaged or rotted wood. Without this, ants return.
- Treat the nest, not the trail. Direct nest treatment works better than spraying the outside of the house. Baits may help where ants are active.
- Call a professional if the nest is inside walls or structural wood. University of Minnesota Extension notes carpenter ant control usually requires a pest management professional.
Fire ants
Red imported fire ants are reddish with a darker brown abdomen, from very small to about 1/5 inch long, and build soil mounds in lawns and open ground. They sting aggressively.
Texas A&M’s Two-Step Method is the standard approach for yards:
- Broadcast a fire ant bait across the whole yard. Late summer to early fall is the preferred time. Apply when grass and ground are dry and no rain is expected for a day or two, usually in late afternoon or evening. Baits take weeks to months to reach full effect, and are reapplied once or twice a year.
- Treat individual mounds that are in high-traffic areas or need fast results, using a product labeled for mound treatment.
The two-step method suits yards with many mounds (five or more per quarter acre). With only a few mounds, or where you want to protect native ants, treating individual mounds is the gentler choice.
If anyone in your home is allergic to insect stings, treat fire ants near play areas, doors and walkways as a priority and consider professional treatment. A severe reaction to a sting needs emergency medical care.
Pharaoh ants
Pharaoh ants are tiny (about 1/16 inch), pale yellow to orange, and nest indoors in warm, hidden voids, often near hot water pipes. They are a serious pest in apartments, hospitals, nursing homes and food businesses.
Do not spray pharaoh ants, and do not use repellent ant sprays or bug bombs on them. Insecticides can cause a pharaoh ant colony to “bud”: part of the colony, with a queen, moves away and starts a new colony elsewhere. One nest can become many, spread through the building.
What works is patient baiting with a bait these ants accept (they often prefer protein or grease baits) placed along their trails, with no sprays anywhere nearby. Because colonies may be spread across a building, a professional with access to effective baits is usually the best route, especially in apartments.
When to call a professional
Most sugar ant and pavement ant problems are DIY jobs with cleanup, sealing and bait. Call a licensed professional when:
- Carpenter ants are nesting in your walls or structural wood.
- Fire ants are near children, pets or anyone with a sting allergy, or mounds keep returning.
- You have pharaoh ants, especially in a multi-unit building.
- Ants persist after several weeks of steady, correct baiting.
See choosing a pest control company, the seasonal pest calendar and our integrated pest management guide for next steps.
Ant questions
Do cinnamon, peppermint or vinegar keep ants away? University of Minnesota Extension lists spices such as cinnamon and red pepper, plus lavender and other plant oils, among methods that are not effective. Wiping trails with soapy water and sealing entry points works better.
Why did I see more ants right after putting out bait? Baits are made to attract foragers, so more workers gather to feed and carry bait home. Leave the bait in place, keep it stocked and do not spray.
Sources
- Pest Notes: Ants. University of California Statewide IPM Program.
- Ants. University of Minnesota Extension.
- Ants In and Around the Home (HYG-2064). The Ohio State University Extension.
- Two-Step Method. Texas A&M AgriLife, Texas Imported Fire Ant Research and Management Project.
- Diatomaceous Earth Fact Sheet. National Pesticide Information Center.
This page lives at its original address so long-standing links still work. We rewrote and re-sourced it in 2026.