Most of the time, no. In California, a basic fence that is 7 feet tall or shorter usually does not need a building permit under state building rules. But that is not the whole answer. Cities and counties can add their own rules, and many do. Your fence may still need a permit or sign-off if it sits in your front yard, is made of brick or concrete block, holds back soil, or goes around a pool.
Here is the part that catches many homeowners off guard. The 7-foot rule only covers the building permit. It does not stop your city from limiting how tall your fence can be. Many California cities cap front yard fences at 3 or 4 feet and backyard fences at 6 feet. That means you could build a 7-foot fence without a building permit and still break a local height rule. Some cities also ask for a simple “fence permit” or “zoning clearance” that checks where the fence goes and how high it stands. On top of that, state law says neighbors who share a boundary fence are usually expected to share the cost of building and fixing it.
Why the 7-Foot Rule Is Not the Final Word
California uses a statewide building code that sets the base rules for construction. That code lets most fences up to 7 feet go up without a building permit, since a simple wood or vinyl fence poses little safety risk.
Local zoning rules are a separate matter. Zoning controls how land is used and how things look from the street. Your city might care about fence height because tall fences can block views, make streets feel closed off, or hide cars pulling out of driveways. So even when the building department says “no permit needed,” the planning department may still have something to say.
This is why two homeowners in different California cities can get very different answers to the same question. A 6-foot backyard fence might be fine without any paperwork in one town and need a quick approval in the next.
Fences That Often Need a Permit
Some types of fences are more likely to need approval, no matter which city you live in.
Pool fences are at the top of the list. California has strict pool safety laws meant to keep young children from drowning. A fence around a pool must meet rules for height, gate latches, and gaps between boards. Because safety is at stake, cities often inspect these fences, and they are usually tied to the pool’s own permit.
Brick, stone, and concrete block walls are another common case. These walls are heavy and can fall over if built poorly, so many cities want to review the footing and design. The taller the wall, the more likely you will need a permit.
Retaining walls are a big one. If your fence or wall holds back soil, it is no longer just a fence. Retaining walls over 4 feet tall, measured from the bottom of the footing, generally need a permit. Shorter ones may need one too if there is extra weight above them, like a driveway or a slope.
Fences near corners and driveways can also raise flags. Many cities have “clear sight” rules that limit fence height near street corners so drivers can see oncoming cars. Homes in historic districts or near the coast may face extra review as well, since those areas often have rules about how things look.
Don’t Forget Your HOA
If you live in a neighborhood with a homeowners association, check its rules before you buy a single post. HOAs often control fence height, color, material, and style. Some require written approval before any work starts. An HOA cannot give you permission to break city rules, but it can add stricter ones. Skipping HOA approval can lead to fines or an order to take the fence down, even if the city had no problem with it.
The Good Neighbor Fence Act
California has a law often called the Good Neighbor Fence Act. It says that neighbors who both benefit from a boundary fence share the responsibility for it. In most cases, that means splitting the cost of building, fixing, or replacing the fence.
The law also asks you to give your neighbor written notice at least 30 days before starting work you expect them to help pay for. The notice should explain the problem, what you plan to do, the cost, and how you plan to split it. Talking with your neighbor early can save a lot of trouble. It also helps to confirm your property line first, so the fence does not end up on their land.
What Happens If You Skip a Needed Permit
Building without a required permit can cost more than the permit itself. If a neighbor complains or an inspector notices, your city may send a notice telling you to apply for a permit after the fact. You may pay extra fees, and you might have to change the fence or tear it down if it breaks local rules.
Permit problems can also show up when you sell your home. Buyers and their inspectors may ask about work done without approval, which can slow down or hurt a sale.
How to Check Before You Build
The easiest step is to call or visit your city or county building and planning office. If you live outside city limits, your county handles these rules. Many offices also post fence rules on their websites.
When you reach out, have a few details ready. Know how tall the fence will be, what it is made of, and where it will go on your lot. Mention if it is near a pool, a street corner, or a slope. With that information, staff can usually tell you in a few minutes whether you need a permit.
The Bottom Line
For most California homeowners, a simple fence under 7 feet does not need a building permit. Still, local height limits, pool safety rules, retaining walls, and HOA rules can all change the answer. A quick check with your city before you build can save you money, time, and a tense talk with your neighbor later.