Research by DoINeedAPermit Research Team · Updated May 2026
The Short Answer
Fences over 6 feet in rear or side yards require a permit in Danville. Any fence in a front yard, all pool barriers, and masonry fences over 4 feet always need one — no exceptions. Under 6 feet in a rear or side yard, you may be exempt, but setback violations and easements are common trip-wires.
Danville's fence code hinges on both height and location in ways that differ sharply from its surrounding counties. Unlike many Virginia jurisdictions that apply the 6-foot threshold uniformly, Danville enforces stricter sight-line setbacks on corner lots and front-yard properties — a distinction that trips up homeowners who assume they're replacing a fence of the same height their neighbor had. The city's Building Department operates a straightforward over-the-counter permit process for standard residential fences (no plan review required for under 6 feet in rear/side), but frontage easements along public utilities and storm-drainage corridors are common in Danville's older neighborhoods and require utility company written consent before a permit will issue — this is rarely disclosed upfront and can delay projects by 2-3 weeks. Masonry and vinyl fences follow IRC R110.1 and IBC 3109 standards but Danville's local zoning ordinance contains specific setback language that applies to any fence on a corner lot, regardless of height, making setback certification critical. Homeowners can pull their own permit if the property is owner-occupied, and the online permit portal accepts applications 24/7, but in-person counter service is available Mon–Fri 8 AM–5 PM at City Hall.

What happens if you skip the permit (and you needed one)

Danville fence permits — the key details

Danville's fence regulations are codified in the city's zoning ordinance and enforced by the Building Department. The primary rule is straightforward: any fence taller than 6 feet in a rear or side yard requires a permit; any fence in a front yard (regardless of height) requires a permit; all pool-barrier fences require a permit regardless of height or location; and masonry or retaining walls over 4 feet require both a permit and an engineering stamp. The 6-foot threshold applies to wood, vinyl, metal, and chain-link equally. For replacement fences — where you are removing and rebuilding an identical fence of the same height and material — Danville's Building Department may issue a blanket exemption if the fence is under 6 feet, in a rear or side yard, and not on a corner lot. However, 'identical' means identical materials, height, and setback; if you're upgrading from wood picket to solid vinyl, or adding decorative caps, the exemption is forfeited and a full permit is required. The exemption does not extend to front-yard fences or to properties with recorded easements. Request an exemption determination in writing via email to the Building Department and you'll receive a written response within 2-3 business days — this written exemption is your liability shield if the city later questions the work.

Setback requirements in Danville are the second major rule and the source of most rejections. On a corner lot (defined as a lot with frontage on two public streets), any fence — even a 4-foot picket fence in the rear yard — must maintain a 15-foot setback from the property line along each street to protect sight lines for vehicular traffic. This setback is measured from the outer face of the fence to the edge of the pavement or right-of-way line, not from the property line itself. On an interior lot (one street frontage), a fence in the front yard must be set back at least 25 feet from the front property line, or be no taller than 3 feet, or consist entirely of transparent material (e.g., chain-link only, no slats). A fence in a rear or side yard on an interior lot has no setback requirement if it is under 6 feet. These setback rules originate from Virginia's transportation code and Danville's local adoption of sight-triangle requirements (IRC R110.1 references this standard). Before applying for a permit, obtain a property survey or at minimum a plat from the county assessor showing your lot's corner-lot status and the location of the right-of-way line. The Building Department will reject any application lacking property-line dimensions; this is the most common reason for re-submissions and can add 1-2 weeks to your timeline.

