As the weather warms and the outdoors comes to life, homeowners often find themselves facing an unwelcome invasion – ants. These tiny, persistent creatures can quickly become a nuisance. They can march through your homes and yards, disrupting your daily lives. But fear not, there are several simple and effective methods you can use to get rid of ants.
In this article, we’ll explore 16 easy, natural methods to get rid of ants in your house and yard. From essential oils to homemade baits, you’ll discover a variety of budget-friendly, eco-friendly strategies. These tricks can help you eliminate them quickly and safely. No more chemical sprays or expensive exterminators – just simple, effective solutions to send those ants packing.

Understanding Your Ant Problem
Before you jump into solutions, you should understand what you’re dealing with. Ants enter your home for three main reasons: food, water, and shelter. They’re incredibly organized creatures, using scout ants to find resources before creating pheromone trails that guide the entire colony to the bounty.
Different ant species require different approaches. Common household invaders include:
- Carpenter ants: Larger black or red ants that damage wood structures by excavating galleries for nesting. They don’t eat the wood, but it can cause significant structural damage over time.
- Pavement ants: Small dark brown or black ants often found near concrete foundations, sidewalks, and driveways. They’re commonly seen in kitchens and bathrooms.
- Sugar ants: Tiny brown ants attracted to sweet foods and sticky residues. They can form massive trails leading to food sources.
- Fire ants: Reddish ants with painful stings, typically found outdoors in sunny areas. Their distinctive mounds can damage lawns and gardens.
- Argentine ants: Light to dark brown ants that form massive colonies with multiple queens. They’re notorious for their large numbers and persistence.
- Odorous house ants: Small brown or black ants that emit a rotten coconut smell when crushed. They’re attracted to sweets and proteins.
- Pharaoh ants: Tiny yellow or light brown ants are often found in hospitals, restaurants, and apartment buildings. They can spread pathogens and are difficult to control.
Knowing which type has taken up residence in your space can help you target your approach effectively. Pay attention to their size, color, behavior, and nesting habits. If you’re dealing with large numbers or destructive species like carpenter ants, you might need to consider more aggressive treatment methods or professional assistance.
16 Easy Ways to Get Rid of Ants in the House and Yard
Indoor Ant Control Solutions
1. Seal Entry Points
The most effective long-term strategy starts with prevention. Ants can squeeze through incredibly tiny cracks and crevices to access your home—openings as small as 1/16 of an inch are highways for these determined insects.
You need to take time to inspect your home’s exterior for potential entry points. Pay special attention to areas where utility pipes enter your home, damaged window seals, cracks in your foundation, and gaps around doors.
Once identified, seal these openings using caulk, weatherstripping, or other suitable materials. You can also consider using a silicone-based caulk for exterior applications, as it withstands weathering better than other types.
Don’t forget to check inside your home as well. Ants often travel along baseboards, behind appliances, and through wall voids. Sealing interior cracks not only blocks entry but can eliminate established travel routes.
This simple step not only helps with ant control but can improve your home’s energy efficiency as a bonus. Many homeowners report seeing immediate reductions in ant activity after sealing entry points.

2. White Vinegar Solution
White vinegar is a household staple that doubles as an effective ant deterrent. The strong smell disrupts ants’ scent trails and naturally repels them without introducing harmful chemicals into your living space.
You can mix equal parts white vinegar and water in a spray bottle. For extra strength, add 10-15 drops of essential oils like peppermint, lemon, or tea tree. Spray this mixture along baseboards, windowsills, doorways, and anywhere you’ve spotted ant activity. Pay particular attention to corners and crevices where ants might be entering.
For best results, you can also apply this solution daily until any activity subsides, then continue with maintenance applications every few days. The vinegar evaporates relatively quickly, taking its repellent properties with it, so consistency is key.
After wiping down surfaces with your regular cleaner, follow up with a vinegar spray to maintain the barrier. As a bonus, this solution doubles as a natural, non-toxic cleaner that’s safe to use around children and pets.
3. Diatomaceous Earth
This fine powder might look harmless to you, but it’s a powerful ant-eliminator. Made from fossilized aquatic organisms, food-grade diatomaceous earth (DE) can damage ants’ exoskeletons, causing them to dehydrate and die. It’s particularly effective because it works mechanically rather than chemically.
Sprinkle a thin layer of DE in areas where you’ve seen ant activity—along their trails, near entry points, and in cracks and crevices. You can use a small paintbrush to ensure the powder reaches deep into tight spaces. Keep the powder dry, as it loses effectiveness when wet. For outdoor applications around your foundation, you’ll need to reapply after rain or heavy dew.
For maximum effectiveness, you can also create a complete barrier around problem areas rather than just spot treating. Ants will avoid visible piles of DE, so aim for a light, barely visible dusting.
While safe for humans and pets, DE can be irritating if inhaled, so apply it carefully and keep children and pets away until it settles. Wearing a dust mask during application is recommended. Users typically see results within 24-48 hours.

