How to Build a Shed Roof, From Start to Finish

If you’ve got the tools and the time, we’ve got your back

Woman planning on ipad in the garage.
Photo: Westend61 / Adobe Stock
Woman planning on ipad in the garage.
Photo: Westend61 / Adobe Stock
Get quotes from up to 3 pros!
Enter a zip below and get matched to top-rated pros near you.
Geo Icon

Whether you need a safe, dry space for your tools, or a place to organize outdoor toys, a shed can provide you with the shelter you need. But every shed needs a sturdy roof to offer that protection. Knowing how to build a shed roof is essential if you’re planning to construct a new shed or replace a damaged shed roof. But before embarking on this DIY project, it’s important to plan ahead and know what type of roof shed you want to build. Read on to learn how to build a shed roof from start to finish.  

Types of Shed Roofs

Backyard patio with shed and table.
Photo: oceane2508 / Adobe Stock

A shed roof is more than meets the eye. The roof must stand up to wind, storms, and snow. To do that, it must have the right combination of roofing materials, steepness, underlayment, and shape. Your shed’s roof shape often has more to do with function than good looks. Here’s a look at the different types of shed roofs. 

Gable Roof

A gable roof is the most popular shed roof style. It consists of two equal slopes that meet in the middle and form a ridge or a peak. The open, triangular ends of the shed are the gable ends.  

Lean-to Roof

A lean-to roof is a roof with a single slope that extends from one high wall on one side of the shed to the other, lower side. Lean-to is a generic term that refers to either a skillion roof that’s steeper than 45 degrees or a shed roof that’s not as steep. 

Gambrel Roof

Gambrel roofs are recognizable as a popular feature on barns. Similar to a gable roof, they have equal planes on either side. However, a gambrel roof contains an additional, steeper slope below the roof’s gable portion. 

Saltbox Roof

A saltbox roof looks similar to a gable roof, except one roof plane is significantly longer than the other and rests on a shorter wall than the opposite one. 

Hip Roof

A hip roof is a gable roof with two additional slopes replacing the gable ends. A hip roof has two pairs of equal roof plane triangles that meet in the middle to form a top ridge and four other descending ridges at the corners of the roof. 

Hip-on-Gable

Hip-on-gable roofs are rare in shed roof design, although you may see them occasionally. This roof style was popular on homes in the early to mid-1900s. A hip-on-gable roof consists of a lower gable and upper hip roof and looks like someone was building a gable roof, changed their mind, and opted for a hip roof on top.

Preparing to Build a Shed Roof

Man building wooden roof
Photo: Milles Studio / Stocksy / Adobe Stock

Before starting your building project, your municipality will likely require you to obtain a building permit. Sheds are subject to rules relating to where you can place them on your property, height restrictions, footing or slab requirements, and mechanical considerations.

  1. Roofing material is a generic term for the covering on your roof. For our purposes, think of roofing materials as shingles, roll roofing, or metal roofing panels.

  2. Underlayment installs just under the shingles or other roofing material and provides a second layer of protection for the shed and its contents. 

  3. The roof deck or sheathing is the flat wooden panels that attach to the rafters and provide the roof's main surface. 

  4. Rafters for sheds are the 2x4 or 2x6 supports that rest at the angle of the roof and support the sheathing. 

  5. Trusses combine rafters with a bottom chord of wood. Assembly of roof trusses happens before installation on top of the shed’s walls. 

  6. The ridge is where two roof planes meet and form an apex. 

  7. Drip edge and fascia cover the lower, front edge of the rafters just below the roof and at the outer end of the eaves and rakes, which are the sloped edges of a gable roof.

  8. Soffits can refer to location or material. A soffit is under the roof’s eaves and extends from the fascia to the shed’s wall. 

  9. Birdsmouth is a particular triangle-shaped cutout in a rafter that provides a place for the rafters or trusses to rest on the shed wall. 

  10. Bird blocking goes between the rafters on top of the shed wall. It fills the void between the roof deck and the top of the wall. Installing bird blocking may not be necessary if solid soffit panels are present. 

How to Build a Shed Roof

Young woman putting roof on shed.
Photo: Lisa F. Young / Adobe Stock

