What happens inside an espresso machine
An espresso machine forces hot water through finely ground coffee under pressure to extract flavor quickly. The machine has three main jobs: heat water to the right temperature, build pressure, and push that pressurized water through the coffee grounds. Most home machines do all three using either a pump or steam pressure, depending on the model you own.
The water path is straightforward in concept but precise in execution. Cold water enters a tank or line, gets heated in a boiler or group head, then travels through a portafilter (the handle that holds the ground coffee) under pressure. The pressure forces water into the coffee grounds, dissolving oils and flavors, and the brewed espresso drips out into your cup below. The whole process takes 25 to 30 seconds.
Key Takeaways
- Water must reach 195 to 205 degrees Fahrenheit to extract espresso properly, and the machine's boiler or heating element maintains this temperature.
- Pressure of 9 bars (about 130 pounds per square inch) is the standard for espresso, and this pressure comes from either a pump or steam pressure depending on machine type.
- The portafilter basket holds the ground coffee, and the machine's group head clamps it in place while water flows through under pressure.
- Tamping (pressing down the grounds in the basket) creates resistance so water cannot rush through too fast and must extract flavor instead.
The boiler and heating system
The boiler is a sealed metal chamber that holds and heats water. In a single boiler machine, one boiler does double duty: it heats water for espresso and generates steam for milk frothing. You switch between modes by adjusting a dial or valve, which changes which outlet the hot water flows to. Single boiler machines are common in home models because they cost less, but you cannot brew espresso and steam milk at the same time.
A dual boiler machine has two separate chambers—one keeps espresso water at 195 to 205 degrees, and the other runs hotter (around 250 degrees) to generate steam. This design costs more but lets you brew and froth simultaneously. Some machines use a heat exchanger instead: a single boiler runs hot enough for steam, and a coil of tubing inside it cools the water down to espresso temperature as it flows through. Heat exchangers are a middle ground—cheaper than dual boilers but faster than single boilers.
The heating element itself is usually an electric resistor that wraps around or sits inside the boiler. A thermostat turns the element on and off to hold the water at the target temperature. You will see a light on the machine that indicates when the boiler is heating; once it goes off, the machine has reached temperature and is ready to brew.
How pressure builds and forces water through
Pressure is what makes espresso different from drip coffee. Without pressure, hot water would straightforward drip through the grounds by gravity alone, taking too long and extracting unevenly. A pump-driven machine uses an electric pump (usually a vibration pump or rotary pump) to push water from the tank into the group head at 9 bars of pressure. When you pull the lever or press a button, the pump starts and forces water through the portafilter. When you release the lever or the timer stops, the pump shuts off and the pressure drops.
A steam-driven machine (sometimes called a moka pot style or lever machine) builds pressure differently. Steam forms in the boiler as water heats, and that steam pressure pushes the water down through the coffee grounds. These machines are simpler and have fewer parts to break, but they are harder to control because you cannot adjust pressure mid-brew the way you can with a pump. Steam machines are less common in modern home espresso makers.
The pressure gauge you see on some machines shows you how many bars of pressure are being applied right now. When you first pull the lever or start the pump, the gauge jumps as pressure builds. If the gauge climbs too high too fast, it usually means the grounds are tamped too firmly or the grind is too fine. If it barely rises, the grounds are too loose or the grind is too coarse.
The group head and portafilter
The group head is the part of the machine where the portafilter attaches. It contains the shower screen (a flat perforated disc) that sits above the portafilter basket and distributes water evenly across the coffee grounds. The group head also houses the outlet where pressurized water enters and the seal that keeps water from leaking around the portafilter.
The portafilter is the handle you hold. It has a basket at the end that sits directly under the shower screen. You fill the basket with ground coffee, tamp it down, then lock the portafilter into the group head. The machine then forces water through the basket at pressure. The brewed espresso flows out the spout at the bottom of the portafilter and into your cup.
Baskets come in different sizes—single shots (about 7 grams of coffee) and double shots (about 18 to 20 grams). Some machines have a pressurized basket, which has a tiny hole instead of many small holes. The single hole creates back-pressure that helps extract flavor even if your tamp or grind is not perfect. Non-pressurized baskets require more skill because water will flow too fast if the grounds are not tamped firmly enough.
Why tamping matters
Tamping is pressing down the ground coffee in the basket with a tool called a tamper. This step is critical because it creates resistance. If you do not tamp, water rushes through the loose grounds in seconds without extracting much flavor—you get weak, watery espresso. If you tamp too hard, water cannot flow through at all and the machine may not build pressure.
The goal is to tamp firmly and evenly so water takes about 25 to 30 seconds to flow through the entire basket. This timing gives the hot water enough contact with the coffee to dissolve the oils and compounds that make espresso taste rich. A good tamp is level (perpendicular to the basket) and uses about 30 pounds of pressure—enough to feel resistance but not so much that you strain. Most people learn the right pressure by feel after a few tries.
If your espresso comes out too fast (under 20 seconds), tamp harder or use a finer grind. If it comes out too slow (over 40 seconds), tamp lighter or use a coarser grind. The grind size is often the first thing to adjust because it is easier than changing your tamp technique.
Water temperature and extraction
Water temperature directly affects how much flavor dissolves from the coffee grounds. Too cold (below 190 degrees) and the extraction is incomplete—you get sour, thin espresso. Too hot (above 210 degrees) and you over-extract—the espresso tastes bitter and burnt. The sweet spot is 195 to 205 degrees Fahrenheit, which is why the machine's thermostat works hard to hold that range.
Some machines let you adjust the temperature slightly by turning a dial or changing a setting. If your espresso tastes sour, the water may be too cool; if it tastes bitter, the water may be too hot. However, temperature is only one variable. Grind size, tamp pressure, and the freshness of the beans all affect flavor too. Temperature alone rarely solves a taste problem, but it is worth checking if everything else seems right.
The group head itself also affects temperature. If the machine has been sitting idle for a while, the group head cools down slightly. Many people run a small amount of water through the group head (without the portafilter attached) for a few seconds before brewing to flush out cooler water and bring the temperature back up. This step is called a flush or purge.
Maintenance to keep the system working
Espresso machines need regular cleaning because coffee oils build up inside the group head, portafilter, and basket. Over time, this buildup blocks water flow and changes the taste of your espresso. After each use, rinse the portafilter and basket under hot water and wipe them dry. Once a week, soak them in a cleaning powder made for espresso machines (like Cafiza) and scrub with a brush.
The group head itself should be backflushed—water is forced backward through it to push out old coffee residue. Some machines have a 3-way solenoid valve that lets you do this by inserting a blind basket (a basket with no holes) into the portafilter and running water through for a second, then stopping, then running again. Check your machine's manual to see if backflushing is safe for your model; some machines are not designed for it.
Descaling is also important. Mineral deposits from tap water build up inside the boiler and heating element over time, reducing efficiency and eventually blocking water flow. Most machines come with a descaling powder. You run a descaling solution through the group head and steam wand, let it sit, then flush the system with fresh water. How often you descale depends on your water hardness—anywhere from monthly to every few months. If you have very hard water, consider using filtered or distilled water in the machine.
Frequently Asked Questions
Why does my espresso come out too fast?
Fast espresso usually means the grounds are too loose or the grind is too coarse. Try tamping harder or switching to a finer grind setting. If you are using a pressurized basket, make sure the basket is not damaged. If the problem persists, the shower screen or group head may be clogged with old coffee oil—backflush or soak the group head in cleaning powder.
Can I use regular ground coffee from a bag instead of grinding beans myself?
Regular ground coffee is too coarse for espresso and will not extract properly. Espresso requires a fine, consistent grind that you get from a burr grinder set to espresso fineness. Pre-ground coffee also loses flavor quickly once the bag is opened. A burr grinder is a worthwhile investment if you plan to make espresso regularly.
What does the pressure gauge tell me?
The gauge shows how many bars of pressure the pump is explore. During brewing, it should climb to around 9 bars and stay there while water flows through. If it jumps to 12 or 15 bars when ready, your tamp is too firm or your grind is too fine. If it barely reaches 6 bars, your tamp is too light or your grind is too coarse. The gauge helps you dial in the right combination.
How hot should the water be when it comes out?
The water inside the boiler should be 195 to 205 degrees Fahrenheit. Once it flows through the coffee grounds and into your cup, it cools slightly—your finished espresso is usually around 160 to 180 degrees. If you want to check your machine's temperature, a straightforward thermometer can measure the water as it comes out of the group head.
Do I need to descale my machine if I use filtered water?
Filtered water reduces mineral buildup significantly, so you will descale less often than with tap water. However, some minerals are still present in most filtered water, so descaling is still necessary—just less frequently, perhaps every six months instead of monthly. Check your machine's manual for recommendations based on your water type.