A thoughtfully shaded backyard does more than make hot afternoons bearable. It creates a comfortable outdoor room where you can relax, eat and play while reducing your exposure to ultraviolet (UV) rays. Shade is one layer of sun protection, and planning it well means thinking about trees, structures, fabrics and safety from the start.

Short version: Shade is a key part of sun safety. Use trees, pergolas, sails or umbrellas to block direct sun, but still wear sunscreen and protective clothing. Keep fire features well away from overhead structures, seal wood end grain, avoid wood-soil contact, and call 811 before digging for footings.

Why Shade Matters for Sun Safety

According to the Centers for Disease Control and Prevention (CDC), most skin cancers are caused by too much exposure to UV rays. UV rays are an invisible form of radiation from the sun that can damage skin cells. The CDC notes that in the continental United States, UV rays are strongest from 10 a.m. to 4 p.m. daylight saving time (9 a.m. to 3 p.m. standard time). UV rays can reach you on cloudy and cool days, and they reflect off surfaces like water, cement, sand and snow.

The CDC recommends staying in the shade under an umbrella, tree or other shelter to reduce your risk of sun damage and skin cancer. However, the agency emphasizes that shade alone is not enough: you should also use broad-spectrum sunscreen with SPF 15 or higher and wear protective clothing, a wide-brimmed hat and sunglasses. Sunscreen needs to be reapplied after two hours or after swimming, sweating or toweling off. For babies 6 months or younger, the U.S. Food and Drug Administration recommends keeping them out of the sun during midday and using protective clothing if they must be in the sun.

Shade Options for Your Backyard

Backyard shade can come from living canopies, built structures or flexible fabric. Trees offer a natural, cooling shade that changes with the seasons. A pergola provides a permanent framework that can support climbing plants or a removable fabric cover. Shade sails are tensioned fabric panels that can be angled to block sun from specific directions. Umbrellas are portable and can be moved as the sun shifts. Each option has different requirements for installation, maintenance and safety, which we explore below.

Planting Shade Trees: Placement and Design

The University of Florida IFAS Extension explains that a successful landscape design starts with a site inventory and analysis. You need to understand sun and shade patterns on your property, which create microclimates. Recording how much sun each area receives and for how long helps you place trees where they will provide useful shade. The extension guide notes that sun/shade patterns change with the seasons and over time as trees grow larger.

When planning activity areas, think about how you want to use the yard: cooking, dining, play, relaxation. Trees can define outdoor rooms and provide physical or implied barriers for privacy. For example, a well-placed deciduous tree can shade a patio in summer while allowing sunlight through in winter. The guide also stresses that plants should be chosen for their functional capabilities, such as modifying light, temperature and humidity. For more on arranging these spaces, see our outdoor living space planning guide and backyard design resources.

Pergola Wood: Choosing and Protecting the Material

The USDA Forest Products Laboratory’s Wood Handbook explains that wood properties strongly affect finish performance. The end grain of wood is commonly 100 times more porous than the side of a piece of wood, so it absorbs much more stain or finish. For any outdoor wood structure, sealing end grain is critical to prevent excessive moisture uptake. The handbook notes that woods with wide, prominent bands of latewood, such as southern yellow pine and Douglas-fir, can be more challenging to finish because the density difference between earlywood and latewood can lead to uneven paint adhesion. In contrast, species like western redcedar and redwood have thin latewood bands and give excellent paint performance.

When selecting a finish, consider appearance, protection from water and sunlight, and cleanability. Exterior finishes include paint, varnish and stain, and they require periodic maintenance as they weather. The Wood Handbook also points out that knots are a common problem: paint often peels from knots because they are high density and may contain pitch, and knots are prone to cracking.

The University of Missouri Extension warns that subterranean termites live in the soil and can enter wood that is in contact with soil. To minimize risk, avoid wood-to-soil contact. The extension guide recommends using treated wood for components that are most susceptible to termite attack, such as sill plates. Treated lumber can provide protection, but termites can still build mud tubes over treated wood to reach untreated areas. For pergola posts, ensure they are set on concrete footings that extend above the soil, and maintain a gap between the soil surface and any wood siding or trim so that mud tubes are visible during inspections. Learn more about wood structures in our decks guide.

Keeping Fire Features at a Safe Distance

The U.S. Fire Administration (USFA) provides clear guidance on outdoor fire safety. Grills, whether propane, charcoal or wood pellet, should only be used outside. Place your grill well away from siding, deck railings, eaves and overhanging branches. The USFA recommends keeping a 3-foot safe zone around the grill, free of kids and pets. For fire pits, chimneys and outdoor fireplaces, the agency says to use them at least 10 feet away from your home or anything that can burn. Campfires should be built at least 25 feet away from tents, shrubs and anything that can burn.

These distances apply to overhead structures as well: a pergola with a fabric cover or wooden beams is a combustible structure, so fire features need to be placed accordingly. Always use a metal screen over wood-burning fires to keep sparks from floating out, and turn off or put out fires before leaving the backyard. For more on safe placement, see our fire pits article.

Permits, Footings and Underground Utilities

Before you start digging holes for pergola posts or planting large trees, you need to know what lies beneath. The national 811 “before you dig” service reminds anyone who plans to dig to contact 811 or their state 811 center’s website a few business days before digging. This free service arranges for the approximate location of buried utilities to be marked with paint or flags. Even small projects like planting a tree or installing a mailbox can hit underground lines, and failing to call 811 is the leading cause of utility damage each year. Once all utilities have marked their lines, dig carefully around the marks and consider relocating projects that are too close.

For pergolas and other structures that require footings, local building codes may apply. Rules about permits, setbacks, height limits and HOA approvals vary widely. Check with your local building department, fire department or homeowners association before finalizing your plans. For load-bearing work, consult a qualified builder or structural inspector who can ensure the footings and connections are appropriate for your soil and wind conditions. Our pergolas and shade page offers additional planning tips, and the outdoor living section covers related topics.

Frequently asked questions

How far should a fire pit be from a pergola?

According to the U.S. Fire Administration, fire pits, chimneys and outdoor fireplaces should be at least 10 feet away from anything that can burn. Since a wood pergola or one with a fabric cover is combustible, that 10-foot distance is a good starting point. Always check local fire codes, which may require greater clearances.

Do I need a permit to build a pergola?

Permit requirements depend on your local building department. Some areas require permits for any structure attached to a house or over a certain size, while others do not. Contact your local building department to learn what rules apply. Also check with your HOA if you have one, as they may have additional guidelines.

What kind of wood should I use for a pergola?

The USDA Forest Products Laboratory notes that woods with thin latewood bands, such as western redcedar and redwood, give excellent paint performance. Pressure-treated wood is another common choice, especially for posts near the ground. The University of Missouri Extension advises using treated wood for any component that could be susceptible to termites, and always avoiding direct wood-to-soil contact. Sealing end grain and applying an exterior finish will help any wood last longer.

For more ideas on shade structures, materials and layout, see our Pergolas and Shade guide.

Sources