Research by DoINeedAPermit Research Team · Updated May 2026
The Short Answer
Most residential fences under 6 feet in rear or side yards are permit-exempt in Danville. Anything taller, anything in a front yard or corner lot, and all pool barriers require a permit before you build.
Danville enforces the standard Illinois fence code but adds a critical local twist: corner-lot visibility requirements are stricter than many downstate Illinois cities, and the city's zoning ordinance ties fence height to lot width and setback distance in ways that catch homeowners off-guard. Unlike some neighboring communities that have adopted a one-call online portal, Danville's Building Department still processes most fence permits over-the-counter or by mail, with no pre-screened online submission system — meaning you may need to visit city hall or call to confirm your specific lot qualifies for exemption before you spend money on materials. The city also requires proof of utility marking (Call 811) on any fence that crosses or runs parallel to known utility easements, which is stricter than the state minimum and reflects Danville's coal-mining history and aging underground infrastructure. If your fence is under 6 feet, in a rear or side yard, and not a pool barrier or within an easement, you can almost certainly build without a permit — but the corner-lot and setback exceptions are where most homeowners stumble.

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

Danville fence permits — the key details

Danville's fence code mirrors the Illinois Building Code and IBC 3109 (now part of the 2024 adoption), but the city applies one local rule that surprises homeowners: corner-lot sight-line setbacks are measured not just from the street edge but from the actual pavement line, and any fence over 3 feet tall within that sight triangle must be setback at least 15 feet from the corner intersection. This is codified in Danville's zoning ordinance (Title 9, Chapter 93) and is more restrictive than many downstate cities that use a 10-foot or 12-foot minimum. The logic is safety: Danville sits at the junction of several major county roads with high truck traffic, and corner-lot visibility is a police-enforced priority. If you own a corner lot, even a 5-foot fence in what you think is your 'side yard' may actually fall within the sight triangle and require either a permit to seek a variance or relocation. Before digging holes, measure from the pavement line at the intersection and apply the 15-foot rule — or call the Building Department to confirm your lot's sight-line geometry.

Exempt fences in Danville are those under 6 feet tall in rear or side yards, built of wood, vinyl, or chain-link, with no masonry, and not serving as a pool barrier. The exemption applies only to original construction and like-for-like replacement; if you are upgrading from a 4-foot to a 6-foot fence, you still need a permit because you're changing the structure's footprint and height. Masonry fences (brick, stone, concrete block) of any height require a permit and structural engineering if they exceed 4 feet. The city does not allow homeowners to self-inspect; you must hire a licensed contractor or apply as an owner-builder (allowed for owner-occupied residential property), but either way, the final inspection is mandatory. If you are replacing a fence and want to use the exemption, you must document that the old fence was the same height, material, and location — bring photos, property surveys, or old permits if available. Danville Building Department staff are relatively strict about this documentation; they will ask for proof rather than take your word for it.

Pool-barrier fences are a category of their own and always require a permit, regardless of height or location. Illinois pools and Code section AG 105 (now in the IRC) mandate that any residential pool (above-ground or in-ground) be enclosed by a 4-foot minimum fence with self-closing, self-latching gates on all openings. The gate latch must be at least 54 inches from the ground and release within 15 seconds. Common rejection reason: homeowners install a good fence but forget the gate specification, and the permit gets a 'Request for Information' (RFI) requiring gate drawings or a pre-inspection before final approval. The application must include a site plan showing the pool, fence location, gate detail, and proof that the gate hardware meets ASTM F1952 (anti-entrapment standard). Danville's Building Department will email you the RFI within 1–2 business days if the gate spec is missing; don't guess at the hardware — order it before you submit and include the product datasheet in your application packet.

Setback and easement issues trip up many Danville homeowners. Any fence within 10 feet of a public utility easement (water, sewer, electric, gas) requires written approval from the utility company, and you must submit that approval with your permit application. Danville has a complex web of old coal-mine easements and rail right-of-way corridors that don't always show up on standard property surveys; if you are within 50 feet of any of these, call the Building Department and provide your legal description. The cost for a utility letter is typically $25–$50 and takes 5–10 business days. Do not skip this step — if you build on an easement without approval and the utility company finds out during a maintenance dig, they will bill you for removal and restoration, often $2,000–$10,000 depending on the easement type and your fence material.

