Skip to content
Design free

Building it

How to Build an A-Frame Cabin: The Seven Steps in Order

An A-frame has no walls to frame, so the order of work is different from a regular house. Here are the seven steps, with the real counts our designer draws for an 18x24 A-frame, and the checks to make before you start the next one.

By The Cabin PlannerUpdated 14 min readChecked against 5 sources

How to build an A-frame cabin: rafter pairs standing on the floor deck with temporary bracingIllustration

The short answer

You build an A-frame from the ground up in seven steps: piers and beams, floor, rafter pairs, gable walls, roof, loft and ladder, then dry-in. The roof is the walls, so the rafter pairs are the big job. For our 18x24 A-frame that means 18 piers, a 24 ft by 18 ft floor, 13 pairs of 2x8 rafters at 24 in on center and a material list of about $14,164 at one Home Depot store.

An A-frame is the simplest roof you can build and the least forgiving one. There are no walls: the rafters come down from the peak to the floor, so every rafter is also a wall stud, and a small error in the first pair repeats down the whole cabin. That is why the order of work matters more here than on a regular house.

This guide walks the seven steps in the order we draw them in our builder’s plan, and gives the real counts for our 18x24 A-frame with a loft, from our cabin designer. Where a rule comes from the code or another document, we say so. Where it is our own convention, we say that too. We sell plans, so read us with that in mind.

Before You Start

Three decisions come before the first stake: whether you need a permit, what loads the cabin is built for, and who is helping you.

Permit and the 200 sq ft line

The 2021 International Residential Code1 lets a town exempt a one-story detached accessory building of 200 sq ft or less from a building permit, and the work must still meet the code. Our 14x14 preset is 196 sq ft for that reason. The 18x24 in this guide is 432 sq ft, so it needs a permit. A cabin someone sleeps in is a dwelling under the IRC whatever its size, and your town may add its own size, setback or occupancy rules. Call the building department with your size and use before you buy materials.

Loads and the engineer

Your building department gives the ground snow load, the design wind speed, the frost depth and the soil. Our designer’s defaults for the 18x24 are 30 psf of ground snow and 115 mph of wind. Above 70 psf of ground snow, the IRC1 sends the building to an engineer.

Even at the default loads, we draw four things as hold points that we do not design: the lateral bracing, the foundation’s lateral and uplift design, the loft guard along its length, and the handrail posts. Our plan says so on its first page and asks you to have an engineer design them before you build. An A-frame has no braced wall line in the sense the code uses, so its lateral system is outside the prescriptive tables. What the permit office asks for is in A-frame cabin permit, the snow number in A-frame cabin snow load and the piers in A-frame cabin foundation.

Limit

Not engineered, and we say so

Our plan is not stamped. If your building department asks for a stamp, take the plan to a local engineer with the hold points marked. Do not read the checks that pass as an overall pass.

Site, tools and crew

Call 811 before you dig. Keep three people on site whenever a rafter pair goes up, and use fall protection for any work at the peak. For tools, you need a good circular saw, a speed square, a 4 ft level, string line and stakes, a post-hole digger or an auger, a drill with an impact driver, and a framing nailer if you want the work to go quickly. Add scaffolding or roof jacks for the roof step.

The 18x24 material list in the designer comes to about $14,164 at The Home Depot’s3 Hamilton Mill store prices read on October 8, 2026. That is materials only, with no tax, delivery, tools, permit fees, insulation or finishes. Our guide on A-frame cabin kits vs plans puts that number next to real kit prices.

1Piers and beamsCheck:Beams level and straight2Floor and subfloorCheck:Diagonals within 1/4 in3Rafter pairsCheck:First pair plumb4Gables and openingsCheck:Openings square5Sheathing and roofCheck:No deck left bare6Loft and ladderCheck:Guard on the open edge7Dry-inCheck:Every seam taped

Each step ends with a check. Do not start the next one until you have made it.

Step 1: Piers and Beams

The cabin stands on piers and posts with beams across them, no slab. That keeps the dig small and puts the floor above the ground.

Layout and piers

