Retraction Length
When the nozzle travels without printing, leftover pressure can push out a thin hair of plastic. Retraction length is how far the filament is pulled back before that move, measured on the raw filament.
- What it does: sets how much filament the slicer tells the printer to pull back before a travel move.
- When to use it: when you see strings between parts, or when restarts look starved or the extruder grinds.
- What to change first: nothing, on a known-good profile. If strings appear, dry the spool and check temperature, then adjust length in small test steps.
What it does
The slicer writes a retraction into the G-code before qualifying travels, so the printer pulls filament back by this length and feeds it forward when printing resumes. The OrcaSlicer Retraction page frames it as a balance: too little still oozes, too much risks clogs or starved lines. Each extruder on a multi-tool machine can have its own value.
Nearby settings decide how often retraction runs and what happens after it:
- Travel distance threshold (Orca, Bambu) / Minimum travel after retraction (Prusa): retract only when the travel is longer than this.
- Retract on layer change: always retract when moving up a layer. Prusa recommends leaving it on.
- Extra length on restart (Orca): adds a little filament after the reload. Leave the profile value unless restarts look starved.
- Reduce infill retraction (Orca, Others → G-code output): when a travel never leaves the infill, the slicer doesn’t bother retracting, since any ooze ends up buried inside the part. Fewer retractions can speed things up, at the cost of some hidden stringing. Bambu’s Retraction wiki says the matching Bambu Studio option is on by default. PrusaSlicer’s closest match is Only retract when crossing perimeters.
- Material overrides: both Orca and Bambu let one filament override the printer’s retraction values. Put PETG or TPU exceptions there.
When to use it
Change length when:
- You see hairs between separate features. The pull may be too short, or the plastic too hot or wet.
- You hear grinding or wall restarts look thin. The pull may be too long or too frequent. UltiMaker’s Travel settings page says longer pulls stress the filament, and that flexible material or many retractions can grind it.
- You switch drive types. Prusa’s Bowden figure below is longer than its direct-drive one.
- You print PETG or TPU. Orca says these string more readily than PLA and may need a longer pull. PLA is a common desktop starter material, but Part on Demand does not print or sell parts in it. That longer pull is not a general TPU rule, and Prusa and Bambu don’t agree on TPU length. Prusa’s stringing article says flexible filament stretches as it’s pulled back, so it usually needs more length, but Prusa’s flexible-materials article starts the other way: lower retraction, or none, to cut clogs and tangles, then raise it while you watch the result. Bambu warns that retraction can shrink elastic TPU and cause clogs. Bambu also says damp filament strings more and usually can’t be fixed by retraction alone, so dry the spool first, then adjust. Start from the filament profile for your extruder. Needs a test print.
Use Orca’s built-in Retraction Test, not a finished PODMOD part, to find a working length. Change one thing at a time; temperature, moisture, and Z-hop affect the same hairs. Or have Part on Demand print it.
Typical values
Orca’s Retraction page gives no typical or default length, and Bambu’s and UltiMaker’s retraction pages don’t list one either. The --retraction-length=1 on Orca’s page is command syntax, not a recommendation. Start from your profile’s value.
Prusa’s “Stringing and oozing” article gives machine-specific figures:
- MK2.5/S and MK3/S/+ (direct drive): no more than 0.079 in (2 mm).
- MINI/MINI+ (Bowden) presets: 0.126 in (3.2 mm), longer because of the Bowden tube.
- Minimum travel after retraction (same Prusa presets): 0.039 in (1 mm). Raising it saves time but allows more oozing.
These figures are Prusa’s for those machines only, not a length to copy onto another printer or extruder.
Where to find it
- OrcaSlicer: Printer settings → Extruder → Retraction → Length. Per-filament values are under Material Setting Overrides.
- PrusaSlicer: Printer Settings → Extruder 1 → Retraction length. Only retract when crossing perimeters is under Print settings → Infill.
- Bambu Studio: Printer Settings → Extruder for the default. Per-filament values are under Filament Settings → Settings Overrides. Reduce infill retraction is under Process → Other → G-code output.
- UltiMaker Cura: Travel → Enable retraction and Retraction distance.
FAQ
Should I copy a forum number? No. A Bowden length on a direct-drive printer can grind the filament or starve the restart, and a direct-drive length on a Bowden printer can leave strings. Use the profile for your drive type, and confirm any change with a test print.
PETG still strings after I add length. Dry the spool, then check temperature and wipe. See Stringing: what to change first.
Sources
Get it made at Part on Demand
Related reading
- Z-Hop
- stringing-what-to-change-first
- How to Use a Slicer
Related articles
Have a part in mind?
Send a photo, a sketch or a share link and we'll take a look.



