How to make espresso at home: recipe and troubleshooting

Good home espresso starts with a measurable recipe, not the most expensive possible machine. For a modern double basket, 18 g of ground coffee producing about 36 g of espresso is a useful first attempt. This 1:2 brew ratio often takes roughly 25 to 35 seconds. Time is a diagnostic clue, however, not proof of quality. The real goal is a balanced drink that you can reproduce.

There is no single, permanent worldwide espresso recipe. The Istituto Espresso Italiano describes a certified Italian espresso of about 25 ml, traditionally made with roughly 7 g of coffee at 9 bar. Many contemporary cafés and home machines instead use double baskets holding 16 to 20 g and measure the drink by weight. Either approach can work. Dose and target yield need to suit the basket, coffee and style you want.

A reliable starting recipe #

Variable Starting point Adjust it for
Dose 18 g in a suitable double basket the basket's rated capacity and headspace
Espresso in the cup 36 g desired concentration and flavour
Brew ratio 1:2 roast and preferred style
Shot time roughly 25 to 35 seconds from pump start flow and taste
Water temperature commonly about 90 to 96°C machine, roast and recipe
Pressure often about 9 bar at the coffee bed on a conventional machine machine design and pressure profile

Fully heat the machine, group and locked-in portafilter. Grind 18 g immediately before brewing, distribute the grounds evenly, tamp level and start without an unnecessary delay. Stop at 36 g in the cup, then taste once the drink has cooled to a comfortable temperature.

If 18 g is wrong for your basket, keep the principle rather than the number. A 1:2 ratio means about 32 g out from 16 g in, or about 40 g out from 20 g in. The guide to measuring coffee for every brewing method puts these figures alongside filter, French press and moka pot recipes.

What matters before extraction begins #

A suitable filter basket #

Every basket is designed for a dose range. Too little coffee can leave a very shallow puck. Too much can press against the shower screen and disrupt water flow. Start within the manufacturer's stated capacity rather than forcing a fashionable dose into the wrong basket.

A pressurised basket, sometimes sold as a crema-enhancing basket, can produce a more regular-looking flow with pre-ground coffee. It behaves differently from a conventional single-wall basket, so recipes and symptoms do not always transfer directly between the two systems.

A grinder with fine control #

Espresso needs a fine, reasonably even grind and very small adjustments. A blade grinder creates fine dust and coarse fragments at the same time, which makes resistance through the coffee bed hard to control. A burr grinder genuinely capable of espresso is therefore usually more valuable than another accessory for the machine.

If one click changes the shot from rushing to almost choking, the grinder steps may be too widely spaced. The coffee grinder buying guide explains what to look for. The guide to grind size by brewing method shows where espresso sits relative to filter, moka pot and French press.

Fresh coffee, though not necessarily straight from the roaster #

Grind shortly before brewing and store beans sealed, dry, dark and away from unnecessary heat. Very recently roasted coffee can release enough carbon dioxide to make extraction unsettled. The ideal resting time depends on roast, packaging and recipe, so a roast date is more useful than the blanket instruction to use every coffee immediately.

A medium to medium-dark roast is often forgiving for early attempts. Light roasts may benefit from a higher temperature, a longer ratio or finer adjustment. Very dark beans can turn harsh quickly when brewed too hot or for too long. These are tendencies, not rigid rules.

Water that tastes clean and suits the machine #

Use fresh drinking water without an obvious chlorine or metallic taste. Very hard water encourages scale, while completely demineralised water can be unsuitable for flavour and for some machines. Follow the manufacturer's water-hardness, filter and descaling instructions. Do not improvise a mineral recipe for an expensive machine unless you know it is technically compatible.

Espresso step by step #

  1. Heat the machine fully. On some appliances, the ready light does not mean that the group and portafilter are thermally stable. Follow the manual's warm-up guidance.
  2. Fit a clean, dry basket. Old coffee oil and water beneath fresh grounds make a clean, repeatable shot harder.
  3. Weigh the dose. Stay in the basket's intended range, such as 18.0 g.
  4. Grind immediately before brewing. Stale grounds retained in the grinder chute can alter both the actual dose and flavour.
  5. Distribute evenly. Break up visible clumps gently and fill the edges. A specialist distribution tool can help but is not compulsory.
  6. Tamp level. A flat puck and consistent action matter more than maximum force. Do not knock the portafilter after tamping.
  7. Start and weigh the drink. Lock in the portafilter, begin promptly and stop at the target weight.
  8. Taste and record. Note the dose, yield, time, grind setting and flavour.

Never remove the portafilter while the system remains pressurised. Follow your machine's safety and cleaning instructions.

How to dial in the grind #