Frost depth in Danville is 36 inches (measured at the downstate standard for Vermilion County), and any fence post must be set below frost line in undisturbed soil. This is non-negotiable and a common inspection failure — inspectors will dig alongside posts and check depth. Wood posts must be set 2–3 feet deep, vinyl posts 3 feet, and metal posts 3 feet, all below the 36-inch frost line. If your soil is soft loam or fill, you may need to go deeper or use a post-hole mix of concrete and gravel to achieve compaction. Concrete footings are required for masonry fences and are strongly recommended for wood fences in clay soils (which Danville has). The final inspection will verify post depth and footing integrity; if posts are set too shallow, the inspector will fail you and you'll have to re-dig and re-inspect, adding 2–3 weeks and a second inspection fee ($50–$75).

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

Scenario A
5-foot wood privacy fence, rear yard, new construction — Danville neighborhood lot (non-corner)
You own a 0.25-acre lot in a typical Danville residential neighborhood (not a corner lot, not within a named easement). You want to build a 5-foot cedar privacy fence around your rear and side yards, 150 linear feet total. Because the fence is under 6 feet, constructed of wood, in a rear/side yard, and on an owner-occupied property, Danville's exemption applies — no permit required. However, you still must follow the 36-inch frost-depth rule for post holes, use decay-resistant wood or pressure-treated lumber rated UC3 or higher (the city doesn't mandate this in writing but inspectors will note violations if a neighbor complains and the fence fails prematurely), and make sure no portion of the fence crosses a utility easement. Before you dig, call 811 for utility marking (free, required by state law); even though you don't need a city permit, utilities must be marked. Cost: $2,500–$5,000 for materials and labor, zero permit fees. Timeline: 2–3 days to build, no inspection. If your lot sits within Danville's floodplain (check the FEMA map online), the fence height may be restricted and you should call the Building Department to confirm before building.
No permit required (under 6 ft rear yard) | 811 utility mark required | 36-inch frost depth mandatory | UC3+ wood recommended | $2,500–$5,000 total cost | Zero permit fees
Scenario B
6-foot vinyl fence, corner lot, front-yard buffer — Danville corner property
You own a corner lot at the intersection of Main and Elm, with road visibility from two directions. You want a 6-foot vinyl privacy fence on what you consider your 'front side' to block headlights and road noise. Because this lot is a corner lot, Danville's 15-foot sight-line setback rule (from pavement line at the intersection) applies to any fence over 3 feet tall. Your fence is 6 feet, so it must be set back 15 feet from the pavement line at the corner to be permit-exempt — but if you measure and find that 15-foot setback puts the fence in your neighbor's yard or violates your own front-yard setback, you need a permit and likely a variance from the Danville Zoning Board. Most corner lots in Danville cannot accommodate a 6-foot fence within all setbacks, so a permit and variance are the practical path. You'll need a surveyor to verify your property lines and sight-line geometry ($300–$500), then file for a variance through the Zoning Board (a separate process from the building permit, takes 4–6 weeks, costs $150–$250 for the variance application). Once the variance is granted, you pull the fence permit ($75–$150), submit a site plan with the surveyor's dimensions, and schedule a final inspection after installation. Total timeline: 6–8 weeks. Total cost: $3,500–$8,000 (materials, survey, variance, permit). This is a common scenario in Danville; corner-lot homeowners should budget for a surveyor before buying fence materials.
Permit required (corner lot + 6 ft height) | Surveyor $300–$500 | Zoning variance needed | Variance $150–$250 | Fence permit $75–$150 | Final inspection | 6–8 week timeline
Scenario C
4-foot chain-link pool enclosure, in-ground pool — residential Danville property
You have an in-ground swimming pool and need to install a 4-foot chain-link pool-barrier fence to meet Illinois safety code (IRC AG 105). All pool barriers require a permit, period. Your application must include a site plan showing the pool footprint, fence location, gate opening, and gate-latch hardware specification (must be ASTM F1952 compliant, self-closing, self-latching, 54 inches from ground, 15-second release time). You have two options: purchase the gate hardware before submitting the application and include the product datasheet, or submit without it and expect an RFI (Request for Information) from the Building Department asking you to specify the gate. If you submit without the gate spec, expect a 3–5 day delay while the city responds to your RFI. Chain-link for pools doesn't require a variance, only a permit and final inspection. Permit fee: $75–$150. Timeline: 1–2 weeks if your gate spec is included, 3–4 weeks if the city has to RFI you. Inspection timing: schedule the final inspection after the fence and gate are installed; the inspector will verify the gate mechanism, check that the fence is intact with no gaps larger than 4 inches, and confirm post depth. Common rejection: inspectors find gaps or rust in the chain-link; rust on the bottom rail requires replacement. Material cost: $1,500–$3,000 for chain-link plus hardware. Total project cost: $2,000–$3,500 including permit and inspection.
Permit required (pool barrier) | Gate spec ASTM F1952 required | Permit $75–$150 | Final inspection mandatory | 36-inch frost depth | $1,500–$3,000 materials | 1–4 week timeline depending on RFI

