Fluorescent Light Wiring Diagram: Ballast and Tube Connections
Fluorescent lighting still dominates commercial and workshop spaces, and understanding how to wire -- or rewire -- a fluorescent fixture is a practical skill. The technology has split into three distinct categories: magnetic ballast with a starter, electronic ballast, and LED tube retrofit. Each wires differently, and crossing the methods results in a fixture that won't light, flickers constantly, or, in the worst case, runs dangerously hot.
Safety
Warning: Fluorescent fixtures run on 120V AC (or 277V in commercial installations). Always cut power at the breaker and verify with a non-contact voltage tester before opening the fixture. Older magnetic ballasts can contain PCBs (polychlorinated biphenyls) -- check for a warning label. PCB-containing ballasts must be disposed of as hazardous waste, not in standard trash.
How a Fluorescent Tube Works
A fluorescent tube is a gas-discharge lamp. It requires two things to start and run:
- High voltage to strike an arc (ionize the gas and get discharge started)
- Current limiting after starting (the ballast's main job -- once the arc starts, resistance drops and current would rise destructively without the ballast)
The cathodes at each end of the tube are coated with emitter material and connected to the ballast. Heating the cathodes pre-ionizes the gas before the arc strikes.
Type 1: Magnetic Ballast + Starter Wiring
The oldest and simplest circuit. A magnetic (choke/inductor) ballast limits current; a small preheat starter (a glow-discharge bottle) times the cathode heating.
Components
- Magnetic ballast: An iron-core inductor, typically rated for specific tube wattage (T8 or T12, 20W, 40W, etc.)
- Starter (FS-2, FS-4, FS-22, etc.): A small cylindrical device -- a bi-metallic strip inside a glow bottle -- that closes briefly to heat the cathodes, then opens to produce the inductive voltage spike that strikes the arc.
- Tube pins: T12 tubes have medium bi-pin ends; T8 tubes also bi-pin.
Wiring
For a single-tube fixture with a magnetic ballast:
- Mains in: Line (L) and Neutral (N) arrive at the fixture.
- Line connects to one terminal of the ballast.
- The other ballast terminal connects to one pair of tube cathode pins (one end of the tube).
- The starter socket connects in parallel with one of the tube's cathode ends.
- A wire runs from the starter to the other tube cathode end.
- Neutral connects to the remaining tube cathode terminal.
In shorthand: Line → ballast → tube pin A1 → starter → tube pin B1, and neutral → tube pin B2 (the second pin at each end is the other cathode terminal, completing the heating circuit).
Starter operation sequence:
- Power on: Starter glow-discharges, bi-metal strip heats and closes.
- Closed starter: Current flows through ballast → cathode A → cathode B → neutral. Cathodes heat up.
- Bi-metal cools slightly, springs open.
- Ballast inductive kick: Voltage spike ionizes the tube gas, arc strikes.
- Arc running: Voltage across the tube is too low to re-fire the starter, so it stays open. Ballast limits current.
If the tube flickers repeatedly without starting, the starter is usually the culprit -- replace the starter first (they cost under a dollar).
Two-Tube Wiring (Magnetic Ballast, Lead-Lag)
Commercial 2-lamp magnetic fixtures use a lead-lag ballast -- actually two ballasts in one housing. Tube 1 (lead) runs 90° ahead in phase of Tube 2 (lag). Each tube has its own starter. The wiring doubles up: two parallel circuits from the same supply.
Type 2: Electronic Ballast Wiring
Electronic ballasts replaced magnetic types in most new fixtures from the 1990s onward. An electronic ballast converts mains AC to a high-frequency (20--50kHz) output. Running at high frequency eliminates visible flicker and improves efficiency.
Key Differences from Magnetic
- No separate starter required.
- Ballast wires include a red wire for the heated cathode circuit in addition to standard blue/yellow output wires (colors vary by manufacturer -- always check the ballast label diagram).
- Most electronic ballasts are rated for specific lamp types: T8, T5, or T5HO; and specific tube lengths.
- Series-sequence start (preheats then strikes) or instant-start (strikes without preheating, shortens lamp life slightly).
Wiring Steps (Typical Rapid-Start Electronic Ballast, 1 or 2 Lamps)
Mains side:
- Black wire from ballast to incoming Line.
- White wire from ballast to incoming Neutral.
- Green wire (if present) to fixture ground.
Lamp side (wires vary -- read the ballast label):
- Blue wire to one cathode pair (both pins at lamp end A).
- Red/Yellow wire to the other cathode pair (both pins at lamp end B).
- On a 2-lamp ballast: additional wire pairs for the second lamp, labeled on the housing.
The exact number and color of output wires depends on whether the ballast is 1-lamp, 2-lamp, or 4-lamp and whether it is instant-start or programmed-start. The ballast label always includes a wiring diagram -- follow it, not generic color conventions.
Instant-start ballasts have only two output wires per lamp (one per end) and tombstone lamp holders that only connect to one pin. If you see empty pin slots, that is normal.
Type 3: LED Tube Retrofit (Ballast Bypass)
LED tubes come in three types. Getting this wrong is the most common LED retrofit mistake.
| LED Tube Type | Ballast Needed? | Notes |
|---|---|---|
| Type A (plug-and-play) | Yes, compatible ballast | Works with select electronic ballasts. Check compatibility list. |
| Type B (ballast bypass / line voltage) | No | Mains voltage wired directly to the tombstones. |
| Type A+B (dual-mode) | Either | Flexible; most practical for mixed environments. |
Ballast Bypass Wiring (Type B)
This is the most reliable long-term option. Remove the ballast entirely.
- Cut the ballast wires at the ballast housing and insulate cut ends with wire nuts or tape.
- Remove the ballast from the fixture (this reduces fixture weight and eliminates a future failure point).
- Run Line directly to one tombstone at one end of the fixture (both pins at that end are jumpered together in the tombstone for Type B tubes -- verify this before installing).
- Run Neutral directly to one tombstone at the other end.
- Install the Type B LED tube. The tube's internal driver converts mains voltage to the DC needed by the LEDs.
Caution: A ballast-bypass fixture is now a mains-voltage fixture at the lamp holders. Label the fixture: "Converted to LED -- direct-wire Type B lamps only." A subsequent user installing a Type A tube into a ballast-bypass fixture will have a dangerous misconnection.
Choosing Replacement Tubes
- T8 LED tubes (1-inch diameter): Direct replacements for T8 fluorescent. Most common for office/shop retrofits.
- T5 LED tubes: For slim fixtures.
- Wattage reduction: A 25W LED tube replaces a 40W T8 fluorescent, producing equivalent or greater lumens.
- Color temperature: 4000K (neutral white) for workshops; 3000K (warm) for retail or residential; 5000K (daylight) for detailed tasks.
Troubleshooting
| Symptom | Likely Cause |
|---|---|
| Tube flickers repeatedly at startup | Bad starter (magnetic) or tube end-of-life |
| One end of tube glows, no arc | Starter failing to open; try a new starter |
| Tube dims at ends but center dark | Tube at end of life (cathode emitter depleted) |
| Electronic ballast fixture won't start | Check for ballast thermal lockout (overheated) or lamp compatibility |
| LED Type A won't start | Ballast not on compatibility list; try bypass or Type B |
| Hum/buzz from fixture | Magnetic ballast aging; consider retrofit to electronic or LED |
Wire Color Reference
Fixture wiring on the mains side follows standard building wire color conventions, separate from the ballast's internal output leads (blue, red, yellow) described above:
| Wire | US (NEC) Color | UK/EU (BS 7671) Color |
|---|---|---|
| Line / Hot | Black (red for a second hot on multi-wire circuits) | Brown |
| Neutral | White | Blue |
| Ground / Earth | Green or bare copper | Green with yellow stripe |
These colors apply to the branch circuit wiring feeding the fixture -- the black, white, and green (or bare) conductors coming out of the junction box. Once you are inside the ballast itself, follow the ballast label diagram, not these mains colors, since ballast manufacturers use their own color codes for the output leads.
When You Need a Permit or a Licensed Electrician
Swapping a ballast, a tube, or an entire fixture on an existing circuit -- without adding new wiring or a new circuit -- is generally treated as a repair and does not require a permit in most US jurisdictions. Running new circuit wiring, adding a new fixture location, or tying into the panel typically does require a permit and an inspection; requirements are set locally, not by the NEC itself, so check with your local building department before starting.
If the fixture is on a 277V commercial circuit, hire a licensed electrician regardless of permit rules -- 277V circuits are more dangerous to work on and are frequently fed from three-phase panels with different disconnect procedures than a residential 120V circuit. If you are not confident identifying line, neutral, and ground at the fixture, or the junction box has more than one cable entering it, that is also a sign to call a licensed electrician rather than proceed.
Testing the Fixture Before You Open It
- Kill the breaker, not just the wall switch -- a wall switch can be wired to interrupt neutral instead of line on some older installations, leaving the fixture live even with the switch off.
- Verify with a non-contact voltage tester at the fixture wiring before touching anything. No beep or light means no voltage detected at that point.
- Check for line voltage at the ballast input (power restored briefly, tester only, no bare-hand contact): touch the non-contact tester to the incoming line wire at the ballast. It should indicate voltage when the wall switch is on.
- Resistance-test a magnetic ballast (power off, ballast disconnected from the tube and from the line): set a multimeter to resistance/ohms and measure across the ballast's input leads. A healthy magnetic ballast winding reads a low but nonzero resistance. A reading of zero indicates a shorted winding; a reading of infinite/OL indicates an open winding -- either means the ballast has failed.
- Electronic ballasts cannot be meaningfully resistance-tested because of the internal circuitry -- check instead for a bulged or leaking capacitor case, a burnt smell, or blackened wire ends, and confirm by substituting a known-good ballast of the same type.
- Isolate the tube by testing it in a fixture you know works. A tube that lights normally elsewhere confirms the problem is in the original fixture's ballast or wiring, not the tube.
Create Your Own Fluorescent Light Wiring Diagram
Use CircuitDiagramMaker to map out your retrofit before cutting wires:
- Draw the existing ballast circuit to document the as-is configuration
- Sketch the bypass wiring showing Line and Neutral routing to each tombstone
- Annotate the tombstone pin connections for Type B vs Type A installation
- Verify your wiring logic before opening the fixture
- Save and share with whoever does the physical work
Create your own fluorescent light wiring diagram -- free
Key Takeaways
- Magnetic ballast circuits use a separate starter (FS-series) to preheat cathodes and generate the arc strike voltage -- replace the starter first if the fixture flickers without starting.
- Electronic ballasts run at 20--50kHz, eliminate the external starter, and include output wires for cathode heating; follow the label diagram, not generic wire colors.
- LED Type A tubes need a compatible ballast; Type B tubes need ballast bypass; Type A+B do both.
- Ballast bypass (Type B): run Line to one end tombstone, Neutral to the other -- label the fixture for Type B tubes only.
- PCB-containing old magnetic ballasts require hazardous waste disposal.
- LED retrofits typically cut wattage by 35--40% for equivalent lumen output.
- Always verify mains voltage is off at the fixture before opening -- not just the wall switch.
Frequently asked questions
Can I mix a magnetic ballast with an electronic ballast on the same tube?
No. Magnetic and electronic ballasts use different starting methods and voltage waveforms, and their output leads aren't interchangeable. Mixing them on the same tube can prevent the tube from striking, cause it to flicker, or damage the ballast. Replace both ballasts together if you're converting a fixture from magnetic to electronic technology.
Do fluorescent ballasts need a ground wire?
Yes. Ballasts and fixture housings are metal and must be bonded to the circuit's equipment ground for shock protection, the same as any other fixed appliance. If the fixture's ground wire (green or bare copper) is missing or disconnected, restore it before energizing the fixture -- don't skip grounding to save a step.
Can I replace a fluorescent fixture entirely with an LED fixture instead of retrofitting tubes?
Yes, and it's often simpler than a ballast-bypass retrofit. A dedicated LED fixture has no ballast, no tombstones, and no compatibility questions -- you connect line, neutral, and ground directly to the fixture's built-in driver. This avoids the mislabeling risk of a bypassed fixture later being reused with the wrong tube type.
What size circuit do fluorescent light fixtures typically run on?
Most residential and light commercial fluorescent fixtures run on a standard 15A lighting circuit wired with 14 AWG copper, or a 20A circuit with 12 AWG copper if the circuit also serves outlets. Check the fixture's rated wattage against the circuit's total load before adding fixtures to an existing circuit.
Can I put a standard dimmer switch on a fluorescent fixture?
Not with a standard incandescent dimmer -- it will cause flickering, humming, or ballast failure. Dimming a fluorescent fixture requires a ballast specifically rated as dimmable and a compatible dimmer switch designed for that ballast. Check the ballast label before assuming any existing fixture can be dimmed.
Why do the ends of a fluorescent tube glow pink before it fully lights?
That's the cathode preheat stage -- the starter (or an electronic ballast's preheat circuit) is heating the emitter coating at each end of the tube before the arc strikes. A brief pink glow at both ends during startup is normal. If only one end glows and the tube never fully lights, the starter or that cathode has likely failed.