Z-Hop, Retraction, and Coasting: Tweaks That Save Your Print
Z-Hop, retraction, and coasting are the settings that clean up stringing, blobs, and scraped surfaces. Safe starting points for each one.

Optimized for Anycubic Slicer Next
Why These Tweaks Matter
If you’ve ever seen strings between parts, blobs on surfaces, or your nozzle scraping finished layers, your printer settings need fine-tuning. Three of the biggest helpers are Z-Hop, Retraction, and Coasting.
They might sound small, but these settings decide how clean your final print looks. In Anycubic Slicer Next, all three can be adjusted directly. Use them the right way, and your printer feels smoother and smarter. Use them wrong, and you’ll spend more time sanding and reprinting than you’d like.
Retraction: The String Killer
Retraction tells the printer to pull the filament back a little before it moves to a new area. This stops the melted plastic from dripping or stretching between parts.
In Anycubic Slicer Next, you’ll find retraction under:
Printer Settings → Extruder.
Retraction length and speed are the main controls.
- Length decides how far the filament is pulled back.
- Speed controls how fast it retracts.
Too little retraction, and you get thin webs of plastic between parts. Too much, and you risk grinding the filament or clogging the nozzle.
Good starting points:
- For PLA: Retraction length around 0.8–1.2 mm, speed about 45–60 mm/s.
- For PETG: Slightly shorter, around 0.6–0.8 mm, since it’s stickier.
- For TPU or flexible materials: Minimal retraction (0.2–0.5 mm) and slow speed to avoid jams.
Watch your prints closely. If you see tiny hairs or oozing, bump up retraction a bit. If you hear clicking or grinding from the extruder, dial it down.
That balance is your sweet spot.
Z-Hop: The Layer Protector
Z-Hop (sometimes called Lift Z) raises the nozzle slightly during travel moves. The goal is simple: avoid dragging the hot nozzle across already-printed surfaces.
You can find Z-Hop right under the retraction settings in Anycubic Slicer Next. It usually looks like:
Lift Z: [value in mm]
When it’s on, your printer lifts the nozzle before moving across the print. When it’s off, the nozzle stays level and can bump or smear surface details.
When to use Z-Hop:
- Printing tall, thin parts that wobble easily.
- Printing with delicate supports.
- Printing overhangs or detailed surfaces where scratching ruins texture.
Recommended values:
- Start at 0.4 mm.
- Go up to 0.6 mm for complex or tall parts.
- Avoid going past 1 mm unless absolutely needed, it slows the print and can cause tiny Z-banding marks.
Keep in mind: Z-Hop only activates when the slicer triggers a retraction. If a travel move doesn’t retract (due to path optimization like “combing”), Z-Hop won’t happen.
Coasting: The Blob Fixer
Coasting is the unsung hero of clean surfaces. It stops extrusion slightly before the end of a line, using the remaining pressure inside the nozzle to finish the segment. This prevents a blob or bump where the extrusion ends.
In Anycubic Slicer Next, coasting lives in the filament profile settings, sometimes under Advanced Extrusion Settings. If you don’t see it, enable “Advanced Mode” or similar.
How it helps:
Without coasting, the nozzle keeps pushing out filament right up until a stop. That leftover pressure builds up, and when the nozzle pauses, it over-extrudes a blob. With coasting, extrusion cuts early so the nozzle pressure naturally finishes the line.
Starting point:
- Coasting distance: around 0.05–0.2 mm³ (or equivalent depending on your slicer’s unit).
- Too low, and you won’t notice a difference.
- Too high, and you’ll get small gaps where extrusion should’ve continued.
Coasting works best after your retraction and Z-Hop are already tuned. It’s the polish pass, not the foundation.
Where to Find These Settings in Anycubic Slicer Next
Here’s the path through the menus:
- Open Anycubic Slicer Next.
- Load or create your printer profile.
- Go to Printer Settings → Extruder.
- Here you’ll find Retraction Distance, Retraction Speed, and Lift Z (Z-Hop).
- Then open your Filament Settings tab.
- Check Advanced Extrusion Options for Coasting Distance or Coast at End.
- Enable what you need and tweak slightly.
- Save your profile before slicing.
The slicer remembers these settings per filament, so your PLA and PETG profiles can be tuned separately.
How to Tweak and Test
The key is small changes. Don’t overhaul all three at once. Test each tweak individually so you know what’s actually working.
Here’s a simple test plan:
Step 1: Retraction Test
Print a “stringing test” model with vertical towers.
Start with default retraction settings.
If you see thin strings, increase retraction distance by 0.5 mm.
If strings persist, increase retraction speed slightly.
Stop when the strings disappear or thin to near-invisible threads.
Step 2: Z-Hop Test
Print a model with small protruding parts or bridges.
If the nozzle scratches surfaces or knocks parts loose, enable Z-Hop and start at 0.4 mm.
Watch for layer shifts or tiny vertical lines, signs your lift is too high or frequent.
Step 3: Coasting Test
Use a simple shape like a cylinder or vase.
Watch the outer walls for blobs or tiny zits where each layer starts and stops.
Enable coasting and start with a low distance.
Increase slightly until those bumps fade.
Each time, only change one thing. That’s how you isolate the cause and effect.
Common Pitfalls
Even though these settings sound harmless, it’s easy to overdo them.
Here’s what to watch for:
- Too much retraction: Leads to grinding, clogs, or air gaps at layer changes.
- Too much Z-Hop: Adds print time, risks banding, and can misalign Z layers.
- Too much coasting: Creates gaps or weak layer bonding.
- Ignoring interaction: Z-Hop only works with retraction enabled; coasting depends on proper flow pressure.
Always test with small prints before you apply new settings to a big model.
Real-World Example
When I first started printing on my Anycubic Kobra, I noticed tiny strings between two figurine parts. Retraction was at 0.8 mm. I bumped it to 1.2 mm and increased speed slightly. Stringing vanished instantly.
Then came the next issue, the nozzle dragged across fine details. I enabled Z-Hop at 0.4 mm. Problem solved.
Finally, small blobs showed at each seam. A little coasting (0.1 mm³) cleaned those up. The surface looked much smoother, no sanding needed.
That’s the kind of iterative process you want.
Quick Reference: Safe Starting Points
| Setting | Recommended range | Best for |
|---|---|---|
| Retraction distance | 0.8–1.2 mm | PLA, PETG |
| Retraction speed | 45–70 mm/s | All materials |
| Z-Hop height | 0.2–0.6 mm | Avoiding scratches |
| Coasting distance | 0.05–0.2 mm³ | Smoothing seams |
Adjust within those ranges to match your printer and filament.
Pro Tips for Smoother Prints
- Enable “Retraction when switching material” if you print dual colors.
- Save different profiles per filament type.
- Test new settings on a small calibration cube before a long print.
- Keep the nozzle clean, dried residue affects coasting accuracy.
- Combine these tweaks with a tuned flow rate and temperature profile for best results.
Final Thoughts
Z-Hop, Retraction, and Coasting are quiet settings that make a big visual difference. They don’t require fancy upgrades or extra hardware, just patience and small adjustments.
In Anycubic Slicer Next, these features are tucked neatly into your printer and filament profiles. Once you dial them in, you’ll see sharper edges, smoother surfaces, and fewer failed prints.
Take it one tweak at a time. Keep notes. Once your settings click, save that profile and name it something proud, like “Perfect PLA v1.”
Your prints (and your sanity) will thank you.
Related articles
Getting to Know Your Slicer: The Heart of Every 3D Print
The slicer decides more about your print than the printer does. A tour of the settings that matter and the ones you can safely ignore.
3D Printing Supports Made Simple: When, Why, and How to Use Them
Supports are the least glamorous part of a print and often the one that decides whether an overhang survives. What they do, when you actually need them, and how to use as few as possible.