Platbookmapper County GIS Directory

Property lines · Fences · Setbacks · October 21, 2026

How Close to Property Line Can I Build a Fence?

How close to property line can I build a fence? Often right up to it, but height, front yard, corner and easement rules decide. How to check first.

How close to property line can I build a fence? There is no single national answer, because fences are regulated by your city or county zoning code, and sometimes by an HOA on top of that. Many towns let a fence sit right up to the line, but nearly all of them limit how tall it can be in each part of the yard, keep it out of the street right-of-way and sight areas at corners and driveways, and expect it to stay entirely on your own land. The distance is rarely the hard part. Knowing exactly where the line is usually is. This guide covers the rules that decide fence placement, real examples from city codes, and how to find your line before you dig.

The short answer

Who decides how close a fence can be

Fence rules usually live in the zoning or development code, next to the rules for setbacks, accessory buildings and corner visibility. A building permit may also apply, depending on height and material. Layered on top can be:

A fence is not a building, so the setbacks that apply to houses usually do not apply to it. That is why many codes let fences go right to the line while a shed has to sit a few feet back. If you are planning both, our guide on how close to the property line you can build a shed covers accessory structure setbacks.

What real city codes say

Rules vary, but a few published examples show the usual pattern:

CityRule highlights
Portland, OregonFences may be built on private property. Every part, including footings, must stay inside your property lines. In many zones fences in front setbacks are limited to 3-1/2 feet, and fences up to 8 feet are allowed in side and rear setbacks. Wood fences up to 7 feet do not need a building permit.
Concord, CaliforniaA wooden fence 6 feet or shorter generally needs no permit. In the front yard setback, typically 20 feet deep, fences are capped at 3 feet. Near intersections and driveways, sight visibility triangles also hold fences to 3 feet.
Duvall, WashingtonA fence permit is required for fences next to a right-of-way, open space, park, trail or sensitive area. The site plan must show property lines, easements and nearby rights-of-way.

All three cities make the same point in their handouts: the city does not know exactly where your property line is. Concord says a property line survey is the only accurate way to locate it, even for fences that need no permit. Duvall says you may need a survey before applying.

Building on the line vs. a little inside it

Even where the code allows a fence right on the line, many owners set it a few inches to a couple of feet inside. The reasons are practical rather than legal:

Setting a fence inside the line does not give the strip on the other side to your neighbor, but long-term use of land can matter in some states. If you leave a gap, keep using and maintaining the strip, and read up on adverse possession if an old fence has stood off the true line for a long time.

If your neighbor wants a shared fence on the line, put the agreement in writing: location, cost split, style and who maintains which side. Concord’s handout notes that shared fence location, upkeep and replacement are a private matter between owners.

Rules that matter more than the distance

Height by yard area

Most codes split the lot into front, side and rear areas. Expect a lower limit in front and a higher one beside and behind the house. Watch how height is measured. Some codes measure from the lowest grade beside the fence, and lattice or a fence on top of a retaining wall often counts toward the total.

Corner lots and driveways

Corner lots have two street sides. Codes usually keep a triangle near the intersection clear of anything tall so drivers can see, and some add smaller triangles where driveways meet the street. The front of a corner lot may not be the side your front door faces.

The street right-of-way

Your front property line is often not at the curb or the sidewalk. The public right-of-way frequently extends some distance onto what looks like your lawn, and fences generally cannot go there without permission. Check the plat or the right-of-way on a parcel viewer before setting front posts.

Easements and buried lines

A fence across a utility or drainage easement may be allowed, but the utility can usually remove it to reach its lines, and you pay to put it back. Look up easements on your property, and always call 811 before you dig post holes.

Pools and special fences

Pool barriers usually need a permit and have their own height and gate rules. Some codes ban certain materials, such as barbed wire or electric fencing in residential areas.

How to find your property line first

  1. Pull the plat and deed. The recorded plat gives lot dimensions and bearings, and the deed tells you which lot you own.
  2. Look at the county parcel map. Free county GIS viewers show lot lines over aerial photos, but they are drawn for tax mapping. Read how accurate GIS maps are for property lines before trusting them for a fence.
  3. Find the corner markers. Many lots have iron pins or pipes at the corners. Our guide to finding property corners explains what to look for.
  4. Hire a surveyor when it matters. If pins are missing, the line is close, or the neighbor disagrees, a boundary survey settles it. See how much a land survey costs.

Before you build: a quick checklist

If a fence has already gone up in the wrong place, our guide on resolving a boundary dispute covers next steps. This page is general background, not legal advice.

Questions people ask

How close to the property line can I build a fence?

It depends on your local code. Many cities and counties allow a fence at or near side and rear lines, but limit height, keep fences low in front yards and at corners, and require the whole fence, footings included, to stay on your land.

Can I put a fence right on the property line?

Sometimes, if your code allows it and your neighbor agrees. A fence centered on the line partly sits on the neighbor's land, so many owners set it slightly inside or sign a written shared-fence agreement.

How tall can a fence be near the property line?

Side and rear fences are often allowed around 6 feet, and some codes allow more. Front yard fences are commonly limited to about 3 to 4 feet. Check the exact numbers in your local code.

Do I need a survey to build a fence?

Not always, but it is the only accurate way to locate the line. City handouts commonly say they cannot tell you where your property line is, and some require a survey for certain fence permits.

Can I build a fence on a utility easement?

Often you can, but the utility may remove it to reach its lines, usually at your cost. Check the plat for easements and call 811 before digging post holes.

What happens if my fence is over the property line?

It is an encroachment. The neighbor can ask you to move it, and a long-standing fence can lead to boundary disputes. A survey, a written agreement or moving the fence are the usual fixes.