How to Make Espresso at Home (Beginner Guide)

How to make espresso at home: the gear you need, the 18 g in, 36 g out recipe, step-by-step shot technique, milk steaming basics and a drinks cheat sheet.

In this article
  1. What you need to make espresso at home
  2. The basic espresso recipe
  3. How to pull a shot of espresso, step by step
  4. How to steam milk for lattes and cappuccinos
  5. Espresso drinks cheat sheet
  6. Making espresso-style coffee without a machine
  7. Next steps

Espresso is simply coffee brewed by forcing hot water through a tightly packed bed of very finely ground coffee at high pressure (typically around 9 bar). In 25–30 seconds you get a small, concentrated, syrupy shot topped with crema — and the base for lattes, cappuccinos and flat whites.

It’s also the most sensitive brew method there is. Tiny changes in grind or dose make a big difference, which is why weighing everything is the key to consistent shots. This guide walks you through the gear, the recipe, the technique and the drinks.

What you need to make espresso at home

Equipment Why it matters Can you skip it?
Espresso machine Provides the heat and pressure No (see alternatives below)
Espresso-capable grinder Espresso needs a fine, precisely adjustable grind Only with a pressurized basket and pre-ground coffee, at a quality cost
Scale with 0.1 g resolution Weighing dose and yield is how you make shots repeatable Not if you want consistent results
Tamper Compresses the coffee evenly Most machines include one
Fresh, whole beans Stale coffee makes flat, fast-running shots No
Milk jug For steaming milk Only if you drink straight espresso
Distribution tool (WDT) Breaks up clumps for an even bed Optional but helpful

If you’re still choosing a machine, our best espresso machines for beginners guide covers the options and how to split your budget with a grinder. A fast 0.1 g scale like the Timemore Black Mirror Basic 2 makes weighing shots easy; check that it fits your drip tray, as it is on the larger side for some compact machines.

About beans

Espresso highlights everything in the coffee, good and bad. Buy whole beans with a roast date, ideally used between about one and four weeks after roasting. Very fresh coffee (a few days old) can be gassy and erratic; old coffee runs fast and tastes flat. Medium and medium-dark roasts are the easiest to start with — light roasts are delicious but harder to dial in. See light vs dark roast and how to store coffee beans.

The basic espresso recipe

Espresso recipes are written as dose (grams of dry coffee), yield (grams of liquid espresso in the cup) and time.

Variable Starting point Typical range
Dose 18 g (double basket) 14–20 g, matched to your basket size
Yield 36 g 1:1.5 to 1:3 of the dose
Ratio 1:2 1:1.5 (ristretto) to 1:3 (lungo)
Time 25–30 s about 22–35 s
Temperature 93 °C / 200 °F 90–96 °C / 195–205 °F

Measure yield by weight, not volume. Crema makes volume unreliable — a shot can look like 60 ml but weigh 36 g.

Use the calculator below to work out your target yield for any dose and shot style. After pulling a shot, enter the time and actual yield to get a suggestion for your next one.

Espresso ratio calculator

The modern standard (1:2)

Typical double basket: 16–20 g

Target yield

36 g

liquid espresso in the cup

Brew ratio

1:2

dose : yield by weight

Target time

25–30 s

from pump start, a starting point

Pulled a shot? Check it

Time is a guide, not a rule — taste decides. Sour means under-extracted (grind finer); bitter and drying means over-extracted (grind coarser).

There’s also a standalone espresso ratio calculator you can bookmark for use at the machine.

How to pull a shot of espresso, step by step

1. Heat everything up

Turn the machine on with the empty portafilter locked in. Traditional boiler machines need time for the group head and portafilter to fully heat — often 15–30 minutes. Fast-heating thermoblock machines are ready much sooner. Run a little water through the group head before your first shot to flush and preheat.

2. Weigh and grind your beans

Weigh 18 g of whole beans (or whatever your basket is designed for) and grind them fine. As a rough reference, espresso grounds feel finer than table salt and close to powdered sugar, and they clump slightly when pinched. Your grind setting will change with every new bag, so treat it as something you adjust, not a fixed number. Our grind size chart shows how espresso compares to other methods.

3. Dose into a dry portafilter

Remove the portafilter, wipe the basket dry, and grind or pour the coffee in. Put the portafilter on your scale to confirm the dose. A consistent dose is essential — a gram difference changes the shot noticeably.

4. Distribute

Before tamping, level the grounds so the coffee is evenly spread. Clumps and uneven spots create weak paths that water rushes through (channeling). Options:

  • Tap the side of the portafilter gently to settle the grounds.
  • Stir with a WDT tool (fine needles) to break up clumps — one of the most effective cheap upgrades.
  • Level with your finger or a distribution tool.

5. Tamp

Place the portafilter on a flat surface, hold the tamper level, and press straight down firmly until the coffee stops compressing. The exact force isn’t critical — what matters is that it’s level and consistent every time. Don’t tap the portafilter after tamping, and wipe any loose grounds off the rim.

