Skip to content
Pool design guide: pergolas

Pool Pergola Ideas: Post Spacing, Shade, Code Clearances and Cost per Square Foot

Pool pergola ideas work when the numbers fit: posts about 9 to 13 ft apart in wood, lights and fans 12 ft above the water within 5 ft of the pool, and $20 to $60 per sq ft installed.

Free Pool Quote Match

Tell us about your pool project. We match you with licensed local pros who cover your area.

Step 1 of 3: Your project

Free for homeownersNo obligationAbout 60 seconds

  • ✓9 ideas with the numbersSize, post spacing, material life, shade, clearance and cost for each.
  • ✓Clearances drawn outNEC 680 lighting, fan, receptacle and wire distances from the pool.
  • ✓Shade you can predictPercent of sun blocked by board size, spacing and sun angle.
Quick answer
LawnLove puts a pergola at $20 to $60 per sq ft installed, average $37 (December 2025); louvers add $25 to $130 per sq ft. Set it 5 ft or more from the pool wall so fans and lights can hang below 12 ft (IRC E4203.4.1), and drain any roof away from the water (ISPSC 307.1.4).
$20 to $60 per sq ft
Installed cost
12 ft above, within 5 ft
Lights and fans near the water
18 ft
Aluminum clear span

Key takeaways

  • Under IRC 2024 E4203.4.1 (NEC 680.22(B)(1)), no light or ceiling fan may hang over the pool or within 5 ft of its wall unless every part sits 12 ft or more above the water.
  • ISPSC 2024 Section 307.1.4 requires a roof or canopy over a pool to be built so water does not run off into the pool, which decides where a louvered roof’s gutters go.
  • LawnLove puts pergolas at $20 to $60 per sq ft, average $37, with louvered roofs $25 to $130 per sq ft extra (December 2025).
  • Wood lasts 5 to 12 years against 15 to 20 for vinyl, aluminum and fiberglass, per LawnLove; one aluminum maker lists an 18 ft clear span with no center post (The Luxury Pergola).
  • Open rafters shade less than they look: 2×6 boards on edge at 12 in centers block 12% of overhead sun and 58% at a 45 degree sun angle (PC&S geometry).

What are the best pool pergola ideas?

Nine pool pergola ideas cover most decks, from a $470 lumber build to an aluminum louvered roof that reaches over the water. Each row gives the size and post spacing, material life, shade, the clearance rule from the pool and a dated cost, because the pool’s electrical and drainage rules change what a pergola can carry. If a pergola is not the right fit, sails, umbrellas, covers and trees are compared with a sun-angle table in our pool shade ideas guide.

Pool pergola ideas: size, material life, shade, clearance and cost
IdeaTypical size and spacingMaterial life (LawnLove)ShadeClearance from the poolCost (source, date)
1. Cedar slat pergola beside the pool12 x 16 ft, posts at most about 9 ft apart on a 2-2×10 beam (deck table check)Wood 5 to 12 years12% to 58% with 2×6 rafters at 12 in, by sun angleLights and fans 5 ft or more from the pool wall unless 12 ft upCedar $30 per sq ft; 192 sq ft about $5,760
2. Vinyl kit over a lounge area10 x 10 ft kitVinyl 15 to 20 yearsDepends on slat layoutSame lighting rules$20 per sq ft; 100 sq ft $2,000 to $6,000
3. Aluminum louvered pergola over the deckUp to 18 ft between posts (The Luxury Pergola)Aluminum 15 to 20 yearsUp to 100% with louvers closedGutters must drain away from the pool (ISPSC 307.1.4)Aluminum $20 per sq ft plus $25 to $130 per sq ft for louvers
4. Pergola reaching over the pool edgeClear span set by maker: 18 ft without a center postAluminum 15 to 20 yearsUp to 100% closedNo light or fan lower than 12 ft above the water over the poolLouvered rate applies; ask for stamped wind and snow rating
5. Pergola over an outdoor hot tub8 x 8 ft or 10 x 10 ftBy materialUp to 100% closedSame 12 ft rule over the spa and within 5 ft of it$1,280 to $3,840 for 64 sq ft
6. Pergola with a ceiling fanFan 10 ft or more from the pool wallBy materialBy roofFans 5 to 10 ft out need GFCI unless 5 ft up and rigidly attachedElectrician $45 to $100 per hour
7. Outdoor bar or kitchen pergolaCounter at the far side of the deckBy materialBy roofReceptacles 6 ft or more from the pool; GFCI within 20 ftSmart pergola $60 to $65 per sq ft
8. Shade-slat pergola on a budgetLumber build from scratchPine $25 per sq ft installed; wood 5 to 12 years25% to 50% with 2×2 slats at 6 in, by sun angleKeep posts out of the 3 ft clear zone outside the pool barrier$470 in lumber and hardware (LawnLove)
9. Freestanding cabana pergola with curtains12 x 16 ft (192 sq ft)By materialCurtains add side shadeUnder 200 sq ft and 15 ft may skip a building permit in Austin if detached and unplumbedAverage $37 per sq ft; 192 sq ft about $7,104

