Free guide

How close can a detached garage be to the property line?

Often 3 to 5 feet from the side and rear lot lines, more along a street, and farther for a tall garage, but it depends on your city. A garage close to the house can also count as attached, with the house's bigger setbacks.

Examples from city rules

A few examples, as each city's or county's own page put it in November 2026:

So the same garage might sit 3 feet from the side line in St. Paul, need 5 feet or more in Fairfax County depending on its height, and go right to the line in San Jose. Look up your own city's numbers before you design it.

What changes the distance

What a garage permit's site plan often shows

St. Paul asks for exactly this: the whole property, every structure, the new garage with its size and distances from the property lines, and the driveways. If you can't find your property markers there, someone licensed has to locate them.

Before you settle on a spot

  1. Find your setbacks for accessory buildings in your zone, and how height and overhangs change them.
  2. Find your lot lines on your plat, and the corner pins on the ground.
  3. Check the distance to the house, in case the garage would count as attached.
  4. Work out coverage if your city limits it, for the lot or the rear yard.

Draw the garage on your site plan

The Odd Jobs site plan maker places a new garage, the house and anything else on your lot, draws your setbacks as dashed lines, and lists every distance to the lot lines and the coverage on a to-scale PDF. The preview is free, so you can see whether your garage fits before you pay $29. It draws the site plan, not the garage's building plans. No account.

Start your site plan See a sample (PDF)

Check your city

Garage 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.

Related guides

Something missing from this guide?