Deck setback — how far a deck has to sit from the property line — is a question we get from almost every Danville and Boyle County homeowner planning a deck close to a fence or a side yard, and it’s a different rulebook than the structural code our permits and code page covers.
Are Deck Setbacks the Same as Building Code?
No — setback distance is a zoning rule about where on the lot you can build, separate from and in addition to the structural building code that governs how the deck itself is built.
Building code — footing depth, ledger attachment, guard height — is about whether the structure is safe. Setback is about placement: how close to the side, rear, and front property lines a structure is allowed to sit. In Danville and Boyle County, zoning is administered separately by the Danville-Boyle County Planning & Zoning Commission, and the actual distance required depends on the property’s specific zoning district and whether it’s inside Danville city limits or in unincorporated Boyle County, Perryville, or Junction City. We don’t quote a single setback number here because there isn’t one that applies to every lot — it’s confirmed against your property’s zoning before design starts, the same way we confirm permit requirements.
What Happens If a Deck Is Built Too Close to the Property Line?
A deck that violates setback can be required to be modified, moved, or removed, and fixing a placement problem after the deck is built costs far more than confirming the line before framing starts.
If a survey later shows the deck encroaches, the same retroactive correction costs that apply to unpermitted work apply here too — typically $200–$600 in extra inspection and paperwork on top of whatever physical changes the deck itself needs, and that’s before accounting for a neighbor dispute if the deck sits over their line. A property survey to confirm exact boundaries before design, rather than relying on a fence line or an old plat, is the cheap insurance against all of that. Setback and structural permitting get confirmed together as part of our process — see our permits and code page for the rest of what gets checked.
Does a small, low freestanding deck still have to meet setback rules?
Usually yes — setback exemptions are narrower than most homeowners expect, and even structures exempt from a building permit can still be subject to zoning setback rules.
Can I use my fence line to judge the property line?
Not reliably — fences are frequently built off the actual surveyed line, sometimes by a foot or more, which is exactly the kind of assumption that causes setback problems.
Can I get a variance if my deck doesn’t meet setback?
Sometimes, through the Planning & Zoning Commission’s variance process, but a variance is granted for genuine hardship, not simply because a deck was already built too close.
Not sure where your property line actually sits? Get a free estimate or call or text (859) 310-1209 — we help confirm setback before we design anything.
Related: Deck Permits & Code | Deck Without a Permit: Consequences | Deck Size Without a Permit | Deck Setback Near a Septic Tank
Source: Danville-Boyle County Planning & Zoning Commission, Zoning Ordinance.
Last updated: September 13, 2026