How to Install an Attic Fan

This guide covers the full installation of a gable-mount or roof-mount powered attic ventilator — from choosing the right fan size and mount style for your roof configuration through framing the opening, running the electrical circuit, setting the thermostat, and sealing the installation against weather and pests. A properly sized attic fan can drop attic temperatures by 30°F to 50°F on a hot day, reducing air-conditioning load and extending shingle life.

Most gable-mount installations are a half-day project for a competent DIYer with basic carpentry and electrical skills. Roof-mount installations add complexity: working on a pitched surface, cutting through roofing material, and flashing the penetration correctly to prevent leaks. Both types require the same electrical work — a 120V dedicated circuit or a tap from an existing circuit with sufficient capacity, a built-in thermostat, and a humidistat in climates with heavy winter moisture.

Time: 4–8 hours depending on mount type. Cost: $120–$480 including fan unit, electrical materials, and flashing (gable mounts at the low end, ridge-mount solar units at the high end). Difficulty: Intermediate. Requires comfort with attic work and basic electrical. Permit: Required in most jurisdictions for new electrical circuits — check with your local building department. Contractor recommended: Only if you are uncomfortable working on a pitched roof or running new electrical wire through finished walls.

What You Will Need

Tools

Materials

Sizing the Fan — How Much CFM Do You Need

Attic fans are rated in cubic feet per minute (CFM). The rule of thumb is 0.7 CFM per square foot of attic floor area. Multiply your attic's square footage by 0.7 to get the minimum CFM rating. For attics with dark shingles or in USDA climate zones 4–8 where summer heat is intense, use 1.0 CFM per square foot instead.

Example: a 1,500-square-foot ranch home with a simple gable roof has roughly 1,200 sq ft of attic floor. At 0.7 CFM/sq ft, you need a fan rated for at least 840 CFM. Most residential units run 900–1,600 CFM; select the next size up from your calculated minimum. An undersized fan runs continuously without achieving adequate airflow; an oversized fan can depressurize the attic and pull conditioned air from the living space if the ceiling is not well air-sealed.

Ensure intake ventilation equals or exceeds exhaust. Existing soffit vents should provide at least 1 square foot of net free area (NFA) for every 300 CFM of fan capacity. If your soffit venting is inadequate, the fan will starve and you must add baffles and supplemental ventilation before proceeding.

Gable Mount vs. Roof Mount — Which to Choose

Gable-mount fans install in the existing gable vent opening (or a new framed opening in the gable-end wall) and are significantly easier to install than roof-mount units because all work is done from inside the attic or from a ladder at the gable end — no roof penetrations, no flashing. They work best in simple gable-roofed homes where both gable ends are accessible. Hip roofs with no gable ends cannot use this mount type.

Roof-mount fans install through the roof deck itself, typically near the ridge where the hottest air collects. They are more effective in hip-roofed homes and in cases where the attic has multiple disconnected bays. The installation requires cutting through the roof sheathing and shingles, installing a properly flashed curb or base, and ensuring every penetration is watertight. A leaking roof-mount installation is a serious moisture problem — take your time on the flashing step.

Step-by-Step Installation

Step 01 · Confirm the electrical supply and pull any permits

Before purchasing the fan, identify where the electrical supply will come from. The simplest approach is a dedicated 15-amp, 120V circuit run from the main panel. If running a new circuit through finished walls is impractical, check whether an existing attic junction box has sufficient capacity on its circuit — you need at least 1 amp of headroom above the existing load. Most fan motors draw 4–7 amps.

In most jurisdictions, any new electrical circuit or new wiring requires a permit. Pull the permit before beginning work. Unpermitted attic-fan wiring is a frequent flag on home inspection reports and can complicate a future sale. The permit fee is typically $25–$75 and the inspection is straightforward for a simple circuit.

Step 02 · Choose the location and mark the opening

For a gable-mount fan, locate the existing louvered gable vent at one end of the attic. Most residential gable vents are 14×24 inches or 18×24 inches — check whether your fan's housing fits the existing opening. If the existing vent is too small, you will frame a new opening. Mark the center of the opening and verify there are no obstructions — wires, pipes, or blocking — behind the vent louver before cutting.

For a roof-mount fan, choose a location 18–24 inches below the ridge on the south or west face of the roof, between two rafters. Go into the attic with a flashlight, measure between rafters (typically 16 or 24 inches on-center), and drive a roofing nail through the deck from inside to mark the center of the opening. Check that the selected location is not above a rafter, not directly over a ceiling joist penetration, and not in an area with poor intake airflow.

Step 03 · Frame the rough opening (if needed)

