How to Keep Ants Out of a Sandbox Safely
No insecticide belongs in a sandbox. A sealed lid, a raised base, dry sand and a gravel moat keep ants out without anything a child can touch.
On this page
Everything that actually keeps ants out of a sandbox is physical — a lid, a lined base, dry sand and a gravel band. Nothing chemical belongs anywhere a child is digging.
Clearing an existing nest
- Dig out the colonised sand completely and dispose of it away from the box
- Scrub the box with hot soapy water and let it dry fully in the sun
- Line the base — solid board with drilled drainage holes covered in landscape fabric, or heavy fabric laid over the soil
- Refill with washed play sand
- Fit a lid that actually seals, not a loose cover
Barriers that work
| barrier | verdict |
|---|---|
| Coarse gravel band, 6–8 in | Best practical option; keeps the frame dry too |
| Petroleum jelly on raised legs | Very effective where the box is off the ground |
| Diatomaceous earth outside the frame | Works dry; reapply after rain. Never inside |
| Cinnamon or chalk lines | A day or two, then gone |
| Ant bait or granules | Never near play sand |
Treat nests in the lawn, not around the box
If there is a colony in the surrounding grass, deal with it there — boiling water or a soap drench into the nest entrance, several feet from the sandbox. Nothing toxic goes within reach of the play area.
Keeping the sand itself in good condition
- Cover it whenever it is not in use. This prevents cats, rain, leaves and insects at once
- Rake it over on dry days so it airs and dries
- Use washed play sand, not builders’ sand or beach sand
- Top up through the season, replace fully once or twice a year
- Replace immediately if you find mould, droppings or a nest
Common questions
How do you get ants out of a sandbox without chemicals?
Should a sandbox have a solid bottom?
Does diatomaceous earth belong in a sandbox?
What is the best barrier around a sandbox?
How often should sandbox sand be changed?
Will the ants come back after I replace the sand?
Backyard Weekly
Know what to plant, week by week
Join the weekly email for seasonal jobs, fixes for what is going wrong, and gear worth buying.
Not ready to subscribe? The planting calendar is free and needs no email.
By subscribing you agree to our privacy policy. Grow In Backyard will never sell your address.
Keep reading
How to Get Rid of Ants in Grass Naturally
Boiling water, soapy drench and diatomaceous earth all work on lawn ant nests. Which to use where, and why most lawn ants are better left alone.
Why Are Ants Attracted to Light? Only the Winged Ones Are
The ants at your lamp are not the ants in your kitchen, and they are gone within days. What they are doing, and why workers ignore light entirely.
Can Carpenter Ants Kill a Tree? They Follow Decay, Not Cause It
Carpenter ants excavate wood that is already soft and wet. They do not eat live wood, so they are a symptom of internal rot rather than its cause.
How to Use Neem Oil on Plants Without Burning Them
The right dilution, why it needs soap to mix, when to spray, and which pests it works on. Neem is slow and specific — treat it as a knockdown and it fails.