Pool-barrier fences are governed separately under IBC 3109 and Virginia Building Code AG105. If your property contains a swimming pool (above ground or in-ground, regardless of size), any surrounding fence must be a complete barrier with a minimum height of 4 feet, a minimum clearance between vertical members of 4 inches (to prevent child entrapment), and a self-closing, self-latching gate on every opening. The gate latch must be on the pool side of the fence and unreachable from outside. A permit is always required for a pool barrier fence, even if the fence itself is under 6 feet, and the application must include a gate detail drawing showing the latch mechanism, hinge type, and clearances. The city will issue a preliminary approval after plan review (typically 5-7 business days), but you cannot begin construction until you have the signed permit. At time of final inspection, the inspector will test the gate closure and latch action in person — a gate that closes slowly or latches loosely will trigger a re-inspection and a re-fee ($50–$75). If your pool is grandfathered (i.e., it existed before current code adoption), the barrier requirements may be different; ask the Building Department for a variance letter confirming your pool's exempt status before starting work.

Masonry and retaining-wall fences follow an entirely different permitting path. Any masonry or stone fence over 4 feet, or any retaining wall regardless of height, requires a structural engineer's stamp, a footing detail showing a frost-safe depth (18-24 inches in Danville's climate zone 4A), and a site plan showing the wall's location and elevations. The Piedmont's red clay soil has moderate bearing capacity (2,500-3,000 PSF) and high expansivity when wet — a common issue in Danville's older neighborhoods with poor drainage. If your wall is within 5 feet of a utility easement or stormwater easement, the utility company must inspect and sign off before Danville issues a permit. Plan-review time for masonry fences is 10-15 business days; you will receive comments on the footing depth, drainage provision, and setback compliance. Many homeowners underestimate this timeline and attempt to proceed without the engineering stamp — the Building Department will halt construction immediately if an inspection is requested, and removal of unpermitted masonry can cost $3,000–$8,000 depending on height and length.

Danville's online permit portal (accessible via the city's website) accepts applications 24/7 and processes routine fence applications within 1-3 business days for over-the-counter approval (under 6 feet, non-masonry, no easement issues). You can upload photos, a site plan, and property dimensions via the portal and receive a decision via email. If the application is incomplete, the city will email a list of missing items; resubmission is same-day if you reply within 24 hours. The permit fee for a residential fence is $75–$150 depending on linear footage and material type; this fee is non-refundable and does not cover inspection costs. A final inspection is mandatory for any permitted fence and costs an additional $50–$75 (included in the permit fee for over-the-counter approvals). Once the permit is issued, construction must begin within 6 months; if work is not started by that date, the permit expires and you must reapply. Homeowners can pull their own permits if the property is owner-occupied and the work is being performed by the owner or licensed contractors hired by the owner. A general contractor license is not required for fence installation in Virginia, but any contractor must carry liability insurance naming the homeowner as additional insured.

Three Danville fence (wood/vinyl/metal/chain-link) scenarios