4. Borax and Sugar Bait
This classic ant killer leverages ants’ love of sweet substances against them. The borax damages ants’ digestive systems and outer skeletons. The sugar attracts them to take the bait back to their colony—effectively turning worker ants into unwitting transporters of colony-killing material.
Mix 1 part borax with 3 parts powdered sugar. Place small amounts of this mixture in bottle caps or on pieces of cardboard near ant trails but away from pets and children.
For a liquid version, you can dissolve 1 tablespoon of borax and 3 tablespoons of sugar in 1 cup of warm water, then soak cotton balls to place near ant activity. For protein-loving ants, you can create a mixture with 1 part borax and 3 parts peanut butter instead.
Strategic placement is crucial for bait effectiveness. Position your baits directly in ant pathways but not directly on them—you want to attract ants to the bait without disturbing their trails. You can also place multiple baits around your home.
Patience is key, as the colony elimination process can take time, but the results are more thorough than surface treatments alone.

5. Essential Oils
Certain essential oils contain compounds that naturally repel ants. Peppermint, lemon, eucalyptus, tea tree, and cinnamon oils are particularly effective due to their strong scents that disrupt ants’ ability to follow pheromone trails. These natural options are ideal if you’re concerned about using chemicals in your living spaces.
You can create a repellent spray by adding 15-20 drops of your chosen essential oil to 2 cups of water in a spray bottle. For enhanced effectiveness, add a teaspoon of dish soap. Shake well before each use and spray along ant trails, entry points, and potential problem areas. Reapply every few days or after cleaning.
You can also create oil barriers by applying undiluted essential oil to cotton balls and placing them in strategic locations. Peppermint oil seems particularly offensive to ants. This makes it an excellent choice for this application. For outdoor use, soak rope or twine in essential oil and place it around garden beds, patios, or your home’s foundation to create a perimeter barrier.
6. Keep a Clean Kitchen
Perhaps the simplest yet most effective long-term strategy is maintaining impeccable kitchen cleanliness. Ants are primarily attracted to food sources, especially sweets, proteins, and oils.
Wipe counters immediately after food preparation, sweep floors regularly, and don’t leave dirty dishes out overnight. Pay special attention to spills, especially sugary liquids that can attract ants even in tiny amounts.
Clean sticky jar exteriors, wipe down your stovetop after cooking, and regularly pull out appliances to clean behind and underneath them.
In addition, try to store food in airtight containers, especially sugary items like honey, syrup, and confections. Consider transferring pantry staples like flour, sugar, and cereal into sealed containers rather than keeping them in their original packaging.
Don’t forget about your trash and recycling areas. Rinse food containers before recycling them, use trash cans with tight-fitting lids, and take garbage out regularly.
7. Coffee Grounds
Used coffee grounds serve double duty in ant control. The strong smell confuses ants and disrupts their scent trails. The caffeine and compounds like diterpenes are toxic to certain ant species.
Simply sprinkle used coffee grounds near entry points, along ant trails, and in garden areas where you’ve spotted ant activity. The grounds can be either fresh or dried.
For indoor use, place grounds in small containers or sachets near problem areas. Outdoors, you can incorporate coffee grounds directly into the soil around plants or create barriers around areas you want to protect.
Beyond repelling ants, coffee grounds provide additional benefits in garden areas. They add nitrogen to the soil as they decompose. They also help improve soil structure and may deter other garden pests like slugs and snails.
8. Chalk Lines
Drawing lines with regular chalk creates a barrier that many ants won’t cross. The calcium carbonate in chalk disrupts ants’ scent trails and creates an obstacle they prefer to avoid. This simple method has been used for generations as a quick, non-toxic ant deterrent.
Draw thick chalk lines around entry points, windowsills, or wherever you’ve noticed ants entering your home. For best results, create an unbroken barrier with a width of at least half an inch. Reapply after cleaning or if the lines become smudged. You can also crush chalk into a powder and sprinkle it along baseboards and in cracks for harder-to-reach areas.
For a more permanent solution, you can purchase calcium carbonate powder and mix it with water to create a paste. Apply this paste to create longer-lasting barriers around windows, doors, and other entry points. Some gardeners even use powdered chalk around the perimeter of garden beds to keep ants away from plants.
This simple, non-toxic method works best as a temporary solution or in combination with other approaches. It’s particularly useful for creating boundaries around specific areas you want to protect from ant invasions, such as pet food stations or children’s play areas.