6. Lock in and brew

Lock the portafilter into the group head, put your cup on the scale underneath, zero the scale, and start the shot immediately (waiting lets the coffee start to cook on the hot group head). Start a timer at the same moment.

What to look for: after a few seconds, drips appear, then a thick stream, often dark at first, becoming more golden and honey-like. Toward the end the stream lightens in color (blonding).

7. Stop at your target weight

Stop the shot when the scale reads your target yield — 36 g for an 18 g dose. Note the time.

8. Taste and adjust

  • Under about 22 seconds, and sour or thin? Grind finer next time.
  • Over about 35 seconds, and bitter or harsh? Grind coarser.
  • In the window and tastes good? Write down your settings.

Change only one variable at a time. For a full troubleshooting process, see how to dial in espresso.

How to steam milk for lattes and cappuccinos

Steaming milk has two stages: stretching (adding air to create foam) and texturing (spinning the milk to break big bubbles into silky microfoam).

  1. Start with cold milk in a cold jug, filled to just below where the spout begins. Whole milk is easiest to learn with; many plant milks sold as “barista” versions also steam well.
  2. Purge the steam wand to clear out condensed water.
  3. Position the tip just under the surface, slightly off center. Turn the steam on fully.
  4. Stretch: keep the tip near the surface so you hear a gentle paper-tearing hiss. Let the milk rise — a little for a flat white, more for a cappuccino.
  5. Texture: raise the jug slightly to submerge the tip, and let the milk spin in a whirlpool. This folds the foam in and makes it glossy.
  6. Stop at about 55–65 °C (130–150 °F) — when the jug becomes too hot to hold comfortably for more than a second or two. Hotter than that and milk loses sweetness.
  7. Wipe and purge the wand immediately so milk doesn’t bake on.
  8. Tap and swirl the jug to pop any big bubbles, then pour into your espresso.

Good steamed milk looks like wet paint: shiny, smooth, with no visible bubbles. If your machine has an automatic steam wand, it handles steps 3–6 for you.

Espresso drinks cheat sheet

Drink sizes vary a lot between cafes and countries; these are common starting points using a double shot.

Drink Espresso Added Texture Typical total
Espresso Single or double Nothing Crema on top 30–40 g for a double
Americano Double 120–180 ml hot water No milk 150–240 ml
Cortado Double Roughly equal steamed milk Little to no foam 90–120 ml
Flat white Double Steamed milk Thin, velvety microfoam 150–180 ml
Cappuccino Double Steamed milk Thick foam layer 150–180 ml
Latte Double More steamed milk Thin foam 240–350 ml

A few tips: pour hot water first, then espresso, for an Americano that keeps its crema. For iced drinks, pull the shot directly over ice or chill it quickly and use cold milk.

Making espresso-style coffee without a machine

You can’t make true espresso without about 9 bar of pressure, and everyday brewers like a moka pot or AeroPress don’t come close to that. But you can make strong, concentrated coffee that works well in milk drinks.

Moka pot

A stovetop moka pot uses steam pressure — roughly 1–2 bar — to push water up through the coffee. The result is strong and intense, around a 1:7 ratio, but thinner than espresso and without real crema.

  • Fill the bottom chamber with hot water up to the valve.
  • Fill the basket with medium-fine coffee (a little coarser than espresso), level it, and don’t tamp.
  • Heat on medium-low with the lid open, and take it off the heat as soon as the flow turns pale and sputters.

AeroPress

The AeroPress can make a short, concentrated brew: use about 18 g of fine coffee with 60–90 g of water at around 90 °C, stir, steep for a minute, and press firmly. It’s smooth and strong, great in a latte, but it’s still a concentrated filter coffee rather than espresso. See our AeroPress recipes for more.

Next steps

Frequently asked questions

Can you make espresso without a machine?

Not true espresso, which needs about 9 bar of pressure. A moka pot or AeroPress can make a strong, concentrated coffee that works well in milk drinks, but it will be thinner and less syrupy than real espresso.

How much coffee do I need for a double shot of espresso?

Most double baskets hold 16 to 20 grams of ground coffee; 18 grams is a common starting point. Aim for about 36 grams of liquid espresso out, in roughly 25 to 30 seconds.

What grind size is used for espresso?

Very fine, a little finer than table salt and close to powdered sugar in feel, but it still clumps slightly when pinched. The exact setting depends on your grinder and beans, so you adjust it until the shot runs in about 25 to 30 seconds.

Why is my espresso sour or bitter?

Sour, thin espresso is usually under-extracted, so grind finer or pull a slightly longer shot. Bitter, harsh espresso is usually over-extracted, so grind coarser or stop the shot sooner.

How much caffeine is in a shot of espresso?

According to USDA data, a single 1 oz shot of espresso has about 63 mg of caffeine, so a double shot is roughly 125 mg. The exact amount varies with the beans and dose.