Stake the corner, run string lines for the outside beam lines and square them with the 3-4-5 rule. The diagonals should match within 1/4 in. The 18x24 has 18 piers: you dig each hole 24 in deep, pour a 24 in round footing, set a 12 in form tube, fill it and set a post base on the string line. The depth is our designer’s frost input of 24 in, and it never draws a footing less than 12 in below undisturbed ground (IRC1 R403.1.4). Your frost depth is set by your building department, so change it before you dig.

For the piers alone the designer counts 99 bags of 80 lb concrete mix. Our footing size assumes soil of 1,500 psf, the lowest column of the code’s presumptive table, which is our convention, so an engineer or a soil report can change it.

Posts and beams

Each post is a 6x6 treated timber, cut to the same short length from one level line. On the 18x24 the posts are 11 3/4 in long, because the post bases hold them 1 in above the pier. Treated wood is what the code asks for wherever lumber is close to the ground (IRC1 R317.1).

The beams are three plies of 2x8, on three lines, 9 ft apart across the 18 ft width. The posts sit 5 ft 10 7/8 in apart along each line. The plies are nailed together in two rows, 32 in on center, with the joints over the posts and never two plies joined at the same post. Our plan uses 16d hot-dip galvanized nails, a heavier nail than the code’s fastener schedule lists for built-up beams. Seat each beam in its post cap and bolt on the crossed 2x6 braces. At the end of this step every beam should be level and straight, every cap nailed and every base on its mark.

Step 2: Floor Frame and Subfloor

The floor is the base of the whole A-frame. The rafters sit on it, so a floor out of square tilts the roof.

Joists and ties

The 18x24 floor has two 24 ft band boards, two end joists and 11 floor joists, all 2x8 treated lumber at 24 in on center, spanning 9 ft between the beams. The joists are also the rafter ties, so they carry the outward push of the roof at the heel. Put a hurricane tie on every joist end that lands on an outside beam; the 18x24 uses 26 Simpson H2.5A ties. At the default loads the designer puts those joists at 87% of their capacity.

Subfloor and porch

Glue and nail the subfloor, 20 sheets of 23/32 in tongue and groove plywood on the 18x24 and 10 tubes of adhesive. Cut a heel notch at every joist end, where the rafter will land. Our 18x24 has a 6 ft porch, framed with its own 2x6 joists set below the cabin floor and decked with 39 boards, with a four-riser stair to the ground. Leave the porch for after the rafters if you want a clean working floor.

Check before you cut

Check the diagonals again

Measure the two diagonals of the finished floor before you cut a single rafter. If they are more than 1/4 in apart, fix the floor now. A rafter pair cannot hide a floor out of square.

Step 3: Rafter Pairs

This is the heart of the build. The 18x24 has 13 pairs of 2x8 rafters at 24 in on center, plus two fly rafters at each end that make the gable overhang. Each rafter is 18 ft along its outside edge, cut from 20 ft stock, with a 60 degree plumb cut at the peak and a seat cut at the floor.

Cutting the pairs

Cut one pair first, test it on the floor, and use it as a pattern for the rest. Mark the plumb cut at the peak and the seat cut at the foot on the first rafter, check it against the string line on the deck, then trace every other rafter from it. A rafter 18 ft long and 60 degrees steep is heavy to hold, so cut on a pair of sawhorses and leave the pencil lines clear.

At the default loads our designer’s check puts a 2x8 rafter at 85% of its capacity at 24 in on center. At 20 ft wide the designer moves to 2x10 rafters, as it does for our 20x24 preset.

Gussets and collar ties

There is no ridge board. Each pair meets at the peak and is tied by a plywood gusset nailed to both rafters. The designer draws 24 peak gussets of 24 in by about 24 in each, four sheets of plywood, nailed with 10d by 1 1/2 in connector nails, 1 1/2 in from the edges and 2 in apart. The nails, not the plywood, are what hold the pair together, so count them: our rule is that the nail group of each rafter carries the whole ridge force of the pair, a check of our own designer that sizes the nails by the wood design method of the AWC National Design Specification.

Two of the 13 pairs get a 2x6 collar tie, 63 15/16 in long, nailed to the back face of the pair. Collar ties resist wind uplift in the upper third of the space. The wind pull on the ridge of a roof this steep is one of the hold points above.