Keep dose and target weight constant at first. Use grind size as the main control for flow:

  • If 18 g produces roughly 36 g in only 15 to 20 seconds and tastes thin or sharply sour, grind finer.
  • If the same recipe takes well beyond 35 to 40 seconds, barely drips and tastes dry or harsh, grind coarser.
  • If the time looks reasonable but the espresso is too concentrated, lengthen the ratio cautiously, perhaps from 1:2 to 1:2.2.
  • If it tastes balanced but too dilute, shorten the ratio slightly.

Words such as "sour" and "bitter" are not laboratory measurements. A very dark roast can taste bitter even in a fast shot, while a well-extracted light roast can retain lively acidity. Judge flavour, flow and recipe together.

Change one main variable at a time. If you alter grind, dose and yield together, you cannot tell which change helped.

Common problems and the first useful check #

Result Possible cause Check first
Very fast, thin shot coarse grind, low dose or an easy path through the puck grind finer, then verify dose and distribution
Very slow, drying shot fine grind, excessive dose or blocked basket grind coarser, then check basket capacity and cleanliness
Both sharp and bitter uneven water flow, often called channelling improve dry distribution and tamp level
Different result every time variable dose, grinder retention or unstable temperature weigh, purge minimally and repeat the same warm-up routine
Little body despite a plausible time ratio too long or coffee unsuited to the desired style stop earlier or try another coffee
Abundant crema but harsh taste fresh or Robusta-rich coffee, dark roast or poor extraction adjust by taste, not by crema

Understanding pressure and temperature #

Nine bar is a classic reference, not an automatic guarantee. Some inexpensive machines advertise a maximum pump pressure of 15 or 19 bar. That figure is not the same as controlled pressure at the coffee bed during extraction. Some contemporary recipes also use pre-infusion or a changing pressure profile. For a beginner, stable flow and the correct grind are more useful targets than the largest number on the box.

Temperature is not an isolated flavour dial either. All else being equal, a higher temperature generally increases extraction. Light roasts often respond well to a higher setting, while dark roasts may suit a lower one. Start near the middle of the manufacturer's range and make small changes.

If the machine offers no temperature setting, use a consistent routine: allow the same warm-up time, keep the portafilter locked in and avoid brewing immediately after a large steam cycle unless the manual gives a procedure for it.

Crema is not a quality certificate #

The foam layer is influenced by carbon dioxide, coffee oils, pressure and fine particles. Bean age, roast degree, Robusta content, basket and recipe all change its colour and quantity. Thick crema can sit on a bitter espresso. Thin crema can cover an excellent one.

Stir the espresso briefly before tasting. The beginning and end of a shot taste different and form layers in the cup. Mixing them gives a fairer picture of the whole extraction.

Single, double, ristretto and lungo #

  • Single espresso: traditionally a small dose of roughly 7 to 9 g and a small drink.
  • Double espresso: a double basket, commonly holding 16 to 20 g. It is often easier to reproduce at home.
  • Ristretto: a shorter brew ratio with less drink per gram of coffee, not simply any shot stopped early.
  • Lungo: a longer brew ratio. Pushing too much additional water through the same puck can make the cup drying. An Americano instead dilutes espresso with separate hot water.

The SCA's discussion of espresso explains how its definition has evolved. Menu terms therefore do not represent exactly the same size in every café.

Cleaning is part of the recipe #

Rinse the basket and portafilter after brewing, wipe the shower screen and remove residue as instructed by the manufacturer. Coffee oils turn stale and can overwhelm an otherwise well-dialled shot. Machines designed for backflushing need water and detergent cycles on the specified schedule. Descale according to actual water hardness, filtration and the appliance instructions, not an arbitrary universal calendar.

Do not estimate caffeine from cup size alone #

Espresso tastes concentrated, but it does not automatically contain more caffeine than every large filter coffee. Species, dose, drink size and extraction all matter. A double normally provides more caffeine than a single even though both are consumed in a few sips.

For healthy, non-pregnant adults, the European Food Safety Authority found that single doses up to 200 mg and daily intakes up to 400 mg generally do not raise safety concerns. It gives 200 mg per day during pregnancy. These are risk-assessment ceilings, not targets. Individual sensitivity, medication and medical conditions can require different limits. The guide to how much coffee to drink per day provides more context.

Key points #

Begin with a dose that fits the basket and a clear ratio, such as 18 g of coffee producing 36 g of espresso. Weigh both input and output, observe the time and judge the flavour. If the shot runs too quickly, grind finer. If it runs too slowly, grind coarser. Alter one main variable at a time.

A fully heated machine, fresh coffee, even distribution, a clean basket and a precise grinder matter more than decorative accessories. The best espresso is not the one that reaches a universal number. It is the recipe that tastes balanced on your machine and works again tomorrow.

Sources #