How does an espresso machine work? In short, it heats water to about 93 °C (200 °F), then uses a pump to force it through a puck of finely ground, tightly packed coffee at about 9 bar of pressure. The pressure and fine grind let the water extract flavor, oils and aroma in just 25 to 30 seconds, producing a small, rich shot topped with crema.

Let's follow the water through the machine, step by step.

The journey of water, step by step

  1. Water tank: fresh cold water waits in the reservoir (or comes from a direct water line on plumbed machines).
  2. Pump: an electric pump draws water from the tank and pushes it forward under pressure. Most home machines use a small vibratory pump; high-end machines often use a quieter rotary pump.
  3. Heater: the water passes into a boiler (a tank of hot water) or a thermoblock (a heated metal block with a winding channel). A thermostat or PID controller keeps it at brewing temperature.
  4. Group head: the hot water reaches the group head, the metal part where you lock in the portafilter. A shower screen spreads it evenly over the coffee.
  5. Portafilter and basket: the water meets the coffee puck. Because the coffee is fine and tamped, it resists the water, and pressure builds to about 9 bar.
  6. Extraction: under pressure, the water dissolves flavors, oils and sugars from the coffee.
  7. Into the cup: the espresso flows through tiny holes in the basket and out of the spouts.
  8. Release: on many machines, a three-way solenoid valve releases leftover pressure into the drip tray, leaving a drier puck.

The key parts

PartJob
Water tankStores water
PumpCreates pressure
Boiler / thermoblockHeats water
Thermostat / PIDControls temperature
Group headDelivers water to the coffee
Portafilter and basketHold the coffee
OPV (over-pressure valve)Limits maximum pressure
Solenoid valveReleases pressure after the shot
Steam wandDelivers steam for milk
Pressure gaugeShows pressure (on some machines)

For more detail on each part, see our espresso machine parts guide.

Why pressure matters

Drip coffee uses gravity and takes minutes. Espresso uses about 9 bar of pressure, roughly nine times the air pressure around us. This lets water extract flavor quickly from a very fine grind, and dissolves gases that later form crema. Pumps are often rated at 15 or 20 bar, but that's a maximum. Read what a 20 bar espresso machine really means.

Why temperature matters

Too cold and the shot tastes sour; too hot and it tastes bitter. Good machines hold the water steady at about 90 to 96 °C (195 to 205 °F). A PID controller does this better than a simple thermostat. See our PID espresso machine guide.

How steam works

To steam milk, the machine heats water well above boiling point, about 120 to 130 °C, in a sealed space. This creates pressurized steam. When you open the steam valve, it rushes out of the wand tip, heating the milk and pulling in air to create foam.

  • Single boiler machines switch the same boiler between brewing and steam temperature.
  • Heat exchanger machines keep a steam boiler hot and run brewing water through a pipe inside it.
  • Dual boiler machines have separate boilers for brewing and steam.

How different machines do it

  • Manual lever machines use a lever and piston instead of an electric pump. Your arm (or a spring) creates the pressure.
  • Super-automatic machines add a grinder and an internal brew unit that doses, tamps and brews automatically.
  • Capsule machines pierce a sealed capsule and push hot water through it under pressure.

See types of espresso machines for the full comparison, or what is espresso for the drink itself.

Seeing it in action

The best way to understand an espresso machine is to use one. Our best espresso machine guide explains how each recommended machine heats, pumps and steams, so you can choose with confidence.

Frequently asked questions

How does an espresso machine make pressure?

An electric pump pushes water into the coffee puck. The finely ground, tamped coffee resists the flow, and that resistance builds pressure, ideally about 9 bar. Manual lever machines create pressure with a lever and piston instead.

How hot is the water in an espresso machine?

About 90 to 96 °C (195 to 205 °F) for brewing. For steam, the water is heated to about 120 to 130 °C (250 to 265 °F) in a sealed boiler or thermoblock.

What makes crema?

High pressure dissolves carbon dioxide from freshly roasted coffee into the liquid. When the espresso leaves the basket and the pressure drops, the gas forms tiny bubbles with coffee oils, creating the golden foam called crema.

How does the steam wand work?

The machine heats water above boiling in a sealed boiler or thermoblock, creating pressurized steam. When you open the valve, steam rushes out of small holes in the tip, heating milk and adding air to make foam.