Free quotes

Home / Guides / How to Keep Rattlesnakes Out of Your Yard

Guide · Updated 2026-11-21

How to Keep Rattlesnakes Out of Your Yard

Short answer: Install a fine-mesh snake fence at least 30 inches tall (36 inches is standard for big rattlesnakes), sealed at gates and drains, and clear the cover and rodents that draw rattlesnakes in.

Why rattlesnakes show up

Rattlesnakes hunt rodents and rest in shade and cover. Desert yards with watered plants, rock borders and block walls with drain holes give them all three. Western diamondbacks and Mojave rattlesnakes are the ones most often found in Phoenix, Tucson, Las Vegas and the California desert. Late summer brings baby rattlesnakes, which slip through gaps adults can't.

The fence that stops them

Rattlesnake repellents

There's no repellent that reliably keeps rattlesnakes away. Granules and sprays fade quickly, and mothballs used outdoors are illegal. See do snake repellents work?

Make the yard less inviting

  • Clear rock piles, wood piles and dense ground cover near the house.
  • Store pet food and birdseed in sealed cans.
  • Look under patio furniture and in shady corners before kids and dogs go out in warm months.

If you see one

Keep everyone back, keep an eye on where it goes, and call your local fire department or a snake removal service. Don't try to kill or move it. See what to do.

Get free quotes from local installers: Phoenix, Tucson, Las Vegas, Southern California desert, Dallas–Fort Worth, San Antonio, or anywhere.

Sources

  1. Mississippi State University Extension: Reducing Snake Problems Around Homes
  2. University of Illinois Extension: How to discourage snakes from living in your yard (2026)
  3. UF/IFAS Extension: Mothball facts (PI289)

Common questions

What keeps rattlesnakes away?

A fine-mesh snake fence around the yard, sealed at gates and drains. Removing cover and rodents helps, but repellents don't work reliably.

How high can a rattlesnake climb a fence?

On a smooth vertical surface a snake can reach roughly half its body length, which is why 30 to 36 inches is the standard height.

Can rattlesnakes get through block wall drains?

Yes. Drain holes in block walls are one of the most common ways in. Cover them with mesh.