Skip to content
Magnolia Fencing Co.
Guide

Fence Rules in the Roanoke Valley: Heights, Permits & Pool Codes by Locality

Fence height limits, permit rules, corner-lot sight triangles and pool-barrier codes for Roanoke, Roanoke County, Salem, Vinton, Botetourt, Franklin and Bedford, with links to the official code.

Every city, town and county around Roanoke writes its own fence rules, and they don't match. A 4-foot front-yard fence that's fine in Roanoke County is too tall in Salem, and a solid front-yard fence that's fine in Vinton isn't allowed in the City of Roanoke at all. Below are the actual rules for each locality, pulled from the official code with a link to each one, so you can check your own.

Last verified against the official codes: October 13, 2026.

Read this first. This is general information, not legal advice. Your exact rule depends on your zoning district, whether you're on a corner lot, any overlay district, easements, and your HOA or subdivision covenants, which can be stricter than the code and aren't enforced by the locality. Codes change, so confirm with the zoning office listed for your locality before you build. "Front yard" in these codes means the area between the front of the house (the "building line") and the street, not your property line.

The quick comparison

Locality Front yard max Side & back yard max Corner sight triangle Zoning permit for a fence?
City of Roanoke 48 in, and at least 25% open (no solid fences) 6 ft Nothing over 36 in Not required by code (see note below)
Roanoke County 4 ft No maximum in the zoning code 20-ft legs, nothing over 3 ft Not required
City of Salem 3.5 ft 8 ft 25-ft legs, nothing over 3 ft Not required
Town of Vinton 4 ft (+1 ft for posts and gates) 6.5 ft (+1 ft for posts and gates) 20 ft, keep clear between 3 and 8 ft Not required for ordinary fences
Botetourt County 4 ft 8 ft 20 ft, nothing over 2 ft Unclear: call to confirm
Franklin County 4 ft No maximum found in the zoning code Must meet VDOT sight distance Unclear: call to confirm
Bedford County 6 ft (residential districts) No maximum in the zoning code 20-ft legs, nothing over 3 ft Likely not required: call to confirm

"No maximum in the zoning code" means we found no backyard height limit in that locality's ordinance. Call before you go taller than 8 feet anyway.

Statewide rules that apply everywhere

No building permit for an ordinary fence, at any height

You may have heard that fences over 6 or 7 feet need a building permit. That isn't what Virginia's code says. The Virginia Uniform Statewide Building Code exempts "fences of any height" from a building permit, unless the fence is a swimming-pool barrier or a construction-site safety fence (13VAC5-63-80, §108.2 item 5). Masonry and concrete walls over 6 feet do need one. Your locality can still require a zoning permit under its own ordinance, which is what the table above covers.

Pool fences have their own code (and do need a permit)

A fence that serves as a pool barrier needs a building permit, and Virginia follows the International Swimming Pool and Spa Code for barriers (Virginia Residential Code R327.1; ISPSC 2021 §305). The key numbers:

  • At least 48 inches tall, measured on the side away from the pool.
  • No gap under the fence bigger than 2 inches over grass or gravel, or 4 inches over concrete.
  • No opening a 4-inch ball could pass through. Chain-link openings max 1¾ inches.
  • Gates open outward, away from the pool, and self-close and self-latch. A latch released from the outside must be at least 54 inches off the ground.
  • Keep pool equipment at least 36 inches away from the outside of the fence so it can't be used to climb over.

Salem and Botetourt also have their own pool-fence ordinances; see their sections below. Where two rules differ, meet the stricter one and confirm with your building official.

Call 811 before setting a single post

Virginia law requires a utility locate request before any digging, and the law specifically counts augering and driving posts as digging (Va. Code §56-265.15, §56-265.17). Utilities have until 7 a.m. on the third working day to mark their lines, and you can't dig until every one has responded (§56-265.19). We file the ticket on every job.

City of Roanoke

  • Front yard: max 48 inches, and the fence can't be solid. It has to be lattice, open wire, or at least 25% open (§36.2-410).
  • Side and back yards: max 6 feet in residential districts. It's 8 or 10 feet along a line that borders a commercial or industrial district.
  • Corner lots: 6 feet along the second street side, but 48 inches (open style) on the side your front door faces. Nothing over 36 inches inside the corner sight triangle.
  • Barbed or razor wire isn't allowed in residential districts.
  • Permits: the zoning code exempts fences from a zoning permit (§36.2-522). But the city's Fences & Walls page still lists a building and zoning permit application for fences over 6 feet. If you're going taller than 6 feet, call the Permit Center first.
  • Historic districts: in the H-1 and H-2 historic districts, a new fence needs a Certificate of Appropriateness from the Architectural Review Board before work starts (§36.2-530).
  • Contact: Planning, Building & Development, 540-853-5550.

Roanoke County

  • Front yard: max 4 feet in front of the building line on a residential lot (§30-100-9).
  • Side and back yards: the zoning code sets no maximum. Fences "may be constructed in any location, on any lot," subject to the sight triangle.
  • Corner lots: nothing over 3 feet inside a triangle with 20-foot legs measured along each street from the corner (§30-100-8).
  • Permits: no zoning permit needed for a fence that meets these rules (§30-9).
  • Contact: Zoning Division, 540-772-8183.

City of Salem

  • Front yard: max 3.5 feet between the house and the street (§106-406.19).
  • Side and back yards: max 8 feet.
  • Corner lots: nothing over 3 feet inside a triangle with 25-foot legs (§106-406.17).
  • Permits and placement: the city says "fences do not require a permit," they "may be placed in any location on your lot," and there is no rule on which side faces out (City of Salem: Fence Height Limits).
  • Pools: Salem's own pool ordinance requires a fence at least 4 feet tall with self-closing, self-latching gates, set within 2 inches of the ground and at least 5 feet from the pool's edge (§§18-611 to 18-615). The statewide pool code above also applies, so meet the stricter number for each item.
  • Contact: Community Development, 540-375-3032.

