Chapter 5 — Wiring
Chapter 5 of 10 · The most critical chapter · Four stages
Wiring is where most people feel anxious. It should not be — but that anxiety is valid, because nobody shows you what the machine looks like at each step along the way.
This chapter is structured around four visual stages. Each stage has a clear picture of what the machine should look like. You will always know where you stand.
Stage overview
| Stage | What you do | Machine state |
|---|---|---|
| 1 — Stock | Open the machine, orient yourself | All original wiring intact |
| 2 — Gutted | Disconnect the right wires, leave the rest | Specific wires removed, original harness mostly intact |
| 3 — Harness ready | Build or verify the new harness | Machine open, harness laid out and photographed |
| 4 — New wiring in place | Install all new connections | Gaggiuino harness connected, machine ready to close |
Machine unplugged for all four stages
All wiring work happens with the machine physically disconnected from the wall. Unplug before opening. Verify by trying the switch — nothing should happen.
Stage 1 — Stock
When you first open the Gaggia Classic Pro E24, this is what you are looking at.
Yes, it looks like that. This is normal. You are not the first person to open this machine and think "what am I looking at."
The interior has four main components connected by wiring:
- Pump — black cylindrical motor, upper-left. Two wires: Live (orange/brown) and Neutral (blue).
- Boiler — large brass/aluminium block, centre-right. Two heater terminals on the base; the brew thermostat disc and thermal fuse on the side.
- 3-way solenoid valve — bottom centre, two wires.
- Brew switch — front panel, multiple terminals (more than you expect on the E24).
- Mains socket — back of the machine, three wires: L, N, Earth.
- Eco PCB — small circuit board in its black plastic housing, left side. E24-specific. You will remove this entirely.
Photograph everything before touching anything
Take one wide-angle photo of the full interior and individual close-up photos of: - The pump terminals - The boiler heater terminals - The brew switch terminals - The mains socket terminals
These photos are your reference if anything gets confusing later.
Stage 2 — Gutted
This stage is simpler than it looks. You are removing the Eco PCB and its harness entirely, then disconnecting specific wires at their terminals. You are not cutting anything. Every connector pulls off by hand or with needle-nose pliers.
What you remove completely
The Eco PCB assembly — the black plastic housing on the left side contains the Eco PCB circuit board and its full wiring harness. This entire assembly comes out. Unplug every connector from the machine, unscrew the housing, and set it aside.
This is what you removed. The entire Eco PCB harness — every white connector, the board, the housing. It goes in a box or bag and is not reinstalled.
What you disconnect at the terminals
| Location | What | Why |
|---|---|---|
| Mains socket | The 3 original socket wires (L, N, Earth) | Gaggiuino harness socket wires connect here instead |
| Pump | Both original pump wires | Gaggiuino harness pump wires connect here instead |
| Boiler heater terminals | The 2 heater wires | Gaggiuino harness boiler wires connect here instead |
| Brew thermostat | The 2 wires on the disc | Thermocouple and jumper go here instead |
| 3-way valve | Both wires | Gaggiuino harness 3WV wires connect here instead |
| Brew switch | The Live wires at the switch | P4/P5 switch wires re-route through PCB |
The front lamp wires — one cut required
The two front indicator lamp wires (from the power and heater lamps on the front panel) run into the Eco PCB harness via long wire runs. When you remove the Eco PCB harness, these wires come with it — but they need to stay in the machine for the Gaggiuino harness to connect to.
Trim the lamp wires back to the heat shrink — cut just above the heat-shrink sleeve near each lamp, leaving the short stub with the spade connector still attached to the lamp. The Gaggiuino harness lamp wires connect to these stubs.
What you leave completely untouched
- The warming plate ground wire
- The frame ground structure
- The mains socket housing (only the wires are disconnected, not the socket itself)
This is the moment that scared you in every build thread
Every mid-wiring photo you saw online looked chaotic. The chaos is just disconnected ends hanging loose. The original components — boiler, pump, 3-way valve — stay in place. Several connectors hang free from their terminals. That is correct. Once the Gaggiuino harness is connected and routed, it looks clean. The actual work in Stage 4 is straightforward: one connector at a time.
Stage 3 — Harness ready
Before installing, everything needs to be in order.
Have ready for this stage:
- Wiring harness (pre-made from kit, or built in Stage 3)
- Thermal fuse (from your kit)
- Jumper wire / Y-connector (from your kit)
- Multimeter
- Needle-nose pliers
- Masking tape + pen
Pre-made harness: verify before starting
Lay the harness flat and confirm all connectors are fully crimped and none are loose in their housing. Compare against the labeled harness photo in Stage 4 — Installation.
Building your own harness? The full crimping sequence — five rounds from ground wires to boiler heater connections — is on its own page:
Proceed to: Stage 4 — New Wiring In Place