Assemble each pair flat on the floor deck, gusset and collar tie on, before you lift it.

Raising them safely

Never raise a pair with fewer than three people. Set the heels on their 23/32 in plywood shims, each over its floor joist, lift the peak, brace the pair with temporary boards and then nail the heel gussets on: 15/32 in plywood plates tying each rafter to its joist, six nails into the rafter and six into the joist on each face. The 18x24 has 48 heel gussets, and the designer puts them at 31% of their capacity.

Start at one end and raise one pair at a time. Check it for plumb and for straightness over its joist before the next one goes up. If the first pair leans, every other one will.

Step 4: Gable Walls, Door and Windows

Only the two ends of an A-frame are walls. They are the only vertical framing in the cabin, and they carry the door and the windows.

Framing the gables

Frame each gable as a triangle of 2x4 studs, with the top of every stud cut to the slope of the end rafter. Put blocking behind the siding joints, then the fly rafters at the overhang and the 2x4 ladder blocks between the fly rafter and the end rafter. The 18x24 has 40 of those blocks, 10 1/2 in long.

Openings

The door is a 3/0 steel door in a 38-1/2 in by 82 in rough opening under a double 2x8 header, 41-1/2 in long. A full-size door needs enough width under the end rafters, and the designer tells you if your size is too narrow for it. The 18x24 has two windows in the front gable and one in the back. Frame every opening with king studs, jack studs and a two-ply header on edge, and a sill under each window.

Close both gables in 19/32 in T1-11 plywood siding, 10 sheets for the 18x24, nailed with 8d at 6 in on the edges and 12 in in the field, over house wrap with flashing tape in every opening.

Step 5: Sheathing, Clips and Roof

The roof is the biggest part of the build and the biggest single cost after the foundation. On our 18x24 the roof group is about $3,962 of the $14,164.

Sheathing and clips

The roof planes are sheathed in 15/32 in plywood, 39 sheets on the 18x24, with every end joint on a rafter. Nail with 8d common nails at 6 in on the panel edges and at 6 in on the intermediate rafters, the spacing the 2021 IRC1 fastener schedule moved to for 8d common nails, as Simpson Strong-Tie’s4 engineers summarize the change. Put a Simpson PSCL panel clip between every pair of rafters on every horizontal joint: the 18x24 takes 112 clips, three packs of 50.

Underlayment and steel

From the bottom up, on scaffolding or roof jacks and with fall protection: drip edge first, 13 pieces of 10 ft for the 18x24, then synthetic underlayment, two rolls, then the roofing. A steel roof on this cabin is 54 ribbed panels of 8 ft, three ridge caps, self-drilling screws and butyl tape at the laps. A shingle roof, as on our 20x24 preset, puts shingles over the same sheathing and underlayment in place of the steel panels. Finish with the ridge cap and check that no sheathing is left exposed.

Step 6: Loft and Ladder

The 18x24 has an 8 ft deep loft at the back. It is a storage loft, and that is our designer’s call: only 19 sq ft of its floor has 5 ft of ceiling height, and a sleeping loft needs 70 sq ft under the code. The loft rules by size are in A-frame cabin loft.

The loft floor

The loft joists are four 2x8s on the front face of the rafters, with their ends cut to the slope, and a ledger on the back gable studs. The floor is plywood over them. Our designer measures 37 sq ft of floor with 3 ft or more of headroom, 7 ft 0 1/2 in at the peak. Under the code’s tiny house appendix, a sleeping loft needs at least 35 sq ft of floor and 5 ft in any direction, counting only the floor with 3 ft or more of headroom (IRC1 Appendix AQ). That path is only for dwellings of 400 sq ft or less, which the 18x24 is not, so the designer treats a sleeping loft here as habitable space under the full code.

Guard and ladder

The loft edge needs a guard. We draw 6x6 treated posts on two 1/2 in galvanized rods through the loft floor, with 23/32 in plywood panels between them and a 2x6 top rail, so no opening passes a 4 in sphere. The ship ladder is two 2x12 stringers with nine 2x10 treads let into 3/4 in dadoes, at 59 degrees, ten risers of 8.8 in, and a foot block screwed into the floor framing. The guard and the ladder handrails are hold points: the designer says an engineer should design the guard along its length and the handrail posts.

