Tamp and Grind: How These Two Variables Control Your Espresso
If you've pulled espresso shots that run too fast, taste watery, or alternatively take forever to come out and taste bitter, the problem is almost always grind size or tamping pressure. Usually both. Tamp and grind work together to control how water flows through the coffee puck, and getting them right is the foundation of a good espresso.
This guide explains exactly how grind and tamping interact, what proper tamping technique looks like, how to know if your grind setting is right, and how to troubleshoot shots that aren't extracting correctly.
Why Grind and Tamp Both Matter
Espresso works by forcing hot water through a compacted coffee puck at high pressure (typically 9 bars). The rate at which water passes through the puck determines extraction time, and extraction time determines flavor.
The puck's resistance to water flow comes from two things: how fine the grind is and how compressed the grounds are from tamping. Finer grind creates more surface area and more friction. Firmer tamping compresses the grounds more tightly.
If either variable creates too much resistance, the shot runs slow and over-extracts (bitter, harsh). If either creates too little resistance, the shot runs fast and under-extracts (thin, sour, weak).
The two variables are connected, which means you can compensate for one with the other to some extent. But they're not perfectly interchangeable, and there's a range within which each variable needs to sit for the puck to behave properly.
What Proper Tamping Looks Like
Tamping is the act of pressing a tamper (a flat-bottomed disc) down on the loose grounds in the portafilter basket to compress them into a flat, even puck.
The Pressure Question
The most common tamping myth is that you need to press with exactly 30 pounds of pressure. This number has been passed around for decades and it's not accurate in a practical sense. Research and experimentation by baristas and home brewers has shown that once you're applying consistent downward pressure somewhere in the range of 15 to 40 pounds, the specific number matters much less than consistency.
What actually matters:
- Level tamp (the puck surface is flat, not tilted)
- Consistent pressure from shot to shot
- No gaps or channels on the edges of the puck
A tilted puck sends water through the thinner side too fast and the thicker side too slow, which creates uneven extraction in the same shot. This is called channeling and it produces shots that taste both under and over-extracted at once.
How to Tamp
Place the portafilter on a flat surface or a tamping mat. Rest the tamper on the grounds and apply downward pressure using your body weight, not just your arm. Keep your wrist straight and perpendicular to the basket. Press down firmly and consistently.
After pressing, some baristas twist the tamper a quarter turn as they lift (the "polish"), which smooths the puck surface. This is optional but doesn't hurt.
The puck surface should look smooth and level with no visible cracks, divots, or gaps around the edges. The grounds should sit about 4 to 6mm below the basket rim to leave the correct headspace for the machine's shower screen.
Tamper Fit
Your tamper must match the diameter of your portafilter basket. Standard home espresso basket diameters are 58mm, 54mm, and 51mm depending on the machine. A tamper that's too small leaves a gap around the edge where water bypasses the puck without extracting properly. A tamper that's too large won't sit flush.
A good quality tamper makes a real difference in consistency. Cheap tampers have uneven bases and inconsistent weight distribution. Calibrated tampers (which click at a set pressure) are popular for home use because they remove the guesswork.
Getting Your Grind Right for Espresso
Grind size for espresso requires much more precision than grind size for filter coffee. Moving one or two steps on a burr grinder can change shot time by 5 to 10 seconds.
The Target Shot Time
With good technique and a consistent tamp, a well-extracted shot should run for 25 to 35 seconds from when the pump starts. Most home baristas target 27 to 32 seconds for a double shot of around 36 to 40 grams of espresso from an 18-gram dose.
If your shot is running in under 20 seconds, your grind is too coarse or your tamp is too light. The water is blasting through too quickly and the espresso will taste thin and sour.
If your shot barely drips out and takes over 45 seconds, your grind is too fine or your tamp is too firm. The water is meeting too much resistance and over-extracting, resulting in a bitter, harsh shot.
Adjusting Grind in Small Steps
Espresso grind adjustment works in small increments. On a Baratza Virtuoso+ or similar grinder, moving one or two settings is often all it takes to shift shot time by 5 to 10 seconds. Don't make large adjustments; you'll overshoot.
The sequence for dialing in:
- Pick a dose (18 grams for a double shot is a common starting point)
- Grind, tamp evenly, pull the shot
- Time the shot from first drop to end
- If too fast (under 25 seconds): go finer by 2 grinder settings
- If too slow (over 40 seconds): go coarser by 2 settings
- Repeat until shot time is in range and the coffee tastes balanced
Taste is the final judge. A shot that runs in the right time window should taste sweet, with some bitterness, and a clean finish. If it tastes flat or sour despite correct timing, try adjusting your ratio or water temperature.
For grinders specifically suited to espresso dialing, the Best Coffee Grind for Pour Over and Best Coffee Grind for Moka Pot guides cover related grind topics and equipment.
Common Tamp and Grind Problems
Channeling
Channeling happens when water finds a path of least resistance through a gap or crack in the puck rather than flowing evenly through the entire coffee bed. Signs of channeling include: tiger-striping in the espresso as it extracts (blonde streaks with dark), shots that spurt and slow, or strong bitter-sour flavors at the same time.
Channeling causes: uneven tamping, clumps in the grounds before tamping, gaps around the basket edge, underdosed baskets, or cracks caused by a poorly fitting shower screen.
Fix channeling by using a distribution tool or WDT (Weiss Distribution Technique) to break up clumps before tamping, and by tamping level.
Inconsistent Doses
Weighing your coffee dose on a small scale ($10 to $20) eliminates one major variable. If your dose changes by 1 to 2 grams between shots, your extraction will change along with it. Consistency in dose weight makes it much easier to interpret what grind changes are doing to your shots.
Fresh Beans and CO2
Very fresh beans (within 1 week of roast) produce a lot of CO2, which interferes with extraction and can cause shots to time inconsistently even with the same grind and tamp. This is called blooming. For espresso, most roasters recommend waiting 2 to 4 weeks post-roast before pulling shots. The crema will still form; it just won't be as fluffy from the excessive CO2.
Tools That Help
Distribution tool or WDT: A needle-based tool that breaks up clumps and distributes grounds evenly in the basket before tamping. Reduces channeling significantly.
Calibrated tamper: A tamper with a built-in spring mechanism that clicks at a set pressure (typically 15 or 30 lbs). Useful for developing consistent muscle memory and for comparing technique.
Scale: A small scale under the cup lets you measure the output weight and calculate your brew ratio. Most home espresso targets 1:2 ratio (18g in, 36g out) as a starting point.
Bottomless portafilter: A portafilter with the bottom of the basket exposed (no spout). Lets you see exactly where the espresso is coming from during extraction and makes channeling visible immediately. Useful for diagnosing technique issues.
FAQ
How hard should I tamp espresso? Apply firm, consistent downward pressure. The exact number is less important than level contact and consistency between shots. Around 15 to 30 pounds of pressure is the typical recommendation, but consistent technique matters more than hitting a specific weight.
Should I tamp before or after adjusting grind? Both need to be right. If you change your grind, keep tamping consistent so you can isolate what the grind change is doing. If you change your tamp pressure, keep the grind constant. Adjust one variable at a time.
What grind size should I start with for espresso? Start at a medium fine setting and adjust based on shot time. If your machine has a 58mm portafilter, most grinders designed for espresso will have a recommended starting point in their documentation. The Baratza Encore starts around setting 5 to 10 for espresso; dedicated espresso grinders have their own ranges.
Does tamping pressure affect crema? Crema is primarily a product of fresh beans and proper extraction pressure from the machine. Tamping affects extraction consistency and shot time, which indirectly affects crema texture. Overly loose tamping can lead to thin, pale crema. Very fine grinds and fresh beans produce the most abundant crema.
The Bottom Line
Tamp and grind are the two variables you have the most control over when pulling espresso, and they work together. Grind fine enough that the shot takes 25 to 35 seconds with a consistent, level tamp. If the shot is off, change one variable at a time, grind first since it has more range of adjustment, and use shot time and taste to guide the direction.
Once you're consistently hitting that extraction window, the quality of your espresso will be mostly determined by your beans and machine pressure, not technique.