How far does a deck have to be from the property line?
Often about 5 feet from the side lot lines and more from the rear, but it depends on your city, your zone and the deck itself. Low decks often get more room to spread, while high or attached decks usually follow the house's setbacks.
Examples from city rules
A few examples, as each city's or county's own page put it in November 2026:
- Irvine, CA, on its page for second-story decks, says they must meet the zoning setbacks; for many single-family lots, that's 5 feet from the side lot line and 10 feet from the rear, depending on the zoning.
- Boulder, CO asks for the setbacks that apply to decks attached to the house. Its table for houses in its RL-1 district lists 25 feet from the front and rear lines and 5 feet from the sides.
- Fairfax County, VA says decks follow the zoning setbacks, but depending on a deck's height and features it may be allowed to extend into them.
- Orlando, FL lists 5 feet from the side and rear lines for an elevated wood deck by a pool, and once a deck is 3 feet or more off the ground, the accessory structure setbacks apply.
- Seattle, WA counts decks 36 inches or more above the ground toward the footprint limit for everything on the lot.
So a deck's height can change both how close it can go and whether it counts toward your lot coverage. Look up your own city's rules for the deck you're planning.
What changes the distance
- Height. Low, near-ground decks often get more leeway; Fairfax County and Orlando both tie their rules to height.
- Attached or freestanding. Attached decks often follow the house's setbacks, as Boulder's checklist suggests.
- Roofs and walls. A covered or enclosed deck is often treated like part of the house.
- Coverage. Higher decks can count toward how much of the lot you can cover, as in Seattle.
- Stairs. Measure from the outermost edge, stairs included, unless your city says otherwise.
Before you settle on a deck size
- Your zone's setbacks for decks, and how height changes them
- Whether your deck counts as attached
- How far its outer edges and stairs will be from each lot line
- Lot coverage, if your city counts decks
- Easements along the back of the lot, from your plat
Check it in four steps
- Find your setbacks: search for "[your city] deck setbacks" or check your zone's setback table.
- Measure from the house to the rear and side lot lines, using your plat and the corner pins.
- Subtract the deck's depth and the stairs to see what's left before the setback line.
- Sketch it to scale before you price materials, so the size you plan actually fits.
See the distances before you build
The Odd Jobs site plan maker places a new deck against your house, draws your setbacks as dashed lines, and lists the distance from the deck to every lot line and the lot coverage, on a to-scale PDF. The preview is free, so you can test deck sizes before you pay $29. It draws the site plan, not the deck's framing. No account.
Check your city
Deck setbacks, height rules and coverage limits differ from city to city and zone to zone. Your city's zoning office has the final word, so check your city before you build.