baristafix.com

How an Espresso Machine Works: Pump, Boiler, Group & Portafilter

The internal parts of an espresso machine on a workbench

Almost every espresso “problem” stops being mysterious once you understand what the machine is actually doing. Strip away the brand badges and every espresso machine does the same simple thing: it heats water and pushes it under pressure through a bed of finely ground coffee. The parts that do this are few, and each one maps directly to a class of faults — so this guide is the foundation the rest of the site builds on.

The journey of the water

Follow a single shot from tank to cup:

  1. Water tank holds fresh water. (Empty or unseated tank → no water, airlocks.)
  2. Pump draws that water and builds pressure — to about 9 bar at the puck. (Weak pump or airlock → weak or no flow.)
  3. Boiler / thermoblock heats it to roughly 90–96°C. (Scale or a failed thermostat → cool coffee or no heat.)
  4. Group head channels the hot, pressurised water onto the coffee. (Worn gasket → leaks and lost pressure.)
  5. Portafilter and basket hold the tamped coffee puck. (Grind/dose/basket → weak or choked shots.)
  6. Three-way valve (on machines that have one) releases the puck’s pressure afterwards. (Worn solenoid → soupy pucks, leaks.)
  7. Steam wand uses boiler steam to froth milk. (Blocked tip → weak froth.)

Notice how each part lines up with a symptom — that’s the whole logic of troubleshooting.

Pressure: what “9 bar” and “15 bar” mean

Espresso is defined by pressure. The magic number is about 9 bar at the coffee — roughly nine times normal air pressure. That’s what forces water evenly through a tightly packed puck to pull a concentrated shot with crema.

You’ll see machines marketed as “15 bar” — that’s the pump’s maximum, not the brew pressure. An over-pressure valve (OPV) bleeds off the excess so the puck sees around 9 bar. (On a Gaggia Classic Pro, enthusiasts even adjust this OPV down to a true 9 bar.)

How the water gets hot

Three common designs, each with a different feel:

  • Boiler: a vessel of water held at temperature. Stable, but slower to heat and to switch between brew and steam.
  • Thermoblock / ThermoJet: heats water on demand as it flows through a metal block. Very fast (the Breville Bambino is ready in seconds), with less thermal mass.
  • Thermocoil: a heated block with tubing through it — a hybrid used in machines like the Breville Barista Express.

Faster systems win on convenience; boilers win on temperature stability. Either way, scale is the enemy — it insulates the heater and narrows the path, which is why descaling matters so much.

The group, portafilter and puck

This is where coffee happens. The group head delivers water through a shower screen that spreads it across the puck. The portafilter locks into the group, holding a basket of ground, tamped coffee. Two basket types matter:

  • Single-wall (commercial) baskets need a good, fresh, fine grind — they reward technique.
  • Pressurised (dual-wall) baskets force crema through a tiny valve, so they’re forgiving of coarse or pre-ground coffee (common on the De’Longhi Dedica and entry machines).

The group gasket seals the portafilter against the group; when it hardens, you get side-leaks and lost pressure.

Pre-infusion and the three-way valve

Two features that explain common “is this normal?” questions:

  • Pre-infusion: a gentle low-pressure wetting before full pressure, so the puck settles evenly. It’s why a shot can start slow — that’s by design.
  • Three-way valve (solenoid): releases puck pressure after the shot to the drip tray, leaving a dry, knockable puck. Machines without one leave a wet puck and don’t backflush.

Bean-to-cup machines

Automatics add two things: a grinder and an automated brew unit that doses, tamps, brews and ejects the puck for you — plus a screen or lights to guide maintenance. The brewing physics are identical; there’s just more automation (and more to keep clean). Some brew units are removable (De’Longhi, Philips), others sealed and self-cleaning (Jura).

Why this matters for fixing things

Once you can name the parts, the problems library reads like a map:

  • Weak shots → grind, dose, basket, gasket (the puck side).
  • No water → tank, pump, airlock, scale (the water side).
  • Cool coffee → boiler/thermoblock, scale, warm-up (the heat side).
  • Leaks → gaskets, seals, tank, three-way valve.

Next, learn the single biggest lever on shot quality in our grind size guide — and find your specific machine on the machines page.

Frequently asked questions

What pressure does an espresso machine use?
Espresso is brewed at around 9 bar of pressure at the coffee puck — about nine times atmospheric pressure. Many machines advertise a '15 bar pump', which is the pump's maximum, not the brewing pressure; an over-pressure valve (OPV) limits the actual brew pressure to roughly 9 bar. That pressure is what forces hot water evenly through the tightly packed, finely ground coffee to produce a concentrated shot with crema.
What's the difference between a boiler, a thermoblock and a thermocoil?
They're three ways to heat the water. A boiler holds a tank of water at temperature (stable, slower to heat). A thermoblock (or ThermoJet) heats water on demand as it flows through a metal block (very fast heat-up, like the Breville Bambino). A thermocoil is a hybrid — a heated block with a coil of tubing, common in machines like the Breville Barista Express. Faster systems heat in seconds; boilers offer steadier temperature.
What does the three-way valve (solenoid) do?
On portafilter machines that have one (like the Gaggia Classic Pro), the three-way solenoid valve releases the pressure from the coffee puck after the shot, venting it to the drip tray. That's why your spent puck comes out dry and knockable, and why a little water appears in the tray after each shot. Pressurised-basket and many entry machines don't have one, so their pucks stay soupy.
What is pre-infusion?
Pre-infusion is a brief, gentle wetting of the coffee at low pressure before the machine ramps to full pressure. It lets the puck swell and settle evenly so water doesn't blast a channel straight through, which improves extraction and crema. Many machines (including the Breville Bambino and Barista Express) do it automatically — which is why the first few seconds of a shot look slow; that's normal.
Why does grind size matter so much?
Because espresso depends on resistance. The pump pushes water at 9 bar, and the fineness of the grind controls how hard it is for that water to pass through the puck. Too coarse and water races through (weak, fast, sour); too fine and it chokes (slow, bitter, or nothing). Grind is the single biggest lever on your shot — see our grind size guide for how to dial it in.
What are the main parts of an espresso machine?
The essentials: a water tank and pump (builds pressure), a boiler/thermoblock (heats the water), a group head (where water meets coffee), a portafilter and basket (hold the coffee puck), a steam wand (for milk), and on many machines a three-way valve (releases puck pressure). Bean-to-cup machines add a grinder and an automated brew unit. Knowing these makes every problem on this site easier to diagnose.
Marco R.
Marco R.
Lead repair technician

Marco spent twelve years servicing espresso machines — first behind the bench at a specialty café group, then running his own repair workshop. He has stripped down, fixed and reassembled everything from a battered Gaggia Classic to high-end Swiss automatics. He writes the fixes here only after reproducing the fault on a real machine, and he'll always tell you when a repair isn't worth the money.

Get the 1-page troubleshooting flowchart

A free printable that walks any espresso fault down to its cause. Stick it on the fridge for the next time the machine acts up.

No spam. Unsubscribe anytime.