9. Lemon Juice
The acidity and strong scent of lemon juice make it an effective natural ant repellent. Like vinegar, lemon juice disrupts ants’ pheromone trails and creates an environment they find unpleasant. The citrus oils present in the peel contain d-limonene, which is toxic to ants and other insects.
You can mix equal parts lemon juice and water in a spray bottle. Apply this mixture to windowsills, doorways, and other areas where ants enter your home. For added effectiveness, wipe down surfaces with undiluted lemon juice, which leaves a stronger residue. You can also place lemon peels near entry points or in areas with ant activity.
For kitchen applications, this solution has the added benefit of being food-safe and leaving surfaces smelling fresh and clean. Many homeowners find that wiping down kitchen counters with lemon juice at the end of each day creates an effective overnight barrier against ant exploration.
This citrus solution needs frequent reapplication, as the scent dissipates relatively quickly. However, it’s pleasant smell and non-toxic nature make it an appealing option for households with children, pets, or concerns about chemical use.

Outdoor Ant Control Solutions
10. Boiling Water for Ant Hills
For visible ant mounds in your yard, a kettle of boiling water provides direct, immediate control. This method is especially effective against fire ants and other species that build visible nests.
Carefully pour boiling water directly into and around ant hills. For maximum effectiveness, first use a garden tool to create a small opening at the top of the mound, allowing the water to penetrate deeper into the nest structure.
For large colonies, you may need to repeat this process several times over a few days, as some ants may escape or be in deeper chambers initially.
The best time to apply this treatment is in the early morning or evening when more ants are likely to be in the nest. On particularly hot days, ants may retreat deeper underground during midday heat, making your efforts less effective. After treatment, monitor the area for signs of renewed activity and retreat as necessary.
11. Boric Acid and Sweet Bait Stations
Similar to indoor borax baits, these stations use boric acid mixed with attractants to eliminate entire colonies through a process that allows worker ants to transport the poison back to the nest.
First, combine 1 part boric acid with 10 parts sweet bait (honey, corn syrup, or sugar water). For protein-loving ant species, try mixing boric acid with canned tuna or wet cat food instead.
Place this mixture in small containers with holes punched near the top, positioned near ant trails and suspected nest locations. Empty pill bottles, film canisters, or small plastic food containers work well for this purpose.
Try to protect the stations from rain and direct sunlight by placing them under overhangs or creating simple shelters from plastic food containers or flower pots.
Position them along fence lines, near foundations, alongside garden edges, and other areas where you’ve observed ant activity. For large yards, place stations every 10-15 feet around the perimeter for comprehensive coverage.
Many users report significant decreases in ant activity within 1-2 weeks of implementing bait stations.
12. Beneficial Nematodes
These microscopic organisms provide natural biological control for ants and other soil-dwelling pests. Beneficial nematodes seek out and kill ant larvae and can significantly reduce populations over time by attacking the reproductive cycle of the colony.
Purchase nematodes from garden centers or online suppliers and apply according to package directions. Most products contain millions of nematodes per package, sufficient to treat several hundred square feet of yard space.
You can apply it in the evening or on cloudy days, as direct sunlight can kill these beneficial organisms. Water the treatment area lightly before and after application to help the nematodes move through the soil.