Every project is different.

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

Danville's corner-lot sight-line rule and why it catches homeowners

Danville's Title 9, Chapter 93 (zoning ordinance) defines a sight triangle on corner lots as the area from the property corner extending 15 feet along each street edge and forming a diagonal across the lot. Any fence or structure over 3 feet tall within that triangle must be set back 15 feet from the pavement line (not the property line — the actual road surface). This is stricter than the state minimum and reflects Danville's location on US 36 and IL 150, both high-traffic corridors. Most homeowners measure from their property line, not the pavement, and end up 3–5 feet too close to the sight triangle, triggering a permit rejection or a citation from the Zoning Enforcement Officer.

The rule exists because corner lots have two traffic approaches, and a tall fence can hide oncoming vehicles, bicycles, or pedestrians. Danville's police and public works departments jointly enforce this, and violations are cited at about 5–10 per year (a small number, but enough that the city takes it seriously). If you are cited, you either remove the fence, pay a $250–$500 fine and removal cost, or apply for a variance. Variances are granted only if you can demonstrate an undue hardship — like an unusual lot shape or pre-existing encroachment — and even then, the Zoning Board approves only about 50% of corner-lot fence variances.

Solution: before you design your fence, visit the Danville Building Department or call 217-431-2618 (confirm this number locally; it may have changed) and ask them to verify your corner-lot sight-line setback on a site plan or survey. Provide your address and lot number, and ask the staff to draw the sight triangle on a plat for you. This costs nothing and takes 1–2 business days. With that confirmation in hand, you can design a fence that fits the rules or budget for a variance from the start.

Frost depth, soil conditions, and post-failure in Danville's glacial-till landscape

Danville sits in the glacial-drift region of central Illinois, with soil composition dominated by glacial till — a mix of clay, silt, sand, and small stones left behind by the Pleistocene ice sheets. The frost depth is 36 inches, which is mandatory for all fence posts. However, Danville's soil is not uniform: the area immediately east (toward the Wabash River floodplain) is heavy clay with seasonal moisture issues, the west side toward Gibson City has more loess (wind-deposited silt, more compactable), and the south side has coal-mining remnants and fill. This matters because post-setting depth alone doesn't guarantee stability — the surrounding soil's bearing capacity does.

Posts set in wet clay can shift and heave over winter (frost heave), causing the fence to lean or crack even if you set them 36 inches down. To prevent this, dig 3–4 feet in clay soils, add 4–6 inches of gravel at the bottom for drainage, and use a concrete footing (60–80 pounds of concrete per hole is typical for 4x4 wood posts). Metal and vinyl posts are lighter and don't need as much concrete, but you still need to reach frost depth and compact the soil. Danville building inspectors know this and will often dig next to a post during the final inspection to verify depth and footing integrity. If the footing is substandard, the inspector fails you and you re-dig, adding 1–2 weeks and a re-inspection fee.

Pro tip: if you are building in the clay-heavy east side of Danville (near Grant Park or the Danville Square area), consider installing posts with concrete footings and gravel drainage, even for exemption-level fences that don't require inspection. The cost is $50–$100 per post more upfront but prevents a $3,000–$5,000 removal and re-installation 3–5 years later when the fence heaves. Danville's inspectors respect this and will note it favorably if a neighbor complains and a post-installation inspection is ordered.

City of Danville Building Department
Danville City Hall, 17 W. Main Street, Danville, IL 61832
Phone: 217-431-2618 (Building Department — confirm current number)
Monday–Friday, 8:00 AM–5:00 PM

Common questions

Do I need a permit if I'm replacing an old fence with the same height and material?