Sources: LawnLove (updated Dec 27, 2025); IRC 2024 Chapter 42; IRC 2024 Tables R507.4 to R507.6; ISPSC 2024; The Luxury Pergola; IRC 2024 R105.2, Austin. Totals and shade are PC&S arithmetic. Download CSV

Ideas 1, 2 and 8 suit most budgets; ideas 3 and 4 buy full shade and rain cover at $25 to $130 per sq ft more. Ideas 5 to 7 add a hot tub, fan or bar, and each brings an electrical rule with a distance in feet. Pergolas over a spa have their own sizing, which our hot tub gazebo ideas guide covers.

Can you build a pergola over a pool?

Yes, if the posts stand on the deck and the roof spans the water. ISPSC 2024 Section 307.1.4 requires a roof or canopy over a pool to follow the building code and keep runoff out of the pool. Lights and fans over the water must sit 12 ft or more above it, and overhead service wires need 22.5 ft of clearance.

Pergola clearances beside a pool: lights and fans 12 ft up within 5 ft of the pool wall, GFCI from 5 to 10 ft, receptacles 6 ft away, roof runoff away from the water. PC&S diagram from IRC 2024 Chapter 42 and ISPSC 2024, November 2026.
Pergola clearances beside a pool: lights and fans 12 ft up within 5 ft of the pool wall, GFCI from 5 to 10 ft, receptacles 6 ft away, roof runoff away from the water. PC&S diagram from IRC 2024 Chapter 42 and ISPSC 2024, November 2026.
Clearance rules for a pergola next to or over a pool
Item near the poolRuleCode section
Light or ceiling fan over the water or within 5 ft of the pool wallNo part lower than 12 ft above maximum water levelIRC E4203.4.1 (NEC 680.22(B)(1))
Listed low-voltage lightAllowed within 5 ft of the poolIRC E4203.4.3 (NEC 680.22(B)(6))
Light or fan 5 to 10 ft from the pool wallClass A GFCI, unless 5 ft or more above the water and rigidly attachedIRC E4203.4.6 (NEC 680.22(B)(4))
Receptacle on a pergola postAt least 6 ft from the pool wall; GFCI within 20 ftIRC E4203.1.2, E4203.1.4
Light switchAt least 5 ft from the pool wall unless behind a permanent barrierIRC E4203.2
Overhead service wiresNone within 10 ft horizontally unless 22.5 ft above the waterIRC E4203.7 (NEC 680.9(A))
Roof or canopy over the poolBuilt so water does not run off into the poolISPSC 2024 307.1.4
Posts and benches near the pool fenceBarrier 48 in high, held for 3 ft outside itISPSC 2024 305.2.1

Sources: IRC 2024 Chapter 42, Sections E4203.1 to E4203.7 (bracketed 2023 NEC Article 680); ISPSC 2024 Sections 305.2.1 and 307.1.4. Download CSV

