Learning how to make espresso at home comes down to one simple recipe: 18 grams of finely ground coffee in, 36 grams of espresso out, in 25–30 seconds. Get those three numbers right with fresh beans and a decent machine, and you'll pull café-quality shots.
This guide walks you through the equipment, the exact steps, and how to fix sour or bitter shots.
What you need
| Equipment | Why it matters |
|---|---|
| Espresso machine | Creates the 9 bar pressure true espresso needs |
| Burr grinder | Grinds fine and evenly; the grinder matters as much as the machine (see the best espresso grinders) |
| Fresh coffee beans | Roasted 7–30 days ago for the best flavor and crema (see the best coffee beans for espresso) |
| Digital scale (0.1 g) | Lets you weigh dose and yield, the secret to consistent shots |
| Tamper | Presses the coffee flat and even (see the best espresso tampers) |
| Small cup or glass | To catch the shot (2–3 oz) |
Don't have a machine yet? See our overall picks for the best espresso machine, the best semi automatic espresso machines, or the best espresso machines under $500. The Breville Bambino and Gaggia Classic Evo Pro are both great for learning.
The espresso recipe
| Setting | Double shot (standard) |
|---|---|
| Dose (dry coffee) | 18 g |
| Yield (espresso in the cup) | 36 g (about 2 oz) |
| Brew ratio | 1:2 |
| Brew time | 25–30 seconds |
| Water temperature | About 93 °C (200 °F) |
| Pressure | About 9 bar |
Weigh the espresso instead of measuring by volume, because crema makes volume misleading. Learn more in how many ounces are in a shot of espresso.
How to make espresso step by step
- Preheat the machine for at least the time your manual recommends (a few seconds for ThermoJet machines, 15–20 minutes for boiler machines like the Gaggia). Lock the empty portafilter in so it heats up too.
- Weigh 18 g of beans and grind them fine, about the texture of powdered sugar or fine sand.
- Dry the basket and add the grounds. Break up clumps and spread the coffee evenly, ideally with a WDT tool (a few thin needles you stir through the grounds).
- Tamp level. Press straight down until the coffee stops compressing, keeping the tamper perfectly flat. See our full guide to espresso tamping.
- Purge the group head by running a second of water to rinse and stabilize the temperature.
- Lock in the portafilter, put your cup on the scale under it, and start the shot right away.
- Stop at 36 g and check the time. Aim for 25–30 seconds.
- Taste it. Then adjust the grind for the next shot (see below).
- Knock out the puck, rinse the basket and wipe the group head.
How to dial in espresso
Dialing in means adjusting your grind until the shot tastes balanced. Use time and taste as your guides:
| What you see and taste | What it means | What to do |
|---|---|---|
| Under 20 s, sour, thin, pale crema | Under-extracted | Grind finer |
| 25–30 s, sweet, balanced, rich crema | Well extracted | Keep it |
| Over 35 s, bitter, harsh, dark crema | Over-extracted | Grind coarser |
| Spurts or sprays, uneven flow | Channeling | Improve distribution and tamping |
New beans, a new bag or even humid weather can change your grind setting, so expect to make small adjustments every few days. Our espresso machine grind size guide shows what the right grind looks like and how to fix it.
No machine yet?
True espresso needs about 9 bar of pressure, but a moka pot, AeroPress or manual lever press can make strong, espresso-style coffee in the meantime. Our guide on how to make espresso without a machine compares every method with recipes, and the best manual espresso machines reach real espresso pressure by hand.
Turn your espresso into a café drink
Once you've pulled a good shot, you can make almost any café drink:
- Americano: add 4–6 oz of hot water.
- Cortado: add an equal amount of steamed milk.
- Cappuccino: add steamed milk with a thick layer of foam.
- Latte: add 6–10 oz of silky steamed milk.
New to the steam wand? Learn how to steam milk using an espresso machine. Still getting to know your machine? Start with how to use an espresso machine. Find full recipes in our guide to espresso drinks, or try a shaken espresso for summer.
Keep your machine clean
Coffee oils and minerals build up fast and ruin the taste. Rinse the portafilter and wipe the group head after every shot, backflush weekly if your machine supports it, and descale every 1–3 months.
Frequently asked questions
What is the basic espresso recipe?
A good starting recipe for a double shot is 18 g of finely ground coffee, 36 g of espresso in the cup, and 25 to 30 seconds of brew time, with water at about 93 °C (200 °F).
Can I make espresso without a machine?
Not true espresso, which needs about 9 bar of pressure. But a moka pot, AeroPress or manual lever espresso maker can make strong, espresso-style coffee for lattes and other drinks.
Why does my espresso taste sour?
Sour espresso is under-extracted. The water ran through too fast. Grind finer, use a slightly higher dose, or let the shot run a little longer.
Why does my espresso taste bitter?
Bitter espresso is usually over-extracted. The water ran through too slowly. Grind coarser or stop the shot earlier.
Can I use regular ground coffee for espresso?
Pre-ground coffee for drip machines is too coarse for espresso and runs too fast. Use coffee ground fresh for espresso, or pre-ground espresso coffee with a pressurized basket.
Curious about the basics behind it all? Read what is espresso and how much caffeine is in a shot of espresso.
