If you want to know how to build a lean to shed, the short version is this: one tall wall, one low wall, and a row of identical rafters between them. There is no ridge board to hold up and no ties to fit. That makes it one of the simplest roofs a beginner can frame.
This guide covers a freestanding lean-to shed on its own base: the sizes, the wall heights, the rafters, the roof and the floor, with the numbers from the shed designer. If you want to attach a lean-to to a house, garage or another shed, read the lean-to on a shed guide instead.
What a lean-to shed is
A lean-to shed, also called a single-pitch or shed-roof shed, has one sloping roof plane. The front wall is tall and the back wall is short. The rafters run from the front wall to the back wall, and rain runs off the low edge. The designer offers three slopes: 2:12, 3:12 and 4:12.
One slope, two wall heights
The front wall is the door wall and it stays at full height. On the designer’s default it is 97-1/8 inches to the top plate, built from 92-5/8 inch precut studs plus a bottom plate and two top plates. The back wall drops with the slope. The rule the designer uses is simple: back wall height equals the front wall height minus the rafter span times the slope.
For a 10x8 lean-to at 3:12, the span is 8 ft minus 3-1/2 inches, or 92-1/2 inches. Multiply by 3/12 and you lose 23-1/8 inches, so the back wall is 74 inches. The front and back walls carry the roof. The two side walls do not.
What a lean-to is good for
The door goes on the tall front wall, where there is the most room for it. Because the roof is one plane, every rafter is cut once and copied. Because the shape is so plain, a lean-to fits along a fence or a lot line where a gable’s ridge would waste room. Storing firewood is its own subject, covered in our firewood shed plans.
The trade-offs
A lean-to has real downsides, and the numbers show them.
- Headroom falls toward the back. The deeper the shed, the lower the back wall. The designer warns when the back wall reaches 68 inches on a 10 ft deep shed, and it blocks the design at 12 ft deep on a 3:12 slope, where the back wall would be 62 inches.
- All the water goes one way. Every drop lands along the back eave, so plan where it drains.
- Rafters carry the whole depth. A gable splits the span at a ridge. A lean-to does not, so deep sheds need deeper boards.
- A low slope needs care. Shingles need double underlayment below 4:12, and lapped metal panels have their own minimum.
Pick the size and slope first
Everything else follows from the width, the depth and the slope, so settle them before you buy lumber. The designer accepts a width of 4 to 16 ft and a depth of 4 to 24 ft, but a lean-to lives best on the small end.
Four lean-to sizes
These are the four lean-to plans on the site, each at the default 3:12 slope, 16 inch rafter spacing and 6 inch overhang. The size is width by depth.
| Shed | Back wall | Rafters (2x6) | Rafter span | Roof OSB / shingle bundles |
|---|---|---|---|---|
| 8x4 | 86 in | 7 at 63-1/4 in | 3 ft 8-1/2 in | 2 / 2 |
| 8x6 | 80 in | 7 at 87-15/16 in | 5 ft 8-1/2 in | 2 / 2 |
| 10x8 | 74 in | 9 at 112-11/16 in | 7 ft 8-1/2 in | 4 / 4 |
| 12x8 | 74 in | 10 at 112-11/16 in | 7 ft 8-1/2 in | 4 / 4 |
The front wall is 97-1/8 inches on all four, and each one stands 9 ft 8-1/2 inches tall overall on a skid floor. The four plans are 8x4, 8x6, 10x8 and 12x8, and the plans index lists the rest. Each plan has its own cut list.
Three slopes on a 10x8
Slope changes the back wall, the rafter length and the underlayment. Here is the same 10x8 at each slope the designer offers.
| Slope | Back wall | Rafter length | Tallest rake stud | Underlayment |
|---|---|---|---|---|
| 2:12 | 81-11/16 in | 110-7/16 in | 12-7/8 in | 2 layers, 2.1 squares |
| 3:12 | 74 in | 112-11/16 in | 19-5/16 in | 2 layers, 2.1 squares |
| 4:12 | 66-5/16 in | 115-11/16 in | 25-3/4 in | 1 layer, 1.1 squares |
A steeper slope drains faster, but it costs headroom at the back. At 4:12 the designer warns that the back wall is only 5 ft 6-5/16 inches. A flatter slope keeps the back wall high but pushes you into the low-slope roofing rules in the next section. Our roof pitch guide covers pitch in general. You can open the same shed at 2:12 or 4:12 in the designer.
How deep can you go
Depth is what stretches the rafters. The designer picks the smallest board that passes: it tries 2x6, then 2x8, 2x10 and 2x12. On a 10 ft wide lean-to at 3:12 it picks 2x6 for depths up to 12 ft, 2x10 at 16 ft deep and 2x12 at 20 ft deep. At 24 ft deep the span is more than a 2x12 can carry, and the designer reports an error.
Long boards are special orders. The designer warns that 2x10 rafters at 16 ft deep need 20 ft boards, and that 2x12 rafters at 20 ft deep need 24 ft boards. It never splices a lean-to rafter: each one is a single piece, and no rafter longer than a 24 ft board is allowed. The sensible move for a first build is to stay at 8 ft deep or less.
How to build a lean to shed, step by step
The order below is general practice for a small shed on skids, and your building department and the maker’s instructions come first. The parts, counts and lengths are the designer’s numbers for the 10x8.
Step 1: Prepare the base and frame the floor
Check the rules for your address first. Our shed permit basics explain how the thresholds vary. Then call 811 before you dig, a free national service that asks you to contact it a few business days ahead (Common Ground Alliance).
The designer’s floor sits on 4x6 pressure-treated skids that run front to back on a gravel pad. A 10 ft wide shed gets 4 skids, and the pad is the footprint plus 12 inches on every side, 4 inches deep. For the 10x8 that is 1.48 cubic yards. Read the shed on skids guide for the level and the spacing.
The floor is a 2x6 pressure-treated frame with 7 joists at 16 inches on center for the 10x8, each 117 inches long, closed by two 96 inch rim joists. The subfloor is 3/4 inch tongue-and-groove plywood, 3 sheets, glued and screwed. The joists sit on top of the skids, so the frame is flat and square before any wall goes up.
Step 2: Frame the four walls
Build each wall flat on the subfloor, then stand it up. The designer frames with 2x4 studs at 16 inches on center, a single bottom plate and a doubled top plate. Here is what the 10x8 needs.
- Front wall, 120 inches long. 10 studs of 92-5/8 inches plus the door framing. The door is 48 inches wide, with two jack studs and a header of two 2x6 boards 51 inches long.
- Back wall, 120 inches long. 11 studs of 69-1/2 inches, with no openings.
- Side walls, 89 inches long. 7 studs of 69-1/2 inches each, plus a window on one side if you want one.
- Rake infill studs. The designer builds each side wall to the height of the back wall, then adds short studs on top, 5 per side on the 10x8, from 3-5/16 to 19-5/16 inches, to close the gap up to the roof slope.
The front and back walls are the bearing walls, and the side walls are not. That is why the door header lives on the front. Our frame shed walls guide walks through the studs, plates and openings in detail.
Step 3: Set the rafters and check the span
This is the part that makes a lean-to shed frame different from a gable. Every rafter is the same and goes on the same way.
- Cut one rafter from a 10 ft 2x6. The designer’s rafter is 112-11/16 inches long at 3:12 and has a 6 inch overhang at each end.
- Cut the seat, the notch that sits on the top plate. It is 3-1/2 inches long at every slope and 7/8 inch deep at 3:12. The depth is 9/16 inch at 2:12 and 1-3/16 inches at 4:12.
- Test that first rafter on the walls. If it sits flat on both plates, use it as the pattern for the rest.
- Lay out the rafters at 16 inches on center. The 10x8 needs 9, and the 12x8 needs 10.
- Fix each rafter to the plates. The designer lists a rafter-to-plate connector at every bearing, 18 on the 10x8, and 16d and 10d nails for the rest.
The seat cut is shallow, so it stays inside the model code’s rule for notched overhangs, which asks for at least 3-1/2 inches of board left and a cantilever of no more than 24 inches (2021 IRC, R802.7.1.1). A 2x6 is 5-1/2 inches deep, so even the 1-3/16 inch seat at 4:12 leaves more than 4 inches. The shed rafters guide has the cutting details and a lean-to section.
The designer checks the rafter as a beam that spans the shed’s whole depth. Its clear span is the depth minus 3-1/2 inches, so 7 ft 8-1/2 inches on the 10x8. A 2x6 at 16 inches on center, with 30 psf of snow and 10 psf of dead load, is allowed 11 ft 8-7/8 inches, so there is 52 percent to spare. At 3:12 or lower, the check uses a deflection limit of L/240, because the model code puts L/180 only on rafters steeper than 3:12 (2021 IRC, Table R301.7). For comparison, the model code’s span table gives a 2x6 at 16 inches on center 11 ft 11 inches at 30 psf, measured along the horizontal projection (2021 IRC, R802.4.1). Your local snow load may be higher, so ask.
Step 4: Sheathe, roof and side
Sheathing and roofing are covered in the next section. The siding comes last. The designer lists 4x8 panel siding for the walls: 15 panels for the 10x8. The lower back and side walls take 7 panels in one piece each. The 97-1/8 inch front wall is taller than one 4x8 covers with the floor frame, so it gets 6 panels, two stacked per 4 ft of wall, with a horizontal joint on Z-flashing over 2x4 blocking. The last 2 panels are for the sloped sides, and 5 pieces of 10 ft Z-flashing cover the 46 ft of horizontal joint. In the designer you can swap the stacked front panels for 3 panels of 4x9, which it flags as usually special order. Our shed siding guide has the nailing and the trim.
How to build a single pitch shed roof
The roof is where the low slope matters. Get the sheathing, underlayment and edges right and the rest is repetition.
No ridge and no ties
A gable roof has a ridge board one size deeper than its rafters and a 2x4 tie across every pair. A lean-to has neither. The rafters do not meet at the top, so there is nothing to hold up and nothing to tie together. The designer draws the roof as 9 identical rafters bearing on two walls. Your building department may still ask for something specific to your area, and the connector at each bearing is what resists wind lift.
Sheathing, underlayment and shingles
The designer sheathes with 7/16 inch OSB, 4x8 sheets, with H-clips between the rafters where the edge has no support. The 10x8 needs 4 sheets and the 12x8 also needs 4, and the 8x4 and 8x6 need 2. The model code’s table gives a 24/16 panel of 7/16 inch a 24 inch span on the roof (2021 IRC, Table R503.2.1.1(1)), which fits rafters at 16 inches. Shingles need a solid deck under them (2021 IRC, R905.2.1).
The roofing rules change with the slope, and a lean-to lives on the low end.
- Below 2:12: asphalt shingles are not allowed (2021 IRC, R905.2.2), and the designer offers nothing flatter than 2:12.
- 2:12 up to 4:12: shingles are allowed with double underlayment, a 19 inch starter strip at the eave and then 36 inch sheets lapped 19 inches (2021 IRC, R905.2.2 and Table R905.1.1(2)).
- 4:12 or more: one layer of underlayment, lapped 2 inches (2021 IRC, Table R905.1.1(2)).
That is why the table above shows 2.1 squares of underlayment at 2:12 and 3:12 and 1.1 squares at 4:12. The 10x8 at 3:12 needs 4 bundles of shingles, 1 bundle of starter strip, a 10 square roll of underlayment and 5 pieces of 10 ft drip edge. A drip edge goes on the eaves and the rakes, with the underlayment over it at the eave and under it at the rake (2021 IRC, R905.2.8.5). The how to shingle a shed roof guide covers the courses.
Metal roofing on a lean-to
Metal panels have a different minimum. Lapped metal panels without soldered seams need 3:12 if the laps have no sealant, and only 1/2:12 with sealant applied to the laps (2021 IRC, R905.10.2). That means a 2:12 lean-to needs sealant in the laps, while 3:12 and 4:12 do not. The panel maker may ask for more, so its instructions win. See the metal roof guide.
Overhang and wind
The designer’s overhang setting runs from 0 to 12 inches and defaults to 6. On the 10x8 at 3:12 the rafter is 100-5/16 inches with no overhang, 112-11/16 with 6 inches and 125-1/16 with 12. Overhang is added at both the front and back eave. The model code also limits roof panels to a 9 inch projection past a gable end wall unless framing supports them (2021 IRC, R803.2.3); a lean-to has no gable, so ask how your building department reads its raked side edge.
On wind, the model code lets you nail rafters to the plates without connectors only if uplift stays under 200 pounds per rafter, or with wind up to 115 mph, exposure B, a slope of 5:12 or more, a span to 32 ft and rafters at 24 inches or closer (2021 IRC, R802.11). A lean-to at 2:12 to 4:12 is below that 5:12 slope, so the shortcut does not cover it. The designer lists a connector at every bearing and 4 ground anchors either way.
The base and footings
A freestanding lean-to does not need concrete footings in most small-shed cases, but the rules are local, so check yours.
Skids on gravel
The designer’s lean-to floor sits on skids: 4x6 timbers, pressure-treated for ground contact (AWPA use category UC4A, Preserved Wood), lying on a gravel pad. The skids run front to back and the floor frame rests on top. Our gravel shed base guide explains the pad.
What the codes say
The 2021 IRC exempts a one-story detached accessory structure up to 200 square feet from a building permit, but the exemption does not excuse breaking the code (2021 IRC, R105.2). It also says free-standing light-frame accessory buildings of 600 square feet or less with an eave height of 10 feet or less need not be protected from frost (2021 IRC, R403.1.4.1). All four lean-to plans, from 32 to 96 square feet, are far under those numbers. Towns differ. Elgin, Illinois accepts a gravel base with code-approved tie-downs, and Prince William County, Virginia exempts sheds up to 256 square feet from a permanent foundation if the floor is no more than 18 inches above grade, ground-contact wood is treated and the shed is anchored for wind. Neither is your town.
When the lean-to leans on something
If your roof will run into an existing wall, the base and the roof change: the high edge is bolted to a ledger, the wall needs flashing, and posts need footings. That is a different build with its own sections in the lean-to on a shed guide. Everything above assumes a freestanding shed with four walls of its own.
A lean-to on a budget, for beginners
You do not need a price list to build cheaply. You need fewer parts.
Keep it small and shallow
Materials scale with area. The 8x4 needs 54 boards in the designer’s list and the 10x8 needs 72. Depth is the multiplier, because it lengthens every rafter and lowers the back wall. Going from 8 ft to 12 ft deep on a 10 ft wide shed pushes the back wall to a blocked 62 inches. A lean-to 10 ft wide and 8 ft deep is a better size than one 10 ft wide and 12 ft deep for that reason.
Cut the layers, not the corners
Choose panel siding straight on the studs, one layer. Keep the front wall at the default 97-1/8 inches, since the designer’s precut studs fit it with no cutting. Buy lumber from the designer’s list so each board is bought once. Do not skimp on the parts that hold the roof on: the connectors, the drip edge and the underlayment.
A sensible first build
Start with the 10x8 lean-to plan or the smaller 8x6. Both use 2x6 rafters and a 3:12 slope, and both fit on 4 or 3 skids. Then open the shed designer to change the door, the windows or the slope. For the wider view of a full build, from base to trim, read the how to build a shed guide.
Questions people ask
Build a level base, frame a floor on it, then raise a tall front wall and a shorter back wall with matching side walls. Lay identical rafters from front to back, sheathe them, and roof the slope. On the designer's 10x8 that means 4 skids, 4 walls, 9 rafters and 4 sheets of roof OSB.
For a small freestanding lean-to, often not. The model code does not require frost protection for a light-frame accessory building of 600 square feet or less with a low eave (2021 IRC, R403.1.4.1), and some towns accept a gravel base with tie-downs. Local rules decide, and an attached lean-to's posts are a different question.
The back wall is low, so headroom shrinks as the shed gets deeper. All the rain runs off one edge. The rafters span the full depth, so deep sheds need bigger boards. Below a 4:12 slope, shingles need double underlayment. Those are the real trade-offs, and a shallow lean-to keeps them small.
Six inches is the designer's default, and its overhang setting runs from 0 to 12 inches. A longer overhang pushes rain further from the siding but lengthens every rafter tail, and the model code caps a notched cantilever at 24 inches. Pick the overhang before you cut, because it sets the rafter length.
Keep it small and shallow. Fewer square feet means fewer boards, sheets and bundles, and a shallow depth keeps the rafters to cheap 2x6 stock. Skip extras such as extra windows, pick panel siding on bare studs, and use the designer's list so you buy each item once.
Yes, it is one of the friendlier sheds. Every rafter is the same length, there is no ridge to hold up and no ties to fit, and there are no gable triangles to cut. You still frame a floor, four walls and a roof, so read the steps first and work slowly.
On the designer's 10 ft wide lean-to at 3:12, 2x6 rafters carry depths up to about 12 ft on span alone, but the back wall gets too short by then. At 16 ft deep it switches to 2x10, and at 20 ft to 2x12. At 24 ft deep no board works.
Sources
The figures in this guide that do not come from our own shed designer were checked against these 10 pages and documents. The date shows when we read each one.
- City of Elgin, IllinoisQuick Guide: ShedRead
- Common Ground Alliancecall811.comRead
- International Code Council2021 International Residential Code, Chapter 1: Scope and AdministrationRead
- International Code Council2021 International Residential Code, Chapter 3: Building PlanningRead
- International Code Council2021 International Residential Code, Chapter 4: FoundationsRead
- International Code Council2021 International Residential Code, Chapter 5: FloorsRead
- International Code Council2021 International Residential Code, Chapter 8: Roof-Ceiling ConstructionRead
- International Code Council2021 International Residential Code, Chapter 9: Roof AssembliesRead
- Preserved WoodSpecifying with AWPA Use Categories for ConstructionRead
- Prince William County Development Services, VirginiaGuidelines for Building a ShedRead