The 12 ft rule bites hardest on louvered roofs. The StruXure Pergola X certification drawing caps the mean roof height at 12 ft, so a ceiling fan hung under it over the water cannot keep every part 12 ft above the water. Put fans over the deck at least 5 ft from the pool wall, or use listed low-voltage lights, which IRC E4203.4.3 allows within 5 ft.

A full cover with walls is a different project with its own wind design and barrier questions; screen and glass options are priced in our pool enclosure cost guide. Electrical deaths and injuries around pools are counted in our pool electrocution statistics.

How far apart can pergola posts be?

For wood, about 9 to 13 ft. Using the IRC 2024 deck tables as a conservative check, a doubled 2×10 southern pine beam carrying 12 ft rafters spans 9 ft between posts and a tripled 2×12 spans 13 ft 3 in. Aluminum louvered systems go farther: one maker lists 18 ft with no center post, less in heavy snow areas.

Pergola span reference from the IRC 2024 deck tables and one aluminum maker
MemberSize and spacingMaximum span in the deck tableWhat it means for a pergolaSource
Rafter, southern pine2×8 at 16 in11 ft 10 inA 12 x 16 ft pergola needs 2×10 rafters at 16 in (14 ft 0 in) to span 12 ft by this tableIRC 2024 Table R507.6 (40 psf)
Rafter, western cedar2×8 at 16 in10 ft 7 inCedar spans about 1 ft less than southern pine in the same sizeIRC 2024 Table R507.6
Rafter, western cedar2×10 at 24 in10 ft 7 inWider spacing cuts span by 2 ft 5 in against 16 in centersIRC 2024 Table R507.6
Beam, southern pine2-2×10, carrying 12 ft rafters9 ft 0 in between postsPosts about 9 ft apart for a 12 ft deep pergolaIRC 2024 Table R507.5(1)
Beam, southern pine3-2×12, carrying 12 ft rafters13 ft 3 in between postsFewer posts on the pool sideIRC 2024 Table R507.5(1)
Post, western cedar6×614 ft tall up to 120 sq ft per postA 6×6 covers most pergola heightsIRC 2024 Table R507.4
Aluminum louvered beamMaker system18 ft with no center post; less above 30 psf snowSpans a 16 ft pool width from deck to deckThe Luxury Pergola (maker page)

Sources: IRC 2024 Tables R507.4, R507.5(1) and R507.6 (40 psf live load); The Luxury Pergola. Deck tables assume a walking load, so they are conservative for an open pergola; a solid or louvered roof in snow country needs an engineer. Download CSV

Species changes the answer: in Table R507.6, a western cedar 2×8 at 16 in spans 10 ft 7 in against 11 ft 10 in for southern pine, about 1 ft 3 in less. Wider spacing costs span too, so a 12 ft deep cedar pergola wants 2×10 or 2×12 rafters at 16 in centers rather than 2x8s.

Posts are rarely the weak point. Table R507.4 allows a western cedar 6×6 to stand 14 ft carrying up to 120 sq ft at deck loads. The footing and the connection to the slab carry the wind uplift, which is why makers of louvered roofs publish anchor details with their ratings.

How much shade does a pool pergola give?

Less than it looks at noon. An open roof blocks only the board width over the gap: 2×6 rafters on edge at 12 in centers stop 12% of overhead sun and 58% when the sun is 45 degrees up. Tight 2×2 slats at 3 in centers stop 50% at noon. Closed louvers or a solid roof block all direct sun.

Shade under open pergola roofs by sun elevationShare of direct sun blocked, sun perpendicular to the boards, percent
Shade under open pergola roofs by sun elevationLine chart: 2×2 slats at 3 in centers block 50% of overhead sun and 100% at 45 degrees; 2×6 boards on edge at 12 in block 12% overhead and 58% at 45 degrees; at 24 in, 6% and 29%.0%25%50%75%100%4560902×2 slats (1.5 x 1.5 in) at 3 in centers, 45: 100%2×2 slats (1.5 x 1.5 in) at 3 in centers, 60: 79%2×2 slats (1.5 x 1.5 in) at 3 in centers, 90: 50%2×2 slats (1.5 x 1.5 in) at 3 in centers2×2 slats at 6 in centers, 45: 50%2×2 slats at 6 in centers, 60: 39%2×2 slats at 6 in centers, 90: 25%2×2 slats at 6 in centers2×6 on edge (1.5 x 5.5 in) at 12 in centers, 45: 58%2×6 on edge (1.5 x 5.5 in) at 12 in centers, 60: 39%2×6 on edge (1.5 x 5.5 in) at 12 in centers, 90: 12%2×6 on edge (1.5 x 5.5 in) at 12 in centers2×6 on edge at 24 in centers, 45: 29%2×6 on edge at 24 in centers, 60: 19%2×6 on edge at 24 in centers, 90: 6%2×6 on edge at 24 in centers

