Coffee is an agricultural product packed with oils, acids, and organic compounds. Every shot you pull leaves behind a thin film of those compounds on your group head, portafilter, basket, and steam wand. Left uncleaned, they oxidize, turn rancid, and contaminate every subsequent shot with bitter, stale flavors. A machine that is even a week overdue for cleaning can make excellent coffee taste mediocre.
The good news is that espresso machine cleaning is not complicated — it just requires consistency. A cleaning routine that takes less than two minutes per day and ten minutes per week will keep your machine performing at its best, extend its lifespan significantly, and ensure that the quality of your espresso is never limited by accumulated residue. This guide covers exactly what to do and when.
Why Regular Cleaning Matters
Coffee oils are the primary culprit behind a dirty espresso machine. These oils are extracted during every shot and coat every surface they touch. Unlike water, they do not simply rinse away — they bond to metal surfaces, oxidize with exposure to air, and gradually turn rancid. Within 24 hours, a coating of old coffee oil on your group head or portafilter will be contributing bitter, stale flavors to your espresso.
The steam wand is equally critical. Milk is steamed at high temperatures and leaves behind proteins and sugars that bake onto the wand tip almost immediately. A milk-coated steam wand is a bacterial breeding ground as well as a source of off-flavors in your next drink.
Beyond flavor, cleanliness affects machine performance. A clogged portafilter basket with partially blocked holes will restrict flow and produce uneven extraction. A group head screen coated in old coffee grounds will cause pressure buildup and potentially damage the solenoid valve. Regular cleaning is preventive maintenance as much as it is flavor management.
Cleaning Supplies You Need
- Group head brush — stiff bristles for scrubbing the group head screen
- Cafiza or Puly Caff tablets/powder — espresso machine detergent for backflushing
- Blind basket (blank basket) — for backflushing (often included with machine)
- Microfiber cloths — for wiping the group head, steam wand, and body
- Small container or bowl — for soaking portafilter baskets
- Portafilter brush — for cleaning inside the basket and portafilter spouts
- Steam wand brush or pin — for clearing the wand tip holes
- Descaling solution — for separate monthly descaling (see our descaling guide)
Daily Cleaning Routine (2–3 Minutes)
This should happen at the end of every brewing session, or at minimum once per day if you use the machine multiple times.
-
Purge and Wipe the Steam Wand Immediately After Every Use
As soon as you finish steaming milk, open the steam valve for 1–2 seconds to purge any milk drawn back into the wand tip, then close it. Immediately wipe the entire steam wand with a damp cloth. Do this within 5–10 seconds of finishing steaming — milk hardens onto the wand in seconds and becomes much harder to remove. After wiping, purge once more briefly to ensure the tip is clear. A clean steam wand takes literally 10 seconds. A neglected one can take 10 minutes of soaking to restore.
-
Flush the Group Head After Your Last Shot
With the portafilter removed, run a 3–5 second flush of hot water through the group head. This rinses loose coffee grounds and fresh oils from the shower screen and dispersion block before they can dry and bond. It is especially important on machines without a solenoid valve (i.e., non-pressurized machines) where grounds can sit in the head between sessions.
-
Brush the Group Head Screen
While the group head is still hot and the flush has just run, use your group head brush to scrub the shower screen in circular motions. This dislodges any fine coffee particles that the flush did not clear. Scrub for 10–15 seconds, then run another brief flush to rinse away what you loosened. The brush bristles should be stiff enough to scrub but not so hard that they damage the screen.
-
Knock Out and Rinse the Portafilter
Knock the spent coffee puck into your knock box. Rinse the portafilter basket under hot running water. Give the inside of the basket a quick rub with your finger or a brush to dislodge any stuck grounds. Rinse the spout area as well. Do not put the portafilter in the dishwasher — the heat and detergents can damage the rubber gasket and strip the finish from the basket.
-
Empty the Drip Tray
The drip tray collects rinse water, overflow, and purge water throughout the day. Empty it daily and rinse it under hot water. Most drip trays have a float indicator that tells you when they are full — do not wait for that as a signal to empty it. Standing water in the tray can develop mold and creates an unpleasant smell that permeates the machine over time.
-
Wipe Down the Exterior
A quick wipe of the machine body with a damp cloth keeps coffee spray and milk splatter from building up. Pay attention to the area around the group head, the portafilter handle and spout, and the steam wand mount. Stainless steel can be wiped dry with a microfiber cloth to prevent water spots.
Weekly Cleaning Routine (10–15 Minutes)
-
Backflush with Water Only
Backflushing forces water back through the group head (instead of forward through the basket), which cleans the solenoid valve, internal group head components, and the shower screen from the back. To backflush, insert the blind basket (solid, no holes) into your portafilter. Lock it in as normal. Run the pump for 10 seconds, then stop for 5 seconds. Repeat this cycle 3–5 times. The water you see expelled from the 3-way valve will be brown with coffee oils — that is normal and desirable. This plain-water backflush can be done weekly.
-
Soak and Scrub the Portafilter Basket
Even with daily rinsing, the small holes in your portafilter basket gradually clog with oils and fine coffee particles. Weekly, soak the basket in hot water for 15–20 minutes, then scrub the bottom with a stiff brush. Hold it up to the light and look through the holes — they should all be clear and equal-sized. If any appear blocked, use a straightened paper clip or toothpick to clear them individually. Clogged basket holes cause uneven flow and extraction.
-
Deep Clean the Portafilter Spouts
The spouts (the channels that direct espresso into your cup) accumulate dried coffee oils on their inner surfaces. Use a small brush or pipe cleaner to scrub inside each spout. You can also soak the entire portafilter (minus the handle, which often has a wooden or plastic component) in hot water for 10 minutes to loosen deposits before scrubbing.
-
Check and Clean the Steam Wand Tip
Even with daily wiping, the small holes in the steam wand tip can gradually clog. Remove the tip if your machine allows it (most home machines have a screw-off tip) and soak it in warm water for 5 minutes. Use a pin or steam wand cleaning tool to clear each hole. Reassemble and test by steaming a small amount of water — steam should flow evenly from all holes with equal pressure. An asymmetric steam pattern means one or more holes are still blocked.
Monthly Deep Clean (20–30 Minutes)
-
Backflush with Cafiza or Puly Caff Detergent
Once a month, perform a detergent backflush. Use a small amount of Cafiza powder or a half-tablet of Puly Caff in the blind basket (follow the product instructions exactly — typically 0.5–1g of powder). Insert the blind basket and backflush using the same cycle as above: pump on for 10 seconds, off for 5, repeat 5–8 times. The detergent will dissolve and remove coffee oil deposits that plain water cannot touch. After the detergent cycles, flush the group head thoroughly with plain water for several cycles to remove all chemical residue. Never taste the espresso after a detergent backflush without first pulling a plain water shot to clear the system.
-
Soak the Portafilter and Basket in Cafiza Solution
Dissolve a teaspoon of Cafiza in a container of hot water. Submerge the portafilter basket and the portafilter body (metal parts only) and allow them to soak for 20–30 minutes. This removes rancid oils that have bonded to the metal over weeks of use. After soaking, rinse thoroughly under running water and then run the portafilter through one espresso pull cycle (lock in, pull a shot) before using it for coffee — this rinses away any detergent residue inside the basket holes.
-
Clean the Group Head Gasket Area
The rubber gasket (O-ring) inside the group head forms a seal with the portafilter. Over time, coffee grounds and oils accumulate in the groove around the gasket. Use a small brush or toothbrush to scrub this area. A buildup here not only affects flavor but can cause the portafilter to stick or leak. If the gasket appears cracked, hardened, or is leaving marks on the portafilter rim, it is time to replace it — usually a simple and inexpensive repair.
-
Inspect the Shower Screen and Dispersion Block
On many home machines, the shower screen can be removed with a screwdriver (check your machine's manual). Remove it monthly, soak it in Cafiza solution for 10 minutes, and scrub with a brush. The dispersion block behind it can be wiped with a damp cloth. Reinstall firmly — a loose shower screen causes uneven water distribution and extraction problems.
Cleaning Portafilters and Baskets in Detail
Your portafilter and basket need more attention than most home baristas give them. Here is a deeper look at the common problems and solutions:
Blocked Basket Holes
Hold the basket up to a light source and look through the bottom. Each hole should be clearly visible and roughly equal in size. Blocked holes cause uneven extraction — water flows through the clear areas more quickly, leaving others under-extracted. Clear blocked holes with a pin and then soak and scrub the basket.
Stained and Discolored Baskets
Light golden or brown staining on a stainless steel basket is coffee oil oxidation. It does not cause immediate flavor problems if the basket is otherwise clean, but heavy buildup does. A Cafiza soak monthly will keep staining minimal. Some enthusiasts use a dry basket for espresso, arguing that oils from previous shots contaminate new ones — especially with delicate light roast beans.
Portafilter Spout Blockage
A blocked spout reduces flow to one side of a double spout, making the yield uneven. If one spout is flowing much less than the other, it is blocked. Soak and scrub with a narrow brush or pipe cleaner. If it remains blocked, a toothpick can dislodge packed coffee residue.
Troubleshooting Cleaning Issues
Machine Smells Like Old Coffee Even After Cleaning
The drip tray is likely the culprit. Remove it, wash it with dish soap, rinse thoroughly, and allow it to dry. Also check inside the drip tray channel on the machine body itself — coffee water often seeps into this area and is hard to reach without a brush. A smell that persists after thorough cleaning may indicate that the internal tubing has significant oil buildup, which requires descaling and a professional cleaning or a longer Cafiza backflush cycle.
Espresso Still Tastes Bitter After Cleaning
If bitterness persists after cleaning, it is more likely an extraction issue (grind too fine, temperature too high) than a cleanliness issue. However, if you have recently started cleaning after a long gap of neglect, the machine may need several cleaning cycles to fully clear accumulated rancid oils from internal components.
Steam Wand Tip Holes Keep Getting Clogged
You are not purging and wiping the wand immediately after steaming. The solution is a behavioral change, not a different cleaning product. Within 30 seconds of steaming, milk sugars begin to solidify on the tip. Make purging and wiping the absolute first thing you do after steaming — before you even pour the milk. Make it automatic.
Pro Tips
Frequently Asked Questions
How often should I backflush my espresso machine?
A plain water backflush after your last shot of the day is ideal. A detergent backflush (Cafiza or similar) should be done monthly for light users (1–2 shots per day) or weekly for heavier users (4+ shots per day). Commercial machines are backflushed with detergent daily.
Can I put my portafilter in the dishwasher?
It is not recommended. Dishwasher detergents are harsh and can strip the finish from the basket, degrade rubber components, and leave detergent residue in the small holes. The high heat can also warp plastic or wooden handle components. Hand washing with hot water and a brush is better for the portafilter's longevity.
What is the difference between cleaning and descaling?
Cleaning removes coffee oils and organic residue from surfaces the coffee contacts. Descaling removes mineral deposits (limescale) from the internal boiler, tubing, and heating elements. Both are necessary — cleaning is done daily to monthly, while descaling is done every 2–3 months depending on water hardness. Cafiza is a cleaner; Dezcal is a descaler. They are not interchangeable.
My machine says it is "self-cleaning" — do I still need to do this?
Yes. "Self-cleaning" functions on consumer machines typically rinse internal pathways and the steam wand system with hot water or steam, which helps but does not replace manual cleaning of the group head, portafilter, and basket. Always supplement automated cleaning cycles with the manual steps described above.
Recommended Cleaning Products
Urnex Cafiza Espresso Machine Cleaner
Cafiza is the industry standard for espresso machine backflushing. Its active enzyme formula dissolves coffee oils effectively without damaging machine components. Available in tablet and powder form — powder allows more precise dosing for home machines. A single container lasts most home users 6–12 months.
Check Price on Amazon →Puly Caff Espresso Machine Cleaner Tablets
Puly Caff tablets are a popular alternative to Cafiza, widely used in commercial cafes in Europe. Each tablet is pre-measured for convenience. Highly effective at dissolving rancid coffee oils from group heads and internal components. Excellent for monthly deep cleaning cycles.
Check Price on Amazon →Espresso Group Head Cleaning Brush
A stiff-bristled brush sized to scrub the shower screen and group head seal area. Look for one with a long handle for reaching into the group head comfortably. Some models have a dual-ended design with a narrower tip for steam wand cleaning. An inexpensive but essential tool for daily maintenance.
Check Price on Amazon →Frequently Asked Questions
How do I know if my espresso machine needs cleaning?
The most obvious sign is espresso that tastes bitter or stale despite using fresh beans and a correct grind. Other indicators include a brown discoloration when you flush the group head with plain water, a steam wand tip that produces uneven or reduced steam, and a portafilter basket with partially blocked holes. If your machine smells musty when you turn it on, that is also a clear signal.
What is the difference between Cafiza and a descaler like Dezcal?
Cafiza is an espresso machine cleaner that dissolves coffee oils and organic residue from surfaces the coffee contacts — the group head, portafilter, and basket. Dezcal is a descaler that dissolves mineral deposits (limescale) from the boiler, heating element, and water path. They perform completely different functions and neither can replace the other. Your machine needs both regular cleaning and regular descaling.
Can I backflush my machine every day?
A plain water backflush after your last shot of the day is actually ideal practice and will not harm your machine. A detergent backflush (with Cafiza) should be done less frequently — monthly for light users or weekly for heavy users — because the cleaning agent, while safe at correct dosing, should not be overused. Always flush thoroughly with plain water after any detergent backflush.
My machine does not have a 3-way solenoid valve — can I still backflush?
No. Backflushing only works on machines equipped with a 3-way solenoid valve, which vents the excess pressure and water that the backflush process reverses through the system. Machines without a solenoid (many pump machines at entry level) cannot be backflushed. Instead, focus on daily group head flushing and brushing, weekly portafilter and basket soaking, and monthly shower screen removal and cleaning.
How do I remove milk residue from a stubborn steam wand?
If the steam wand tip has hardened milk buildup that does not respond to wiping, remove the tip (most unscrew counterclockwise) and soak it in a small cup of hot water for 10–15 minutes. For very stubborn buildup, a dedicated steam wand cleaning solution or a dilute Cafiza solution works well. Never use sharp objects to scrape the inside of the tip — you can enlarge or damage the holes, affecting steam quality permanently.
Level Up Your Espresso Setup
Now that you know the technique, make sure you have the right gear.
See Our Top Machine Picks →