All posts

How to Make Perfect Espresso at Home

Matt Sabo
Matt Sabo · 8 min read · July 5, 2026

Key takeaways

  • Espresso is the base of every milk drink — latte, cappuccino, flat white all start as a shot. Nail the shot and everything built on it improves.

  • The default recipe: 18g coffee in, 36g espresso out, in 25–30 seconds — measured in grams on a scale, not by eye.

  • Start the timer at first drip, not at the button press. Most machines warm up and pre-infuse before anything meaningful flows.

  • Too fast and sour means under-extracted — grind finer. Too slow and bitter means over-extracted — grind coarser.

  • Crema tells you about freshness and pressure, not quality. A burnt dark roast can produce more crema than a beautifully roasted light one.

You've pulled a shot that looked exactly like the one at your favourite café. Same tiger-striping, same reddish-brown crema, same weight in the cup. Then you taste it and it's sour, thin, and vaguely disappointing — the coffee equivalent of a great trailer and a flat second act. You're not doing anything obviously wrong. You're just missing the handful of numbers that actually control the outcome, and nobody hands those to you when you buy the machine.

a confused, exasperated shrug

Here's the thing worth knowing before anything else: espresso isn't a drink, it's a method. Every latte, cappuccino, flat white, and americano your local coffee shop makes starts life as a shot of espresso. Get the shot right and everything built on top of it improves automatically. Get it wrong and no amount of milk foam is going to save it.

This guide walks through the actual home espresso recipe, where to start your timer, how grind size and dose change your cup, what “under” and “over-extracted” really mean, and what's going on with that crema everyone photographs. If you want to see what other people are actually pulling shots with before you spend money on a bag, Cuppd has community tasting notes on espresso-roasted coffees from roasters worldwide.


What's the base recipe for home espresso?

Espresso has three variables that matter, and they're all measurable: how much coffee you put in, how much liquid comes out, and how long it takes to get there. Everything else — grind, tamp, machine — is just a way of tuning those three numbers.

A solid starting recipe:

  • Dose (dry coffee in): 18g
  • Yield (liquid out): 36g
  • Time: 25–30 seconds

That's roughly a 1:2 ratio— 18 grams of ground coffee producing 36 grams of liquid espresso. 18g isn't a magic number either: plenty of people run their basket at 16g or 17g and get a great result, as long as the basket size and yield are adjusted to match. Notice the yield is measured in grams, not millilitres. Espresso has crema and dissolved solids sitting in it, so weighing the output on a scale under your cup is far more accurate than eyeballing a line on the glass. A cheap kitchen scale that measures to 0.1g is genuinely one of the best cheap upgrades you can make to your setup.

This isn't gospel carved in stone — roasters sometimes print their own recommended ratio on the bag, and it's worth trying that first. But 18g in, 36g out, 25 to 30 seconds is the recipe that works as a reliable default across almost any modern espresso machine and grinder combination.

The best espresso beans to practise with

A dialling-in session only teaches you as much as the bean allows. A flat, tired roast gives you a narrow window and not much to actually taste, which makes it hard to tell whether an adjustment is working. Start with something roasted specifically for espresso and rated well by people who've actually pulled shots with it — these are some of the highest-rated espresso coffees on Cuppd right now:


Where does the clock actually start?

This trips up more people than anything else in this guide, so let's deal with it properly.

Most espresso machines go through a warm-up wobble before anything drinkable appears: the pump kicks in, water pushes through the puck, and for a second or two nothing seems to happen, or a few pale drops land and then pause.

Bugs Bunny sprinting flat out on a treadmill and going nowhere

If you start your timer the moment you press the button, you're timing the machine clearing its throat, not the actual extraction.

Start the timer at first drip— the moment espresso actually starts flowing into the cup in a steady stream, not the first stray drop, not the button press. That's when water is meaningfully moving through the coffee bed and extraction is properly underway. Stop the timer when you hit your target yield (36g on the scale).

If your machine has a big gap between button press and first flow, that's usually fine — it's just pre-infusion doing its job, gently wetting the puck before full pressure kicks in. Just make sure your 25–30 second window is measured from that first real stream, not from when you hit start. Get this wrong and you'll chase a “fix” for a shot that was never actually too fast or too slow — you just measured it wrong.


Grind size and dose: the two dials that change everything

If your shot runs too fast (say, 36g in 15 seconds instead of 27), the water is finding too much room to move through the puck. Grind finer. More surface area, more resistance, slower flow, more contact time between water and coffee.