Source: PC&S geometry: (board thickness + board depth / tan(sun elevation)) / board spacing, capped at 100%. Download chart data (CSV)

Share of direct sun blocked by pergola roof layout and sun angle
Roof layoutSun overhead (90 degrees)Sun at 60 degreesSun at 45 degrees
2×2 slats (1.5 x 1.5 in) at 3 in centers50%79%100%
2×2 slats at 6 in centers25%39%50%
2×6 on edge (1.5 x 5.5 in) at 12 in centers12%39%58%
2×6 on edge at 24 in centers6%19%29%
Closed louvered or solid roof100%100%100%

PC&S geometry: blocked share = (board thickness + board depth divided by the tangent of the sun elevation) divided by board spacing, capped at 100%, with the sun square to the boards. Actual lumber 1.5 in thick. Download CSV

Two moves raise shade without a louvered roof: run the top slats east to west so morning and afternoon sun crosses them at a low angle, and add a slat layer at 3 in centers over the rafters. LawnLove prices a classic slat roof at about $4.50 per sq ft, against $25 to $130 for louvers.

How much does a pool pergola cost?

LawnLove puts a professionally installed pergola at $2,100 to $6,000, average $4,000, or $20 to $60 per sq ft, average $37 (December 2025). For a 12 x 16 ft pergola beside a pool that is about $3,840 in aluminum, $5,760 in cedar, and $8,640 to $28,800 once a louvered roof is added.

Pergola cost per square foot by material, US, 2026Installed, US dollars per square foot
Pergola cost per square foot by material, US, 2026Bar chart: vinyl and aluminum pergolas cost $20 per sq ft, pine $25, cedar $30, redwood $45, teak $55 and fiberglass $60.Vinyl: $20Vinyl$20Aluminum: $20Aluminum$20Pine: $25Pine$25Cedar: $30Cedar$30Redwood: $45Redwood$45Teak: $55Teak$55Fiberglass: $60Fiberglass$60

Source: LawnLove, How Much Does a Pergola Cost in 2026? (updated Dec 27, 2025). Download chart data (CSV)

Pergola cost per square foot and life by material
MaterialCost per sq ftTypical lifeSource and date
Vinyl$2015 to 20 yearsLawnLove, Dec 27, 2025
Aluminum$2015 to 20 yearsLawnLove, Dec 27, 2025
Pine$255 to 12 years (wood)LawnLove, Dec 27, 2025
Cedar$305 to 12 years (wood)LawnLove, Dec 27, 2025
Redwood$455 to 12 years (wood)LawnLove, Dec 27, 2025
Teak$555 to 12 years (wood)LawnLove, Dec 27, 2025
Fiberglass$6015 to 20 yearsLawnLove, Dec 27, 2025
Louvered roof add-on$25 to $130 extraMaker warranties varyLawnLove, Dec 27, 2025

Source: LawnLove, How Much Does a Pergola Cost in 2026? (updated Dec 27, 2025). Download CSV

Worked example: a 12 x 16 ft pool pergola
Build, 12 x 16 ft (192 sq ft)RateTotal
Aluminum frame$20 per sq ft$3,840
Cedar frame$30 per sq ft$5,760
All-material average$37 per sq ft$7,104
Louvered roof added to aluminum$25 to $130 per sq ft extra$8,640 to $28,800

PC&S arithmetic from LawnLove rates. Footings on an existing deck, electrical work and permits are extra; electricians run $45 to $100 per hour (LawnLove). Download CSV

