Fence RegulationsSourced to the codeBrowse states
State law

Fence laws in Virginia

What Virginia statutes and statewide codes say about fences, one topic at a time, with the section number and a link to the document behind every line.

Fence laws in Virginia, question by question

The short version

Who pays on the line
In Virginia neighbors split a fence on the property line down the middle.
How tall
Virginia sets no maximum fence height. The chapters that were read are listed below. Cities and counties decide this one.
Permits
A fence of any height needs no building permit in Virginia.
Pool barriers
Virginia handles pool fences through its statewide building code.
Spite fences
Virginia has no spite fence statute. The chapters that were read are listed below. Cities and counties decide this one.
Measured from what
Virginia leaves the measuring rule to the zoning ordinance of a locality.
Corner lots
Virginia prints a real triangle in its code, and it is about signs rather than fences. The figure is 400 feet, for the leg of the vision triangle measured along the main road from the side road. It reaches signs and advertising structures in sight of a public highway only.
Retaining walls
Virginia writes its own statewide code and sets the bar lower than the model code does. The figure is 3 feet, for depth of unbalanced fill at or above which a retaining wall needs a building permit.
Materials
Virginia puts the electric fence first in its fence chapter, and the rule is about the box rather than the wire. It reaches land used for farming only.
Livestock
Virginia describes a lawful fence several ways and any one of them counts, as long as the livestock cannot get through. The figure is 42 inches, for minimum height of a barbed wire or board lawful fence.

Who owns the fence between two properties in Virginia?

Compare fences on the property line across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

In Virginia neighbors split a fence on the property line down the middle. Both build it, both keep it up, and both pay the same share. Two things end that duty: one neighbor choosing to leave their land open, or the two of them agreeing to something else.

Adjoining landowners shall build and maintain, at their joint and equal expense, division fences between their lands, unless one of them chooses to let his land lie open or unless they agree otherwise.

Va. Code § 55.1-2821Virginia General Assembly · Read 13 September 2026

How tall can a fence be in Virginia?

Compare fence height across all 50 states

Virginia law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Virginia sets no limit on how tall a fence at a house can be. The state fence chapter says nothing about height, and the statewide building code lets a fence of any height go up with no building permit. Counties and cities set the limit in their zoning rules.

Documents read before writing that:

Do I need a permit for a fence in Virginia?

Compare permits across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

A fence of any height needs no building permit in Virginia. The Uniform Statewide Building Code puts no number on it at all, where most states stop the pass at six or seven feet. Two fences are left out: one needed to keep people on foot safe under Section 3306, and one used as the barrier for a swimming pool. A zoning permit from the county or city is a separate question from the building permit this section covers.

Fences of any height unless required for pedestrian safety as provided for by Section 3306 or used for the barrier for a swimming pool.

13VAC5-63-80Virginia Department of Housing and Community Development · Read 13 September 2026

Pool fence requirements in Virginia

Compare pool barriers across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

Virginia handles pool fences through its statewide building code. That code sends swimming pools and pool enclosures to the International Swimming Pool and Spa Code, 2021 edition. Virginia states no height of its own, so the numbers come from that private code and not from Virginia text.

Swimming pools, swimming pool enclosures, and aquatic recreational facilities, as that term is defined in the ISPSC, shall comply with applicable provisions of the ISPSC.

13VAC5-63-336Virginia Department of Housing and Community Development · Read 13 September 2026

Spite fence laws in Virginia

Compare spite fences across all 50 states

Virginia law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Virginia has no spite fence law. Chapter 28 of Title 55.1 is the state fence chapter, and its eight parts cover electric fences, lawful fences, cattle guards, animals that get onto other land, no fence areas, fences on a property line, unincorporated communities and cutting trees. None of them mentions a fence built to bother a neighbor, and none sets a height that starts a claim.

Documents read before writing that:

How fence height is measured in Virginia

Compare how height is measured across all 50 states

Virginia does not set this. It leaves it to the zoning ordinance of a locality.

Virginia does not set this. The county or city does. Section 15.2-2280 lets a locality split its land into districts and, in each one, set rules for the size, height, area, bulk, place, building, changing, repair and removal of structures. That word structures covers a fence, so a fence falls inside it. The section never says how a height is taken, so the local ordinance gives both the limit and the point the measuring starts from.

The size, height, area, bulk, location, erection, construction, reconstruction, alteration, repair, maintenance, razing, or removal of structures;

Va. Code 15.2-2280(2)Virginia General Assembly · Read 13 September 2026

The code hands this to the zoning ordinance of a locality, which is not published in the code itself.

Fence rules for corner lots in Virginia

Compare corner visibility across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

Virginia prints a real triangle in its code, and it is about signs rather than fences. Section 33.2-1216 bans an advertisement at a public road crossing where it would block the clear view between a point 20 feet back on the side road and points 400 feet away along the main road. The next clause draws a second triangle at a railroad crossing, 400 feet along the road and 500 feet along the track. Every one of these rules covers advertising, so none of them reaches a fence on a house lot.

At any public road intersection in such a manner as would obstruct the clear vision in either direction between a point on the centerline of the side road 20 feet from the nearest edge of the pavement of the main road and points on the main road 400 feet distant, measured along the nearest edge of the pavement of the main road;

Va. Code 33.2-1216Virginia General Assembly · Read 13 September 2026

400 ftthe leg of the vision triangle measured along the main road from the side road

Retaining wall rules in Virginia

Compare retaining walls across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