Town of Vinton

Vinton sits inside Roanoke County but has its own zoning.

  • Front yard: max 4 feet (§6-5).
  • Side and back yards: max 6.5 feet.
  • Posts and gates: an extra 1 foot is allowed for posts, columns or gates.
  • Corner lots: nothing that blocks the view between 3 and 8 feet above the street, within 20 feet of the corner (§6-11).
  • Gates next to a sidewalk: a gate within 2 feet of a public sidewalk has to swing inward (§82-12).
  • Permits: no zoning permit for a fence that doesn't need a building permit (§8-3). That means a pool-barrier fence does need one.
  • Property line: the town recommends, but doesn't require, setting the fence at least 6 inches inside the line.
  • Contact: Planning & Zoning, 540-983-0605.

Botetourt County (Daleville, Cloverdale, Troutville area)

  • Front yard: max 4 feet in residential districts (§25-431).
  • Side and back yards: max 8 feet.
  • Corner lots: nothing over 2 feet within 20 feet of the corner.
  • Permits: the code is unclear on whether a fence needs a zoning permit on its own, so call Planning & Zoning before you start.
  • Pools: the county requires an approved barrier for any pool or hot tub with water over 24 inches deep (§22-4).
  • Contact: Planning & Zoning, 540-928-2080.
  • Note: incorporated towns like Buchanan, Fincastle and Troutville may have their own rules.

Franklin County (Rocky Mount, Ferrum, Smith Mountain Lake)

  • Front yard: max 4 feet (§25-72).
  • Side and back yards: no maximum found in the zoning code. Confirm with the county.
  • Visibility: nothing that blocks sight distance at any street, road or driveway intersection below what VDOT requires (§25-51).
  • Lake lots: at Smith Mountain Lake, the "front yard" is the side facing the road, not the lake (§25-61).
  • Rules under review: Franklin County is rewriting its 1988 zoning ordinance in 2026, so these rules may change.
  • Contact: Planning & Community Development, 540-483-3027.
  • Town of Rocky Mount: inside town limits, the town's own zoning applies. Call Rocky Mount Planning & Zoning at 540-483-0907.

Bedford County (Smith Mountain Lake, Moneta, Forest)

  • Front yard: on residential lots (R-1 through R-4 and PRD), fences in front of the building line max 6 feet (Bedford County Zoning Ordinance §30-100-9).
  • Side and back yards: no maximum in the zoning ordinance. Fences may go anywhere on the lot, subject to the sight triangle and any required buffers.
  • Corner lots: nothing over 3 feet inside a triangle with 20-foot legs from the corner (§30-100-8).
  • Permits: the ordinance doesn't treat fences as "structures," so a zoning permit likely isn't needed, but confirm with Community Development.
  • Contact: Community Development, 540-586-7616.
  • Town of Bedford: inside town limits, call Planning & Community Development at 540-587-6021.

HOA rules: the other half of the answer

Many Roanoke Valley subdivisions, especially around Cave Spring and the newer developments, have HOA covenants that are stricter than the code. Typical HOA rules cover:

  • Materials. For example, no exposed chain-link in front yards.
  • Color and style. Many require black aluminum or a specific wood or vinyl look.
  • Height and placement. Often tighter than the locality's limits.
  • Architectural review. A required submission before installation.

Get written approval before the first post goes in. The locality won't enforce your HOA's rules, but your HOA will.

Common questions

Do I need a permit to build a fence in Roanoke? Not a building permit, unless it's a pool barrier: Virginia's building code exempts fences of any height. Roanoke County, Salem, Vinton and the City of Roanoke's zoning code also exempt ordinary fences from a zoning permit. The City of Roanoke's website still lists an application for fences over 6 feet, so call 540-853-5550 before building anything taller.

How tall can a backyard privacy fence be? 6 feet in the City of Roanoke, 6.5 feet in Vinton (plus a foot for posts and gates), and 8 feet in Salem and Botetourt. Roanoke County, Franklin County and Bedford County set no backyard maximum in their zoning codes, but call before going over 8 feet.

Can my fence go right on the property line? Salem, Roanoke County and Bedford County allow fences anywhere on your lot. Vinton recommends staying 6 inches inside the line. Wherever you are, the fence has to be on your property, so if you aren't sure where the line is, get a survey. Moving a fence that's over the line is expensive.

Does the nice side have to face my neighbor? Salem says there's no rule, and we found no finished-side rule in the other localities' codes. Your HOA may have one.

I'm on a corner lot. What changes? Keep the corner sight triangle clear so drivers can see. It's 20 feet in most localities (25 in Salem), with a height limit of 2 to 3 feet, or 36 inches in the City of Roanoke. Your locality's zoning office decides which side counts as the "front."

How Magnolia Fencing helps

We build fences across the whole valley, so we design to the right height for your address, keep corner lots clear, file the 811 ticket, build pool fences to the barrier code, and give you the drawings and specs your HOA's architectural review asks for. If you're not sure which rules apply to your property, request a free quote or call (540) 200-8007 and we'll sort it out with you.

Related Services

Fences we install in the Roanoke Valley

Get a free fence installation estimate

Ready to add a new fence to your property? Request your free, no-obligation estimate today — most quotes are scheduled within a few days.

  • Free estimates
  • Residential & commercial
  • Financing available
  • BBB Accredited
Call NowGet a Free Quote