Is it cheaper to build or buy a pergola?

Building from scratch is cheapest in cash: LawnLove lists about $470 in lumber and hardware, against $2,350 for an average DIY kit ($550 to $4,000) and $4,000 for professional installation. The trade-off by the pool is the code work: a kit or installer supplies tested spans, while a scratch build needs you to check spans against tables like IRC R507.

  • Check the permit line Austin’s adopted IRC exempts a detached, one-story structure up to 200 sq ft and 15 ft high with no plumbing; attached or wired pergolas usually need review.
  • Size the members Compare your rafter and beam sizes with IRC Tables R507.5(1) and R507.6; a 12 ft rafter span needs a 2×10 at 16 in in southern pine.
  • Ask for ratings on a kit Louvered kits list wind and snow ratings from 72 to 165 mph and 25 to 65 psf; match them to your ZIP.
  • Plan wiring before the deck Receptacles 6 ft or more from the pool with GFCI within 20 ft (IRC E4203.1.2, E4203.1.4).
  • Hold the barrier Keep posts and built-in benches out of the 3 ft zone outside the pool fence (ISPSC 305.2.1).

Fence styles that work with a pergola post line, and the climbable-object rules behind the 3 ft zone, are in our pool fence ideas guide. Footings sit in the deck, so the surface choice and its heat and slip data matter; see our pool deck materials guide.

Do louvered pool pergolas handle wind and snow?

Rated ones do, within their numbers. The StruXure Pergola X certification drawing lists up to 165 mph and 0 to 60 psf ground snow; Hanso rates its PRO+ at 72 to 120 mph and 25 psf with louvers closed and its MASTER+ at 165 mph and 62 psf. Ask for the stamped rating that matches your county’s design wind speed.

Louvered pergola wind and snow ratings published by makers
SystemWind ratingSnow ratingSpan or heightSource
StruXure Pergola XUp to 165 mph ultimateGround snow 0 to 60 psfMean roof height 12 ft max; heights 8, 10 or 12 ftEngineering Express certification drawing, Aug 2024 (ICC-ES hosted)
Hanso MASTER+Up to 165 mphUp to 62 psfNot statedHanso help center
Hanso PRO+72 to 120 mphUp to 25 psf, louvers closedNot statedHanso help center
The Luxury PergolaMaker claims 200 mph or more65 psf18 ft with no center postMaker page

Sources: Engineering Express certification drawing for StruXure Pergola X, August 2024 (hosted by ICC-ES); Hanso help center; The Luxury Pergola. Maker figures, not independent tests. Download CSV

Coastal counties add their own wind rules for structures around pools; screen enclosure standards and storm exposure in eight Gulf and Atlantic states are compared in our pool hurricane rules research, which tabulates Florida screen enclosure design pressures at design wind speeds of 110 to 170 mph.

Pool lighting choices for the deck and the water, including low-voltage fixtures that can sit closer than 5 ft, are compared in our pool lighting guide. Plants that soften pergola posts without dropping leaves in the skimmer are in our pool landscaping ideas guide.

Which pool pergola idea fits your yard?

Decide on shade, budget and weather first. Shade over loungers points to a wood or vinyl pergola set 5 ft back from the water; shade over the water points to an aluminum louvered system with a long clear span; hurricane or snow country points to a stamped rating. The decision table pairs each situation with the rule behind it.

Decision table: pool pergola idea by situation
If your situation isDo thisWhy
You want shade on loungers beside the poolBuild the pergola over the deck, posts 5 ft or more from the pool wallFans and lights can then sit under 12 ft; in the 5 to 10 ft band they need GFCI or a 5 ft mounting height
You want shade over part of the waterUse an aluminum louvered system with a clear span that reaches deck to deckThe Luxury Pergola lists 18 ft without a center post; no light or fan over the water lower than 12 ft
You live in hurricane or heavy snow countryAsk for the stamped wind and snow rating for your ZIPRatings run from 72 to 165 mph and 25 to 65 psf by maker
The budget is under $3,000Build a vinyl or pine pergola of 100 sq ft or lessLawnLove: $20 to $25 per sq ft; 100 sq ft from $2,000
You want the lowest upkeepChoose aluminum or vinyl over wood15 to 20 years vs 5 to 12 years for wood (LawnLove)
The pergola stands near the pool fenceKeep posts, benches and planters 3 ft clear outside the barrierISPSC 305.2.1 measures the 48 in height for 3 ft outside

