If you want to know how to clean an espresso machine, the secret is a routine, not a big scrub once a year. Coffee oils go stale fast and make shots taste bitter, and dried milk blocks steam wands. A few seconds after each shot, a weekly backflush and a monthly deep clean keep your machine tasting great and working for years.

Here's the full routine, broken down so it's easy to follow.

Your cleaning schedule at a glance

WhenTaskTime
After every shotKnock out the puck, rinse the basket, flush the group head10 seconds
After steaming milkPurge the steam wand and wipe it with a damp cloth5 seconds
DailyEmpty and rinse the drip tray, wipe the machine2 minutes
WeeklyBackflush with water, brush the group head, soak baskets10 minutes
Every 1–4 weeksBackflush with cleaner, clean the water tank15 minutes
MonthlyRemove and scrub the shower screen and gasket area, clean the grinder20 minutes
Every 1–3 monthsDescale (depending on water hardness)30–45 minutes

After every shot

  1. Knock out the puck into a knock box or bin.
  2. Rinse the basket under hot water and wipe it dry.
  3. Flush the group head for 2 to 3 seconds to wash coffee off the shower screen.
  4. Lock the empty portafilter back in so it stays hot for the next shot.

After steaming milk

Purge the steam wand right after you steam: point it into the drip tray or a cloth and open the steam for 1 to 2 seconds. Then wipe it with a damp cloth. This stops milk being sucked back inside the wand and drying in the tip.

Weekly: backflush the group head

Backflushing pushes water backward through the group head to wash out oils. You need a blind basket (a basket with no holes) or a rubber backflush disc.

  1. Put the blind basket in the portafilter and lock it into the group head.
  2. Run the pump for 10 seconds, then stop. Water pushes back through the solenoid valve into the drip tray.
  3. Repeat 5 times.
  4. Every 1–4 weeks, add about half a teaspoon of espresso machine cleaner (such as Cafiza) or a cleaning tablet to the blind basket and repeat the cycle, then rinse with 5 more cycles of plain water. See our picks for the best espresso machine cleaning tablets.
  5. Pull and discard one shot to season the group head again.

Monthly: deep clean the group head

  1. Unplug and cool the machine.
  2. Remove the shower screen. Most unscrew with one screw in the middle.
  3. Soak the screen and baskets in hot water with espresso cleaner for 20 to 30 minutes.
  4. Scrub the group head and the gasket area with a group head brush. Check the gasket for cracks or hardness.
  5. Rinse everything, refit the screen, and run water through before brewing.

If the gasket is hard or leaking, replace it. Our espresso machine parts guide explains what it looks like.

Clean the water tank and drip tray

Rinse the water tank weekly and wipe it out with a soft cloth to stop slime or limescale forming. Replace any water filter on schedule. Empty the drip tray every day; old water starts to smell quickly.

Clean your grinder too

Old coffee oils in the grinder make fresh beans taste stale. Once a month, run grinder cleaning tablets (like Grindz) through it, or remove the upper burr and brush it out. Never wash burrs with water unless the maker says it's safe.

Descale regularly

Cleaning doesn't remove scale. Minerals in tap water build up inside the boiler and pipes. Follow our full guide on how to descale an espresso machine, and see espresso machine water to slow down scale with the right water.

Brand-specific cleaning guides

Machines that are easy to keep clean

Machines with a three-way solenoid valve and a standard portafilter are the easiest to clean. The Gaggia Classic Evo Pro, Rancilio Silvia and most Breville models all qualify. Compare them in our best espresso machine and best semi-automatic espresso machine guides.

Frequently asked questions

How often should I clean my espresso machine?

Do a quick clean after every use (purge and wipe the steam wand, rinse the portafilter, flush the group head). Backflush with water weekly and with cleaner every 1 to 4 weeks. Descale every 1 to 3 months depending on your water.

What's the difference between cleaning and descaling?

Cleaning removes coffee oils and milk residue from the parts that touch coffee and milk. Descaling removes mineral scale from the inside of the water system. Your machine needs both.

Can every espresso machine be backflushed?

No. Only machines with a three-way solenoid valve can be backflushed, such as the Gaggia Classic, Rancilio Silvia, E61 machines and most Breville models with a cleaning disc. Many budget machines cannot. Check your manual.

What should I use to clean my espresso machine?

Espresso machine cleaning tablets or powder (like Cafiza or the brand's own tablets) for backflushing, a group head brush, a soft cloth, and a milk system cleaner for steam wands. Avoid dish soap inside the group head and never put the machine body in water.

Can I put the portafilter in the dishwasher?

It's better not to. Dishwasher detergent can dull the finish and damage the handle. Soak the basket and portafilter head in hot water with espresso cleaner instead.