13. Cinnamon
Ground cinnamon acts as both a repellent and disruptor for ants. Its strong scent interferes with their ability to follow pheromone trails, and many species actively avoid areas where cinnamon is present. The active compound cinnamaldehyde is particularly offensive to ants, making this spice an effective natural barrier.
Sprinkle ground cinnamon around the perimeter of your home, near doors and windows, and directly on ant trails or nests. For enhanced effectiveness, you can also create a spray using cinnamon essential oil mixed with water (10-15 drops per cup of water) for application on vertical surfaces or larger areas.
For dealing with ant hills, you can pour ground cinnamon directly onto and around the mound. While this won’t kill the ants immediately, it often encourages them to relocate their colony away from your yard. The ants find the strong smell overwhelming, and it can also interfere with their ability to communicate effectively with each other.
14. Citrus Peel Extract
The d-limonene in citrus peels acts as a natural insecticide that’s effective against ants while being relatively safe for humans and pets. This compound disrupts the ants’ respiratory systems and dissolves their protective wax coatings.
Try boiling orange, lemon, or grapefruit peels in water for 15-20 minutes, then straining the liquid into a spray bottle once cooled. For increased potency, reduce the liquid by simmering it longer to concentrate the oils.
Apply directly to ant trails, nests, and entry points. You can also scatter fresh citrus peels around garden beds, foundation perimeters, and other outdoor areas where you’ve spotted ant activity.
For severe infestations, you might consider purchasing commercial d-limonene products, which contain more concentrated amounts of the active compound. These can be applied according to package directions for more powerful control when home remedies aren’t quite strong enough.

15. Maintain Your Yard
Regular yard maintenance eliminates many potential ant habitats and food sources. Trim vegetation away from your home’s foundation, keep grass cut short, and remove debris piles that could house ant colonies. The less hospitable your yard is to ants, the less likely they’ll establish colonies near your home.
Address moisture issues by fixing leaky outdoor faucets and ensuring proper drainage away from your home. Many ant species are attracted to damp environments, so eliminating standing water and wet areas can significantly reduce your property’s appeal to these pests.
Keep firewood stacked away from the house and elevated off the ground. Regularly rotate the pile to disturb any ants that might be nesting within it. Similarly, avoid using excessive mulch directly against your foundation.
16. Cucumber Peels
Cucumber peels contain compounds that repel ants naturally. The bitter substances in cucumber skin are unpleasant to ants and disrupt their foraging patterns. This method is particularly appealing because it repurposes kitchen waste into an effective pest management tool.
Place fresh cucumber peels in areas with ant activity, replacing them every few days as they dry out. Focus on entry points, windowsills, and areas where you’ve spotted ant trails.
For outdoor use, place cucumber peels around garden beds, near patio edges, or along your home’s foundation. Some gardeners chop cucumber peels and mix them into the soil around plants.
This simple kitchen scrap solution is completely non-toxic and safe for households with children and pets. While it may not eliminate severe infestations on its own, it provides a gentle deterrent that can complement other control methods.
While these methods can be highly effective for most ant infestations, there are some situations where it’s best to bring in professional pest control experts. Consider seeking professional assistance if:
- The ant problem is widespread and persistent. Ants appear in multiple rooms or areas of your home and yard, despite your best DIY efforts.
- You suspect the ants may be nesting in the walls, foundation, or other hard-to-reach areas of your home. Professional exterminators have the tools and expertise to locate and treat nest sites that may be inaccessible.
- You have attempted DIY solutions for several weeks with no noticeable improvement. Stubborn infestations may require the heavy-duty treatments and specialized products only available to licensed professionals.
- You have young children or pets in the home, and want to minimize exposure to potentially hazardous DIY pesticides. Exterminators can apply more targeted, low-risk treatments.
- The ant species infesting your home is particularly aggressive or difficult to control, such as fire ants or carpenter ants. These may necessitate professional intervention.
Don’t hesitate to consult a reputable local exterminator if your ant problem proves too persistent for DIY methods. Their expertise can quickly get your home and yard back under control.