What You Need Before You Start Building
A patio roof is a permanent structure, not a shade cloth or umbrella, so you will need a building permit in nearly every jurisdiction before you dig the first post hole. The permit process exists because a roof adds weight to the ground, creates wind resistance, and affects drainage — all things that matter to your foundation and your neighbors' property. You will submit plans (often just a sketch with dimensions and materials), pay a fee that typically ranges from $50 to $500 depending on your area, and wait for inspection before and after construction.
Before you explore for the permit, you need to know your local setback requirements (how far the structure must sit from property lines), whether you need a variance for height or lot coverage, and whether your homeowners insurance or HOA has restrictions. Call your city or county building department and ask what documents they need. Many will tell you over the phone; some require an in-person visit or online submission. Do this first — it takes a week or two and will tell you whether your plan is even possible on your lot.
You also need to decide between three main roof types: a solid roof (wood or metal), a shade structure (lattice or pergola), or a hybrid. A solid roof keeps out rain and snow but requires gutters and proper drainage. A shade structure lets light through but offers no weather protection. The choice depends on what you want the patio for and how much sun or rain exposure you can tolerate.
Key Takeaways
- You must obtain a building permit before construction; the process typically takes one to three weeks and requires plans showing dimensions, materials, and post locations.
- Posts must sit on footings that go below the frost line in your area (usually 3 to 4 feet deep in cold climates), set in concrete, to prevent frost heave from pushing the structure up in winter.
- A solid roof requires gutters and a slight slope to shed water; a shade structure (lattice or pergola) needs no drainage but offers no weather protection.
- Hiring a contractor for the structural work (posts and beams) is safer than doing it alone, even if you frame the roof panels yourself.
Choosing Posts, Beams, and Footings
The skeleton of your patio roof is the post-and-beam frame, and it has to be strong enough to hold the weight of the roof material plus snow load (if you live where it snows). Posts are typically 4x4 or 6x6 pressure-treated lumber or metal, spaced 8 to 12 feet apart depending on the roof material and local wind load. Beams connecting the posts are usually 2x8, 2x10, or 2x12 lumber, again sized by a structural engineer or determined by your local building code tables.
The most common mistake is setting posts directly on the ground or on a shallow concrete pad. Frost heave — the upward pressure from frozen soil in winter — will lift the posts unevenly, cracking the roof and pulling connections apart. Posts must sit on footings that extend below the frost line, which varies by region. In cold climates, that is typically 3 to 4 feet deep; in mild climates, 12 to 18 inches. Dig the hole, set a post pier or concrete footer, and pour concrete around the post base. This is not optional if you want the roof to last.
Metal posts (steel or aluminum) are more expensive upfront but require no wood treatment and last longer in wet climates. Wood posts are cheaper and easier to work with but must be pressure-treated and inspected every few years for rot. Either way, the connection between post and beam must be bolted or welded — nails alone will not hold under wind or snow load.
Solid Roofs: Framing and Drainage
A solid roof (metal panels, polycarbonate, or wood shingles) requires a frame of rafters or trusses running from beam to beam, typically spaced 16 or 24 inches apart. The frame must slope slightly — at least 1/4 inch per foot of run — so water drains off. A flat roof will pond water, which leads to leaks and structural damage. If your patio is attached to your house, the high side of the roof usually connects to the house wall, and the low side slopes away.
Metal panels (standing seam or corrugated) are the most common choice for DIY builders because they are lightweight, durable, and relatively straightforward to install. Polycarbonate panels let light through and are cheaper than metal but degrade in UV light over time and can yellow or crack after 10 to 15 years. Wood shingles or shakes look good but require regular maintenance and are heavier, so your frame must be stronger.
Once the roof is on, you must install gutters and downspouts to direct water away from the patio and the house foundation. Gutters are not optional — water running off the edge will erode soil, splash onto siding, and create a muddy mess. Size the gutters based on your roof area and local rainfall intensity; your building department or a gutter contractor can advise. Downspouts should extend at least 4 to 6 feet away from the foundation or into a drainage system.
Shade Structures: Lattice and Pergolas
A shade structure (lattice, pergola, or slatted roof) does not shed water, so it does not need gutters or a slope. It filters sunlight and creates dappled shade, which many people prefer for a patio. The frame is lighter than a solid roof, so posts can be spaced farther apart and footings can be shallower — though they still need to go below the frost line.
Lattice panels are thin wood strips woven in a grid pattern, attached to a frame. They are cheap and straightforward to replace if damaged, but they do not block much sun and offer no rain protection. A pergola is a series of parallel beams or slats running across the top, creating linear shade. A slatted roof is similar but with closer spacing, blocking more sun. All three are popular because they are simpler to build than a solid roof and can be expanded or modified later.
The trade-off is that you get shade but not shelter. Rain falls through, and in winter, snow does too. If you want to use the patio in bad weather, a shade structure is not enough. If you want to sit under the stars or grow climbing vines, it is ideal.
Attaching to Your House (If You Are)
If the patio roof connects to your house, it must be attached to the house rim joist or band board — the horizontal beam that runs around the perimeter of the house just below the siding. Do not attach to siding; remove the siding first and bolt the ledger board (the beam that connects the roof to the house) directly to the rim joist with bolts spaced 16 inches apart.
The ledger board is a common source of leaks because water gets behind it and rots the house framing. Install flashing — a metal or rubber barrier — under the ledger and over the top, sloped to shed water away from the house. The flashing must extend under the house siding above the ledger and over the top of the ledger, creating a path for water to run down and away. This detail is critical and is often inspected by the building department.
If your house has a brick or stone exterior, attaching a ledger is more complicated and may require drilling into the masonry or using a different connection method. Consult a contractor or your building department before you start.
Permits, Inspections, and When to Hire Help
After you get the permit, the building department will inspect the footings before you pour concrete (to verify depth and location), the frame before you install the roof (to check post spacing, beam sizing, and connections), and the finished structure (to confirm everything is as planned). Inspections usually take a day or two to schedule and a few minutes to complete. If the inspector finds a problem, you fix it and call for a re-inspection.
The structural work — digging footings, setting posts, and installing beams — is the hardest and most critical part. If posts are not plumb (perfectly vertical) or footings are not deep enough, the whole roof will be unstable. Many homeowners hire a contractor for this phase and do the roofing panels themselves. This is a reasonable split: the contractor brings equipment, experience, and liability insurance, and you save money on labor for the less critical finishing work.
If you have never built anything structural, hire a contractor for the whole job. A roof failure can injure someone or damage your house. The cost of a contractor is worth the safety and the warranty.
Materials and Tools You Will Need
For a basic 12-by-16-foot attached patio roof with a solid metal panel, you will need posts (pressure-treated 4x4 or metal), beams (2x10 or 2x12), rafters (2x6 or 2x8), metal roofing panels, flashing, fasteners (bolts, lag screws, nails), concrete, and gutter materials. Costs vary widely by region and material choice, but a solid roof typically runs $3,000 to $8,000 for materials and labor combined; a shade structure is usually $1,500 to $4,000.
Tools include a post-hole digger or auger, a level, a circular saw or miter saw, a drill, a socket set, and a ladder. If you are installing metal panels, you will also need a metal roof brake or a contractor who has one. Renting tools is cheaper than buying them if you only need them once.
Frequently Asked Questions
Do I really need a permit for a patio roof?
Yes, in nearly all jurisdictions. A roof is a permanent structure that affects drainage, wind load, and property lines. Building departments inspect to may support it is safe and does not violate setback rules. Unpermitted work can create problems when you sell the house or file an insurance claim.
How deep do the footings need to go?
Below the frost line in your area. Call your local building department or search "[your county] frost line depth." In cold climates, it is typically 3 to 4 feet; in mild climates, 12 to 18 inches. Frost heave will lift shallow footings in winter, cracking the roof.
Can I use a shade structure instead of a solid roof?
Yes, if you do not need rain protection. A pergola or lattice roof is simpler to build, cheaper, and creates nice dappled shade. It does not shed water, so you cannot use the patio in rain or snow. Both types require the same footing depth and permit process.
What is the most common mistake people make?
Setting posts on shallow footings or directly on the ground. Frost heave will lift them unevenly in winter, cracking the roof and pulling bolts loose. Footings must go below the frost line and be set in concrete.
Should I hire a contractor or do it myself?
If you have framing experience, you can do the whole job. If not, hire a contractor for the structural work (posts and beams) and do the roofing panels yourself if you want to save money. The frame is the critical part; mistakes there are expensive and dangerous.