If the existing gable vent is undersized or if you are installing a roof-mount unit, you need to frame the opening. For gable-mount fans, measure the fan housing dimensions and add 1/2 inch to each side for clearance. Cut away the existing siding or louver with a reciprocating saw, then install a doubled 2x4 header across the top of the opening and a sill plate across the bottom. Use 3-inch structural screws into the existing stud framing on each side. Install cripple studs if the opening height requires them.

For a roof-mount installation, use the nail you drove from inside as a center reference. Cut a 4-inch pilot hole through the shingles and decking from outside the roof with a reciprocating saw or hole saw. Enlarge to the full rough-opening dimension specified by the fan manufacturer — typically 12×12 to 14×14 inches. Work carefully: you are cutting through shingles, felt paper, and OSB or plywood decking. Keep the saw controlled and wear eye protection.

Step 04 · Install the fan housing

For a gable-mount unit, slide the fan housing into the framed opening from inside the attic. Most housings have adjustable mounting tabs that bear against the framing on each side. Fasten the housing with 1-5/8-inch galvanized screws through the mounting flanges into the rough framing. The fan should be centered in the opening and level — check with a small torpedo level before fastening tight. Install the exterior gable louver over the opening per the manufacturer's instructions, sealing the perimeter with silicone caulk.

For a roof-mount unit, the housing typically includes a pre-assembled curb or raised base. Slide the base over the opening from outside the roof. Lift the surrounding shingles — use a pry bar carefully to avoid cracking — and slide the base flange under the uphill shingles and over the downhill shingles, following the same layering principle as a pipe boot flashing. Nail the flange through the roof deck with roofing nails, then apply roofing cement under each lifted shingle before pressing it back down. Cap the nails with additional roofing cement.

Step 05 · Run the electrical cable

Route 14-gauge NM-B cable from the power source (panel or junction box) to the fan location. In an unfinished attic, you can staple the cable to rafters every 4 feet, keeping it at least 1-1/4 inches from the edge of any framing member to protect it from driven fasteners. Where the cable runs through attic insulation, staple it to the top chord of the trusses or to rafters and keep it above the insulation — buried wiring creates a heat buildup risk.

If you are running a new circuit from the panel, use 14-gauge wire on a 15-amp breaker or 12-gauge on a 20-amp breaker. Drill through top plates with a 3/4-inch spade bit and use grommets or anti-abrasion bushings wherever the wire passes through framing. Leave 12 inches of extra wire at both the fan end and the panel end before making connections.

Step 06 · Wire the fan and thermostat

Turn off the circuit breaker and verify with a non-contact voltage tester before touching any wires. Most powered attic fans have an integrated thermostat and humidistat mounted in the wiring compartment of the housing. Connect the incoming black (hot) wire to the thermostat input terminal, the white (neutral) to the neutral bus in the fan wiring box, and the bare copper or green wire to the ground terminal. Follow the wiring diagram included with your specific fan — configurations vary by brand.

Set the thermostat to your target activation temperature. Most manufacturers recommend 100°F–110°F as the set point, which is warm enough that the fan does not cycle on during mild weather but cool enough to prevent summer heat buildup. If your unit has a humidistat, set it to 60–70% relative humidity to prevent winter condensation problems in the attic. Tighten all wire connections, close the wiring compartment, and restore power before proceeding to testing.

Step 07 · Install hardware cloth pest exclusion

Any opening into an attic is an entry point for wasps, birds, and squirrels. Cut a piece of 1/4-inch galvanized hardware cloth 2 inches larger than the fan's intake or exhaust opening on all sides. Fold the edges back 1 inch to create a frame, then fasten the cloth to the inside of the housing or the framing around the opening with 1/2-inch staples or small galvanized screws through a wood lath strip. The hardware cloth should be taut and gap-free. Do not use fiberglass window screen — insects can chew through it and it clogs easily with attic dust.

Step 08 · Seal the perimeter against air and weather

For gable-mount installations, apply a continuous bead of paintable silicone caulk around the perimeter of the exterior louver where it meets the siding. Tool the bead smooth and wipe away excess. Where the interior housing meets the gable framing, seal the gap with foam backer rod and caulk or with weatherstripping tape. Any gap between the fan housing and the rough framing is an air pathway that defeats the pressure differential the fan creates.

For roof-mount installations, run a bead of roofing cement under every lifted shingle edge and around the entire perimeter of the base flange. Press the shingles firmly down. Seal around the dome or cap of the fan housing with self-leveling roof sealant. Check the installation from inside the attic immediately after rain to confirm no water intrusion.

Step 09 · Test the installation

Restore power at the panel. On a warm day, the fan should cycle on automatically when the attic reaches the set temperature. You can also trigger a manual test by temporarily adjusting the thermostat dial to its lowest setting (usually 70°F or 80°F). Stand in the attic with the fan running and check that: the motor runs smoothly without bearing noise or vibration, the blade spins freely without contacting the housing, and you can feel airflow through the intake vents. With the fan running, open the attic hatch one inch and hold a piece of tissue near the gap — it should be pulled toward the attic, indicating positive flow out through the fan and intake from below.