Building a shed roof requires several steps and a bit of mathematics. Taking your time while planning and measuring will save a great deal of mistake-fixing effort later. 

Plan Your Roof 

Every good roof starts with a plan.   

  1. Accurately measure the length and width of the shed. 

  2. Choose a roof style. Remember that lean-to and saltbox roofs are only appropriate for sheds that have a tall side and a short one. 

  3. Choose the roof's pitch or slope. The pitch refers to the roof's steepness and presents itself as a ratio. A pitch of 6:12 means that the roof ascends six inches for every horizontal foot and creates a 45-degree angle. 

  4. Choose your type of roof material. For roofs with a pitch of less than 3:12, you’ll need to install a membrane roof instead of shingles or other material. 

  5. On the shed wall top plate, mark the location of the rafters or trusses every 16 inches on center. 

Frame Your Shed Roof

To frame a shed roof requires 2x4s if you’re building trusses and 2x4s or 2x6s for rafters, depending on how strong the roof needs to be to stand up to snow or heavy winds. Although you can choose rafter framing for any roof style, truss framing is easier and faster. For lean-to and hip roofs, choose rafter framing for simplicity. 

Rafter Framing

  1. For lean-to roofs, cut rafters that span the width of the shed plus an overhanging amount for the eave.

  2. For hip roofs, calculate the length of each rafter between the ridge board and the wall’s top plate and add an overhanging amount for the eaves.

  3. Cut birdsmouths into the eave end of the rafters, where they’ll rest on the top plate. Use a speed square and jigsaw to make a cutout that matches the roof’s slope. 

  4. Install the first few rafters to support the ridge board. Then continue until the two long sides are complete. 

  5. Repeat the rafter cutting and installing procedure for the hip ends of the roof while installing a hip ridge board from each wall-top corner to the roof ridge board. 

Truss Framing

  1. Use your shed width measurement to determine the trusses' bottom chord length. 

  2. Calculate the length of the rafter boards depending on your chosen roof style.

  3. Decide if you’ll install your trusses with or without birdsmouth cuts. It’s common to skip birdsmouths and simply run the bottom chord to the dimension of the total shed width. 

  4. Cut the bottom chords and rafters. Remember to add an overhang amount to the rafters for eaves. 

  5. Cut six gusset plates for each truss from plywood that you’ll use to hold all the parts together. 

  6. Lay out your first truss on the ground and secure the lumber intersections with three gusset plates and appropriate nails. 

  7. Flip the truss over and install the other three gusset plates directly opposite the first three. 

  8. Test fit your truss on the shed. 

  9. Repeat the above steps for each truss until you have enough to cover the roof. 

Install Trusses 

It’s necessary to have an assistant for installing trusses. 

  1. Lift the first truss into place at one of the gable ends and have one person support it upright.

  2. Use 16D nails, at least two on each side of the truss, to toenail it into the top of the wall. 

  3. Support the first truss by nailing a 2x4 from the top of the truss to a wall stud. 

  4. Repeat the first two steps to install the next truss. 

  5. Temporarily attach the second truss to the one prior with a 2x4 for support. Nail the lumber to the underside of the rafters. 

  6. Repeat steps 4 and 5 until all the trusses are in place. 

  7. Nail a “rat run” on the top edge of the bottom chords. A rat run is a series of long 2x4s that attach the trusses’ bottom chords together and extend from one gable end to the other. 

Install Roof Decking

Every roof needs decking. Here’s how to install it correctly.

  1. Nail full sheets of roof decking oriented strand board (OSB) or plywood to the rafter tops starting at the bottom. 

  2. Stagger the roof decking joints. In other words, don’t install two subsequent rows of decking with their ends landing on the same rafter. Leave a quarter-inch gap between the sheets to allow them some room to expand in case they absorb moisture.

  3. Install roofing clips between decking panels if local code requires their use. 

  4. Cut and install pieces of OSB or plywood to fill in the remaining voids.

Finish Framing Details

There are just a few details to wrap up before the big finish. 

  1. Install a lumber fascia board around the perimeter of the eaves.

  2. Install a metal or vinyl fascia covering and drip edge around the roof perimeter. 

  3. Install a metal, vinyl, or plywood soffit under the eaves between the fascia and the shed.

  4. If you skip installing a soffit, install bird blocking to fill the void between the roof decking and the shed wall between the rafters. Simply cut a 2x4 piece to fit and use nails to secure it in place. Also be aware that the nails from your roof installation will penetrate the decking, making them visible. By code, nails must extend through the decking.

