Patio Roof Framing

How to build a roof over your porch?

Overview of how to build a roof over a porch: plan and permit, check the house, set posts and beam, attach the ledger, hang rafters, then roof and finish.

On this page
  1. Start with the plan and local rules
  2. Check the house or the ground
  3. Set the posts and footings
  4. Install the beam
  5. Attach the ledger and flash it
  6. Hang the rafters and add bracing
  7. Add the roof covering
  8. Finish the edges and gutters
  9. When to bring in help
  10. Cost and planning

A roof over a porch is built in a fixed order: plan and permit first, then the posts and beam, then the ledger and rafters, and finally the roof covering and gutter. The steps below give the overall sequence. They are not a full build guide. A porch roof that ties into an existing roof, carries heavy snow or needs new wiring is worth reviewing with an experienced builder or an engineer.

Start with the plan and local rules

Measure the porch and decide its size, height and slope. Check where the water will drain and whether the roof will shade a window or block a door. Then contact your local building department. Attached porch roofs often need a permit, and the inspector will usually expect a drawing that shows the framing. Local rules may also set limits on height, setbacks or materials, and a homeowner association may have its own. Sorting this out early avoids tearing out finished work later.

Settle the height before you cut anything. The beam height sets the porch ceiling. Many people search for “how tall should a porch ceiling be,” and the answer depends on the house, the local rules and the look you want. Compare the ceilings already in the house and check any height rules that apply to you.

Check the house or the ground

If the roof will attach to the house, look closely at the wall where the ledger will go. The ledger must fasten to solid framing, not only to siding, trim or brick veneer. Check for wiring, pipes and vents in the wall. Also look at how the existing roof and gutters meet the house, because the new roof has to drain away from the wall.

If the porch will be freestanding, check the ground for drainage and soil conditions, and find the buried utility lines before you dig. In the US, call 811 before any digging.

Set the posts and footings

Posts carry the beam down to the footings. The footing size and depth depend on your local code, the soil and the loads. Where frost heave is a concern, footings usually have to reach below the local frost line. Brace each post until the beam is fixed in place, so the posts cannot shift while you work.

Install the beam

The outer beam runs along the outer edge of the porch and sits on the posts. It is often built up from two or more members fastened together to reach the size the plan calls for. Set it at the height the slope requires. The outer edge should sit lower than the house end so the roof drains away from the house. Fasten the beam to the posts with brackets or bolts, using the connection details on your plan.

Attach the ledger and flash it

If the roof attaches to the house, fix the ledger to the wall framing at the planned height, using the fastener pattern your code or plan requires. Install flashing above the ledger so water runs over the top of it and not behind it. Joints at the ledger are a common source of leaks and rot, so take care with this step.

Hang the rafters and add bracing

Cut the rafters to length and slope, then hang them from the ledger with hangers and set their outer ends on the beam. Check that the rafters are level across the width and spaced as the plan shows. Add blocking and bracing so the frame resists wind and does not rack. Rafter size and spacing should come from your plan and the span tables, not from the sizes used on a different porch.

Add the roof covering

Solid roofs usually get sheathing on the rafters, then underlayment and roofing such as shingles. Panel roofs, such as metal or polycarbonate, often need purlins or battens set across the rafters first. Follow the covering maker’s instructions for spacing, fastening and minimum slope. Covering weight adds to the load on the frame, so check that the frame and the covering match.

Finish the edges and gutters

Fit the fascia along the rafter ends and the beam, then hang gutters with a slight slope toward the downspouts. Route the downspouts so they discharge away from the foundation. If you plan lights, fans or outlets, run the wiring before the roof is closed in, and use a licensed electrician where your area requires one.

When to bring in help

Bring in an experienced builder or an engineer for a porch roof that ties into an existing roof, carries heavy coverings or snow, or needs stamped drawings for the permit. Lifting heavy beams and working at height are risky, so plan for helpers and use proper ladders or scaffolding, even on a simple project.

Cost and planning

Costs depend on size, roof covering, footings and whether a crew does the work. The question of how much to build a roof over a patio comes down to those same choices. Settle the design first, then ask each builder for a written quote on the same scope.

The complete guide to patio roof framing

Patio Roof Framing Diagram
Read the guide

Keep exploring

Guides from other topics

All topics →

DIY Outdoor Deck Ideas

Simple DIY deck ideas for backyards and patios, from low platforms to raised and corner designs, with the planning, materials and upkeep to weigh first.

DIY Deck Ideas 7 min read