The basic principle: pressure pushes water through grounds
An espresso machine works by forcing hot water at high pressure through finely ground coffee. The pressure — usually between 9 and 15 bars, which is roughly nine to fifteen times atmospheric pressure — is what separates espresso from drip coffee. Without that pressure, you get a weak, watery cup. With it, you get the thick, concentrated shot that defines espresso.
The machine heats water to around 200 degrees Fahrenheit, packs the grounds into a basket under pressure, and then forces the hot water through them in about 25 to 30 seconds. The result is a small amount of liquid — typically 1 to 2 ounces — that has a layer of crema (the tan foam on top) and a rich, intense flavor.
Key Takeaways
- Espresso machines use a pump or lever to generate 9 to 15 bars of pressure, which forces hot water through tightly packed coffee grounds in seconds.
- The water temperature must stay between 195 and 205 degrees Fahrenheit; too hot or too cold and the shot tastes bitter or sour.
- The grind size, the amount of coffee, and how tightly you pack it all affect how fast water flows through and how the espresso tastes.
- Most home machines use an electric pump, while some use a manual lever that you pull down to build pressure yourself.
Where the pressure comes from: pump or lever
Home espresso machines generate pressure in two main ways. Pump-driven machines use an electric motor to push water through the grounds at a consistent pressure. You turn on the machine, wait for it to heat, insert the portafilter (the handle holding the basket of grounds), and press a button. The pump does the work. Most machines sold today use this method because it is reliable and requires no skill to operate.
Lever machines require you to pull a handle down manually to force water through. As you pull, you build pressure. These machines are slower and demand more attention, but many people prefer them because you have direct control over the pressure and can adjust it mid-shot. Lever machines are also cheaper upfront because they have fewer moving parts.
A third type, steam-driven machines, uses steam pressure instead of a pump. These are rare in home kitchens because steam pressure is less stable and harder to control, making consistent shots difficult.
The heating system: keeping water at the right temperature
Water temperature is critical. If it is too hot, the espresso tastes bitter and over-extracted. If it is too cool, it tastes sour and under-extracted. Most machines aim for 200 to 202 degrees Fahrenheit at the point where water enters the grounds.
Home machines use one of two heating methods. A single boiler heats water for both the espresso shot and the steam wand (used to froth milk). You brew a shot, wait for the boiler to reheat, then steam milk. This takes time but keeps the machine straightforward and affordable. A dual boiler maintains two separate boilers at different temperatures — one for espresso, one for steam — so you can brew and steam at the same time. Dual boilers cost more but are faster if you make milk drinks regularly.
Some machines use a heat exchanger, which is a single boiler with a tube running through it. Water for espresso flows through the tube and picks up heat from the steam boiler around it. This is a middle ground: cheaper than dual boiler, faster than single boiler, but requires more skill to dial in the right temperature.
The portafilter and basket: holding and packing the grounds
The portafilter is the handle you hold. At the bottom is a basket — a small metal cup with holes in the floor. You fill this basket with finely ground coffee, usually between 18 and 20 grams for a double shot, depending on the basket size.
How tightly you pack the grounds matters enormously. If you pack too loose, water rushes through and the shot is weak and sour. If you pack too tight, water cannot flow and the machine may struggle or the shot takes too long. Most people use a tamper — a flat-bottomed tool — to press the grounds down with firm, even pressure. The goal is a level, compact puck of coffee that water has to work to get through.
The basket itself comes in different sizes. A single basket holds about 7 to 9 grams and makes a 1-ounce shot. A double basket holds 15 to 20 grams and makes a 2-ounce shot. Most home machines come with a double basket because it is more forgiving and produces a fuller cup.
The group head: where the portafilter locks in
The group head is the part of the machine where you lock the portafilter. Inside it is a shower screen — a perforated metal disc that distributes water evenly across the top of the grounds. Below that is a valve that opens when you press the brew button, allowing pressurized water to flow down into the basket.
Water enters the group head from the boiler, passes through the shower screen, and then flows down through the coffee grounds. The pressure forces it through the grounds and out the holes in the basket floor, where it collects in your cup below.
On some machines, the group head has a three-way solenoid valve. When you stop brewing, this valve vents the pressure in the group head back to the drip tray instead of letting it sit. This prevents water from dripping out slowly after you remove the portafilter and makes cleanup easier.
Grind size and extraction time: why consistency matters
The size of the coffee grounds directly controls how fast water flows through. Finer grounds pack more tightly and slow the water down, so the shot takes longer to pull. Coarser grounds let water flow faster, so the shot finishes quickly. If your shot pulls in 15 seconds, the grind is too coarse. If it takes 45 seconds, the grind is too fine.
The target is usually 25 to 30 seconds from the moment you press the button to the moment the shot stops flowing. At this speed, the water has time to extract the flavors and oils from the grounds without pulling out the bitter compounds that come with over-extraction.
This is why espresso demands a burr grinder, not a blade grinder. A burr grinder produces uniform particle size. A blade grinder creates a mix of dust and chunks, which means water flows unevenly through the basket — some parts over-extract while others under-extract, and the shot tastes inconsistent and muddy.
The steam wand: frothing milk
Most espresso machines include a steam wand — a small metal tube that delivers steam to froth and heat milk for cappuccinos and lattes. When you turn the steam knob, a valve opens and steam from the boiler flows through the wand into a pitcher of milk.
The wand has a small hole at the tip. You position it just below the surface of the milk so that steam creates a vortex, drawing air into the milk and creating tiny bubbles. This is called frothing. As the milk heats, you lower the wand deeper into the pitcher to heat the rest of the milk without adding more air.
On single-boiler machines, you cannot brew espresso and steam milk at the same time because the boiler cannot maintain both temperatures. You brew first, then wait for the boiler to reheat to steam temperature. On dual-boiler machines, both happen simultaneously.
What happens inside the basket during a shot
When you press the brew button, pressurized water enters the basket from above. It saturates the grounds, dissolving the soluble compounds — the flavors, oils, and caffeine. As more water is forced through, it carries these dissolved compounds down and out through the holes in the basket floor.
The first liquid to come out is thin and watery. As the shot progresses, it darkens and thickens. By 25 to 30 seconds, the water has extracted most of what it can. If you keep the water flowing, it starts pulling out the bitter, astringent compounds, and the shot tastes harsh.
The crema — the tan or brown foam on top — forms because the pressure forces carbon dioxide and oils out of the grounds and into the liquid. When the pressure drops as the shot finishes, these gases expand and create the foam. Crema is a sign that the shot was pulled with proper pressure and timing, though it does not necessarily mean the espresso tastes good.
Frequently Asked Questions
Why does my espresso taste bitter?
Bitter taste usually means over-extraction — the water spent too long in contact with the grounds. Try using a coarser grind, packing the grounds less tightly, or pulling the shot faster. Also check your water temperature; if it is above 205 degrees, lower it.
Why is my espresso sour or thin?
Sour taste means under-extraction — the water moved through too fast. Use a finer grind, pack the grounds more firmly, or pull the shot slower. Make sure your water is hot enough; below 195 degrees will produce a sour shot.
Do I need a special grinder for espresso?
Yes. A burr grinder that can produce a fine, consistent grind is essential. Blade grinders create uneven particle sizes, which leads to inconsistent shots. Espresso grinders are more expensive than blade grinders but are necessary for repeatable results.
Can I use pre-ground coffee?
Pre-ground coffee loses flavor quickly because grinding increases surface area and allows oxidation. For espresso, grinding just before brewing makes a noticeable difference. If you must use pre-ground, use it within a few days and store it in an airtight container away from light and heat.
How often should I clean my espresso machine?
Rinse the group head and basket after every shot. Once a week, soak the basket and portafilter in espresso machine cleaning powder to remove built-up oils. Backflush the group head (if your machine allows it) to clear grounds from the valve. Monthly, run cleaning solution through the entire machine to descale the boiler.