Coffee events calendar: The Barista League: Africa, Oct 3 and 25 more coming up
CoffeeHow
About CoffeeHow Authors How We Test Editorial Policy Affiliate Disclosure Health Disclaimer Research Sources
Start with brew guides
Popular French press Pour over Drip coffee maker Cold brew Siphon Espresso beans

How to Make Espresso

Pull great espresso at home: the 1:2 recipe (18 g in, 36 g out, 25–30 s), how to dial in sour or bitter shots, ristretto and lungo ratios, milk drinks, and a built-in shot timer.

Ratios and timings follow established specialty-coffee recipes, credited in the brew widget. How we test · Editorial policy

Brew it now

Espresso

Coffee
18 g
In the cup
36 g
Ratio
1:2
Water temp
93 °C
Grind
Fine
Brew time
0:28

The modern standard: twice the coffee's weight in the cup in 25–30 seconds. "In the cup" is the espresso you weigh, not the water you put in.

Steps

  1. 1
    Prepare Let the machine heat up fully, then flush the group. Grind 18 g of coffee fine into a dry basket, level it and tamp firmly and flat. Put the cup on a scale and tare it.
  2. 0:00
    Pull the shot Lock in, start the shot and the timer together. Stop when the scale reads 36 g.
  3. 0:28
    Taste Stir the crema in and taste. Sour? Grind finer next time. Bitter? Grind coarser.

Espresso is coffee brewed fast and under pressure: hot water forced through a tightly packed puck of finely ground coffee in about half a minute. The result is a small, intense, syrupy shot with a layer of crema on top, and it’s the base of every latte, cappuccino and flat white. It has a reputation for being hard, but good espresso at home comes down to three numbers and one habit: dose, yield and time, and changing one thing at a time.

The short version
  • Recipe: 18 g of coffee in, 36 g of espresso out (1:2), in 25–30 seconds.
  • Water: about 93 °C (199 °F) and 9 bar, which most machines handle for you.
  • Grind: fine, and adjusted until the time is right. This is the main thing you change.
  • Weigh the shot, don’t eyeball it. Crema makes volume misleading.
  • Sour and fast? Grind finer. Bitter and slow? Grind coarser.

The shot timer at the top of this page shows your dose and target weight for three styles of shot, and times the pull for you.

What makes it espresso

Pressure is what separates espresso from every other brew. A pump pushes water through the coffee at about 9 bar, nine times the air pressure around us. It pulls out flavour and oils so fast that a shot is done in under a minute, and it emulsifies the oils and CO₂ into crema. A moka pot (1–2 bar) and an AeroPress (well under 1 bar) make strong coffee, but not espresso.

For a benchmark, the Italian National Espresso Institute certifies a traditional single espresso as about 7 g of coffee, water at 88 °C and 9 bar, about 25 seconds, and 25 ml in the cup. Most specialty cafés and home baristas today brew a bigger, sweeter double instead: around 18 g in a double basket, weighed in grams rather than measured in millilitres. That’s what this guide uses.

Dose, yield and time: the espresso recipe

  • Dose: the dry coffee in the basket. Use what your basket is made for. Most double baskets take 16–20 g, so 18 g is a safe default. Then keep it fixed.
  • Yield: the espresso in the cup, weighed on a scale under the cup. The ratio of dose to yield sets the strength.
  • Time: from pressing the button to stopping the shot. It tells you whether the grind is right.
ShotRatio · timeFrom 18 gTastes
Ristretto1:1–1:1.5 · 20–25 s18–27 gThick, intense, sweet
Normale1:2 · 25–30 s36 gBalanced: the classic
Lungo1:2.5–1:3 · 30–40 s45–54 gLighter, clearer; suits light roasts

Darker roasts often taste best shorter (1:1.5–1:2). Light roasts usually need longer (1:2.5) and hotter water (94–96 °C) to taste sweet rather than sour. For how espresso compares with other methods, see our coffee-to-water ratio guide.

What you need

  • An espresso machine that can hold about 9 bar and a steady temperature. A manual lever press like the Flair works too.
  • An espresso-capable burr grinder. This matters as much as the machine: you need fine, small adjustments. Pre-ground coffee can’t be adjusted, so you can’t dial it in. See our grinder guide.
  • A scale that reads 0.1 g and fits under the cup, ideally with a built-in timer.
  • A tamper that fits your basket snugly. A distribution tool (a few thin needles to break up clumps, called WDT) is a cheap, worthwhile extra.
  • Fresh coffee: roasted 1–4 weeks ago. Very fresh beans (under about 5 days) are gassy and pull unevenly.
Sasha holding a cup of espresso next to a La Marzocco espresso machine during a decaf espresso test
Sasha pulling shots on a La Marzocco during our decaf espresso tasting.

How to make espresso, step by step

Here’s the Classic 1:2 recipe from our timer: 18 g in, 36 g out, 25–30 seconds.

1. Heat up the machine fully

Turn the machine on with the portafilter locked in, so it heats up too. Give it 15–30 minutes, depending on the machine: a light that says “ready” usually means the boiler is hot, not the metal group head. Just before brewing, run a couple of seconds of water through the group to flush old grounds and settle the temperature.

2. Dose and grind

Weigh 18 g of beans and grind them straight into a clean, dry basket. Check the weight: grinders hold back and spit out a little.

3. Distribute and tamp

Break up any clumps and spread the coffee evenly. Stir it with a WDT tool, or at least tap the side of the portafilter to level it. Then tamp firmly and dead level, just until the coffee stops compressing. How hard you press matters much less than pressing flat. A tilted or uneven puck lets water find a fast path through one side, which is called channelling. That’s the most common cause of a shot that’s sour and bitter at the same time.

