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:

  1. High voltage to strike an arc (ionize the gas and get discharge started)
  2. 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

Wiring

For a single-tube fixture with a magnetic ballast:

  1. Mains in: Line (L) and Neutral (N) arrive at the fixture.
  2. Line connects to one terminal of the ballast.
  3. The other ballast terminal connects to one pair of tube cathode pins (one end of the tube).
  4. The starter socket connects in parallel with one of the tube's cathode ends.
  5. A wire runs from the starter to the other tube cathode end.
  6. 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:

  1. Power on: Starter glow-discharges, bi-metal strip heats and closes.
  2. Closed starter: Current flows through ballast → cathode A → cathode B → neutral. Cathodes heat up.
  3. Bi-metal cools slightly, springs open.
  4. Ballast inductive kick: Voltage spike ionizes the tube gas, arc strikes.
  5. 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

Wiring Steps (Typical Rapid-Start Electronic Ballast, 1 or 2 Lamps)

Mains side:

  1. Black wire from ballast to incoming Line.
  2. White wire from ballast to incoming Neutral.
  3. Green wire (if present) to fixture ground.

Lamp side (wires vary -- read the ballast label):

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.

  1. Cut the ballast wires at the ballast housing and insulate cut ends with wire nuts or tape.
  2. Remove the ballast from the fixture (this reduces fixture weight and eliminates a future failure point).
  3. 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).
  4. Run Neutral directly to one tombstone at the other end.
  5. 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

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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:

Create your own fluorescent light wiring diagram -- free

Key Takeaways

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.

Related guides