Maybe. If the old fence was under 6 feet, in a rear or side yard, and the same material (wood to wood, vinyl to vinyl), Danville treats it as a like-for-like replacement and exempts it from permitting. However, you must document this — bring photos of the old fence, a copy of the original permit if you have it, or a signed affidavit that the old fence was the same height and material. If you're upgrading height or location (e.g., moving the fence line or going from 4 feet to 6 feet), a permit is required. Call the Building Department to confirm before demolishing the old fence.

How much does a fence permit cost in Danville?

Danville charges a flat fee of $75–$150 for most residential fence permits (under 6 feet, non-masonry). Pool-barrier permits are the same. Masonry fences over 4 feet may cost $150–$250 if structural engineering is required. Most fees are paid at the time of application, over-the-counter or by mail. The fee does not cover the final inspection (that's built into the permit cost), but if you fail inspection and re-dig, there's typically a $50–$75 re-inspection fee.

Can I pull the fence permit myself, or do I need to hire a contractor?

You can pull the permit yourself as an owner-builder on owner-occupied residential property in Danville. Bring or mail a completed Danville building-permit application (ask the Building Department for the form), a site plan showing the fence location and dimensions (sketch is okay for simple fences), proof of property ownership (tax bill or deed), and the permit fee. For more complex fences (masonry, corner lots, pools), the city may require a surveyor-certified site plan, which you'd hire independently ($300–$500). Most homeowners hire a fence contractor, who pulls the permit as part of the install package.

What's the timeline for a fence permit in Danville?

For simple rear-yard fences that don't require a permit, you can build immediately. For permitted fences, expect 1–2 business days for over-the-counter submission and same-day approval (or an RFI if the city has questions). Final inspection is scheduled after the fence is installed, usually within 1–2 weeks of your request. Corner-lot fences that need a zoning variance take 4–6 weeks for the Zoning Board to review, then 1–2 weeks for the permit and inspection. Pool barriers with gate spec missing may get an RFI and take 3–5 extra days to resolve.

Do I need 811 utility marking even if I don't need a permit?

Yes. Illinois state law requires all property owners to call 811 before digging, regardless of permit status. 811 is free and takes 2–3 business days to mark utilities. Failing to call 811 is a violation of state law and can result in fines and liability if you hit a utility line. Always call before you dig.

What happens if my fence crosses or runs along a utility easement?

Any fence within 10 feet of a recorded utility easement (water, sewer, gas, electric) must have written approval from the utility company. Danville is crisscrossed with old coal-mine easements and rail corridors that may not show on your property survey. You must provide the utility company's written approval (a 'locate' letter, typically free but takes 5–10 days) with your permit application. If you build without approval and the utility needs to access the easement, they can force removal and bill you for restoration ($2,000–$10,000+).

Can I build a fence on the property line, or do I need setback?

Rear and side-yard fences can be built on the property line. Front-yard fences must be set back from the street (typically 10–15 feet depending on your lot), and corner-lot fences must be set back 15 feet from the pavement line within the sight triangle. Building-Department staff can clarify your lot's specific setback requirements if you provide your address and lot number. Never assume your neighbor's fence is in the right place — Danville enforces setbacks and has cited several homeowners for encroachment.

Is there an HOA approval separate from the city permit?

Yes. If your property is in an HOA or homeowners association, you must obtain HOA approval before submitting to the city. HOA approval is separate from and independent of the building permit. Many Danville neighborhoods (especially newer developments south of I-74) have HOA restrictions on fence height, material, color, and design. Check your deed and HOA bylaws first. Danville Building Department will not issue a permit if the HOA objects, and you cannot build without both approvals.

What materials are allowed for residential fences in Danville?

Wood, vinyl, and chain-link are standard and exemption-eligible. Masonry (brick, stone, concrete block) requires a permit for anything over 4 feet and structural engineering if it exceeds 6 feet. Decorative metals and aluminum are allowed but less common and require permit review. Barbed wire, electric fencing, and netting are not allowed in residential zones. Check with the Building Department if you want to use an unusual material (bamboo screen, composite, etc.); some are approved as long as they meet height limits.

What if an inspector fails my fence at final inspection?

Common failures: post depth less than 36 inches, missing or inadequate footing in clay soil, gaps larger than 4 inches in chain-link, rust or damage, gate latch not functioning (pool barriers), or fence encroaching into setback or sight triangle. The inspector will issue a written correction notice detailing the defect. You have 10 business days to fix it and schedule a re-inspection. Re-inspection fee is $50–$75. If you dispute the failure, you can request a second opinion from the Chief Building Official (costs another fee and takes 1–2 weeks).

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.