🚧 Pre-launch · onboarding our first Portland pros · requests welcomed

How to fence a sloped yard the right way.

The two methods for building a fence on a hill — stepped and racked — explained plainly, with the gap problem they create, the soil and post issues unique to Portland's terrain, and what the slope premium actually costs.

📍 Portland metro⛰ Sloped & hilly lots🗓 Updated June 2026

There are only two ways to build a fence on a slope. Stepped fencing keeps each panel perfectly level and drops it down the hill like a staircase, which leaves triangular gaps at the bottom where the ground falls away. Racked (also spelled raked) fencing angles the rails so the fence line follows the grade, with no gaps. Racked almost always looks better and seals the bottom — but it costs more because every section is custom-cut to the slope. On Portland's famously hilly lots, that difference shows up in both the look of your yard and the bottom line of your bid.

Stepped vs racked, side by side

Before you talk to anyone, it helps to know which method you're picturing. Here's how the two approaches compare on the things homeowners actually care about:

SteppedRacked / raked
How it handles slopeLevel panels step down like stairsRails flex to follow the grade
LookStair-step top line; can look choppy on steep gradesSmooth line that mirrors the ground — cleaner
Gaps at the bottomTriangular gaps under each panelLittle to none — bottom follows the ground
Relative costLower — works with pre-built panelsHigher — custom-cut, slower build (10–25% more)
Best materialVinyl, aluminum, pre-assembled wood panelsCedar & other site-built wood (picket-by-picket)
Best forGentle slopes, rigid-panel materials, tight budgetsSteeper grades, dog owners, looks-first projects

Stepped fencing

With a stepped fence, each panel or section stays horizontal and the whole panel is set lower than the one before it, so the fence marches down the hill in level segments. It's the natural fit for materials that come as rigid pre-built panels — most vinyl and aluminum fencing, and pre-assembled wood panels — because those can't bend to the grade. The trade-off is the gap: under the downhill edge of each level panel, the ground drops away and leaves a triangular opening.

Racked (raked) fencing

A racked fence is built so the top and bottom rails tilt to match the slope, and the pickets hang vertical (plumb) off those angled rails. The result is a fence that hugs the ground in one continuous line with no stair-stepping and essentially no gaps. Racking is easiest with cedar and other wood built on-site picket-by-picket, where the angle can be cut to whatever the grade demands. Some vinyl and aluminum systems offer a limited "rackable" range, but wood is the most flexible by far.

How slope changes the build — and the labor

The method is only half the story. On any graded lot, the part that quietly drives the price is the posts. On a flat run, posts go in fast: same depth, same height, repeatable line. On a slope, every post has to be measured and set individually to the changing grade, and posts frequently go deeper to stay plumb and to resist soil that wants to creep downhill over time.

That individual attention is slow, skilled work, and it's the single biggest reason a sloped job lands higher than a flat one. Add a racked build on top — where rails and pickets are custom-cut to the slope angle — and the labor stacks up further. None of that is padding; it's what it takes for the fence to stand straight and last on a hill.

The gap-at-the-bottom problem (and how to close it)

If you go stepped, the triangular gaps under each panel aren't just cosmetic. They're the number-one complaint from Portland homeowners with pets — a determined dog squeezes under the low edge, and so do the raccoons, possums, and neighborhood cats that the metro is full of. If keeping animals in (or out) is the point of the fence, those gaps undermine it.

🐾

If the fence is for a dog, racked usually wins. Following the grade with no gaps is exactly what a stepped fence can't do without extra fill work. See our guide on the best fence for dogs for height, gap, and dig-prevention details that matter on sloped yards.

If a stepped fence is the right call for your material or budget, the gaps can still be closed. Common fixes:

Why this matters so much in Portland

Portland is a genuinely hilly city, and that's not evenly spread. The west side — the West Hills, parts of Southwest, and into the Tualatin Mountains — is steep enough that a perfectly flat backyard is the exception. On the east side, the climb up toward Mount Tabor, Rocky Butte, and the Alameda Ridge puts plenty of inner-eastside yards on a noticeable grade. If your lot rolls, you are firmly in slope-fencing territory.

Soil compounds it. Much of the inner east side sits on dense clay, and clay on a slope is its own challenge: post holes are harder to dig, and saturated clay through Portland's wet winters can shift, which is exactly why slope posts get set deeper. Outer-east and Cascades-adjacent neighborhoods add rock to the mix. The grade and the ground together are why two Portland yards of the same length can quote very differently.

Don't let anyone "stretch" a flat panel across a slope. Forcing level pre-built panels onto a graded run without proper stepping or racking creates oversized gaps, racked-looking posts, and a fence that fails early. On a real slope the build has to be designed for the grade — stepped or racked — not improvised.

The slope cost premium

So what does a hill actually add? As a planning rule, expect a 10–25% premium over a flat run of the same length and material. Gentle, even grades sit at the low end; steep, irregular, or clay-heavy slopes — plus the choice of a fully racked build — push toward the high end. The premium covers the individual post-setting, deeper holes, more concrete, and (for racked) the custom cutting.

The clean way to budget is to start from a flat reference price for your material, then add the slope premium on top. Our Portland fence cost guide has the current per-linear-foot ranges by material — cedar, vinyl, composite, aluminum, and more — so you can take a base number and apply the 10–25% to it for your grade.

Slope situationTypical premiumWhy
Gentle, even grade — stepped~10%Some extra post work; standard panels still usable
Moderate grade — racked wood15–20%Individual posts + custom-cut rails and pickets
Steep or clay-heavy — racked20–25%Deeper posts, more concrete, slow custom build
Adding gap fill (kickboard, gravel)+ a few $/ftMaterials & labor to close stepped-panel gaps

Choosing a material is half the slope decision. If you're weighing the two most popular Portland options, our cedar vs vinyl comparison covers how each behaves on a grade — cedar racks beautifully on a site-built run, while vinyl is almost always stepped.

Not sure if your yard needs stepped or racked?

Tell us about your lot and we'll match you — at no cost — with one vetted Portland pro who'll come out, read the grade in person, and give you a free written estimate built for your actual slope, not a flat-yard guess.

Get a free estimate →

Fencing on a slope — common questions

How do you install a fence on a slope?+

Two methods. Stepped keeps each panel level and drops it down the slope like a staircase, leaving triangular gaps at the bottom. Racked (raked) angles the rails to follow the grade so there are no gaps. Racked looks cleaner and is best built picket-by-picket in wood; stepped is the fit for rigid pre-built vinyl or aluminum panels.

How do you install a fence on a hill?+

You still pick stepped or racked, but the posts are the real work: each one is set individually to the changing grade and often deeper to stay plumb. On Portland's hilly east- and west-side lots that means a 10–25% labor premium over a flat run.

What is the difference between a stepped and racked fence?+

A stepped fence uses level panels that step down the hill, leaving gaps under each panel. A racked fence flexes the rails to match the slope so the line follows the ground with no gaps. Stepped is cheaper; racked looks better and costs 10–25% more.

How do you fill the gap under a fence on a slope?+

On a stepped fence, close the triangular gaps with a kickboard / rot board, custom-cut filler pickets, a gravel mow strip or decorative stone, or by grading the soil. It matters most for keeping pets in and digging critters out — the top reason Portland dog owners pick racked instead.

Is a racked fence more expensive than a stepped fence?+

Yes — typically 10–25% more on the same slope, because the rails and pickets are custom-cut to the grade and the build is slower. Start from a flat per-foot price in our Portland fence cost guide and add the premium for your grade.

Get a real number for your slope.

One vetted Portland pro, one free on-site estimate, zero pressure.

Get my free estimate →