Scenario A
5-foot vinyl privacy fence, rear yard, interior lot — Holmead neighborhood
You own a 0.25-acre interior lot in Holmead (single street frontage) and want to install a 5-foot solid vinyl privacy fence along the rear and side property lines to screen a pool area from neighbors. The fence is under 6 feet and is in a rear/side location on a non-corner lot, so it is exempt from the permit requirement under Danville's zoning code. However, before you begin work, verify with the county assessor's plat or obtain a property survey to confirm that no utility easements (electrical, gas, water, stormwater) run through the rear or side yards. Danville's Piedmont location means stormwater easements are common in older neighborhoods, especially if your property drains toward a city storm line. If an easement exists, you must obtain written consent from the utility company or the city's stormwater department before construction — this is not a permit, but a standalone approval, and it can take 2-3 weeks. Assuming no easement, you can proceed with construction without a permit, but it is strongly advised to obtain a written exemption letter from the Building Department (send an email with photos, property address, and fence dimensions; they will respond within 3 business days) as a record in case a neighbor complaint triggers an inspection years later. Vinyl fencing requires no footings in most cases (vinyl posts are driven or set in concrete in shallow holes), but Danville's frost depth is 18-24 inches; most installers set vinyl posts 12-18 inches deep in concrete for lateral stability, which is adequate. Material cost for a 5-foot vinyl fence runs $25–$40 per linear foot installed; a 150-linear-foot rear fence would cost $3,750–$6,000 all-in. No inspection is required if you proceed without a permit, but if a neighbor files a complaint and the city inspects, they may issue a citation ($250–$500) if they determine the fence is actually taller than 5 feet (measurement must be from ground level at the fence centerline) or if it encroaches on an easement.
No permit required (≤6 ft, rear/side yard) | Utility easement check recommended | Written exemption from City encouraged | Vinyl post concrete set 12-18 inches | Total cost $3,750–$6,000 | Zero permit fees
Scenario B
6.5-foot wood privacy fence, corner lot, mixed front/side lines — Downtown historic district
You own a corner lot at the intersection of Main and Sutherland Streets in downtown Danville and want to install a 6.5-foot wood privacy fence along the Sutherland Street frontage (which you consider a 'side' of the lot) and the rear. Because your lot has two public street frontages, it is legally a corner lot, and Danville's sight-line rules apply to every fence on the lot regardless of height or location. Any fence must maintain a 15-foot setback from both street property lines to protect vehicular turning sight lines. Additionally, because downtown Danville is within a historic district overlay (the city's Main Street Historic District), any fence taller than 4 feet in a historic district must undergo architectural review by the Historic Preservation Committee (HPC) and may require design modifications (e.g., matching fence style to existing streetscape, use of traditional materials, post-cap details). Your plan to install 6.5-foot wood fence will require two approvals: (1) a Danville building permit confirming the 15-foot setback, and (2) a Certificate of Appropriateness (COA) from the HPC confirming the fence design is compatible with the historic district character. The COA process typically takes 2-3 weeks and may require you to present a color photo and elevation drawing at a monthly HPC meeting. Setback compliance is critical: measure 15 feet from the recorded right-of-way line (usually marked by a utility easement or street survey pin) inward toward your property, and the fence must be entirely within that boundary. If the previous fence (if one exists) was set 8 feet from the line, do not assume your new fence can occupy the same location — the old fence was likely a violation that was grandfathered. Obtain a professional survey ($300–$500) to pinpoint the right-of-way line and confirm your setback; the Building Department will not issue a permit without property-line dimensions on a corner lot. Wood fence in climate zone 4A with red clay soil requires pressure-treated posts (UC4B rating) set at least 18-24 inches deep and backfilled with concrete to prevent heave from frost and clay expansion. A 6.5-foot wood fence costs $35–$55 per linear foot installed on a corner lot with setback challenges; a 100-linear-foot installation would run $3,500–$5,500. Permit fees are $125–$150; HPC review is often free but may include a $25–$50 application fee. Total timeline: survey 1 week, HPC approval 2-3 weeks, building permit 3-5 business days, construction 1-2 weeks = 5-7 weeks total. Final inspection by the Building Department is required and will verify setback compliance, post depth (inspector may probe with a measuring rod), and overall height measurement at the centerline.
Permit REQUIRED (corner lot, any height) | Historic district COA required | Property survey required ($300–$500) | 15-foot setback from street line | PT wood UC4B posts 18-24 inches deep | Permit fee $125–$150 | HPC fee $0–$50 | Total project $3,500–$5,500 plus $425–$650 pre-construction approvals
Scenario C
4-foot chain-link pool barrier fence, any lot type — Lakewood Park area
Your property contains a 15-foot by 30-foot in-ground swimming pool installed 10 years ago, and you want to install a new 4-foot chain-link barrier fence around the entire pool to comply with Virginia Building Code AG105 and Danville's pool-barrier requirements. Any fence serving as a pool barrier requires a permit, regardless of height, lot type, or easement status. The application must include a fence elevation drawing showing the 4-foot height, the spacing between vertical chain-link wires (which must be no more than 4 inches), and a gate detail drawing showing the self-closing, self-latching mechanism. The gate detail is critical: the latch must be on the pool side of the fence (not the outside), the gate must close within 5 seconds of release (slow-closing gates fail inspection), and the latch mechanism must be unreachable from outside the fence. A gravity-hinged gate with a spring-loaded barrel bolt or cam latch is standard and costs $150–$300 per gate; do not use padlocks or combination locks as the primary latch — they are not acceptable because they require hand dexterity children may lack. Danville's Building Department will issue a preliminary permit (stamped, dated) once the gate detail is approved (plan review 5-7 business days). You cannot begin construction until you have the signed permit in hand. During construction, you must allow access for a pre-fill inspection if the pool itself is being modified or if this is a first-time barrier installation; post-fill inspections are not typical for chain-link barriers but the inspector will test the gate latch action at final inspection. At final inspection, the inspector will: (1) measure the fence height at 5-6 points around the perimeter with a tape measure; (2) check the spacing between chain-link wires at 3-4 locations using a 4-inch go/no-go gauge; (3) test the gate closure and latch action (the gate must close fully and the latch must engage without manual assistance). If the latch is sluggish or the gate gaps are wider than 4 inches, the inspection fails and you must correct the deficiency within 5 business days at no additional inspection fee. Chain-link fencing costs $15–$25 per linear foot installed; a 140-linear-foot barrier (for a 15x30 pool) would run $2,100–$3,500. Permit fee is $100–$125 plus a $50–$75 final inspection fee. If your pool was installed before 2012 (when Virginia adopted the current Building Code), ask the Building Department for a variance determination — your pool may be grandfathered from the self-closing gate requirement, though Danville typically enforces the current code for new barriers. Timeline: 1 week for permit processing, 1-2 weeks for installation, 1 day for final inspection = 2-3 weeks total.
Permit REQUIRED (all pool barriers) | Gate detail drawing required | Self-closing, self-latching gate mandatory | 4-inch max spacing between chain-link wires | PT or galvanized posts 18-24 inches deep | Permit fee $100–$125 | Final inspection $50–$75 | Total project $2,100–$3,500 material + $150–$200 permit fees

