The most effective way to get rid of garden snakes is to make your yard inhospitable to them by removing hiding spots, eliminating food sources, and sealing entry points into your home. “Garden snake” is simply a common nickname for garter snakes, and while they’re harmless and actually eat pests like slugs, rodents, and insects, plenty of homeowners still prefer them elsewhere. The good news is that simple habitat changes work better than any spray or powder you’ll find online.
Why Habitat Changes Work Best
Snakes stay where they find food, shelter, and safety. Remove those three things, and they’ll move on without you ever touching them. This approach, recommended by university extension services across the country, is more reliable than any chemical repellent and costs nothing beyond a few hours of yard work.
Garter snakes are carnivores that feed on earthworms, small rodents, frogs, and insects. If your yard has an abundance of these prey animals, snakes will keep showing up no matter what else you do. That’s why the strategies below target the entire ecosystem rather than just the snakes themselves.
Remove Hiding Spots Around Your Yard
Garter snakes are small and vulnerable to predators like hawks, so they spend most of their time under cover. Removing that cover is the single most impactful thing you can do. Clear away brush piles, stacked boards, rock piles, brick piles, leaf litter, and tall weedy growth. If all that’s left is bare, open ground, snakes won’t linger.
Keep your lawn mowed short, especially around the perimeter of your house. Tall grass gives snakes both camouflage and a travel corridor between hiding spots. Pay attention to brushy fence rows too, since these act as highways for snakes moving through a neighborhood.
If you store firewood, keep the stack well away from your house and use a rack that holds the wood at least 12 inches above the ground. Snakes are far less likely to shelter in firewood that doesn’t sit directly on the soil. During cold months when snakes are inactive, you can temporarily bring wood closer to the house for convenience.
Cut Off Their Food Supply
Garter snakes follow their prey. If your property attracts mice, voles, or large insect populations, snakes will find it. Store pet food and birdseed in sealed, hard-sided containers rather than leaving bags open in a garage or shed. Bird feeders that drop seed on the ground are particularly effective at drawing rodents, which in turn draw snakes.
Compost bins and open garbage also attract rodents. Keep compost enclosed and make sure trash cans have tight-fitting lids. Addressing a rodent problem on your property often solves a snake problem at the same time.
Seal Entry Points Into Your Home
Garter snakes can fit through surprisingly small gaps. Seal any opening in your home’s foundation larger than a quarter of an inch using mortar for masonry walls or sheet metal and fine-mesh hardware cloth for wooden structures. Check where pipes and wires enter your home and fill gaps with latex caulk or expanding foam.
Inspect the base of sheds, barns, and storage buildings too. If snakes can crawl underneath for shelter, close off access with packed soil, bricks, sheet metal, or hardware cloth. Bury the barrier about 6 inches below the soil surface so snakes can’t simply dig under it. Check walkways and porches for cracks or gaps that could serve as shelter.
For rural properties, cover the open ends of septic or drainage pipes with quarter-inch mesh hardware cloth to prevent snakes from entering through plumbing lines.
Snake Fencing as a Physical Barrier
If you want to protect a specific area like a garden bed, patio, or play area, snake fencing is a proven option. Use steel or galvanized hardware cloth with gaps no larger than a quarter inch. Baby garter snakes can squeeze through anything wider than a third of an inch, so standard chicken wire won’t work.
Install the mesh at least 30 inches above ground level, with 36 inches being the recommended height. Bury the bottom edge several inches into the soil and angle the top slightly outward to discourage climbing. This type of barrier is highly effective when installed correctly, though it’s more practical for small zones than for an entire property line.
Home Remedies That Don’t Actually Work
Mothballs are one of the most commonly suggested snake repellents online, but they have little effect on snakes. The National Pesticide Information Center notes that mothballs are not intended to be used this way. They also contain naphthalene or paradichlorobenzene, chemicals that pose real health risks to children, pets, and soil when scattered outdoors. Using mothballs as a pesticide in any way not specified on their label is technically a violation of federal regulations.
Powdered sulfur is another popular recommendation, and it shows up as an ingredient in many commercial snake repellent products. Despite this, sulfur has been shown to be ineffective at deterring snakes. The same goes for sticky traps and fake eggs. Most chemical or home-brew snake repellents you’ll encounter are myths that waste time and money while potentially introducing harmful substances into your yard.
Essential oil sprays (clove, cinnamon, cedarwood) are widely promoted on social media, but there’s no reliable scientific evidence they repel snakes in real-world outdoor conditions. Scent-based deterrents dissipate quickly outdoors and would need constant reapplication even if they worked.
Safely Encouraging Snakes to Leave
If you have garter snakes currently living in a specific spot, the fastest way to encourage them to leave is to completely strip that area of cover. Remove railroad ties, rocks, weeds, branches, and anything else they can hide under. When the area is nothing but open ground, the snakes will relocate on their own within days.
If a snake is inside your home, you can gently guide it out using a broom or place a large bucket or trash can over it, slide cardboard underneath, and carry it outside. Release it on your property away from the house. In many states, relocating wildlife off your property requires a permit from your state fish and wildlife agency, so check local regulations before driving a snake to a park or field. You can, however, move a snake from inside a building to elsewhere on your own land without a permit in most places.
For persistent problems, some wildlife control companies offer one-way door installations. These let snakes exit a crawl space or basement but prevent them from getting back in, solving the problem without anyone needing to handle the snake directly.