Step 10 · Insulate around the housing (thermal bypass prevention)

Where the fan housing penetrates the attic floor plane (if any), or where the electrical cable exits the conditioned space into the attic, seal all gaps with non-expanding foam or caulk. Thermal bypasses around penetrations defeat attic insulation and are a significant source of energy loss. If the fan unit is positioned on an attic floor or knee wall, build a lightweight insulated cover box from rigid foam board that can be placed over the housing in winter when the fan is not in use — this prevents reverse convective heat loss through the fan housing during heating season.

Common Mistakes and What to Watch For

When to Call a Pro

Call a licensed electrician if your panel is at capacity and adding a new 15-amp circuit requires load management or subpanel work. Call a roofing contractor if your roof is older than 15 years, uses slate or tile, or if you are not comfortable working on a pitched surface with fall protection. A roofing contractor can install the curb and flashing while you handle the electrical — splitting the work this way is a reasonable cost-benefit trade for most homeowners.

Maintenance After Installation

Once per year at the start of cooling season: open the attic hatch, turn the fan on manually, and verify smooth operation. Clean the blade with a dry cloth to remove dust accumulation, which adds weight and reduces airflow. Lubricate the motor bearings annually with two drops of electric motor oil if your unit has oil ports (many sealed-bearing motors do not require lubrication — check the manual). Inspect the flashing or exterior louver for cracks or separated caulk. Reapply exterior caulk wherever it has shrunk or failed. Clean the hardware cloth screen of accumulated lint and debris. In winter, verify the humidistat is operational if your climate produces attic condensation.

Understanding Thermostat and Humidistat Settings

The thermostat is the brain of the system. Most units ship with the dial pre-set around 80°F — too low for optimal performance. At 80°F the fan runs almost continuously through the summer, wearing out the motor and providing little energy benefit because the attic never gets hot enough to create a meaningful temperature delta with the outdoors. Reset the thermostat to 100°F or 105°F. At this setting the fan activates when solar heat gain drives attic temperatures into the danger zone for shingles (typically above 130°F on a 95°F day without ventilation), cycles the hot air out within 10–20 minutes, and then shuts off. This intermittent cycle is gentler on the motor and captures the primary thermal benefit without running continuously.

If your unit includes a humidistat, set it between 60% and 70% relative humidity. In northern climates, winter moisture migration from the living space into the attic can cause condensation on the sheathing and lead to mold, rot, and ice damming. The humidistat activates the fan to purge this moisture even when the attic is cold, preventing the humidity from reaching the dew point of the roof sheathing. In climates below USDA zone 5, the humidistat setting may be the more important of the two controls throughout the year.

Electrical Considerations — GFCI, Dedicated Circuits, and Code

NEC 2020 and many local amendments require GFCI protection for circuits in attics that contain HVAC equipment. Check with your AHJ (authority having jurisdiction) whether your attic circuit requires GFCI protection. If so, use a GFCI circuit breaker at the panel rather than a GFCI outlet at the fan — the fan's wiring compartment typically does not have room for a GFCI receptacle and you cannot install one inside the fan housing without violating the manufacturer's instructions.

For dedicated circuits: run 14/2 NM-B for a 15-amp circuit or 12/2 for a 20-amp circuit from the panel to a single-gang junction box mounted to a rafter within 6 feet of the fan. From the junction box, run a short whip to the fan's wiring compartment. This approach simplifies future servicing — the junction box is accessible without disturbing the fan wiring, and you can use the junction box to splice in a timer or smart switch if desired. Do not daisy-chain the fan onto a circuit serving HVAC equipment, lighting, or outlets that run continuously — the combined loads may trip the breaker during peak demand.

Solar-Powered Attic Fans — Are They Worth Considering

Solar-powered attic fans eliminate the need for electrical wiring entirely. A photovoltaic panel mounted on the roof powers the motor directly — no wiring through the house, no permit in many jurisdictions, no electricity cost. The trade-off: they are significantly more expensive ($250–$500 versus $80–$150 for hardwired units), and their output is directly tied to sunlight. On overcast days when outdoor temperatures are mild and attic ventilation is less critical, they run normally. On extremely hot, slightly overcast summer afternoons — exactly when attic temperatures peak — reduced solar output reduces fan speed and CFM delivery at the worst possible moment.

Solar fans make the most sense for: garages or workshops without existing electrical service, secondary structures where wiring costs would be prohibitive, or jurisdictions with onerous electrical permit requirements. For primary residences with panel access and existing electrical infrastructure, hardwired fans deliver more consistent performance per dollar.

Troubleshooting After Installation