Every project is different.

Get your exact answer →
Takes 60 seconds · Personalized to your address

Frost depth, clay soil, and fence post failure in Danville's Piedmont climate

Danville sits in climate zone 4A with a frost depth of 18-24 inches, and the Piedmont's red clay soil has both high water retention and high expansivity when wet. This combination creates a unique challenge for fence posts: clay heaves when it freezes, lifting shallow posts by 1-2 inches during winter, and then settles unevenly when it thaws in spring. Over 3-5 years, this cycle can leave a 4-6 inch gap at the base of a fence, or cause posts to tilt. Chain-link and vinyl fence posts must be set at least 18 inches deep and, ideally, 24 inches deep in Danville to stay below the average frost line. Wood posts must be set deeper (24-30 inches) because the weight of the wood structure increases frost-heave forces. Concrete backfill is mandatory — do not use soil alone as backfill, as soil provides no lateral stability and accelerates heave.

For masonry or retaining-wall fences, frost depth is even more critical. Footings for masonry fences over 4 feet must extend below the frost line (24 inches minimum in Danville) and must be poured on undisturbed, compacted soil or bedrock. If you excavate for a footing and hit red clay, do not build the footing in the excavated material — compact the existing clay first with a hand-driven compactor, or haul in gravel or sand and compact to 95% density before pouring the footing. A structural engineer's stamp will require this work to be documented (photo of compaction or test report from a soil engineer), and the Danville Building Department will ask for evidence during plan review. Underpinning or setting footings in poor soil is a leading cause of wall failure and is grounds for the city to issue a demolition order. If you hire a local contractor, ask whether they've installed fences in Danville and what post depths they use — experienced local contractors know the frost-depth challenge and will spec 24-30 inch depths automatically.

