Mounting solar panels on a shed or greenhouse

Tilt angle, orientation, racking options, and wind load for small-structure mounting. How to put panels on a roof that wasn't designed for them.

Mounting solar panels on a shed, greenhouse, or outbuilding is the most common installation approach for small off-grid systems powering aquaponics, hydroponics, or grow lighting. The roof is already there, it faces roughly the right direction, and it gets the panels up off the ground where they're less likely to be shaded by fences, bushes, or accumulated snow.

The challenge: most sheds and greenhouses weren't designed with solar panels in mind. The roof structure may not be strong enough for the added weight, the angle may be wrong for optimal solar gain, and the attachment method matters for waterproofing and wind resistance.

Orientation and tilt

Orientation (azimuth): In the northern hemisphere, panels produce the most annual energy when facing due south (180 degrees azimuth). Panels facing southeast or southwest (150-210 degrees) lose about 5-10% of annual production compared to true south. East or west-facing panels lose 15-25%. North-facing panels lose 30-50% and are generally not worth installing.

If your shed roof doesn't face south, ground-mounted panels or a tilt frame on a flat roof section may be better than mounting on a poorly oriented roof.

Tilt angle: The optimal year-round tilt angle approximately equals your latitude. At 35 degrees latitude, a 35-degree tilt produces the most total annual energy. For winter-optimized systems (where you need maximum production during the low-sun months), add 15 degrees to your latitude. For summer-optimized systems, subtract 15 degrees.

Most shed and greenhouse roofs have a fixed pitch between 15-30 degrees. If the pitch is close to your latitude, mount the panels flush to the roof. If the pitch is significantly wrong (a low-slope roof at high latitude, for example), use a tilt bracket to angle the panels more steeply. Tilt brackets add $30-60 per panel and create a gap between the panel and the roof that improves ventilation (keeping panels cooler improves efficiency).

Roof structure assessment

A standard 60-cell or 72-cell solar panel weighs 18-25 kg and covers about 1.6-2.0 square meters. With mounting hardware, the total added weight is 12-15 kg per square meter of panel area. This is comparable to a light snow load and is well within the capacity of most properly built roof structures.

However, "properly built" is the key qualifier. A shed built with minimal lumber (2x4 rafters on 60 cm centers with no sheathing, just metal roofing screwed to purlins) may flex under the concentrated load of a panel mount. A greenhouse with a polycarbonate or polyethylene roof on a lightweight aluminum or PVC frame is not designed for any significant roof load.

For solid-framed sheds with sheathing (plywood or OSB under the roofing): Panels can typically be mounted directly to the roof using lag bolts into the rafters or through-bolts with backing plates. Locate the rafters and attach the mounting rails directly to them.

For metal-roofed sheds without sheathing: Use clamps or brackets that attach to the standing seams or purlins (the horizontal members that support the metal roofing). Standing seam clamps are non-penetrating, meaning they grip the seam mechanically without drilling holes in the roof. This preserves the waterproof integrity of the roofing.

For greenhouses: Don't mount panels on the greenhouse roof. The structure isn't designed for the load, and panels on the glazing block light to the plants below (defeating the purpose of the greenhouse). Instead, mount panels on an adjacent ground frame, on the side of the greenhouse (if south-facing), or on a nearby structure.

Waterproofing penetrations

Any bolt that passes through the roof creates a potential leak point. For shingle or membrane roofs, use flashing boots (rubber or metal collars that seal around the bolt and divert water). For metal roofs, use EPDM washers under the bolt head and apply lap sealant (butyl or urethane-based; not silicone, which doesn't adhere well to metal roofing over time).

The best approach: minimize penetrations. Use rail-based mounting systems where two or three mounting points per rail support multiple panels. Fewer holes means fewer potential leaks.

Wind load

Wind is the primary force acting on roof-mounted panels. A panel tilted above the roof surface acts as a sail: wind flowing underneath creates uplift that can tear panels and mounting hardware off the roof.

Flush-mounted panels (flat against the roof with minimal gap) experience the least wind uplift because wind can't get underneath them effectively. This is the preferred approach for high-wind areas.

Tilted panels (angled above the roof on tilt brackets) are more vulnerable to wind. The gap between the panel and the roof surface creates a channel for wind to enter and generate uplift force. In areas with sustained winds above 40 km/h or occasional gusts above 80 km/h, either mount flush or use heavy-duty brackets with through-bolts (rather than lag screws alone) and consider additional guy-wires or strapping.

Most panel manufacturer installation manuals specify a maximum wind rating for the panel (typically 2400 Pa, equivalent to about 180 km/h sustained wind). But this rating assumes proper mounting. A panel is only as secure as the weakest point in the mounting system: the bolt, the rail, the roof attachment, or the roof structure itself.

Ground-mount alternative

If the roof isn't suitable (wrong orientation, too weak, too far from the equipment), a ground-mounted frame is often simpler and cheaper. A basic ground mount for two to four panels can be built from pressure-treated lumber, Unistrut channel, or galvanized steel angle. Concrete deck blocks or driven posts anchor it to the ground.

Ground mounts are easier to install, easier to clean and maintain, and easier to adjust for optimal tilt angle. The trade-off: they take up ground space and are more vulnerable to shading from nearby objects, animals, and accumulated debris.

The solar array calculator can help you size the panel array and estimate production based on your roof orientation and tilt angle.

Tools and materials for a basic shed mount

For a 2-panel installation on a solid-framed shed with shingle or metal roofing:

Mounting rails: Two aluminum rails, each slightly longer than the panel width. Available from solar supply companies ($20-40 each) or fabricated from Unistrut channel ($10-15 per length from a building supply store). The rails span across two or more rafters and provide the attachment points for the panel clamps.

Panel clamps: Mid-clamps (for panels in the middle of a row) and end-clamps (for panels at the ends). These bolt to the rail and grip the panel frame. $2-5 each, 4-8 needed depending on the number of panels.

Lag bolts or roof bolts: Stainless steel lag bolts (5/16" or 3/8" x 3-4") for attaching rails to rafters through the roof. 4-6 per rail. Include flashing or EPDM washers for waterproofing.

Wiring: USE-2 or PV wire rated for outdoor/UV exposure, sized for the panel's short-circuit current. MC4 connectors (pre-attached to most modern panels) mate with corresponding MC4 pigtails on the wiring run.

Conduit (optional but recommended): EMT or PVC conduit protects the wiring run from the roof to the charge controller location. Reduces UV exposure on the wire jacket and protects against physical damage.

Total materials cost for a 2-panel roof mount: $80-150 in addition to the panels themselves. The installation takes 3-5 hours for someone comfortable on a roof with basic tools (drill, socket set, spirit level, tape measure).