For most basic electrical jobs, the line between safe DIY and “call a licensed electrician” comes down to one question: does the work require opening your main electrical panel or adding a new circuit? Replacing a light fixture, swapping out a standard outlet, or installing a ceiling fan on existing wiring are all legal DIY tasks in most states and cost you $15 to $300 in parts. Anything involving your breaker panel, new wire runs through walls, or service upgrades requires a licensed electrician and a permit, and those jobs run $300 to $4,500 depending on scope. Getting that distinction wrong can void your homeowner’s insurance, fail a home inspection, or, in the worst cases, cause a house fire.
This guide lays out exactly what you can and cannot do yourself, what each job costs with and without a pro, and how to find someone trustworthy when you do need to hire.
Why This Decision Matters More Than Most People Think
Electrical mistakes kill about 400 people in the United States every year and cause roughly 51,000 home fires, according to the U.S. Consumer Product Safety Commission. The National Fire Protection Association reports that electrical fires cause an estimated $1.5 billion in property damage annually.
Beyond the safety risk, there is a financial one. If an unlicensed person does electrical work without a permit and a fire later occurs, your homeowner’s insurance company can deny your claim. That is not a hypothetical. It happens.
The good news is that the rules are clearer than most people assume. You do not need to guess.
What You Can Legally DIY in Most States
These are jobs a homeowner can typically do on their own property without a license. The key words are “typically” and “your own property.” Rental properties are a different category, and some cities, including Chicago and New York City, have stricter codes that require permits or professional work even for basic tasks.
Always check your local code before you start. Your city or county building department website will say what requires a permit and what does not.
Replacing an Existing Outlet or Switch
Swapping a standard outlet for a new one, or replacing a worn switch, is the most common DIY electrical job. The wiring is already there. You are connecting three wires: hot (black), neutral (white), and ground (green or bare copper).
DIY cost: $8 to $25 for a standard duplex outlet, $12 to $30 for a single-pole switch, $15 to $45 for a GFCI outlet (required in kitchens, bathrooms, garages, and outdoor locations)
Professional cost: $100 to $200 per outlet or switch, including labor and a service call fee
Tools needed: Flathead and Phillips screwdrivers, voltage tester (non-contact style, around $15 to $25 at any hardware store)
The rule that trips people up: You must turn off the breaker and verify with a voltage tester before touching anything. A tester costs less than a trip to the ER.
Installing or Replacing a Light Fixture
Swapping a ceiling light or wall sconce on existing wiring is straightforward. The fixture connects to the same three wires as the outlet above.
DIY cost: $30 to $300 for the fixture itself, depending on style
Professional cost: $150 to $350 installed, including the fixture if you supply it, or $200 to $500 if they source it
Watch out for: Junction boxes rated for the weight of your new fixture. Ceiling fans and heavy chandeliers require boxes rated for 35 to 50 pounds. A cheap plastic box will fail. Look for “fan-rated” on the box label.
Installing a Ceiling Fan (Existing Wiring)
If there is already a ceiling light on a switched circuit, you can replace it with a ceiling fan. This is a popular DIY job that most handy homeowners complete in two to three hours.
DIY cost: $75 to $350 for the fan, plus any tools you need to buy
Professional cost: $150 to $400 installed, or $250 to $600 if you need a fan-rated junction box installed first
Note: If you want to add a wall switch to control the fan and light separately, and only one switch wire runs to the box, a licensed electrician needs to run a new wire or install a wireless remote kit. This is a gray area where DIY gets more complicated quickly.
Replacing a Standard Thermostat
A standard 24-volt low-voltage thermostat swap (the kind that controls central HVAC) involves wires that carry almost no risk of shock. This is genuinely beginner-friendly.
DIY cost: $20 to $350 depending on whether you are installing a basic model or a smart thermostat
Professional cost: $100 to $300 for the swap, often free if your HVAC company does it during a maintenance visit
The ENERGY STAR program certifies smart thermostats that can save you up to $50 per year on energy bills. That payback makes the DIY math attractive.
Replacing a Doorbell (Low-Voltage)
Standard doorbells run on 16 to 24 volts from a transformer, not the 120-volt household current that kills people. Swapping a wired doorbell is low-risk and easy.
DIY cost: $20 to $250 for a new unit, including smart video doorbells
Professional cost: $150 to $300 installed
What You Should Never DIY
These are jobs that require a licensed electrician in virtually every jurisdiction in the United States. Do not let a YouTube tutorial convince you otherwise.
Any Work Inside Your Electrical Panel
Your breaker panel is where 200 amps of incoming utility power lives. The main breaker at the top does NOT fully de-energize the service entrance wires at the top of the panel. Those wires stay live even with the main breaker off, and they can kill you instantly.
Even licensed electricians are careful around service entrance cables. Homeowners should never open the panel cover beyond checking which breaker controls which circuit.
Jobs that require panel access: adding new circuits, upgrading amperage (100A to 200A), adding a subpanel, installing a whole-home generator transfer switch, or installing a whole-home surge protector.
Professional cost for a 200-amp panel upgrade: $1,500 to $4,000 depending on your location and whether the utility needs to pull the meter. The U.S. Department of Energy recommends 200-amp service for most modern homes with EV chargers, central AC, and electric appliances.
Running New Circuits or Wiring Through Walls
Fishing wire through walls, drilling through plates, and connecting new circuits to your panel requires both a license and a permit in every state. This is where do-it-yourself mistakes create hidden hazards that can smolder in your walls for years before igniting.
Professional cost for adding a dedicated 20-amp circuit: $300 to $800, depending on distance from the panel and wall material
For an EV charger circuit (240V, 50 amp): $500 to $1,500. Read more in our EV charger installation cost guide.
Outdoor or Underground Wiring
Adding exterior outlets, running underground circuits to a detached garage or shed, or installing landscape lighting on a hardwired circuit all require permits and typically a licensed electrician. Water and electricity near your foundation is a combination that demands correct installation.
Professional cost for a 240V outdoor circuit to a detached garage: $1,000 to $3,500
Whole-Home Rewiring
If your home has aluminum wiring (common in houses built between 1965 and 1973), knob-and-tube wiring (pre-1950 homes), or cloth-insulated wiring that is cracking or showing scorching, do not attempt repairs yourself. Old wiring systems have failure modes that require rewiring the entire affected area, not patchwork fixes.
Professional cost: $8,000 to $20,000 for a full house rewiring, which sounds alarming until you consider what an electrical fire costs.
Cost Comparison: DIY vs. Professional
| Job | DIY Cost (Parts Only) | Professional Cost | Permit Required? |
|---|---|---|---|
| Outlet replacement | $8-$45 | $100-$200 | Usually no |
| GFCI outlet installation | $15-$45 | $150-$250 | Usually no |
| Light fixture replacement | $30-$300 | $150-$350 | Usually no |
| Ceiling fan (existing box) | $75-$350 | $150-$400 | Usually no |
| Ceiling fan (new box needed) | Not recommended | $250-$600 | Varies |
| Smart thermostat | $20-$350 | $100-$300 | No |
| New 20-amp circuit | Not allowed | $300-$800 | Yes |
| Panel upgrade (100A to 200A) | Not allowed | $1,500-$4,000 | Yes |
| EV charger circuit | Not allowed | $500-$1,500 | Yes |
| Whole-home rewiring | Not allowed | $8,000-$20,000 | Yes |
The Permit Question: What Happens If You Skip It?
A building permit for electrical work is not just bureaucratic red tape. It is the mechanism that gets a licensed inspector to look at your work before you close up the walls.
Skipping a permit on work that requires one creates several real problems:
Home sale complications. When you sell your home, a buyer’s inspector or the title company may discover unpermitted work. You will either need to open walls so an inspector can review it after the fact, or reduce your asking price. In some states, sellers are required to disclose unpermitted work.
Insurance denial. As mentioned above, if a fire or electrical fault occurs and an investigation reveals unpermitted work, your insurer may deny your claim. Check your policy language under “concealment or fraud” provisions.
Safety. The National Electrical Code (NEC), published by the National Fire Protection Association and adopted by most states, exists because electrical failures cause predictable, preventable deaths. Inspectors catch real problems.
The permit fee itself is typically $50 to $200, a small cost relative to the risk of skipping it.
State-by-State Differences: What to Know
Electrical licensing requirements vary by state. A few highlights:
States with strict homeowner exemptions: California, Washington, Oregon, and most Northeastern states limit homeowner DIY to the property you live in as your primary residence, and many require permits even for outlet swaps in older homes.
States with broader homeowner exemptions: Texas, Arizona, and some Southern states allow more DIY scope for primary residences, but local city and county codes can be stricter than state law. Austin, Texas, for example, requires permits for most electrical work even on owner-occupied homes.
Always check locally. Your city or county building department is the definitive source. Most have this information on their website under “building permits” or “electrical permits.” You can also call and ask: “Does replacing an outlet in my primary residence require a permit in your jurisdiction?”
How to Find and Vet a Licensed Electrician
When you do need a pro, the stakes are high enough to spend 30 minutes vetting before you hire. Here is what matters:
Verify their license. Every state has an online lookup tool through its contractor licensing board. Search “[your state] electrical contractor license lookup” and enter the company name or license number. Do not take their word for it.
Check for insurance. Ask for a certificate of general liability insurance and workers’ compensation coverage. If an uninsured electrician gets hurt on your property, you may be liable.
Get three written quotes. Prices for electrical work vary significantly by region and by contractor. Three quotes give you a reality check and a negotiating position.
Ask who pulls the permit. For permitted work, the licensed contractor is responsible for pulling the permit and scheduling the inspection. If a contractor offers to skip the permit to save money, walk away. That is a major red flag.
Check reviews carefully. Look for patterns in one-star reviews, not just the star rating overall. Complaints about no-shows, surprise charges, and sloppy work that failed inspection are the warning signs that matter.
The National Association of Home Builders maintains resources for finding licensed tradespeople in your area.
Questions to Ask Before You Hire
Before signing anything or paying a deposit:
- Are you licensed in this state, and can I verify your license number?
- Will you pull the permit for this job, or is a permit not required?
- Will your own employees do the work, or will you subcontract it?
- What is included in this quote, and what would cause the price to increase?
- How long have you been in business, and can I see references for a similar job?
- Do you offer a warranty on workmanship, and what does it cover?
A reputable electrician will answer all of these without hesitation. Evasion on any of them, especially license verification or permit responsibility, is a warning sign.
When to Call Right Now
Some electrical situations are not “should I DIY this?” questions. They are “I need to call an electrician today” situations:
- You smell burning plastic or see scorching around any outlet or switch
- Breakers trip repeatedly for the same circuit (read our circuit breaker guide for more context, but a persistently tripping breaker needs professional diagnosis)
- Lights flicker throughout your home, especially when appliances turn on
- You have aluminum wiring (silver-colored, often marked AL on the wire jacket) and have not had it evaluated
- Your home is pre-1960 and has not been rewired
These are fire risks, not inconveniences. The CPSC carbon monoxide and fire safety resources offer additional guidance on electrical fire warning signs.
The Bottom Line
If you are comfortable working with your hands, can follow instructions carefully, and are willing to turn off the correct breaker and verify it with a voltage tester, basic fixture and outlet swaps are genuinely good DIY projects. You save $100 to $300 per job, and you learn something about how your home works.
For everything else, from new circuits to panel upgrades to outdoor wiring, hire a licensed electrician, pull the permit, and get the inspection done. The peace of mind is worth it, and so is knowing your homeowner’s insurance will still be there when you need it.
Official Resources
- U.S. Consumer Product Safety Commission: Electrical Safety for fire statistics and homeowner guidance
- National Fire Protection Association: NFPA 70 (National Electrical Code) for the code standard adopted by most US states
- U.S. Department of Energy: Home Energy Information for guidance on energy-efficiency upgrades
- ENERGY STAR: Smart Thermostats for certified smart thermostat models
- FEMA: Electrical Fire Safety for fire prevention resources
- Your state’s contractor licensing board: search “[state name] contractor license lookup” to verify any electrician’s credentials before hiring