If it runs too slow (36g takes 45+ seconds and drips like it's personally offended), the grind is too fine, or your dose is too high for your basket, or your tamp is uneven. Grind coarser and try again.

A few things that quietly change your results without you touching the grinder:

  • Dose changes resistance. More coffee in the basket (say, 20g instead of 18g) packs the puck tighter and slows the shot, even at the same grind setting. If you go up in dose, you may need to grind slightly coarser to compensate.
  • Freshness changes CO₂ levels. Coffee roasted within the last 3–4 days is still off-gassing carbon dioxide, which pushes back against water flow and can make shots run unpredictably fast or gushy. Beans between 5 and 21 days off roast tend to behave the most consistently.

Tamp evenness matters more than tamp pressure. A lopsided tamp creates a weak spot where water rushes through, channelling around the rest of the puck rather than through it evenly.

someone pressing down firmly, evenly, and deliberately

Consistent, level pressure beats leaning on it with all your body weight.

Small changes matter here. A quarter-turn on a good grinder can take a shot from painfully slow to a proper 27-second pour. Change one variable at a time, or you'll never know which one actually fixed anything.


What “under-extracted” and “over-extracted” actually mean

These two words get thrown around a lot, and they're genuinely useful once you know what they're describing.

Under-extractionmeans water moved through the coffee too fast, or wasn't hot enough, or didn't spend enough time in contact with the grounds, so it didn't pull out enough of the good stuff. The result tastes sour, sharp, and thin — sometimes described as tasting like salty water with a vague coffee smell nearby. If your shot is running too fast (say, hitting 36g in under 20 seconds), under-extraction is almost always the reason.

Over-extraction is the opposite problem: water spent too long with the grounds, or moved too slowly, and pulled out compounds that should have stayed put — mostly bitter, astringent stuff from deeper inside the bean structure. The result tastes bitter, harsh, and drying, like it's scraping the back of your tongue on the way down. A shot that crawls past 40 seconds for a standard yield is a strong candidate for this.

Extraction: the process of dissolving flavour compounds out of ground coffee using hot water. Too little extraction and you get sour water; too much and you get bitter water. The sweet spot in the middle is where the actual flavour lives.

The fix in both directions is almost always the grind, adjusted in small steps, tasted, adjusted again. This is exactly why the same bean brewed two different ways can taste like two different coffees. If you're curious how much a well-dialled shot is supposed to taste like, Cuppd's community notes on espresso lots like Ace Espresso or Klatch Coffee's Belle Espresso are worth a look before you buy.


What crema is actually telling you (and what it isn't)

That reddish-brown foam sitting on top of your shot is crema — an emulsion of oils, CO₂ gas, and micro-fine coffee particles that only forms under the 9 bars of pressure an espresso machine applies. Filter coffee never produces it because filter brewing has no pressure behind it; crema is genuinely unique to the espresso method.

A thick, persistent, tiger-striped crema usually signals fresh coffee, since freshly roasted beans hold more CO₂, and reasonably correct extraction. Beans that are stale or over 4–6 weeks off roast tend to produce a thin, pale crema that vanishes quickly because most of the trapped gas has already escaped.

character nodding, unimpressed and unconvinced

Here's the part people get wrong constantly: crema is not a direct measure of quality or flavour.A dark roast that's mostly burnt sugar and carbon will often produce mountains of thick crema and taste like an ashtray. A beautifully roasted light-roast single origin might give you a thinner, paler crema and taste incredible. Crema tells you about freshness and pressure, not about whether the coffee actually tastes good. Don't chase a photogenic crema at the expense of a shot that's actually dialled in — that's a classic beginner trap, and honestly kind of a millennial Instagram trap too.


Putting it all together

Start with 18g in, aim for 36g out, in 25 to 30 seconds, timed from first drip. Taste it. Sour and thin, grind finer. Bitter and harsh, grind coarser. Adjust in small increments, one variable at a time, and taste after every change — your palate calibrates faster than you'd expect.

Once you've got a bean and grinder combination dialled in, that recipe becomes your reliable home base every time you open a new bag — you'll just need to nudge the grind slightly finer or coarser depending on the roast and freshness. If you want a place to start, browsing highly-rated espresso roasts on Cuppd from Paradise Roasters or Big Island Coffee Roasters takes some of the guesswork out of which bag to buy next — the best espresso beans are the ones roasted for espresso specifically and rated well by people who've actually pulled shots with them, not just whatever's on the supermarket shelf.

Dialling in home espresso isn't about owning the fanciest machine — it's about paying attention to three numbers and one very specific clock start. Get those right consistently, and the tiger stripes take care of themselves. Go pull a shot, taste it properly, and adjust from there. That's really the whole job.

ExploreMy lists