Dialing in espresso means adjusting your recipe until a coffee tastes as good as it can on your grinder and machine. Every new bag needs it, and even a familiar bag drifts as it ages. The process is not mysterious: pull a shot from a sensible starting recipe, taste it, change one thing, and repeat. Most coffees land in three to five shots.
This guide gives you that starting recipe, explains which variable to reach for and when, and walks through an example session from a sour first shot to a sweet, balanced one. It builds on the dose, yield and time framework taught by Matt Perger and Barista Hustle, Scott Rao's work on even extraction, and the taste-first approach that coaches like James Hoffmann and Lance Hedrick teach home baristas.
Quick answer
- Start at 18 g in, 36 g out (1:2) and expect roughly 25 to 32 seconds. Treat the time as a loose guide.
- Taste every shot. Sour, sharp or salty means under-extracted: grind finer or pull a longer shot. Bitter, dry or harsh means over-extracted: grind coarser or pull a shorter shot.
- Change one variable per shot. Use grind to get the flow into a sensible range, then use yield (the ratio) to fine-tune taste.
- Stop when it is sweet, balanced and repeatable, and write the recipe down.
What does dialing in espresso mean?
An espresso recipe has four numbers: the dose (dry coffee in the basket), the yield (liquid espresso in the cup, weighed), the shot time and the brew temperature. Grind size is the knob that ties them together: it sets how much resistance the coffee puts up, and so how fast the shot flows.
Dialing in is moving those numbers until the shot tastes balanced: sweet, with juicy rather than sharp acidity and bitterness in the background. Roast level, origin, processing and age all change how easily a coffee gives up its flavor, and so do your grinder and machine, which is why someone else's recipe is a starting point, not an answer.
Extraction and strength, briefly
Two things decide how a shot tastes. Extraction is how much of the coffee you dissolved: too little tastes sour, salty and thin, too much tastes bitter, dry and hollow. Strength is how concentrated the drink is: too strong is heavy and intense, too weak is watery. Many well-made shots fall somewhere around 18 to 22 percent extraction, the same window the SCA brewing control chart uses for filter coffee, although light roasts often taste best a little higher. You do not need a refractometer to dial in. Your tongue is the instrument.
What you need before you start
- A burr grinder that makes small adjustments. Pre-ground coffee cannot really be dialed in, because grind size is the main control.
- A 0.1 g scale that fits under your cup. Weigh the yield; crema is mostly gas and makes shots look bigger than they are. An espresso scale with a built-in timer covers both jobs.
- Fresh beans with a roast date. Medium roasts usually settle after about a week; light roasts often need two weeks or more. Our roast level and freshness guide covers rest times.
- A way to record shots: a notebook, your phone, or the Espresso Compass.
The starting recipe for espresso
Use the dose your basket is designed for (it is usually printed on the basket or listed in the manual) and a 1:2 ratio. For a standard double basket, that looks like this:
Start the timer when you start the pump, including any pre-infusion, and stop the shot by weight, not by time. People start the clock at different moments, which is one reason published shot times vary. Being consistent matters more than which convention you pick.
How do I measure the yield?
Put the cup on the scale, tare it, start the shot and stop the pump when the scale reaches your target. A few grams usually drip after you stop, so once you know your machine, stop a gram or two early.
Taste first, time second
Shot time is useful, but it is an output, not a target. Two coffees can both run 28 seconds and taste completely different. Use the time to sanity-check your grind and to compare shots of the same coffee, then let taste decide. Good shots regularly fall outside the classic 25 to 30 second window, particularly with light roasts and longer ratios.
How to taste espresso properly
- Stir the shot first. Crema and the liquid underneath taste different, and sipping off the top is misleading.
- Taste from a spoon, then sip. Notice what hits first and what lingers after you swallow.
- Give it a minute. Sourness and bitterness are both easier to judge when the shot is a little below scalding.
- Rinse with water between shots, and compare side by side when you can.
What the taste is telling you
| You taste | It usually means | Try next |
|---|---|---|
| Sour, sharp, salty, thin; fades fast | Under-extracted | Pull a longer shot, or grind finer if it ran fast |
| Bitter, dry, ashy, hollow; lingers | Over-extracted | Pull a shorter shot, or grind coarser if it ran slow |
| Sour and bitter at once | Uneven extraction (channeling) | Improve puck prep, grind slightly coarser |
| Sweet but heavy and intense | Strong, maybe slightly under | Increase the yield by a few grams |
| Pleasant but watery | Weak | Shorten the yield, or add 0.5 to 1 g of coffee |
If your shots are stuck on sour, our guide to why espresso tastes sour goes cause by cause. For the opposite problem, see why coffee tastes bitter.
The one-variable-at-a-time dial-in loop
- Pull your starting recipe. Weigh the dose, prep the puck the same way every time, stop at your target yield and note the time.
- Taste it and name the main problem: sour, bitter, too strong, too weak, or good.
- Pick one change. If the time is far outside the window (say under 20 seconds or over 40), change the grind. If the time is reasonable, change the yield.
- Pull again and compare with the previous shot, not with an ideal in your head.
- Repeat until the shot is balanced, then pull it once more to confirm.
Change grind and yield together and you cannot tell which one helped, or whether one change cancelled out the other. One at a time is faster in practice.
Purge after a grind change. Many grinders hold some coffee in the chute. After you change the setting, grind a gram or two and throw it away, or your next shot is a blend of the old and new setting. Low-retention single-dose grinders need little or no purging.
Grind, yield, dose or temperature: which should you change?
Each variable moves extraction and strength in a slightly different way. Reach for them roughly in this order:
| Variable | What it changes | Typical step | Use it when |
|---|---|---|---|
| Grind size | Flow rate and extraction. Finer runs slower and extracts more. | One small step | The time is far off, or yield changes alone are not enough |
| Yield (ratio) | Extraction and strength. Longer extracts more and tastes lighter. | 2-4 g | The time is reasonable and you are fine-tuning taste |
| Dose | Strength, body and flow. More coffee runs slower and tastes heavier. | 0.5-1 g | You change baskets or want more or less body |
| Temperature | Extraction, gently. Hotter extracts more. | 1-2 °C | Final tuning, especially for light or dark roasts |
Yield is your main taste lever
Once the grind puts you in a sensible time range, yield is the cleanest way to steer taste. Letting a few more grams run through the puck extracts more and dilutes the shot; stopping earlier does the opposite. Thinking in dose, yield and ratio rather than "a double" is now standard in specialty coffee, and it is what the dose, ratio and yield calculator in our Espresso Compass is built around.
Grind sets the flow
Finer grinds run slower and extract more; coarser grinds run faster and extract less. Make small moves, since a single step can shift the time by several seconds. If you keep grinding finer and the shot stays sour, read the light-roast notes below first. Our coffee grind size chart shows where espresso sits compared with other brew methods.
Keep the dose fixed (mostly)
Dose to your basket and leave it there while you dial in. More coffee at the same yield tastes stronger but extracts less, and an overfilled basket presses the puck against the shower screen, which causes uneven extraction. Change the dose in half-gram steps, and only on purpose.
Temperature is for fine-tuning
Adjust brew temperature last, if your machine allows it: hotter helps light roasts, cooler tames dark roasts. Without temperature control, a full warm-up and a short flush before each shot matter most.
Starting points for light, medium and dark roasts
| Roast | Ratio | Yield from 18 g | Temperature | Notes |
|---|---|---|---|---|
| Light | 1:2.2 to 1:3 | 40-54 g | 93-96 °C | Fine grind; expect bright acidity. Often best after 2+ weeks of rest. |
| Medium | 1:2 | 36 g | 92-94 °C | The classic starting point. Most forgiving. |
| Medium-dark to dark | 1:1.5 to 1:2 | 27-36 g | 88-91 °C | Grind a little coarser. Extracts fast, so bitterness arrives early. |
Light roasts
Light roasts are denser and less soluble, so they need longer ratios, hotter water and usually a finer grind. Aim for sweetness under the acidity rather than removing it. If grinding finer only makes the shot slower and harsher, try a slightly coarser grind with a longer ratio. A 2020 study by a team including chemist Christopher Hendon, published in the journal Matter, found that very fine grinds can make flow through the puck uneven and extraction less consistent, and that a slightly coarser grind with a little less coffee gave more repeatable shots.
Medium roasts
Medium roasts are the most forgiving. Start at 1:2 and 92 to 94 °C, and most will dial in with a couple of grind changes and a small yield tweak.
Dark roasts
Dark roasts are more soluble and more brittle, so they extract quickly and produce more fines. Grind a little coarser, use shorter ratios and drop the temperature toward 88 to 91 °C. If a dark roast tastes ashy whatever you do, the roast itself may be the limit, and a short shot in milk may be its best use.
Puck prep basics that actually matter
Puck preparation has one job: give the water no easy path. These habits matter more than any accessory:
- Start with a clean, dry basket and the same dose every time.
- Break up clumps with WDT. The Weiss Distribution Technique, named after John Weiss, means stirring the grounds with thin needles (around 0.3 to 0.4 mm) all the way to the bottom of the basket. A simple WDT tool is cheap and does more for consistency than most other accessories.
- Level the bed. Tap the portafilter gently or use a distribution tool. Leveling tools mostly work on the top layer, so they complement WDT rather than replace it.
- Tamp level, and firmly enough to fully compress the coffee. Beyond that, extra force changes little: at 9 bar, the water presses on a 58 mm puck with roughly 240 kg of force, far more than any hand tamp. Levelness matters much more than pressure, because a tilted puck channels on its thin side.
- Lock in and start the shot promptly, so the puck does not sit on a hot group head.
How do you know if your espresso is channeling?
Channeling happens when water finds a weak spot in the puck and rushes through it. The coffee along that path over-extracts while the rest under-extracts, so the shot tastes sour and bitter at the same time, often thin and harsh. Typical signs:
- The shot runs much faster than the last one with no grind change, and tastes muddled.
- Through a bottomless portafilter: jets or sprays, one side turning pale long before the other, or a stream that wanders instead of forming a centered cone.
- Crema that is patchy or thin compared with your usual shots.
The spent puck is a weak clue, because cracks and pinholes often form after the shot. If you see channeling, fix your prep first, then try a slightly coarser grind; grinding finer usually makes it worse.
A worked example: dialing in a medium roast in five shots
Here is how a typical session goes with a medium roast 10 days off roast, an 18 g basket and a grinder with numbered steps. The grinder numbers are only an example; yours will differ.
| Shot | Change made | Result | Taste | Next move |
|---|---|---|---|---|
| #1 | Starting recipe: 18 g in, 36 g out, grind 10 | 36 g in 19 s | Sour, thin, salty finish | Time is far too short: grind finer |
| #2 | Grind 10 → 8 | 36 g in 26 s | Less sour, some sweetness, still a sharp edge | Time is fine now: extend the yield |
| #3 | Yield 36 → 40 g (1:2.2) | 40 g in 29 s | Sweet and juicy, slightly drying finish | Went a little far: pull back |
| #4 | Yield 40 → 38 g (1:2.1) | 38 g in 28 s | Sweet, balanced acidity, clean finish | Confirm it |
| #5 | No change (repeat) | 38 g in 28 s | Same as shot 4 | Done: write it down |
Notice the pattern: the grind fixed the obvious flow problem in one move, and the yield did the fine-tuning. Shot 5 changed nothing on purpose. A recipe you cannot repeat is not dialed in yet.
When should you stop dialing in?
- The shot is sweet and balanced, and you would happily drink another.
- You can repeat it: the time lands within a second or two and the taste matches.
- You are adjusting for differences you cannot reliably taste side by side.
Write down the dose, yield, time, grind setting, temperature and roast date. Expect to nudge the grind a little finer as the bag ages, because older coffee holds less CO2 and shots tend to run faster. For milk drinks, a slightly shorter, stronger shot (around 1:1.5 to 1:2) usually cuts through milk better than a long one. To see how espresso ratios compare with other brew methods, see our coffee to water ratio guide.
Espresso dial-in checklist
Keep this next to your machine for the first few bags.
Before the first shot
- Machine fully warmed up, portafilter locked in
- Fresh beans, roast date noted
- Dose matches the basket (for example 18 g)
- Scale under the cup, tared
- Target yield chosen (start at 1:2)
Every shot
- Same prep: WDT, level, level tamp
- Purge the grinder after a grind change
- Stop by weight, note the time
- Stir, taste, name the main problem
- Change one variable only
Done when
- Sweet and balanced
- Repeatable within a second or two
- Recipe written down with the roast date
Dial in your next shot with the Espresso Compass
Tap where your shot lands, from sour to bitter and weak to strong, and the compass tells you the single change to make next. Set your dose and ratio to get the target yield, and add your roast level and roast date for bean-specific tips. Free, no account needed.
Brewing filter instead? The Filter Compass and recipes work the same way.
Frequently asked questions
How many shots does it take to dial in espresso?
Usually three to five with a new coffee, if you change one variable per shot. The first shot or two fix the flow with grind size, and the rest fine-tune taste with yield. A coffee similar to the one you just finished often needs only one or two.
Should I change grind size or yield first when dialing in?
Change the grind first if the shot time is far off, for example under 20 seconds or over 40 seconds for a 1:2 shot. Once the time is in a sensible range, adjust the yield to fine-tune taste. Yield changes are quicker and do not require purging the grinder.
What is a good espresso shot time?
Around 25 to 32 seconds for an 18 g in, 36 g out shot is a useful starting range, timed from when you start the pump. It is a guide, not a rule. Light roasts and longer ratios often run longer, and a shot that tastes great outside the range is still a great shot.
How often do I need to dial in espresso?
Every time you open a new coffee, plus small adjustments as the bag ages. Beans lose CO2 in the weeks after roasting and shots tend to run faster, so most people grind a little finer every few days. Large swings in temperature and humidity can shift your setting too.
Why does my espresso run too fast even on the finest grind setting?
Check the dose, the beans and the grinder. Too little coffee for the basket, stale or pre-ground coffee, and grinders designed for filter coffee are the usual causes. If you use a pressurized (dual-wall) basket, the basket controls most of the flow, so grind changes have less effect.