What retraction does
When the nozzle travels without printing, molten plastic can ooze and leave thin whiskers (stringing) or blobs. Retraction pulls the filament back a short distance so pressure in the nozzle drops before the travel move. Too little and you get stringing. Too much and you get under-extrusion after travels, grinding, or heat creep clogs.
The right starting point depends mainly on how long the filament path is (direct drive vs Bowden), how sticky the material is, and nozzle size. This calculator gives that starting point; a short test tower finishes the job.
good retraction = shortest distance that leaves no whiskers
on a tower printed after flow and temperature are dialled in
Retraction is one of the last calibration steps. Do e-steps, temperature and flow first, or you will chase ghosts.
Worked example: direct-drive PLA vs Bowden PETG
Worked example
Two common setups, both on a 0.4 mm nozzle
| Direct drive, PLA | Start at 0.80 mm @ 35 mm/s, Z-hop 0.20 mm |
| Bowden 500 mm PTFE, PLA | Start at 5.00 mm @ 40 mm/s |
| Same Bowden, PETG | Start at 5.75 mm @ 34 mm/s (longer, slower) |
| Tuning step | Direct: 0.1 mm · Bowden: 0.5 mm |
| Goal | Shortest distance that leaves no whiskers on a retraction tower |
Print a retraction or stringing tower, change only distance between bands, and pick the lowest clean band. If clean bands still blob at corners, raise travel speed or enable a small wipe before you add more retraction.
Where to type the numbers
| Slicer | Distance | Speed | Z-hop |
|---|---|---|---|
| OrcaSlicer / Bambu Studio | Filament → Retraction length | Retraction speed | Z hop when retracting |
| PrusaSlicer / SuperSlicer | Printer Settings → Extruder → Retraction length | Retraction Speed | Lift Z |
| Cura | Retraction Distance | Retraction Speed | Z Hop Height (enable Z Hop) |
| Klipper (printer.cfg) | [extruder] or slicer; many use slicer only | Same | Often slicer Z-hop |
On multi-extruder or toolchanger machines, set retraction per tool. Pressure advance / linear advance is separate: calibrate it after flow, before or alongside retraction.
How to dial retraction in
- Calibrate e-steps and flow first. Wrong flow looks like stringing.
- Dry moisture-sensitive filament (PETG, TPU, nylon). Wet filament strings no matter the setting — see the drying chart.
- Enter your drive type, tube length (Bowden), material and nozzle above and use the starting values.
- Print a retraction tower (or the stringing torture test). Change only retraction distance between bands.
- Pick the shortest distance that is clean. Then tweak speed ±5–10 mm/s if you still see blobs or gaps after travels.
- If you still get whiskers at high distance, raise travel speed, enable a small wipe, or lower nozzle temperature 5 °C before adding more retract.
Starting ranges by setup
| Setup | Distance | Speed | Notes |
|---|---|---|---|
| Direct drive, PLA | 0.4–1.2 mm | 30–45 mm/s | Most CoreXY and Sprite-style extruders |
| Direct drive, PETG | 0.6–1.5 mm | 25–40 mm/s | Slower retract helps; dry the spool |
| Bowden ~500 mm, PLA | 4–6 mm | 35–50 mm/s | Classic Ender-style PTFE path |
| Bowden long tube (>600 mm) | 5–7.5 mm | 35–50 mm/s | Add ~0.4 mm per extra 100 mm of tube |
| TPU (any drive) | 0–0.8 mm | 15–25 mm/s | Often better with little or no retract + slow travel |
Common mistakes
- Cranking distance until the nozzle clogs. Too much retract pulls molten plastic into the cold zone (heat creep) and can jam, especially on Bowden. Stay under about 2.5 mm direct / 8 mm Bowden and fix stringing with travel, wipe and drying instead.
- Tuning retraction on wet PETG or nylon. Moisture causes bubbles and ooze that look like stringing. Dry first.
- Changing five settings at once. Distance, speed, temperature, travel and coasting all affect whiskers. Change one variable per tower.
- Copying a Bowden profile onto a direct-drive printer. 5 mm of retract on a short path grinds filament and causes under-extrusion after travels.
- Ignoring temperature. A nozzle 10–15 °C hotter than needed oozes more. Pair this tool with a temperature tower.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Still stringing after high retract | Wet filament, hot nozzle, or slow travels | Dry spool; drop temp 5 °C; raise travel speed |
| Gaps / under-extrusion after travels | Retraction too long or too fast | Reduce distance one step; slow retract 5–10 mm/s |
| Clicks or jams mid-print | Heat creep from excessive retract | Shorten retract; check heatsink fan; lower temp slightly |
| TPU looks worse with any retract | Filament compressing in the path | Set 0–0.5 mm, slow travel, disable z-hop if it scars the surface |
| Only corners blob, no long whiskers | Pressure advance / coasting, not retract length | Tune pressure/linear advance; small wipe often helps more than more retract |
Corners blobbing even with good retraction? That is pressure, not retract length. Tune it with the pressure advance calculator.
FAQ
What retraction distance should I use?
Direct drive PLA usually starts around 0.5–1.0 mm. Bowden PLA around 4–6 mm. PETG needs a little more and a slower retract; TPU needs much less.
What is a good retraction speed?
About 30–45 mm/s on direct drive and 35–50 mm/s on Bowden. Faster is not always better: too fast can grind filament or leave gaps after travels.
Why does my Bowden printer need more retraction?
The PTFE tube adds stretch and slack in the filament path, so a short pull at the extruder barely changes pressure at the nozzle. Longer tubes need longer retracts.
Should I enable Z-hop with retraction?
A small Z-hop (about 0.2 mm) helps on parts with tall thin features that the nozzle might scar. On flat parts it is optional; too much Z-hop adds stringing on some setups.
Why do I still get stringing after raising retraction?
Often the filament is wet, the nozzle is too hot, or travel moves are slow. Dry the spool, drop temperature 5 °C, and raise travel speed before adding more retract.
Can too much retraction damage my printer?
It can jam the hotend (heat creep) and chew filament. Stay within about 2.5 mm on direct drive and 8 mm on Bowden, and fix remaining stringing with drying, temperature and travel.
Recommended gear
- Filament dryer — Dries while you print. Check max temperature (≥70 °C) if you print nylon.
- Overture High Speed PETG, 1 kg — Tougher and more heat-resistant than PLA for functional parts.
- Overture High Speed PLA, 1 kg (1.75 mm) — Our default PLA pick: tight ±0.02 mm diameter tolerance and fast-print friendly.
Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.
Related tools
E-steps & flow calibration calculator
Calibrate extruder e-steps and flow rate, with the exact M92 G-code to send.
Temperature tower G-code generator
Add temperature changes by height to any sliced G-code file.
Filament drying temperature & time chart
How hot and how long to dry PLA, PETG, TPU, Nylon and more.
Volumetric flow & max speed calculator
Turn layer height, line width and speed into mm³/s, or find the max speed your hotend can handle.
Layer height & line width calculator
Recommended layer heights and line widths for any nozzle size, from 0.2 to 1.0 mm.
Elephant's foot compensation calculator
Measure the bottom flare on a test print and get the exact mm value for Orca, PrusaSlicer and Cura.