That familiar buzzing hum and flickering shop light in the garage is almost always a failing ballast, not a bad tube. Most homeowners replace the bulbs three or four times before realizing the problem is inside the fixture housing. A fluorescent light ballast replacement takes about 30 minutes, costs $15 to $45 in parts, and extends the life of a perfectly good fixture by another 10 to 15 years. But before you start ordering parts, there is a more important question to answer: should you replace the ballast at all, or convert the fixture to direct-wire LED tubes and skip the ballast entirely? This guide covers both paths.
Why Ballasts Fail
The ballast regulates current flow to the fluorescent tubes. Without it, the tubes would draw uncontrolled current and destroy themselves in seconds. Ballasts fail from heat, moisture, end-of-life capacitor breakdown, or repeated cold starts in unheated spaces. Expected service life is 15 to 20 years for magnetic ballasts and 10 to 15 years for electronic ballasts.
Symptoms of a failing ballast include slow starts (tubes that take 30+ seconds to light), flickering after warm-up, dim output from new tubes, buzzing or humming, blackened ends on replacement tubes within weeks, and a burned-plastic smell from the fixture. A ballast that is visibly leaking dark fluid has ruptured and should be replaced immediately.
Magnetic vs Electronic Ballasts
Older fixtures built before 2005 typically use magnetic ballasts. These are heavy (3 to 5 pounds), run hot, hum audibly, and cause the distinctive 60-cycle flicker. Newer fixtures and most modern T8 installations use electronic ballasts. These are lighter (12 to 24 ounces), run cooler, are silent, and drive tubes at 20,000+ Hz for flicker-free operation.
Replacement ballasts must match the tube type (T12, T8, T5, or T5HO), the number of tubes (one, two, three, or four lamp), and the starting method (instant start, rapid start, or programmed start). The existing ballast has all this info printed on its label.
Safety and Tools
Turn off the breaker serving the fixture, not just the wall switch. Test the fixture with a non-contact voltage tester before touching any wiring. Magnetic ballasts manufactured before 1979 may contain PCBs (polychlorinated biphenyls), which are hazardous waste. If the ballast label does not clearly state “No PCBs” and the fixture is from the 1970s or earlier, handle with gloves and dispose through a local hazardous waste facility.
Required tools: Phillips and flathead screwdrivers, wire strippers, wire nuts, a ballast label or photo for wiring reference, and a voltage tester. Have a bucket ready; ballast fluid, if leaking, stains and smells.
Step-by-Step Replacement
First, remove the tubes by rotating them 90 degrees and sliding them out of the sockets. Set them aside. Remove the diffuser or lens if present. Next, unscrew the cover plate or ballast channel cover, which is usually held by two to four Phillips screws running lengthwise along the fixture.
Photograph the existing wiring before disconnecting anything. Match the new ballast’s wiring diagram to the original layout. Cut the old ballast wires close to the ballast body, leaving 5 to 6 inches of lead on the fixture side for fresh connections. Unscrew the ballast from the channel and remove it.
Wiring the New Ballast
Strip 0.5 inch of insulation from each wire. Match colors using the diagram on the new ballast: black to black (line hot), white to white (line neutral), and the socket-side wires (usually red, blue, and yellow) to the corresponding socket leads. Use wire nuts rated for the wire gauge, usually 18 AWG for ballast leads.
Tug-test each connection to confirm the wire nuts hold. Loose connections cause arcing and premature ballast failure. Tuck the wired ballast back into the channel, screw it down, replace the cover plate, and reinstall the tubes.
Matching Replacement Part Numbers
The easiest sourcing method is cross-referencing the ballast label. Every ballast carries a part number (example: Philips Advance IOP-2P32-N) and a voltage range (120V only, 277V only, or universal 120-277V). Amazon, Grainger, and HD Supply all cross-reference by part number. Universal Lighting Technologies and GE replacement ballasts are widely stocked.
Expect prices of $15 to $25 for a two-lamp T8 electronic ballast, $25 to $45 for a four-lamp ballast, and $30 to $60 for T5HO ballasts. Magnetic ballasts are still sold but cost nearly as much as electronic replacements with worse performance.
The LED Conversion Alternative
For many homeowners, the smarter move is bypassing the ballast entirely with direct-wire LED tubes. Type B LED tubes operate on line voltage (120V) directly and eliminate the ballast from the circuit. This cuts energy use by 40 to 60 percent, eliminates future ballast failures, and delivers instant-on light with no flicker.
Conversion takes slightly longer than a ballast swap: 45 to 60 minutes for a typical fixture. Cut out the ballast, re-wire the sockets directly to line voltage, and install LED tubes. Expect $8 to $15 per LED tube plus 20 minutes of wiring per fixture. Philips, Feit Electric, and Hyperikon all sell reliable direct-wire T8 LEDs at about $10 each.
When to Replace the Whole Fixture
If the fixture is older than 25 years, has rusted sockets, shows heat damage on the reflector, or has been retrofitted multiple times already, replacing the entire fixture with a new LED shop light makes more financial sense. Barrina and Hykolity sell 4-foot integrated LED shop lights with built-in drivers for $20 to $50, ready to install with a plug or hardwire connection.
Commercial-grade LED fixtures from Lithonia or Cooper Lighting run $60 to $150 for a 2×4 drop-in troffer and install with the same wiring as the old fluorescent fixture. These carry 5-year warranties and are rated for 50,000+ hours.
Disposal of the Old Ballast
Modern non-PCB ballasts can go in regular trash in most jurisdictions, though some states require e-waste recycling. Home Depot and Lowes accept old ballasts at the recycling kiosk in the store entrance. PCB-containing ballasts must go to a hazardous waste facility; check your county solid waste website for drop-off locations.
Mistakes to Avoid
Do not install a mismatched ballast. A T8 ballast on T12 tubes or vice versa will fail within weeks. Do not bypass a ballast and wire tubes direct without using Type B LED tubes specifically designed for direct-wire operation; you will destroy a fluorescent tube in seconds and possibly start a fire. Do not work on fixtures while power is on, even if the switch is off; dimmers and three-way switches leave live voltage at the fixture with the switch in the off position.