Espresso forces hot water through a tightly packed puck of finely ground coffee at about 9 bar of pressure, producing a small, syrupy, concentrated drink crowned with crema. Because so much happens in under 30 seconds, small changes have big effects. A single step on the grinder can turn a balanced shot sour or bitter. That sensitivity frustrates many beginners, but it also means improvement is fast once you control your variables. The approach below is the same one professional baristas use every morning: fix your dose, target a yield, read the time, and taste.
- Ratio
- 1:2 (range 1:1.5–1:3)
- Dose
- 18 g ground coffee (double basket)
- Water temp
- 90–96°C (194–205°F)
- Grind
- Fine, like powdered sugar with some texture
- Brew time
- 25–32 seconds
- Yield
- 36 g liquid espresso, about 40–50 ml with crema
What you need
An espresso machine that can hold a stable temperature and deliver around 9 bar, a grinder built for espresso with fine, small adjustment steps, a scale that reads to 0.1 g and fits under the portafilter, a tamper that fits your basket closely, and fresh beans. The grinder is the single most important part of the setup; a great machine cannot overcome an inconsistent grind. Our espresso machine buying guide and grinder buying guide cover what to look for in each.
Understanding dose, yield and time
Dose is the weight of dry ground coffee in the basket. Pick the amount your basket is designed for, often 18 g for a double, and keep it fixed. Yield is the weight of liquid espresso in the cup. Weighing it is more reliable than measuring volume, because crema makes volume misleading. Time is how long the shot runs. Grind size is the main control for time: finer grinds slow the flow, coarser grinds speed it up. Keep dose fixed, set a target yield, and adjust grind until the time lands in range. Then let taste tell you whether to change the yield.
The method
- Warm up fully. Turn the machine on 20–30 minutes before brewing so the group head and portafilter reach temperature. Flush a little water through the group to stabilize it.
- Dose. Dry the basket, place the portafilter on the scale, tare, and grind 18 g directly into it.
- Distribute. Break up clumps with a fine needle tool, stirring in small circles through the full depth of the bed. Then tap the portafilter gently to settle the coffee level.
- Tamp. Rest the portafilter on a flat surface, hold the tamper level, and press firmly until the coffee stops compressing. A consistent, level tamp matters more than the exact force.
- Brew. Lock in the portafilter, place your cup on the scale, tare, and start the shot immediately so the coffee does not start cooking on the hot group.
- Watch and stop. The first drops should appear after about 5–8 seconds. The stream should look like warm honey, darkening from deep brown to caramel and then pale. Stop at 36 g.
- Taste and record. Stir the shot with a spoon to mix the crema and the body, then taste. Note grind setting, yield and time.
Pro tip: Most channeling comes from uneven distribution, not tamping. If you see spurts, pale streaks or a shot that blonds early from one side, spend more time breaking up clumps before you tamp.
Dialing in a new coffee
- Pull a baseline. 18 g in, 36 g out. Note the time.
- Fix the time. Under 22 seconds: grind finer. Over 35 seconds: grind coarser. Change grind in small steps and pull again.
- Fix the taste. Once time is in range, taste. Sour and thin: extend yield to 40 g or grind slightly finer. Bitter and drying: shorten yield to 32 g or grind slightly coarser.
- Consider roast. Light roasts often need longer ratios like 1:2.5 and hotter water. Dark roasts often taste best at 1:1.5–1:2 with cooler water around 90–92°C. See our roast levels guide.
- Let beans rest. Very fresh coffee releases lots of gas and can be erratic. Most espresso settles in nicely 7–14 days after roasting.
Troubleshooting the shot
| If it tastes... | Try... |
|---|---|
| Sour, sharp, salty, thin | Grind finer or increase the yield. Check the machine is fully warmed up. |
| Bitter, ashy, hollow, drying | Grind coarser or decrease the yield. Lower brew temperature if adjustable. |
| Sour and bitter at once | Channeling. Improve distribution, check the tamp is level, and confirm the basket is not overfilled. |
| Weak, watery, little crema | Check bean freshness, increase dose by 0.5–1 g, or shorten the ratio. |
| Overwhelmingly intense | Extend the ratio toward 1:2.5, or enjoy it in milk. |
| Metallic or stale | Backflush and clean the group and basket; old oils taint every shot. |
Shot styles at a glance
Changing the ratio while keeping the same dose gives you different styles of shot. These are general starting points rather than strict definitions, and cafés use the terms in different ways.
| Style | Typical ratio | Character |
|---|---|---|
| Ristretto | 1:1–1:1.5 | Short, syrupy, intense, lower in perceived bitterness, can be sharp with light roasts. |
| Normale | 1:2 | The modern default: balanced sweetness, acidity and body. |
| Lungo | 1:2.5–1:3 | Longer and lighter, more clarity, often suits light roasts; can turn bitter with darker beans. |
If you are new to espresso, stay at 1:2 for several weeks so you build a reference point. Once you can predict what one grinder step does, experimenting with ratio becomes a powerful way to shape flavor.
From espresso to milk drinks
Once your shots are consistent, milk drinks are the next step. A double shot forms the base of a cappuccino, flat white or latte; the difference between them is mostly the volume and texture of milk. Stronger, slightly shorter shots cut through milk better than very long, delicate ones.
For milk drinks, steam cold milk straight from the fridge in a jug filled to just below the base of the spout. Keep the wand tip just under the surface for the first few seconds to draw in air, then sink it slightly to spin the milk into a smooth whirlpool. Stop at 55–65°C (131–149°F), when the jug becomes uncomfortable to hold. Milk heated much beyond that loses sweetness and starts to taste cooked.
Keeping the machine healthy
Purge the steam wand and wipe it immediately after every use. Flush the group head between shots. Backflush with plain water daily if your machine supports it and with a cleaning detergent weekly. Descale on a schedule appropriate to your water hardness, and use filtered water with moderate mineral content to slow scale buildup. Our cleaning and descaling guide walks through each task.
Watch it done
Prefer to see the technique? These tutorials from respected coffee educators pair well with this guide. Videos load only when you press play and remain the property of their creators.
Understanding Espresso - Dose (Episode #1)
James Hoffmann
Understanding Espresso - Grind Size (Episode #4)
James Hoffmann
Browse the full video library →
Frequently asked questions
What is a good espresso ratio?
A 1:2 ratio is the modern standard, such as 18 g of ground coffee producing 36 g of liquid espresso. Ratios of 1:1.5 give a richer ristretto-style shot; 1:2.5 to 1:3 give a lighter, longer shot.
How long should an espresso shot take?
Around 25–32 seconds from when you start the pump is a good target for a 1:2 shot. Time is a guide, not a rule; taste is the final judge.
Why is my espresso sour?
Sourness usually means under-extraction. Grind finer, increase the yield slightly, or raise brew temperature if your machine allows it.
Do I need a pressurized basket?
Pressurized baskets compensate for coarse or stale coffee, but they limit quality. If you have a capable burr grinder, a standard non-pressurized basket gives far better results.