To use an espresso machine: warm it up for 15–20 minutes, grind 18g of coffee to a fine consistency, fill and tamp the portafilter, then pull a shot for 25–35 seconds targeting 36g of liquid espresso out. That’s the core loop — every variable you’ll ever adjust fits within this framework.

This guide walks you through the complete process, step by step, so you can pull a great shot on your first try and know exactly how to improve if something’s off.


What You’ll Need

Before you pull a shot, make sure you have:

ItemWhy It Matters
Espresso machinePump pressure of at least 9 bars
Burr grinderBlade grinders can’t produce consistent fine grinds
Coffee scalePrecision in = precision out
TamperUsually included with machines; must fit your portafilter basket
Fresh espresso beansGround-to-order, not pre-ground
Portafilter basket18g double basket recommended for beginners

If you haven’t chosen a machine yet, see our best espresso machines for beginners guide.


Step-by-Step: How to Pull an Espresso Shot

Step 1: Turn On and Warm Up Your Machine

Switch your machine on and let it heat up fully — typically 15 to 20 minutes. Most home machines signal readiness with a light or temperature display.

Why it matters: a cold machine produces under-extracted, weak espresso. The group head (where the portafilter locks in) needs to reach temperature too. Run a blank shot of hot water through the group head to heat it before using coffee.

Step 2: Grind Your Coffee

Grind 18 grams of fresh espresso beans for a standard double shot. Your grind should feel like fine table salt — finer than drip coffee, coarser than powder.

  • Use a burr grinder set to the fine end of its range
  • Grind directly before brewing — pre-grinding loses aromatics fast
  • Start with your grinder’s recommended espresso setting, then adjust based on shot results

For details on finding the right grind, see our espresso grind size guide.

Step 3: Dose and Distribute

  1. Remove the portafilter from the machine (it should be warm)
  2. Place it on your scale, tare to zero
  3. Grind 18g of coffee directly into the basket
  4. Use a finger or distribution tool to level the grounds — no deep gaps or piles on one side
  5. Settle grounds by tapping the portafilter lightly on the counter once or twice

Even distribution matters: uneven coffee means water finds the path of least resistance, leading to channeling and a sour/bitter shot.

Step 4: Tamp

Place the portafilter on a flat surface or tamping mat. Press the tamper straight down with about 30 pounds of pressure — roughly the weight of leaning in firmly. The surface should be flat and smooth.

How to tell if you’ve tamped correctly: the coffee puck should look like a smooth disk with no loose grounds around the edges.

Common tamping mistakes:

  • Tamping at an angle (creates uneven resistance)
  • Not enough pressure (water flows through too fast)
  • Too much pressure (over-compensation, not actually the issue most think)

Step 5: Lock In the Portafilter

Insert the portafilter into the group head and twist clockwise until it locks firmly. Don’t jam it — you’re sealing, not overtightening.

Step 6: Pull the Shot

Place a shot glass or espresso cup on the drip tray with your scale underneath it. Start your machine and your timer simultaneously.

Target parameters for a standard espresso:

  • Time: 25–35 seconds
  • Yield: 36g of liquid espresso (for 18g dose = 1:2 ratio)
  • Appearance: Golden-brown crema on top, flowing like warm honey

When to stop: most machines run on a timer or volume preset. If pulling manually, stop when you hit 36g on the scale.

Step 7: Taste and Adjust

This is where espresso becomes a skill. Taste your shot immediately and diagnose:

TasteProblemFix
Sour / thinUnder-extractedGrind finer
Bitter / harshOver-extractedGrind coarser
WateryToo fast (under)Grind finer
No flow / too slowGrind too fineGrind coarser
Good balanceYou nailed itKeep everything the same

Change one variable at a time — usually grind size first, then dose, then tamp pressure.


How to Dial In Your Grinder

“Dialing in” means adjusting your grinder until your shots pull on target (25–35 seconds, 36g yield from 18g dose).

Start here:

  1. Pull a shot with your current grind
  2. If it ran under 25 seconds → grind one step finer
  3. If it ran over 35 seconds → grind one step coarser
  4. Repeat until you hit the target window

With a new bag of beans or a new grinder, budget 3–5 shots to dial in. This is normal — not a failure.

For a full dialing-in framework, see our espresso ratio guide.


How to Steam Milk (for Lattes and Cappuccinos)

If your machine has a steam wand:

  1. Purge the wand (1–2 second burst to clear condensation)
  2. Fill a frothing pitcher with cold milk (just below the spout)
  3. Submerge the wand tip just below the milk surface
  4. Turn on steam — lower the pitcher slightly to stretch (aerate) the milk for 3–4 seconds, then raise to swirl and heat
  5. Heat to 140–150°F (60–65°C) — hot enough to feel through the pitcher
  6. Wipe and purge the wand after

For latte art and microfoam techniques, see our full milk steaming guide.


Common Beginner Mistakes

1. Not warming up the machine long enough Cold machine = cold espresso = under-extraction. Always wait the full 15–20 minutes.

2. Using pre-ground coffee Pre-ground coffee goes stale in minutes. Buy whole beans and grind fresh.

3. Skipping the scale Eyeballing dose leads to inconsistent shots. A $10 kitchen scale fixes this.

4. Adjusting too many variables at once If you change grind size AND dose AND tamp pressure in one session, you can’t know what worked. One variable at a time.

5. Not cleaning the machine Coffee oils go rancid fast. Rinse the portafilter and group head after every session. Backflush weekly if your machine supports it.


FAQ

How long does an espresso shot take to pull? 25 to 35 seconds is the standard range. Under 25 seconds indicates under-extraction (grind finer); over 35 seconds indicates over-extraction (grind coarser).

How much coffee do I use for one espresso shot? For a double shot (standard): 18g in, targeting 36g out (1:2 ratio). For a single shot: 9g in, targeting 18g out.

Why is my espresso coming out watery? Most likely cause: grind is too coarse, so water flows through too quickly without extracting enough. Adjust your grinder one step finer.

Do I need a special grinder for espresso? Yes — a burr grinder capable of very fine, consistent grind settings. Blade grinders produce uneven particle sizes that make espresso brewing unpredictable.

How do I clean my espresso machine? Rinse the portafilter after every use. Run water through the group head. Descale every 2–3 months. See our full espresso machine cleaning guide for step-by-step instructions.

Can I use any coffee beans for espresso? Technically yes, but espresso roasts (medium to dark) are specifically developed for the high-pressure extraction method. Lighter roasts can work but require finer adjustments. Fresh beans — roasted within the last 2–4 weeks — make the biggest difference.


Next Steps

Once you’re pulling consistent shots: