How to Build a Shed Roof: Framing to Finish
Building a shed roof from scratch, choosing the style and pitch, framing the rafters, sheathing the deck, and covering it, in a clear DIY walkthrough for a project you actually can do yourself.
Good news: a shed roof is one of the few roofing projects genuinely suited to a capable do it yourselfer. It is low, small and simple, so it is the ideal place to learn real roof framing and covering. This guide walks through building one from the structure up.
In this guide
Shed roof styles: single-slope or gable
The first decision is the roof style, and for a shed there are two common choices. A true shed roof, sometimes called a lean to or single slope roof, is a single flat plane that slopes in one direction, higher on one wall and lower on the other. It is the simplest possible roof to build, needs the least material, sheds water easily, and gives a clean modern look, which is why it is the classic choice for sheds, lean tos and modern outbuildings. Its single slope also makes it ideal for mounting solar panels or harvesting rainwater to one side.
The alternative is a gable roof, the familiar two sided triangle with a ridge down the middle, which gives more headroom in the center and a more traditional look but requires more framing, more material, and a bit more skill to build. For most shed projects, especially a first roofing project, the single slope shed roof is the simpler and recommended choice, and it is the one this guide focuses on, though the covering steps apply to either. If you want to understand the range of roof shapes more broadly, our types of roofs guide covers them all.
Choosing the pitch
Even a shed roof needs a real slope so water drains rather than pooling, and choosing the pitch is an early decision that affects everything. For a single slope shed roof, aim for a minimum of about a 3 in 12 pitch if you are using shingles, since asphalt shingles need slope to shed water, and a steeper pitch drains better and handles snow. If you want a very low, nearly flat shed roof, you will need roll roofing or a membrane rather than shingles, since those materials are made for low slopes, as our roll roofing guide explains. The pitch you choose also affects how much headroom you have and how the shed looks.
Practically, the pitch is created by making one supporting wall taller than the other (for a single slope roof) or by the angle of the rafters (for a gable). Decide your pitch before you frame, because it determines the height difference between the walls and the length and cut of the rafters. Our roof pitch guide explains how pitch is expressed and calculated, which is useful when you lay out the rafters. A steeper shed roof costs a little more in material and framing but drains and lasts better, so unless a low profile is important, err toward a bit more slope.
Materials and tools
For a single slope shed roof you will need framing lumber for the rafters, sized to your span (commonly two by fours or two by sixes for a small shed, more for a larger one), plus lumber for any ledger and blocking. You will need sheathing panels, typically half inch plywood or OSB, to deck the roof, and then the roofing itself: shingles with drip edge, underlayment and starter, or roll roofing for a low slope, along with fasteners. Have your framing hardware, joist or rafter hangers or hurricane ties as appropriate, and exterior grade screws or nails on hand.
On the tool side: a circular saw for cutting rafters and sheathing, a drill or nailer for fastening, a speed square and framing square for laying out the rafter cuts, a tape measure, a level, and a chalk line, plus a sturdy ladder and basic safety gear. Because a shed roof is low, the safety demands are far gentler than a house roof, which is part of what makes it a good DIY project, but a stable ladder and care are still essential. Figure your material quantities from the roof dimensions, using our roofing square and measuring guide for the covering materials.
Framing and building the roof
Set the wall heights or ridge
For a single slope shed roof, build one wall taller than the other so the difference creates your chosen pitch. For a gable, set a ridge board at the peak. This establishes the slope the rafters will follow.
Lay out and cut the rafters
Using a framing or speed square, mark the plumb cuts where the rafters meet the top of the walls and the birdsmouth notches where they sit on the wall plates. Cut one rafter, test-fit it, then use it as a template for the rest so they are identical.
Install the rafters
Set the rafters at regular spacing, commonly 16 or 24 inches on center, fastening them securely to the wall plates with framing hardware and fasteners. Check that they are level across the top and evenly spaced as you go.
Add blocking and overhang
Install any blocking between rafters for stability, and frame the overhang at the eaves and rakes so the roof extends beyond the walls to protect them, which is important for shedding water away from the shed.
Sheath the roof
Cover the rafters with plywood or OSB sheathing, fastening the panels to each rafter and staggering the seams. This creates the solid deck that the roofing attaches to. Leave a small gap between panels as recommended for expansion.
Cover with roofing
Install drip edge, underlayment and a starter course, then shingle the deck (or roll out roll roofing on a low slope), finishing the edges and, on a gable, the ridge. Now the shed has a complete, watertight roof.
Covering the roof: shingles or roll roofing
Once the deck is on, covering a shed roof follows the same principles as any roof, just at a small, manageable scale. If your shed roof has a pitch of about 3 in 12 or steeper, asphalt shingles are a great choice, installed exactly as on a house: drip edge along the edges, underlayment across the deck, a proper starter course, then overlapping shingle courses nailed in the nail zone and staggered, finishing the edges and any ridge. Our how to shingle a roof guide covers the technique in full, and a shed is the perfect place to practice it because the stakes and the height are low.
If your shed roof is very low slope, below about 3 in 12, shingles will not shed water reliably and you should use roll roofing or a membrane instead. Roll roofing is inexpensive, easy to install in overlapping courses, and well suited to a utilitarian low slope shed, as our roll roofing guide details. Whichever covering you choose, the same fundamentals apply, sound deck, proper edge details, and correct overlap so water always runs over the top of the next layer, and getting them right on a shed builds exactly the skills that transfer to larger roofs.
Tips for a shed roof that lasts
A few details make the difference between a shed roof that sheds water for decades and one that leaks or rots early. Build in a generous overhang at the eaves and rakes so rain is thrown clear of the walls, since water running down the siding is a common cause of shed rot. Use exterior grade, rot resistant or treated lumber where the framing is exposed to moisture, and fasten everything with corrosion resistant screws or nails. Get the pitch right for your covering, and do not skimp on the drip edge and underlayment even on a humble shed, because those cheap components prevent the edge rot and leaks that shorten a shed roof.
Finally, respect the building rules even for a shed. Many areas require a permit for a shed above a certain size, and some have setback and height rules, so it is worth a quick check with your local building department before you build, as our roof permits guide notes. A shed roof is a satisfying, achievable project, and doing it properly, with real framing, a sound deck, and correct covering, gives you a durable structure and the confidence and skills to tackle bigger roofing work down the road.
What a shed roof costs to build
Building a shed roof yourself is inexpensive compared with any professional roofing, which is part of the appeal, though the exact cost depends on the size, the pitch, and your choice of covering. The main costs are the framing lumber for the rafters and any wall height changes, the sheathing panels, and the roofing material, shingles with their underlayment and trim, or roll roofing for a low slope. For a small backyard shed, the total materials often come to a modest few hundred dollars, and since you are supplying the labor, that is essentially the whole cost. Larger sheds and steeper or gable roofs use more lumber and material and cost proportionally more.
The value of doing it yourself is highest here precisely because a shed is safe and simple enough to be a genuine DIY project, so you capture real savings without the risk that makes house roofs a poor DIY choice. If you are also buying tools you do not own, factor those in, though most are basic and reusable. Compared with the cost of a house roof, covered in our roof replacement cost guide, a shed roof is a small, affordable undertaking, and the skills you gain are a bonus that pays off if you ever tackle larger projects.
Common shed roof mistakes to avoid
A few predictable errors trip up first time shed builders, and knowing them saves you a leaky or short lived roof. The most common is too little pitch for the chosen covering, putting shingles on a nearly flat roof where they cannot shed water, which leads to leaks; match the covering to the slope, shingles for 3 in 12 and up, roll roofing or membrane below that. Another is skimping on the overhang, leaving little or no eave, so rain runs straight down the walls and rots the siding and framing; a generous overhang is cheap insurance. Inconsistent or poorly cut rafters that leave the deck uneven, and inadequate fastening of the rafters to the walls, are structural mistakes that show up as a wavy or weak roof.
On the covering side, the same errors that plague any roof apply, skipping the starter course, nailing shingles outside the nail zone, and omitting drip edge and underlayment, all of which lead to wind damage or edge rot even on a humble shed. The good news is that every one of these is easy to avoid with a little care, and a shed is the ideal low stakes place to build the habits, correct pitch, real overhang, sound fastening, and proper covering details, that make any roof last. Take your time, get the fundamentals right, and your shed roof will protect its contents for decades.
How to build a shed roof FAQs
How do you build a shed roof?
Choose a style (single slope is simplest) and a pitch, then build one wall taller than the other to create the slope, lay out and cut identical rafters, install them at regular spacing on the wall plates, frame the overhangs, sheath the roof with plywood or OSB, and cover it with shingles or roll roofing including drip edge and underlayment.
What pitch should a shed roof be?
At least about 3 in 12 if you are using asphalt shingles, since they need slope to shed water, and steeper drains and handles snow better. For a very low, nearly flat shed roof, use roll roofing or a membrane instead, which are made for low slopes.
What is a single-slope shed roof?
A single-slope or lean-to shed roof is a single flat plane that slopes in one direction, created by making one supporting wall taller than the other. It is the simplest roof to build, needs the least material, sheds water easily, and gives a clean modern look, which is why it is the classic shed roof.
Can I build a shed roof myself?
Yes. A shed roof is one of the best DIY roofing projects because it is low, small and simple, making it the ideal place to learn real framing and roof covering safely. The same skills, framing rafters, sheathing, and shingling, transfer to larger projects once you have practiced them on a shed.
Do I need a permit to build a shed?
Often, above a certain size. Many areas require a permit for sheds over a set square footage and have setback and height rules, while very small sheds may be exempt. Check with your local building department before building, since requirements vary and unpermitted structures can cause problems later.
What should I cover a shed roof with?
Match the covering to the pitch. For a shed roof of about 3 in 12 or steeper, asphalt shingles work well and are installed just like on a house. For a very low, nearly flat shed roof, use roll roofing or a membrane, which are made to shed water on low slopes. Either way, include drip edge and underlayment.
How far apart should shed roof rafters be?
Commonly 16 or 24 inches on center, with the exact spacing depending on the rafter size, the span, and the roof load in your area. Closer spacing and larger rafters carry more load. Cut one rafter as a template so all the rest are identical, and fasten each securely to the wall plates with proper framing hardware.
Tackling a bigger roof than a shed?
Sheds are a great DIY project; a house is another matter. When you are ready for the main roof, we install it to spec, warrantied, with all the height and risk on us. Get a free quote.
Get a Free Roof Quote