Espresso recipe: a double shot of 18 g of finely ground coffee to 36 g of espresso (a 1:2 ratio), in 25 to 32 seconds. Grind finer if it runs fast, coarser if it runs slow.

Roast level for espresso

Espresso concentrates everything in a coffee, including its flaws. A roast that tastes pleasantly bright in a pour-over can taste sharply sour as espresso, and a very dark roast can taste burnt and bitter.

RoastAs espressoEase at home
LightBright, can be sour if under extractedHard. Needs a fine, precise grinder and careful dialing in
MediumSweet and balanced, works straight or with milkModerate
Medium darkChocolatey, heavy body, classic crema, great in lattesEasiest. The most forgiving choice for beginners
DarkBittersweet and smoky, can taste ashyEasy to extract, but easy to over extract

If you mostly drink lattes and cappuccinos, lean medium dark. Milk softens flavor, so you want a coffee with enough weight to still taste like coffee. If you drink straight shots, a medium roast often shows more sweetness. You do not need a bag labeled "espresso roast", but blends built for espresso are designed to taste balanced at that concentration, which makes them a reliable starting point.

Freshness and the roast date

Freshness matters more for espresso than for any other method, because the machine relies on gases still trapped in the coffee to build crema and resistance. As general guidance:

Look for a roast date, not just a best by date. Buy an amount you will finish in a few weeks, keep it airtight and away from light, and avoid the fridge. Our guide on how to tell if coffee is fresh goes further.

Your grinder matters as much as your machine

This is the part most people underestimate. Espresso needs a fine, very even grind, and you will adjust it in tiny steps to get each bag tasting right. That is why whole bean coffee plus a good grinder beats pre-ground coffee for espresso.

Pre-ground coffee sold for drip machines or French press is far too coarse for a standard espresso basket. It will gush through in a few seconds and taste thin and sour.

One more practical note: if you share a kitchen with drip coffee drinkers, keep a separate bag or hopper for espresso. Switching a grinder back and forth between espresso and drip settings means dialing in again every morning.

Pressurized vs non-pressurized baskets

Look at the filter basket that sits in your portafilter. That one part decides how picky your setup is.

Pressurized (dual wall)Non-pressurized (single wall)
How to tellA single tiny hole on the underside of the basketMany small holes across the whole bottom
How it worksThe basket creates the pressure for youThe coffee puck creates the resistance
Grind neededForgiving. Pre-ground espresso coffee worksPrecise, fresh espresso grind from a capable grinder
ResultsConsistent, foamy crema, less flavor controlBetter flavor and texture once dialed in
Best forBeginners, milk drinks, no grinder yetAnyone ready to fine tune

Many home machines ship with both. Start with the pressurized basket if you do not own an espresso grinder, and switch to the single wall basket when you do.

Dialing in, step by step

Dialing in means adjusting the grind until a shot tastes right. Do it with each new bag, because every coffee behaves a little differently.

  1. Fix the dose. Weigh 18 g of ground coffee for a typical double basket. Check your basket size; some take 14 to 16 g, others 20 g.
  2. Fix the target. Aim for a 1:2 ratio, so 36 g of liquid espresso in the cup. Put a scale under your cup.
  3. Time the shot. Start the timer when you start the pump. Aim for 25 to 32 seconds.
  4. Adjust only the grind. Too fast, under about 25 seconds, and it usually tastes sour: grind finer. Too slow, over about 32 seconds, and it usually tastes bitter: grind coarser.
  5. Then trust your taste. Time is a guide. If a 28 second shot tastes sour, go a little finer anyway. If it tastes great at 34 seconds, keep it.

Keep everything else the same. Level and tamp the same way every time, use a clean, dry basket, and let the machine fully heat up. Changing two things at once makes it impossible to tell which one helped.

Once a bag is dialed in, write down the grind setting. When the next bag of the same coffee arrives, you will start close.