What You Can Build Yourself and What Requires a Permit
A patio cover is a structure that sits over your outdoor seating area—usually a roof frame with slats, panels, or solid material that blocks sun and light rain. You can build some types yourself, but not all. The difference comes down to what your local building department requires.
Freestanding covers that are not attached to your house—a pergola or shade structure sitting on its own posts—often need only a foundation permit or none at all, depending on your city. Covers attached to your house, or any cover taller than 10 feet or covering more than 200 square feet, almost always require a building permit and inspection. Before you buy materials, call your local building department and describe what you want to build. They will tell you whether you need a permit and whether the structure has to meet wind, snow load, or electrical codes.
Key Takeaways
- Freestanding patio covers are often simpler to build yourself than attached ones, but check your local building code first—some require permits even for small structures.
- Attached covers need a permit in most places and must tie into your house's ledger board with proper flashing to prevent water damage.
- The foundation is the most critical part: posts must sit on concrete footings below the frost line in your area, or the cover will shift and crack.
- Electrical work—running power for lights or fans—must be done by a licensed electrician in most jurisdictions, even if you build the frame yourself.
- If your cover will hold snow load or sit in a high-wind area, the design and fastening must meet code, and a professional engineer may need to sign off.
Choosing Between Freestanding and Attached Covers
A freestanding cover stands on its own posts and does not touch your house. It is usually easier to build yourself because it does not require flashing, ledger board installation, or tying into your house's structure. You dig holes, set posts in concrete, build a frame, and add a roof. If it is under 10 feet tall and covers less than 200 square feet, many jurisdictions let you build without a permit—but confirm this with your building department first.
An attached cover bolts to the side of your house, usually along the roof line or upper wall. This type requires a ledger board—a horizontal beam fastened to your house's rim joist with bolts spaced 16 inches apart. The ledger must have flashing underneath to direct water away from the house and prevent rot. Attached covers almost always need a permit because they affect your house's structure and water management. If the ledger is installed wrong, water will run behind it and damage the rim joist, band board, and house framing—a repair that costs thousands.
If you are comfortable with carpentry, framing, and concrete work, a freestanding cover is a realistic DIY project. An attached cover is riskier unless you have experience with ledger installation and flashing.
Setting Posts and Foundations the Right Way
The foundation determines whether your cover stands straight or shifts and cracks within a year. Posts must sit on concrete footings that go below the frost line—the depth at which soil freezes in winter in your region. If a footing is above the frost line, frost heave will push the post up as the ground freezes, then drop it as it thaws, and the structure will move.
Frost line depth varies by location: in the northern United States it can be 48 inches deep, while in the South it may be 12 inches or less. Contact your local building department or search "[your city] frost line depth" to find the number for your area. Dig holes at least that deep, wider at the bottom to create a bell shape that resists frost heave. Pour concrete into the hole, set a post base (a metal bracket that bolts to the concrete and holds the wooden post), and let the concrete cure for at least three days before loading the post.
Posts should be pressure-treated lumber rated for ground contact, usually 4x4 or 6x6 depending on the span and roof load. Space posts no more than 8 to 12 feet apart—closer spacing is safer and gives you more support. Use galvanized or stainless steel bolts and fasteners; regular steel will rust and weaken the connection.
Building the Frame and Roof
Once posts are set, you build a frame of horizontal beams (called ledgers or rim beams) that connect the posts at the top. These beams carry the roof load and must be sized for the span and the weight of snow or rain that will sit on the roof. A span of 12 feet typically needs a 2x10 or 2x12 beam; longer spans need larger lumber or engineered beams.
Bolt the beams to the posts with lag bolts or through-bolts, not nails. Space fasteners 16 inches apart. Bolt connections are much stronger than nailed ones and will not loosen over time. Use a level to make sure the beams are truly horizontal; if they slope, water will pool on the roof and the structure will look crooked.
The roof itself can be slats (thin boards spaced apart for dappled shade), polycarbonate panels (clear or opaque plastic that blocks UV and some rain), metal panels, or a solid wood or composite deck. Slats are the easiest to install—you screw them to rafters spaced 16 inches apart. Panels and solid roofs require more careful fastening and flashing at the edges to prevent leaks. If you are new to roofing, slats are the best starting point.
When You Must Hire a Professional
Electrical work is one area where you almost certainly need a licensed electrician. If you want lights, a ceiling fan, or a heater on your patio cover, the wiring must be run in conduit, the outlet or fixture must be on a dedicated circuit with a GFCI breaker, and the work must pass inspection. Doing this yourself is not only illegal in most places—it is a fire hazard. The cost of an electrician is worth the safety and the peace of mind.
Structural engineering is another case. If your cover will sit in a high-wind area (coastal regions, mountain passes, or areas with frequent severe storms), or if it will hold significant snow load, the frame design may need to be engineered and signed by a professional engineer. Your building department will tell you if this is required. Do not guess at beam sizes or bolt spacing in these situations; an undersized or poorly fastened cover can collapse.
If you are attaching the cover to your house and you have never installed a ledger board with flashing, hire a carpenter or contractor for that part. The ledger is the most critical connection, and mistakes lead to hidden water damage that shows up years later. The rest of the cover—posts, beams, and roof—you can often build yourself if you are comfortable with a level, drill, and saw.
Tools and Materials You Will Need
Basic tools include a circular saw or miter saw, a drill-driver, a level (at least 4 feet long), a tape measure, a post-hole digger or power auger, a socket set for bolts, and a ladder. You will also need safety gear: work gloves, safety glasses, and a dust mask if you are cutting pressure-treated lumber.
Materials depend on your design, but a typical 12-by-16-foot freestanding cover with slat roof will need four 6x6 posts, pressure-treated 2x10 or 2x12 beams, 2x6 or 2x8 rafters, 1x6 slats, concrete mix, post bases, galvanized bolts and fasteners, and exterior wood stain or sealant. Pressure-treated lumber costs less than cedar or composite but needs staining or sealing every few years to prevent graying. Cedar and composite cost more upfront but last longer and require less maintenance.
Permits, Inspections, and Timeline
If your cover requires a permit, the process usually takes two to four weeks from process to final inspection. You submit plans (which can be straightforward sketches showing dimensions, post spacing, and beam sizes), pay a permit fee (typically $50 to $300 depending on the cover size and your jurisdiction), and wait for approval. Once approved, you can start building. When the frame is complete, the inspector will check that posts are set properly, beams are level, bolts are spaced correctly, and the structure is safe. After the roof is on, there is a final inspection.
Building the cover itself usually takes one to three weeks for a homeowner working alone or with a helper on weekends. If you hire a contractor, the timeline is shorter but the cost is higher. A professional can often complete a 12-by-16-foot cover in three to five days.
Frequently Asked Questions
Do I need a permit for a small pergola or shade structure?
It depends on your city. Some allow structures under 200 square feet without a permit; others require one for any permanent structure. Call your building department before you start. Even if a permit is not required, the structure still has to meet code—posts must be on proper footings, and bolts must be spaced correctly.
Can I attach a cover to my house myself?
You can if you are experienced with ledger installation and flashing. If you are not, hire a carpenter for the ledger and flashing, then build the rest yourself. A poorly installed ledger will cause water damage that costs thousands to repair. It is not worth the risk.
What is the frost line and why does it matter?
The frost line is the depth at which soil freezes in winter. Posts must sit on footings below this line, or frost heave will push them up and down each year, causing the structure to shift and crack. Frost line depth varies by region—call your building department to find the number for your area.
How often do I need to stain or seal a pressure-treated patio cover?
Pressure-treated lumber should be stained or sealed every two to three years to prevent graying and weathering. Cedar and composite materials last longer between treatments. Check the manufacturer's recommendations for the specific product you choose.
What happens if I build without a permit?
You risk a fine from your building department, and the structure may not be insured if it is damaged or causes injury. If you sell your house, the unpermitted cover may have to be removed or brought up to code. It is cheaper and safer to get the permit upfront.