Step 7: Dry-In, Then Insulate

Dry-in means the shell is weather tight: roof on, gables wrapped and sided, door and windows set and taped. Stop here and check before anything goes inside.

Close in

Lap the house wrap and tape every seam. Set the door and windows as their makers’ instructions show, with a flashing tape sill pan in each opening, and put Z flashing over every opening and siding joint, sealed and caulked. On the 18x24 the doors and windows come to about $957 and the gables to about $589, at the same October 8 prices.

What comes after

Insulation, vapor control, wiring, plumbing, heat and finishes are not part of our plan: plan them with the trades before you close the walls. Insulate after the shell is dry and before the interior goes on. A finished A-frame costs far more than the shell: HomeGuide5 puts it at $100 to $300 per square foot built (January 2026), so the shell is the smaller part. The insulation options for sloped rafters are in A-frame cabin insulation.

Build Your Own Size

Every number above is for one preset. Open the cabin designer, set your width, length, roof angle, loft and snow load, and read the same counts for your cabin: the pairs, the gussets, the piers, the sheets and the materials total. Then $59 buys the builder’s plan, one payment, drawn from that design.

Real sheets from the 31-sheet plan for the sample cabin. Select a sheet to open it full screen and read the notes.
  • how to build an A-frame cabin: sample sheet cover, the 3d model, the size, the loads and the status

    Cover and designthe 3D model, the size, the loads and the status

  • how to build an A-frame cabin: sample sheet piers, every pier dimensioned from one corner, footing sizes and concrete

    Piers and beamsevery pier dimensioned from one corner, footing sizes and concrete

  • how to build an A-frame cabin: sample sheet section, the rafter pair with its cuts, gussets, collar tie and loft

    A-frame sectionthe rafter pair with its cuts, gussets, collar tie and loft

  • how to build an A-frame cabin: sample sheet gable, studs, the door and the windows with rough openings and headers

    Front gablestuds, the door and the windows with rough openings and headers

  • how to build an A-frame cabin: sample sheet cut list, every piece by mark and the boards to buy

    Cut listevery piece by mark and the boards to buy

  • how to build an A-frame cabin: sample sheet shopping, store prices with the date we read them

    Shopping liststore prices with the date we read them

Our plan comes with a guarantee: read the plan guarantee before you buy.

Sources

Every number in this guide that does not come from our own cabin designer or our own price reads was checked against these 5 documents, numbered in the order the text first cites them and read between Oct 8, 2026 and Nov 20, 2026. 2 are code books and official pages; 3 are secondary sources (secondary pages), marked, used only where no code book or official page gives a number.

Our own data, not an outside source: the counts our cabin designer draws for the 18x24 preset: piers, joists, rafter pairs, gussets, sheets and the priced materials list.

  1. 1International Code Council2021 International Residential Code, chapter 4 (foundations), R401.4 and R403.1.4 (2021)
  2. 2International Code Council2021 International Residential Code, chapters 1 and 3 and Appendix AQ (tiny houses) (2021)
  3. 3The Home DepotSecondary sourceShelf prices, Hamilton Mill store, lumber, plywood, hardware, concrete and roofing (2026)
  4. 4Simpson Strong-TieSecondary sourceStructural engineering blog, roof sheathing nailing in the 2021 IRC
  5. 5HomeGuideSecondary sourceHow much does it cost to build an A-frame house? (January 16, 2026) (January 2026)

Questions

Anything else? Write to us or browse every guide.

Questions people ask

A careful first-time builder can build the shell with help. The plan we draw asks for three people whenever a rafter pair goes up, and fall protection at the peak. Plan on a helper for every lift, and hire an engineer for the lateral bracing, which the code sends to an engineered design.

We have no honest number for framing alone, because it depends on your crew, the weather and how long the materials take to arrive. For the whole cabin, HomeGuide puts a kit build at 4 to 8 months from start to finish (January 2026). Count the foundation and dry-in as separate jobs.

The foundation, then the floor. An A-frame stands on its floor frame: each rafter sits over a floor joist and is tied to it, so the piers, posts, beams, joists and subfloor come before any rafter goes up. Plan the permit and the loads before you dig the first hole.