A shed roof that sags, leaks at the eaves or lifts in a storm almost always traces back to framing, not shingles. Shed roof framing comes down to a handful of decisions: roof style, pitch, rafter size and spacing, how each rafter sits on the wall, and how the whole roof is tied down. Get those right and even a simple backyard shed will carry snow and shrug off wind for decades.
Part of our Roofing guide — explore the full guide →
Most backyard sheds use one of two roof styles. A gable roof has two sloped sides meeting at a ridge, the classic house shape. A lean-to roof, also called a single-slope or skillion roof, has one plane running from a tall wall down to a short one. Both use rafters, birdsmouth cuts and overhangs, but the layout differs in important ways.
- Shed Roof Framing Basics: Gable vs Lean-To
- Choosing Pitch, Lumber and Spacing
- Tools and Materials
- Laying Out Gable Rafters
- Installing the Ridge Board and Gable Rafters
- Framing a Lean-To Roof
- Overhangs, Sheathing and Tie-Downs
- Safety, Permits and Anchoring
- Costs and When to Call a Pro
- Frequently Asked Questions
We cover choosing pitch and lumber, laying out and cutting rafters for each style, ridge boards, overhangs, fastening and safety on the roof.
Shed Roof Framing Basics: Gable vs Lean-To
On a gable shed, pairs of rafters lean against each other at a ridge board and rest on the two long side walls. The outward push from each rafter is resisted by ceiling joists, collar ties or rafter ties that connect opposite rafters, along with the wall framing. Gables shed water both ways, give more headroom down the middle and allow storage in the attic space.
A lean-to has no ridge. Each rafter spans from a high wall to a low wall, so the front wall is framed taller than the back. Lean-tos are faster to build, easier to sheathe, and ideal for sheds against a fence line or when you want windows high on the tall wall. Framing a lean to roof also suits small sheds attached to a house or garage, where a ledger board on the existing wall carries the high end.
Choosing Pitch, Lumber and Spacing
Roof Pitch
Pitch is rise over a 12-inch run. Gable sheds commonly use 4/12 to 8/12. Lean-tos typically use 2/12 to 4/12. Shingles generally need at least 2/12 with special underlayment and 4/12 for standard installation, while metal panels can go lower according to the manufacturer. Steeper pitches shed snow better in cold climates.
Rafter Size and Spacing
Rafters are usually spaced 16 or 24 inches on center. For small sheds with spans under about 8 feet, 2×4 rafters at 16 or 24 inches often work in light snow areas. Wider spans and heavier snow loads call for 2×6 or larger. Always check a span table for your lumber grade, species and local snow load, because a 2×6 that is fine in a mild climate can be undersized in mountain snow country.
| Shed width (gable) | Typical rafter | Common spacing |
|---|---|---|
| 8 feet | 2×4 | 16 or 24 inches |
| 10 to 12 feet | 2×4 or 2×6 | 16 or 24 inches |
| 14 to 16 feet | 2×6 or 2×8 | 16 inches |
These are starting points only. Local snow and wind loads drive the final sizes, and many towns publish simple shed guidelines.
Tools and Materials
- Framing lumber for rafters, ridge and blocking
- Speed square and framing square
- Circular saw and handsaw or jigsaw for finishing birdsmouth cuts
- Framing nailer or hammer with 16d nails
- Hurricane ties or rafter ties rated for exterior use
- Tape measure, chalk line, pencil
- Sturdy step ladder or extension ladder, plus a helper
- Safety glasses, gloves and hearing protection
A framing nailer is not required, but it speeds up rafter and blocking work and reduces the strain of overhead hammering. Use exterior-rated or galvanized fasteners where they will be exposed.
Laying Out Gable Rafters
- Find the run. The run of each rafter is half the building width, measured to the outside of the walls, minus half the ridge board thickness. For an 8-foot shed with a 1.5-inch ridge, that is 48 inches minus 0.75 inch.
- Mark the plumb cut. Set a speed square at your pitch number on the common scale and mark the ridge end of the rafter.
- Measure rafter length. Use the rafter length per foot of run for your pitch, or step off the rafter with a framing square. Measure along the top edge of the board.
- Lay out the birdsmouth. Mark where the rafter crosses the outside of the wall. Draw a plumb line there and a level seat cut equal to the wall top plate width, typically 3.5 inches.
- Add the overhang. Extend the rafter past the birdsmouth for the overhang, usually 6 to 12 inches, and mark the tail cut.
- Cut a pattern. Cut one rafter, test it on both walls with a scrap ridge, and adjust. Then use it as a template for the rest.
The Birdsmouth Cut
The birdsmouth is a notch that lets the rafter sit flat on the top plate. Keep the seat cut depth to no more than one third of the rafter depth so the tail stays strong. Finish the inside corner with a handsaw rather than overcutting with a circular saw, which weakens the rafter.
Installing the Ridge Board and Gable Rafters
The ridge board should be one size deeper than the rafters, such as a 2×6 ridge for 2×4 rafters, so the full plumb cut bears on it. Cut it to the length of the shed plus the overhang at each gable end.
Set the first pair of rafters at one end with the ridge held at height by temporary supports or braces. Nail the rafters to the ridge and toenail them to the top plates. Add the opposite end pair, check that the ridge is straight and level, then fill in the remaining rafters at your chosen spacing. Install rafter ties or ceiling joists low in the roof to resist outward thrust, and collar ties in the upper third if your design calls for them.
Framing a Lean-To Roof
- Build walls to height. The difference between front and back wall heights sets your pitch. For a 2/12 slope over an 8-foot span, the tall wall is 16 inches higher.
- Mark the cuts. Each rafter gets a birdsmouth at both walls. Lay the rafter across both top plates, mark the plumb and seat lines at each, and keep seat cuts under one third of the depth.
- Add overhangs. Extend the low end for a drip edge overhang and the high end for a short overhang that protects the tall wall.
- Install and tie down. Set rafters at your spacing, toenail them to the plates and add metal ties at each end.
- Block between rafters. Add blocking over each wall to close gaps, stiffen the frame and provide nailing for trim.
For a lean-to attached to an existing structure, the high end hangs from a ledger board fastened to the building framing with structural screws or bolts, using metal hangers, with flashing over the ledger to keep water out.
Overhangs, Sheathing and Tie-Downs
Overhangs of 6 to 12 inches protect siding and doors from rain. On gable ends, a ladder-style frame or outlookers carry a rake overhang. Keep overhangs modest on very windy sites, since long overhangs catch uplift.
Sheathe the roof with plywood or OSB rated for roofing, staggering joints and leaving a small gap between panels for expansion. Use metal hurricane ties at every rafter where it meets the wall. Those inexpensive connectors are the main defense against wind lifting the roof off.
Safety, Permits and Anchoring
Roof framing means working at height. Use a sturdy ladder on firm, level ground, extend it 3 feet above the landing point, and keep three points of contact. Do not stand on the top steps of a step ladder. Work with a helper for setting rafters and ridges. If the shed is tall enough that the roof sits near second-story height, hire a pro with proper staging and fall protection.
Check with your building department and HOA before building. Many areas require permits for sheds over a certain size, and setbacks from property lines apply. Anchor the shed to its foundation or footings per local wind requirements, and call 811 before digging footings or ground anchors so buried utilities are marked.
Costs and When to Call a Pro
Lumber and hardware for shed roof framing on a small shed often run from a few hundred dollars to over a thousand, depending on size, lumber prices and roofing material. Hiring a carpenter for the roof frame alone adds labor costs that vary widely by region.
Call a pro if your area has heavy snow loads, the shed is attached to a house, the span exceeds what common span tables cover, or you are unsure about loads and connections. A builder can size rafters and connections correctly and handle permits. Careful shed roof framing up front is far cheaper than repairing a sagging or storm-damaged roof later.
Frequently Asked Questions
What size rafters do I need for a shed roof?
Many small sheds use 2×4 rafters at 16 or 24 inches on center for spans up to about 8 feet. Larger sheds and snowy climates need 2×6 or bigger, confirmed with a span table.
What is the minimum pitch for a lean-to shed roof?
Shingles need at least 2/12 with extra underlayment, while 3/12 or 4/12 is more common. Metal roofing can go lower if the panel maker allows it.
Do I need a ridge board on a shed roof?
A gable roof needs a ridge board or ridge beam for the rafters to bear against. A lean-to roof has no ridge.
How deep should a birdsmouth cut be?
Keep the seat cut no deeper than one third of the rafter depth so enough wood remains above the notch to carry the overhang and load.
Do shed roofs need hurricane ties?
Yes, in most areas. Metal ties at each rafter connection resist wind uplift and are inexpensive insurance for any shed roof.