Sources: IRC 2024 Chapter 42; ISPSC 2024; LawnLove; The Luxury Pergola; Hanso; StruXure Pergola X drawing. Download CSV

How we compiled this

In November 2026 we read the 2024 IRC Chapter 42 (bracketed 2023 NEC Article 680), the IRC deck tables R507.4 to R507.6, the 2024 ISPSC on UpCodes, one engineer-signed certification drawing for a louvered pergola, two maker rating pages and the LawnLove 2026 cost guide. Shade percentages and worked totals are PC&S arithmetic; we did not build, test or price any pergola on site.

Frequently Asked Questions

Can you build a pergola over a pool?

Yes, with posts on the deck and a roof that spans the water. ISPSC 2024 Section 307.1.4 requires a roof or canopy over a pool to keep runoff out of the pool, and IRC E4203.4.1 bars lights and fans over the water lower than 12 ft above it. One aluminum maker lists an 18 ft clear span without a center post.

What are some ideas for a pergola for my pool patio?

Common ideas are a cedar slat pergola over loungers, a 10 x 10 ft vinyl kit, an aluminum louvered roof over the deck or part of the water, a pergola over the hot tub, one with a ceiling fan set 10 ft from the pool, an outdoor bar pergola and a freestanding cabana with curtains.

Is it cheaper to build or buy a pergola?

Building is cheapest in cash. LawnLove lists about $470 in lumber and hardware for a scratch build, $2,350 for an average DIY kit and $4,000 for professional installation (December 2025). Kits come with tested spans and ratings; a scratch build by a pool should be checked against span tables such as IRC 2024 R507.6.

What is the cheapest thing to put around a pool?

For shade, the cheapest options in LawnLove’s 2026 guide are vinyl or aluminum pergolas at about $20 per sq ft, or a lumber build at about $470 in materials; a classic slat roof adds about $4.50 per sq ft. Whatever goes around the pool must leave the barrier 48 in high and its 3 ft outside zone clear (ISPSC 305.2.1).

How far should a pergola be from a pool?

No code sets a pergola setback from the water, but the electrical rules do in practice: lights and fans within 5 ft of the pool wall must be 12 ft above the water, and from 5 to 10 ft they need GFCI unless 5 ft up and rigidly attached (IRC E4203.4). Receptacles must be 6 ft or more from the pool.

Sources

  1. International Code Council via UpCodes. 2024 International Residential Code, Chapter 42 Swimming Pools (bracketed 2023 NEC Article 680). Accessed 2026-11-15.
  2. International Code Council via UpCodes. 2024 International Residential Code, Chapter 5, Tables R507.4, R507.5(1), R507.6. Accessed 2026-11-15.
  3. International Code Council via UpCodes. 2024 International Residential Code, Sections R105.1 and R105.2 (Austin adoption). Accessed 2026-11-15.
  4. International Code Council via UpCodes. 2024 International Swimming Pool and Spa Code, Chapter 3 (Sections 305.2.1, 307.1.4). Accessed 2026-11-15.
  5. Engineering Express for StruXure, hosted by ICC-ES. Performance evaluation for StruXure Pergola X, certification drawing DS 23-65267 (signed August 2024). Accessed 2026-11-15.
  6. Hanso Home help center. Wind & Snow Load Ratings. Accessed 2026-11-15.
  7. The Luxury Pergola. 18-foot louver pergola. Accessed 2026-11-15.
  8. LawnLove. How Much Does a Pergola Cost in 2026? (updated December 27, 2025). Accessed 2026-11-15.
Free for homeowners

Get Quotes From Licensed Local Pool Pros

Tell us what you need and your ZIP code. We match you with pool companies that cover your area.