Drainage is equally important. Red clay is poorly draining; if your property slopes toward a fence line and water pools at the base, the clay stays saturated year-round, accelerating heave and rot. Before installation, ensure surface water is graded away from the fence (slope 2-3% away from the line). For masonry or tall privacy fences, install a 4-inch perforated drainage pipe at the base, running the length of the fence and daylighting to a storm drain or daylight area. The pipe reduces hydrostatic pressure behind the fence and prevents clay saturation. This is a best practice in Danville and is often required by the Building Department for masonry fences in low-lying areas or near stormwater easements.

Utility easements, stormwater corridors, and the Danville permit surprise

Danville's older residential neighborhoods (Lakewood Park, Holmead, Elmira Heights) were platted in the early 1900s and frequently lack recorded utility easements on current tax maps. However, utility companies (Southside Electric, Appalachian Power, American Water) have legal easement rights whether or not they're recorded. During a routine meter replacement or distribution upgrade, the utility company may excavate or trim within a fence line, and if a fence blocks access, the company has the right to demand removal at the homeowner's expense. Additionally, the city's stormwater management plan includes storm-drainage corridors and detention basins in many residential areas — Lakewood Park is crisscrossed with drainage easements that funnel runoff to Ancarrow's Creek and Danville's main treatment center. If your fence line crosses or borders a stormwater easement (even partially), you must obtain written consent from the city's Public Works Department or Utilities Division before applying for a building permit. This is NOT a permit application; it is a separate approval process. Request it in writing by emailing a site plan or photo showing the fence location and asking about recorded easements at that address. The Utilities Division will respond within 5-10 business days with either a letter of consent or a list of easement constraints (setback requirements, access width, etc.).

Many homeowners skip this step because easements are not obvious or are not recorded on the deed. The result: they build the fence, a year later the city or utility company discovers it, and they're ordered to remove it. Removal costs $1,500–$5,000 depending on fence length and material. To avoid this, pull the property's utility-map sheet from the city's GIS (Geographic Information System) or go in person to City Hall and ask for a utility-clearance letter. Most city staff can hand you a marked-up map showing all recorded easements within 30 minutes. For stormwater easements, the city's Stormwater Master Plan (available online or in the Public Works office) shows detention areas and drainage corridors. If your fence is within 10 feet of a stormwater easement, email Public Works with a site plan and ask for a letter confirming whether the proposed fence location is within an easement. This is the single most important step that delays or voids permits in Danville, and it is almost never done proactively — doing it upfront adds 1-2 weeks to your pre-construction timeline but avoids a complete project restart later.

City of Danville Building Department
City of Danville City Hall, 427 Patton Street, Danville, VA 24541
Phone: (434) 793-5380 | https://danville.gov/ (check 'Permits' or 'Building & Development' section for online permit portal)
Monday–Friday, 8 AM–5 PM (closed city holidays; verify holiday closures on city website)

Common questions

Can I build a fence taller than 6 feet in my rear yard?

Only with a permit. Danville's zoning ordinance allows rear-yard and side-yard fences up to 6 feet without a permit, but anything taller requires a building permit, plan review, and final inspection. The permit fee is $75–$150 and plan review typically takes 5-7 business days. If you are on a corner lot, even a 6-foot fence requires a permit due to sight-line setback rules, so don't assume height alone determines exemption status.

What is a 'corner lot' and does it change my fence permit?

A corner lot has frontage on two public streets (or public roads, not private driveways). On a corner lot in Danville, ANY fence on the property must be set back 15 feet from each street right-of-way line and requires a permit, regardless of height or location (rear, side, or front). Sight-line rules protect vehicular safety at the intersection. If you are unsure whether your lot is a corner lot, ask the county assessor or check the plat on file at the Register of Deeds.

I want to replace an old fence with a new one of the same height and material. Do I need a permit?