Install Roofing Materials

Shingles, roll roofing, corrugated metal, corrugated plastic, or membrane are typical roofing materials for sheds. Follow the manufacturer's instructions to install a rolled, metal, plastic, or shingled roof.

A shingled roof is a common choice for sheds. Here are the basic steps you must take to install a shingled shed roof:

  1. Install ice and water guard or felt paper underlayment.

  2. Install a starter strip of shingles along the bottom edges of the roof and up the rakes. Make sure the first row of the shingle's edge is offset from the starter row at least 3 inches. They should not line up or water will flow through the seam.

  3. Install individual shingles using four to six nails each. Place the nails closest to the edge about two inches away from each shingle end.

  4. Stagger the seams in each subsequent row of shingles at least three inches apart.

  5. Use gloves, a straightedge, and a sharp utility knife to trim the shingles at the roof’s edges. 

  6. As you reach the top of each roof plane, cut the last row of shingles to fit.

  7. Complete your shed’s roof by following the manufacturer's instructions to install the ridge shingles. 

  8. Cover any exposed fasteners on the roof with roof sealant to prevent corrosion and oxidation.

How to Take Care of Your Shed Roof   

Shed roof maintenance is similar to essential roof maintenance for your home. You should regularly check your shed roof, especially after intense storms and high winds. If you spot debris on your shed roof, remove it immediately. If you notice any damage, repair it as soon as you can. If you build your shed under shady trees, you may need to scrub off moss or fungus from time to time using a bleach and water solution.  

“Do not ever power wash a shingle, rolled roofing, or modified bitumen roof. Power washing will prematurely remove the granules and destroy the shingles,” says Ami Feller, Expert Review Board member and owner of Roofer Chicks in New Braunfels, TX.

DIY Shed Roof Building vs. Hiring a Pro

Building a shed roof is an excellent way to enhance your DIY skills and save some money over professional installation. However, it’s time-consuming, labor intensive, and may not be every homeowner’s idea of a good time. If that’s your situation, you can hire a local carpenter or a nearby shed builder to perform the task for you. 

Professional shed installation costs around $2,500 for an average project and varies dramatically depending on numerous factors. If you’re on the fence about doing the job alone, getting a cost estimate or two may help you decide. 

Frequently Asked Questions

The easiest shed roof to build is a lean-to roof with just a single sloping plane from one side of the building to the other. The rafters are single pieces of wood that span the distance, and no additional supports are necessary. 

The most common slope, or roof pitch, for a shed is 4:12 or four inches of height for every horizontal foot. For areas that experience heavy snow loads, a steeper roof of 6:12 or 9:12 is best. 

Need professional help with your project?
Get quotes from top-rated pros.
The homeowners guide to roofing services
From average costs to expert advice, get all the answers you need to get your job done.
Ceramic tiled roof on house
Jan 10, 2025
Jan 10, 2025
A new roof improves curb appeal, increases home and keeps your living space protected from the elements. Learn about average roof replacement costs to set your budget.
Detail of a roof with a garret house among trees
Jan 10, 2025
Jan 10, 2025
Sealing your roof can help preserve its life span—you just have to choose the right coating. This guide will help you budget for your total roof coating cost.
A Cape Cod style house with a steep roof
Jan 14, 2025
Jan 14, 2025
Raising the roof on a Cape Cod house adds valuable living space. Learn how much it costs to raise the roof on a Cape Cod house and what affects the price.
A worker installing new roof
Dec 13, 2024
Dec 13, 2024
If you want to attempt to DIY a roof replacement, follow these steps on how to replace a roof without a professional.
A beautiful house lit at twilight
Dec 11, 2024
Dec 11, 2024
Do roofers have to be licensed? This guide will run through roofing licenses by state, so you know exactly what to look for when hiring a roofing contractor.
A house with metal roof and solar panels
Dec 9, 2024
Dec 9, 2024
Installing solar panels on a metal roof can mean more energy efficiency, as well as earn you some tax credits.
Share project details to get started.