Virginia writes its own statewide code and sets the bar lower than the model code does. A wall that holds back earth gets a pass from the permit only while it holds back less than three feet of unbalanced fill, which is the dirt piled on the high side with nothing on the low side to push back. Virginia measures the dirt and not the wall, the same way Utah does, and it stops a foot sooner. No other state read here sets it lower. Two things end the pass: a wall built to hold Class I, II or III-A liquids, and a wall carrying a surcharge, which means a load pressing on the dirt behind it on top of the ordinary fill. Skipping the permit does not excuse work that breaks another part of the code, and a zoning permit from the county or city is a separate question.

Retaining walls supporting less than three feet of unbalanced fill that are not constructed for the purpose of impounding Class I, II, or III-A liquids or supporting a surcharge other than ordinary unbalanced fill.

13VAC5-63-80 B, Section 108.2, item 7Virginia Department of Housing and Community Development · Read 13 September 2026

3 ftdepth of unbalanced fill at or above which a retaining wall needs a building permit

Fence materials allowed in Virginia

Compare materials across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

Virginia puts the electric fence first in its fence chapter, and the rule is about the box rather than the wire. On land used for farming, an electric fence cannot be sold, handed out, built, put in, kept or used unless a controlling device holds down the charge running through it. That device has to carry the Underwriters Laboratories label under UL 69, or meet the matching standard from the International Electrotechnical Commission. One device can feed only one connected run of fence, and it has to be grounded when it goes into service. A device that meets neither standard can be used only while it stays inside the current limits the next section prints. Breaking any of this is a Class 1 misdemeanor.

It is unlawful for any person to sell, distribute, construct, install, maintain, or use upon any land used for agricultural purposes or, for any person exercising supervision or control over any such land, to permit any other person to construct, install, maintain, or use any electric fence energized with an electric charge unless the charge is regulated by a controlling device.

Va. Code 55.1-2801Virginia General Assembly · Read 13 September 2026

Livestock and boundary fence law in Virginia

Compare agricultural fencing across all 50 states

Virginia answers this in its own law. The words that do it are quoted below.

Virginia describes a lawful fence several ways and any one of them counts, as long as the livestock cannot get through. One is a fence at least five feet high. One is barbed wire at least 42 inches high with at least four strands, fixed to posts set no more than 12 feet apart, unless a stay or brace sits halfway between them. One is boards, planks or rails at least 42 inches high with at least three boards. A cattle guard strong enough to turn livestock counts too.

2. Made of barbed wire, at least 42 inches high, consisting of at least four strands of barbed wire, firmly fixed to posts, trees, or other supports substantially set in the ground, spaced no farther than 12 feet apart unless a substantial stay or brace is installed halfway between such posts, trees, or other supports to which such wires are also fixed;

Va. Code 55.1-2804Virginia General Assembly · Read 13 September 2026

42 inminimum height of a barbed wire or board lawful fence

Also on agricultural fencing in Virginia

  • set in state lawIn Virginia the damages follow the fence. When livestock get into land that is already fenced in by a lawful fence, the owner of the animal pays the real damage. The fence has to be there first, which makes the landowner the one who builds, unless the county has changed the rule. Va. Code 55.1-2810Virginia · Statute
  • set in state lawA county board can flip that rule for all or part of the county. By ordinance it can declare the line of every lot or tract, or a stream, to be a lawful fence, which means no fence has to be built at all for the damages rule to work. It can also name a different kind of fence than the one the state describes. Where that ordinance is in place, the owner of livestock may not let them off their own land. Va. Code 55.1-2814Virginia · Statute

Cities in Virginia

12 cities with their own fence rules read from the city’s own code. Where a city says nothing on a topic, the state answer above is what applies.

Documents behind this page

6 documents, each read on the date shown. Nothing on this page rests on a summary of one.

  1. Virginia General AssemblyCode of Virginia, Title 55.1, Chapter 28, Article 6, Section 55.1-2821, Obligation to provide division fencesVa. Code § 55.1-2821 · Read 13 September 2026
  2. Virginia General AssemblyCode of Virginia, Title 55.1, Chapter 28, Trespasses; Fences, full chapter listingVa. Code §§ 55.1-2800 through 55.1-2841 · Read 13 September 2026
  3. Virginia Department of Housing and Community DevelopmentVirginia Administrative Code, 13VAC5-63-80, Section 108 Application for permit13VAC5-63-80 · Read 13 September 2026
  4. Virginia Department of Housing and Community DevelopmentVirginia Administrative Code, 13VAC5-63-336, Chapter 31 Special construction, Section 3109.113VAC5-63-336 · Read 13 September 2026
  5. Virginia General AssemblyCode of Virginia, Title 15.2, Chapter 22, Planning, Subdivision of Land and ZoningVa. Code 15.2-2280(2) · Read 13 September 2026
  6. Virginia General AssemblyCode of Virginia, Title 33.2, Chapter 12, Outdoor Advertising in Sight of Public HighwaysVa. Code 33.2-1216 · Read 13 September 2026

What this page does not cover

Everything above is state law. Fence height, setback, corner visibility and materials are set by city and county ordinance in almost every state, and a local rule can be far stricter than the statewide default. A parcel can also carry an easement, an overlay district, a fire hazard zone or a recorded HOA restriction, none of which appear in a statute.

This is general information drawn from published government documents. It is not legal advice, statutes are amended, and the date beside each finding is the date the document was read. How findings are made · What the terms mean