If the old fence is under 6 feet, in a rear or side yard, and not on a corner lot, you may be exempt from the permit requirement. However, you must request a written exemption determination from the Building Department before construction (email photos, property address, and dimensions; they will respond within 2-3 business days). This written letter is your protection if a neighbor complaint or inspection occurs later. If the old fence was over 6 feet or was installed without a permit, you cannot use exemption status — you will need to pull a new permit.

What if my fence runs along a utility easement or stormwater easement?

You must obtain written consent from the utility company or city Public Works Department before a building permit will be issued. This is a separate approval and can take 2-3 weeks. Email the city's GIS or Utilities Division with a site plan and property address, and ask for a utility-clearance letter. Do not begin construction until you have both the utility approval AND the building permit in hand. Many homeowners skip this step and are later ordered to remove the fence at their own cost.

Do I need a surveyor to apply for a fence permit?

For a simple rear-yard fence under 6 feet on an interior lot, a survey is not required if you have a plat from the assessor showing approximate property lines. However, for any fence on a corner lot, a fence taller than 6 feet, or any fence that might be close to a property line, a professional survey ($300–$500) is strongly recommended. The survey pins the right-of-way line and property corners, allowing you to measure setbacks accurately. The Building Department may request survey documentation during plan review if setback compliance is in question.

What is a self-closing, self-latching gate and why is it required for pool barriers?

A self-closing gate closes on its own after being opened (via spring hinge or gravity hinge) and has a latch mechanism that engages without manual action. Virginia Building Code AG105 requires this for pool barriers to prevent children from leaving a gate open. The latch must be on the pool side of the fence and unreachable from outside. Common types include spring-loaded barrel bolts, cam latches, and magnetic latches. The gate must close fully within 5 seconds. At inspection, the inspector will test the gate closure and latch action in person; slow-closing or non-engaging latches fail inspection.

How deep must fence posts be set in Danville?

Danville's frost depth is 18-24 inches. Wood, vinyl, and chain-link posts must be set at least 18 inches deep and ideally 24 inches deep, backfilled with concrete (not soil alone). Masonry fence footings must extend below the 24-inch frost line (so 24-30 inches minimum). Red clay soil in the Piedmont heaves when frozen, so inadequate post depth causes winter heave and summer settlement, creating gaps and tilting. A contractor experienced in Danville will spec 24-30 inch depths automatically.

Are fences in Danville's historic district subject to special rules?

Yes. Any fence taller than 4 feet in the Main Street Historic District must be approved by the Historic Preservation Committee (HPC) before a building permit is issued. You must apply for a Certificate of Appropriateness (COA), submitting a photo and elevation drawing showing the fence design, materials, and colors. HPC review typically takes 2-3 weeks and may require a monthly committee presentation. COA approval is a condition of the building permit. Fences outside the historic district overlay are not subject to HPC review.

What happens if my fence encroaches on a neighbor's property or a public easement?

If an encroachment is discovered during inspection, the Building Department will issue a citation and may order removal of the fence within 30 days. Removal costs $1,500–$5,000 depending on fence length and material. If the encroachment is on a public easement (utility, stormwater), the city or utility company can demand removal at any time, even years later. Prevention: obtain a property survey before construction and request a utility-clearance letter from the city. These steps cost $300–$700 upfront but save $5,000+ in removal costs if an encroachment is discovered after construction.

Do I need a general contractor license to install a fence in Virginia?

No. Fence installation does not require a Virginia contractor license (you need a license only for work over $1,000 involving electrical, plumbing, HVAC, etc., or for general construction on commercial properties). You can hire a fence installer, carpenter, or landscaper without a license. However, that person must carry liability insurance naming you as additional insured, and you (the homeowner) must pull the building permit if the property is owner-occupied. If you hire a contractor who pulls the permit on your behalf, confirm they are licensed and insured and that you receive a copy of the signed permit before construction begins.

Disclaimer: This guide is based on research conducted in May 2026 using publicly available sources. Always verify current fence (wood/vinyl/metal/chain-link) permit requirements with the City of Danville Building Department before starting your project.