To get rid of pharaoh ants, stop spraying them and start baiting them. These tiny yellowish ants live in colonies with many queens, and when a spray or repellent stresses a nest, the colony simply splits into several smaller ones and moves deeper into your walls. The plan that works is slow: identify the ant correctly, remove competing food, put out a slow-acting bait the workers will carry home, keep that bait fresh for several weeks and leave the trails alone while it works. This guide walks through each step, explains why the usual kitchen-spray reflex backfires, and covers when it is time to bring in a professional.
Part of our Pest Control guide →
In this guide
Key Takeaways
- Pharaoh ants are about 1/16 inch long, pale yellow to light amber, and nest indoors in warm, hidden voids.
- Sprays, repellent dusts and foggers trigger budding: the colony fragments and spreads to new rooms.
- Slow-acting baits work because foragers share the bait with queens and brood before it kills them.
- Expect a bait program to take several weeks; refresh bait and rotate between sweet and protein formulas.
- Confirm the ID first: thief ants look similar but respond poorly to the same baits.
How to Identify Pharaoh Ants
Pharaoh ants are among the smallest ants you will see in a house. Workers are roughly 1/16 inch (about 2 millimeters) long, all the same size, and pale yellow to light reddish-amber, often with a slightly darker tip on the abdomen. They are so small and light-colored that many people first notice them as a moving “line” on a countertop, along a baseboard or around a bathroom sink rather than as individual insects.
Behavior is a strong clue. Pharaoh ants are a tropical species, so in most of the US they live indoors year-round, nesting in warm, humid, protected spaces: wall voids near hot-water pipes, behind baseboards and outlet plates, under appliances, inside cabinet hollows, in stacks of linens and even inside electronics. They forage widely along wiring and plumbing runs, so you can see them on upper floors far from the kitchen. They are a well-known problem in apartment buildings, hotels and hospitals, where connected walls let colonies travel between units.
Pharaoh ants vs. look-alikes
| Ant | Size and color | Where you see it | What it means for control |
|---|---|---|---|
| Pharaoh ant | About 1/16 in, pale yellow to amber | Kitchens, bathrooms, upper floors, near warm pipes | Bait only; sprays cause budding |
| Thief ant | About 1/16 in or smaller, yellowish | Kitchens; often nests outdoors or in soil near foundations | Often ignores common sweet baits; confirm ID before a long bait program |
| Odorous house ant | About 1/8 in, dark brown to black | Kitchens after rain; smells like rotten coconut when crushed | Bait plus outdoor perimeter work |
| Little black ant | About 1/16 in, shiny black | Lawns, patios, kitchens in summer | Bait; often nests outdoors |
Under a hand lens, pharaoh ants have a three-segmented club at the tip of each antenna, while thief ants have a two-segmented club. That detail matters because the University of California IPM program specifically advises confirming you are dealing with pharaoh ants and not thief ants before committing to a bait program. If you cannot tell, drop a few specimens into a zip-top bag with rubbing alcohol and take them to your county Cooperative Extension office or a pest control company for identification. If the ants are dark rather than yellow, our guides to little black ants and sugar ants are a better fit.
Why Sprays Make Pharaoh Ants Worse
Most household ants live in a colony built around one queen or a small group of queens in one nest. Pharaoh ants are different. A single colony can contain many queens spread across several nest sites, with brood and workers moving freely between them. When a nest is disturbed, a few workers can carry brood and a queen to a new void and start a satellite colony on the spot. This process is called budding, and it is the reason pharaoh ants are so hard to eliminate.
A contact spray kills the workers you can see, but those foragers are a small fraction of the colony. The repellent residue then tells the rest of the colony that the area is dangerous. Penn State Extension’s guidance on indoor-nesting ants puts it bluntly: avoid sprays because the repellent response results in ants spreading through budding. Fast-acting liquids and dusts kill the foragers you see and leave the queens untouched, which is exactly the setup for a split. The UC IPM pharaoh ant management notes say insecticide sprays are not effective for this species and recommend an extensive baiting program combined with exclusion and sanitation instead. You can read those recommendations directly from UC IPM’s pharaoh ant management tips and Penn State’s common pest ants page.
The practical result is familiar to anyone who has fought these ants: you spray the kitchen, the trail disappears for a week, and then ants turn up in the bathroom, the bedroom and the laundry room. You have not reduced the colony. You have scattered it. The same is true of total-release foggers, repellent perimeter sprays used indoors and strong-smelling cleaners wiped along active trails during a bait program.
The Slow-Bait Plan That Works
Bait works with the colony’s own behavior. Foragers collect food, carry it home and share it mouth to mouth with other workers, larvae and queens. A slow-acting toxicant gives the forager time to make that trip many times before it dies, so the active ingredient spreads through the whole colony, including satellite nests you will never find. The goal is to reach the queens; once they are gone, the colony cannot replace its workers. For product options, see our roundup of the best ant baits, and for the bigger picture on household and yard pests, our pest control guide.
Step 1: Stop all sprays and repellent cleaners
Put away aerosol ant sprays, foggers, repellent dusts and peppermint or vinegar trail sprays. Clean counters with plain soapy water, which removes food residue and kills the ants it touches without leaving a repellent film. Wipe up stray ants that wander onto food prep areas, but do not wash down the trail leading to the bait.
Step 2: Remove the competition
Bait only works if it is the best meal in the house. Store sugar, cereal, honey, syrup, pet food and snacks in containers with tight lids, empty the kitchen trash nightly, rinse recyclables, and do not leave pet bowls down overnight. Fix dripping faucets and wipe up water around sinks, since pharaoh ants need moisture as much as food. Good sanitation does not starve the colony on its own; it pushes foragers toward your bait.
Step 3: Choose the right bait
Look for baits labeled for pharaoh ants or for indoor ant control, using slow-acting active ingredients. Common options on store shelves include boric acid or sodium borate gels and liquids, hydramethylnon, abamectin, fipronil gel stations and baits containing insect growth regulators such as methoprene or pyriproxyfen, which stop queens from producing viable brood. Insect growth regulator baits are slow by design and can take longer to show results, but they target the reproductive side of the colony directly.
Food preference matters as much as the toxicant. Pharaoh ants alternate between sweets and fats or proteins depending on what the colony needs at the moment. Start with two formulas side by side, one sweet gel or liquid and one protein or grease-based gel, and watch which one the ants crowd. Penn State’s guidance recommends keeping baits fresh and changing them when ant food preferences change.
Step 4: Place bait where the ants already travel
- Put small dabs of gel, about the size of a pea or smaller, or bait stations directly on or beside active trails.
- Target edges and hidden routes: along baseboards, behind the sink cabinet back panel, near outlet plates, under the refrigerator kick plate and by plumbing penetrations.
- Use many small placements rather than a few large ones; pharaoh ants forage in small numbers from multiple nests.
- Keep baits out of reach of children and pets, and use enclosed stations wherever kids or animals have access.
- Never spray insecticide or apply repellent dust near bait. Contaminated bait is ignored.
Step 5: Refresh, watch and be patient
Check placements every two to three days. Gel baits dry out and stop being attractive, and liquid stations can empty quickly when a colony takes to them. Replace bait as it dries or runs low, following the label’s directions for reapplication. Heavy feeding in the first week is a good sign, not a failure; it means the bait is moving into the nests. Many households see numbers drop over two to four weeks, but large or multi-unit infestations can take a couple of months of steady baiting. Keep a few placements out for a while after the last ant disappears to catch any surviving satellite colony.
Step 6: Seal entry points after the colony collapses
UC IPM recommends sealing cracks and entry points with caulk as part of the plan. The timing matters: if you seal everything on day one, you can cut off the trails that carry bait back to the nests. Caulk the gaps around pipes, outlet boxes and baseboards once activity has clearly dropped, and you make it harder for a neighboring colony to move in later.
Bait Safety: Follow the Label
Ant baits are pesticides, and the EPA is explicit that the label is the law: using a product in a manner inconsistent with its labeling is a violation of federal law. Read the whole label before you place any bait, and follow it for where the product may be used, how much to apply and how often to replace it. A few practical habits help.
- Use products labeled for indoor use in the rooms you are treating; some outdoor granules are not allowed inside.
- Keep gels off food-contact surfaces and out of places where food is prepared or stored unless the label allows it.
- Choose tamper-resistant stations in homes with toddlers, dogs or cats.
- Store unused bait in the original container, away from food, and dispose of it as the label directs.
- Wash hands after placing bait, even if you used an applicator syringe.
Mistakes That Keep Pharaoh Ants Coming Back
Most failed pharaoh ant campaigns break down in one of a few predictable ways.
- Mixing sprays and baits. One “quick spray” on a trail can undo weeks of baiting by repelling foragers and triggering budding.
- Using one bait type only. When the colony switches from sugar to protein, a single sweet bait goes untouched.
- Letting bait run dry. A gap of several days lets the colony recover and lets the survivors reorganize.
- Stopping too early. The last few workers you see can be the edge of a satellite nest with a live queen.
- Treating one apartment in a connected building. Colonies move through shared walls, so a building-wide program works far better than one unit acting alone.
- Misidentification. Thief ants and other small yellow ants can look similar but behave differently.
Where Pharaoh Ants Hide in a House
Knowing the usual nest sites helps you place bait close to the colony without tearing into walls. Look for the warm, damp, undisturbed spaces near the places you see ants most often.
| Area | Typical nest spots | Bait placement idea |
|---|---|---|
| Kitchen | Wall voids behind the dishwasher and refrigerator, under the sink, cabinet hollows | Gel dabs at the back corners of the sink cabinet and beside the fridge kick plate |
| Bathroom | Behind the tub panel, around shower plumbing, inside vanity bases | Stations tucked beside the toilet base and under the vanity |
| Bedrooms and living areas | Behind baseboards, inside outlet boxes, under furniture, in stored boxes and linens | Small placements along baseboard trails and near outlets |
| Utility areas | Near water heaters, furnaces and laundry hookups | Stations along the wall where pipes enter |
Do not open wall cavities or pull baseboards to hunt for nests. Disturbing a nest is exactly what triggers budding, and bait reaches hidden colonies more reliably than you can.
When to Call a Professional
A determined homeowner can clear a modest pharaoh ant infestation in a single-family home. Call a licensed pest control company if any of these apply.
- You live in a condo, townhouse or apartment building where colonies move between units.
- Ants are in sensitive places: a nursery, a home with someone who has a medical condition or a home business that handles food.
- You have baited steadily for six to eight weeks with fresh, rotated baits and still see steady activity.
- Ants are nesting in electronics or appliances you cannot safely bait around.
Ask any company you interview how they treat pharaoh ants. A good answer describes an inspection, a bait-based program with follow-up visits and advice on sanitation. If a technician’s plan is to spray baseboards throughout the house, keep looking. You can start your search on our local services hub.
Preventing a Return
Pharaoh ants usually arrive by hitchhiking in groceries, potted plants, boxes, luggage and secondhand furniture, or by walking through shared walls. After you clear an infestation, inspect packages and plants before bringing them inside, keep food sealed, fix leaks promptly and keep a couple of bait stations in the spots where the ants were worst. If a few workers show up again months later, go straight back to baiting rather than reaching for the spray can. Catching a new colony while it is small is far easier than fighting a building full of satellite nests.
Frequently Asked Questions
How long does it take to get rid of pharaoh ants?
With a steady bait program, many homes see a big drop within two to four weeks. Heavy infestations or connected multi-unit buildings can take two months or more, especially if insect growth regulator baits are part of the plan.
Can I spray pharaoh ants with vinegar or peppermint oil?
It is better not to. Repellent trail sprays scatter foragers and can trigger budding, the same way chemical sprays do. Use plain soapy water to clean counters and let baits do the work.
Are pharaoh ants dangerous?
They do not sting people in any meaningful way, but they forage everywhere, including drains and trash, so they can carry contamination onto food and surfaces. That is why they are taken seriously in healthcare and food settings.
Why are the ants still eating the bait after a week?
That is what you want. Heavy feeding means foragers are carrying the slow-acting bait back to the nests. Keep the bait fresh and avoid disturbing the trail until feeding tapers off on its own.
Do pharaoh ants live outside?
In most of the US they live indoors because they need steady warmth. In the warmest southern regions they can nest outdoors, but indoor colonies near warm pipes and appliances are the usual problem.