4. Pull the shot by weight

Wipe the rim, lock the portafilter in, put the cup on the scale and tare it. Start the shot and the timer together. The first drops should appear after about 5–10 seconds, then come as a steady, honey-like stream. Stop at 36 g, whatever the clock says. The time is information for next time; the weight is the rule.

5. Stir, taste and adjust

Stir the crema into the shot, because it’s bitter on its own, and taste. Then adjust the grind using the guide below, knock out the puck, rinse the basket, and flush the group again.

Three espresso shots with crema in small cups next to their coffee bags during a side-by-side tasting
Three shots, three coffees: tasting side by side is the fastest way to learn what “balanced” tastes like.

How to dial in espresso

“Dialing in” means adjusting the grind until a new coffee tastes right. Keep the dose and the target weight fixed, and change only the grind, one small step at a time:

Your shotWhat’s happeningChange this
Fast (under ~22 s), sour, thin, saltyUnder-extracted: water rushes throughGrind finer
Slow (over ~35 s), bitter, harsh, dryingOver-extracted, or the puck is choking the flowGrind coarser
Right time, but sour and bitter at onceChannelling: uneven extractionImprove distribution (WDT), tamp level, check the dose
Balanced, but too intenseGood extraction, just strongPull a longer ratio (1:2.2–1:2.5)
Balanced, but thin or wateryGood extraction, just weakPull a shorter ratio (1:1.7–1:1.8)
Gushes, pale, no cremaGrind far too coarse, or stale coffeeGrind much finer. Use fresher beans.

Don’t chase the finest grind your machine can choke on. A 2020 study in the journal Matter combined mathematical modelling with café tests. It found that very fine grinds make water flow unevenly through the puck, so extraction actually drops and shots become unpredictable. The researchers got more consistent shots, using less coffee, by grinding coarser and lowering the dose. If your shots vary wildly at a very fine setting, go a step or two coarser and shorten the ratio a little.

Which coffee to use for espresso

Any coffee can be espresso. “Espresso roast” is a style, not a bean. Medium and medium-dark roasts are the easiest to dial in: chocolatey, nutty and forgiving, and great with milk. Light roasts make bright, fruity shots, but they need a finer grind, hotter water and a longer ratio. A blend with some Brazil is a good start. Most espresso tastes best between about 7 and 30 days after roasting.

From espresso to milk drinks

All the classic café drinks are espresso plus milk (or water) in different amounts:

DrinkBuild
AmericanoEspresso topped with 120–180 ml of hot water
MacchiatoEspresso with a spoon of milk foam
CortadoEspresso and about the same amount of steamed milk
Flat whiteA double (or ristretto) with 100–120 ml of silky, thin-foamed milk
CappuccinoEspresso with about 120–150 ml of milk and a thick layer of foam
LatteEspresso with 200–250 ml of steamed milk and a thin layer of foam

For steamed milk, start with cold milk in a cold jug. Let a little air in at first, until the milk is about body temperature, then sink the wand and swirl until the jug is too hot to hold, about 60–65 °C. Try our iced flat white and other coffee recipes.

Keep the machine clean

  • After every shot: knock out the puck, rinse the basket, and flush the group. Wipe the steam wand straight away, and purge it.
  • Weekly: backflush with water, or with espresso machine cleaner if your machine allows it. Soak the basket and portafilter to remove oils, which go rancid and taste bitter.
  • Regularly: descale as your manual says, or use filtered, softened water to prevent scale. Scale is the number-one killer of home espresso machines.

Espresso FAQ

What is the best ratio for espresso?

Start at 1:2: 18 g of coffee in, 36 g of espresso out, in 25–30 seconds. Darker roasts often taste best a little shorter (1:1.5–1:2); light roasts usually need longer (1:2.5) and hotter water.

How many grams of coffee for a double shot?

Most double baskets are made for 16–20 g; 18 g is the usual default. Use the dose your basket is designed for, and keep it fixed while you adjust the grind.

Why is my espresso sour?

It’s under-extracted, usually because the grind is too coarse and the shot ran too fast. Grind finer until the shot takes 25–30 seconds. Light roasts may also need hotter water or a longer ratio.

Why is my espresso bitter?

It’s over-extracted, usually because the grind is too fine and the shot ran slow, or the shot ran too long. Grind coarser or stop the shot sooner. If it’s both sour and bitter, the cause is uneven extraction (channelling), so improve your distribution and tamp.

How hard should I tamp?

Firmly enough to fully compress the coffee, about until it stops giving. Being level matters far more than force. The popular “30 pounds” rule is just a guide, and pressing harder won’t fix a grind that’s too coarse.

How much caffeine is in a shot of espresso?

A single 1 oz (30 ml) shot has about 60–65 mg according to USDA data. A double has roughly twice that. Espresso has more caffeine per sip than drip coffee, but a whole mug of drip usually has more caffeine than one shot.

Can you make espresso without a machine?

Not true espresso, which needs about 9 bar of pressure. A manual lever press can reach it by hand. A moka pot or an AeroPress makes a strong, espresso-like coffee that works well for milk drinks.

Sources

How we work: how we test · editorial policy · research & sources.

About the author

Sasha Pavlovich

Founder and editor · Barista and coffee educator

A former professional barista working hands-on with coffee since 2011, Sasha founded CoffeeHow and edits everything we publish. Sasha holds certificates in sensory cup tasting, coffee roasting and green coffee analysis from Instituto Español de Café and tests coffee and equipment from Rome, Italy.

  • Espresso
  • Brew methods
  • Coffee beans
  • Roasting
  • Sensory evaluation
  • Coffee gear
More in Brew guides