Setting up a generator safely means following a specific sequence: pick the right location, ground it properly, connect via a transfer switch or inlet box (never an extension cord into the panel), fuel it, and do a controlled first start. This guide walks through every step for both portable and standby generators.
Before You Start: What You'll Need
- •The generator (portable or standby) with operator's manual
- •Manual or automatic transfer switch (for anything beyond a few appliances)
- •Approved outdoor grounding rod (8 ft copper, for portable units without a floating neutral)
- •Fuel: gasoline, propane, diesel, or natural gas line depending on model
- •Heavy-gauge cord (for portable setups; 10-gauge minimum for 30A)
- •Battery (for standby units — first-fill only)
- •Local permit (required for standby, often for permanent portable setups)
See What a Generator Costs in Your Area
Enter your ZIP code for instant pricing from licensed local installers.
Step 1: Choose a Safe Location
Place the generator outdoors, at least 20 feet from any door, window, or vent. This isn't optional — carbon monoxide from generator exhaust kills hundreds of Americans every year.
Requirements:
- •Level concrete or composite pad
- •5 ft clearance on all sides for airflow
- •Exhaust pointed away from the house
- •Not in an enclosed porch, garage, or under a deck
- •Standby units: follow manufacturer clearance spec (typically 18 in from wall, 5 ft from windows, 3 ft from vents)
Step 2: Ground the Generator
Portable generators with a bonded neutral connected via a transfer switch don't need a separate grounding rod — the home's grounding system handles it. Portable generators used freestanding (no transfer switch) need an 8 ft copper grounding rod driven into earth and bonded to the generator frame with #6 copper wire.
Standby generators are grounded by the licensed electrician during installation per NEC 250.
Step 3: Install the Transfer Switch (or Inlet Box)
Never back-feed your home panel through an extension cord plugged into a dryer or stove outlet. This is a leading cause of lineworker electrocution during outages and will void your insurance.
Options, cheapest to best: 1. Generator-rated inlet box + manual transfer switch (6–10 circuits) — $400–$800 installed. Good for portable setups backing up essentials. 2. Whole-house manual transfer switch — $800–$1,500 installed. Switch between generator and utility for the entire panel. 3. Automatic transfer switch (ATS) — $1,200–$2,500 installed. Required for standby generators; powers the house within 10 seconds of outage.
All transfer-switch installation requires a licensed electrician and a permit.
Step 4: Connect Fuel
- •Gasoline portable: fill the tank outside, engine off and cool. Use a stabilizer if fuel will sit more than 30 days.
- •Propane portable or standby: connect the regulator hose to a 20–500 gallon tank; check for leaks with soapy water, not a flame.
- •Natural gas standby: a licensed gas fitter connects the generator to your gas line with a shutoff valve and flexible coupling.
- •Diesel: fill the day tank from a bulk tank. Check fuel age — diesel older than 12 months may need polishing.
Step 5: Add Oil and Coolant
Most portable generators ship without oil in the crankcase. Fill with the manufacturer-specified grade (commonly 10W-30 synthetic) to the dipstick mark. Standby units ship with oil but check the level before first start.
Liquid-cooled standby units also need coolant — pre-mixed 50/50 is standard.
Step 6: First Start (Controlled)
1. Turn the fuel valve to ON 2. Set the choke (portable only — most are "full" for cold start) 3. Turn the ignition key or pull cord 4. Let the engine run unloaded for 2–3 minutes to stabilize 5. Gradually apply load — for a standby unit, flip the ATS to GENERATOR manually and verify each breaker
If the engine doesn't start within 3 attempts, stop and troubleshoot (usually fuel, spark, or choke setting).
Step 7: Set the Exercise Schedule (Standby Only)
Standby generators are designed to run a self-test once a week for 5–20 minutes. Set the day and time via the control panel — midday on a weekday is typical. Skipping the weekly exercise is the #1 cause of standby generator failure when an outage actually hits.
Step 8: Register the Warranty
Register your generator within 30 days of install on the manufacturer's site. Warranty claims without registration usually require proof of purchase and the serial number — save both.
See What a Generator Costs in Your Area
Enter your ZIP code for instant pricing from licensed local installers.
Ongoing Generator Maintenance
- •Every 25 hours or annually: oil and filter change
- •Every 50 hours or 2 years: spark plugs
- •Every 100 hours or annually: air filter
- •Annual: full service from a licensed technician ($180–$400)
Frequently Asked Questions
Can I set up a generator myself?
You can set up a portable generator for freestanding use (extension-cord-to-appliance) yourself. Any connection to your home's electrical panel requires a licensed electrician and a permit in all 50 states. DIY panel connections are the leading cause of generator-related fires and lineworker injuries.
Where should I place my generator at home?
Outdoors, on level ground, at least 20 ft from any door, window, or vent, with exhaust pointing away from the house. Never in a garage, enclosed porch, or under a deck — even with the door open.
Do I need a permit to set up a generator?
For standby generators, yes — every US jurisdiction requires an electrical permit and most require a gas permit. For portable generators with a permanently installed inlet box and transfer switch, most jurisdictions require an electrical permit. For truly portable use (extension cords only), no permit.
How do I connect a generator to my house?
Via a transfer switch (manual or automatic) wired into your main electrical panel. The generator plugs into an inlet box outside, which feeds the transfer switch, which safely isolates your home from the utility while you're on generator power. Anything else (back-feeding through an outlet) is dangerous and illegal in most states.
How long does it take to set up a generator?
Portable freestanding setup: 30–60 minutes. Portable with inlet box and manual transfer switch: 4–8 hours of electrician time. Standby generator full installation: 1–2 days on site, 4–10 weeks from order to commission including permits.
What's the most common generator setup mistake?
Running the generator too close to the house or inside a partially-enclosed space. Carbon monoxide from generator exhaust is odorless and fatal at low concentrations. The second most common mistake is back-feeding the home panel through an extension cord — it's a fire and electrocution hazard and illegal.
Get Your Free Generator Quote
See real pricing from licensed installers in your area. No obligation, no pressure.
GeneratorPrice Editorial Team
Our editorial team researches and writes every article with input from licensed generator installers, electricians, and industry professionals. We are committed to providing accurate, unbiased information to help homeowners make informed decisions about backup power.