Fan does not turn on: verify the thermostat is set below current attic temperature (remember you may need to raise the attic temp by closing the hatch for 30 minutes on a warm day), check that the circuit breaker is on, confirm all wire connections in the wiring compartment are tight, test voltage at the fan's hot terminal with a multimeter. Fan turns on but attic temperature stays high: insufficient intake ventilation — measure NFA of existing soffit vents and add if deficient; fan may also be undersized for attic volume. Fan vibrates loudly: blade is off-balance due to accumulated dust or shipping damage — clean and re-balance or replace the blade assembly. Motor hums but blade does not spin: motor capacitor has failed — replacement capacitors are available for most residential fan motors for $15–$30.

Energy Impact and Return on Investment

A properly installed and sized powered attic fan can reduce cooling loads by 10–15% in homes with poor attic insulation by maintaining attic temperatures closer to ambient rather than 40–60°F above ambient. In homes with adequate attic insulation (R-38 or better), the benefit is smaller because the insulation already limits heat transfer into the living space — in this case, the greater benefit is shingle longevity, not cooling cost reduction. Asphalt shingles exposed to sustained temperatures above 160°F age significantly faster; an attic fan that keeps the roof deck below 140°F on a 95°F day may extend shingle life by 3–5 years on a southern exposure.

At a fan cost of $150–$300 installed and electricity usage of roughly $10–$25 per cooling season (4–7 amps × 8 hours/day × 90 days × $0.12/kWh), the payback period is 3–8 years depending on local electricity rates and climate. In utility-deregulated markets with higher electricity costs, payback can be as short as 2 years.

Related attic installation guides: How to install attic insulation, How to install a pull-down attic ladder. See the full attic install index for all attic projects. For whole-house ventilation strategy, see the Install lane overview. Additional reading: basement egress window installation for homes adding below-grade living space, and bathroom ventilation upgrades for whole-house moisture management.

Install · Attic

How to Install an Attic Fan

Time: 4–8 hours Cost: $120–$480 Difficulty: Intermediate Permit: Usually required

A properly sized attic fan drops attic temperatures 30–50°F on hot days, cutting air-conditioning load and extending shingle life. This guide covers gable-mount and roof-mount installation from first measurement through final weatherproofing.

Sizing the Fan

Use 0.7 CFM per square foot of attic floor area as the baseline. For dark shingles or zones 4–8, use 1.0 CFM/sq ft. Confirm that existing soffit venting provides at least 1 sq ft of net free area per 300 CFM of fan capacity before proceeding.

Gable Mount vs. Roof Mount

Gable mounts are easier — all work is inside the attic or at the gable end wall. Roof mounts are more effective on hip-roofed homes but require cutting through the roof deck and proper flashing. Choose based on your roof type.

Installation Steps

Step 01 · Permit and electrical supply

Identify the power source, calculate circuit capacity, and pull the permit before purchasing the fan. Most fan motors draw 4–7 amps on a 15-amp circuit.

Step 02 · Mark the opening

For gable mount, measure the existing louver. For roof mount, drive a locating nail from inside the attic between two rafters, 18–24 inches below the ridge.

Step 03 · Frame the rough opening

Add 1/2 inch clearance on each side of the fan housing dimensions. Install doubled header and sill with 3-inch structural screws into existing framing.

Step 04 · Install the fan housing

Gable mount: fasten from inside the attic through mounting flanges. Roof mount: slide base flange under uphill shingles, over downhill shingles, nail and seal with roofing cement.

Step 05 · Run the electrical cable

Route 14-gauge NM-B above insulation, stapled to framing every 4 feet. Leave 12 inches of slack at each end before connecting.

Step 06 · Wire the fan and thermostat

Verify power is off with a voltage tester. Connect per the manufacturer's wiring diagram. Set the thermostat to 100–110°F and the humidistat to 60–70% RH if included.

Step 07 · Install hardware cloth

Fasten 1/4-inch galvanized mesh over all intake and exhaust openings. Fold edges back 1 inch and secure with lath strips and screws.

Step 08 · Seal the perimeter

Caulk exterior louver perimeter with silicone. Seal interior housing gaps with foam backer rod. Roof mount: apply self-leveling roof sealant around the dome.

Step 09 · Test the installation

Set the thermostat to 80°F temporarily to trigger a manual test. Confirm smooth motor operation, free blade rotation, and measurable intake airflow through soffit vents.

Step 10 · Seal thermal bypasses

Foam all cable and housing penetrations through the attic floor plane. Build a removable insulated cover box for winter.

Most common failure: Inadequate soffit intake. If existing venting is undersized, the fan pulls conditioned air from the living space through ceiling gaps rather than hot air from the attic. Calculate NFA before installing.

Annual Maintenance

Once per year at start of cooling season: clean the blade, oil the motor if it has oil ports, inspect flashing and caulk, clean the hardware cloth screen.