Skip to content
3DPrintMates
3DPrintMates
Run a print shop?List it free and get local print requests.
Sign inCreate account
Troubleshooting

3D Print Retraction Settings: Distance, Speed and How to Tune Them

By 3DPrintMates Editorial · Published

Retraction pulls the filament back a little before the nozzle travels over an open gap, so molten plastic doesn’t ooze out and leave strings. The two settings that matter are distance and speed. As a starting point, direct drive printers usually need about 0.5-2 mm at 25-45 mm/s, and Bowden printers about 4-7 mm at 25-45 mm/s. Start from your printer’s own slicer profile, then fine-tune with a retraction test print.

What is retraction in 3D printing?

Molten plastic in the nozzle is under pressure. When the print head moves from one part of the model to another without printing, that pressure pushes plastic out and drags a thin thread across the gap - stringing. Retraction briefly reverses the extruder to relieve the pressure, then pushes the filament forward again (de-retraction or “prime”) when printing resumes.

Too little retraction leaves strings and blobs. Too much wastes time, can grind the filament and, on some hotends, pulls soft plastic up into the cold zone where it jams.

Direct drive vs Bowden: why the numbers differ

Setup Where the extruder sits Typical retraction distance Typical speed
Direct drive On the print head, right above the hotend ~0.5-2 mm ~25-45 mm/s
Bowden On the frame, feeding through a long PTFE tube ~4-7 mm ~25-45 mm/s

In a Bowden setup the filament has room to compress and the tube has slack, so the extruder must pull back much further before the nozzle sees any change. A direct drive extruder acts on the filament almost immediately, so small distances are enough.

These ranges are a starting point, not a target. Many current printers ship well-tuned profiles (often under 1 mm on direct drive machines); if yours strings very little, leave it alone.

The retraction settings in your slicer

Slicers use different names for the same thing. The main ones:

Setting What it does Typical names
Retraction distance How far the filament is pulled back Retraction distance / Length
Retraction speed How fast it’s pulled back Retraction speed
De-retraction speed How fast it’s pushed forward again Prime speed / Deretraction speed
Extra prime amount Extra plastic pushed after a retraction Retraction extra prime amount / Extra length on restart
Minimum travel Don’t retract for travel moves shorter than this Retraction minimum travel / Minimum travel after retraction
Z hop Lifts the nozzle during travel Z hop / Lift Z
Wipe Moves the nozzle along the path while retracting Wipe while retracting / Wipe distance
Avoid crossing walls Plans travel inside the part instead of over gaps Combing (Cura) / Avoid crossing perimeters / Avoid crossing walls

In Cura these sit under Travel. In PrusaSlicer they are in the Printer Settings tab under Extruder 1, with material overrides in the Filament Settings. In OrcaSlicer and Bambu Studio they are in the printer settings, with per-filament overrides in the filament settings.

Z hop

Z hop lifts the nozzle on travel moves so it doesn’t knock over tall, thin parts or drag across the top surface. It often makes stringing slightly worse, because the nozzle lifts the thread on its way. Use a small lift (about 0.2-0.4 mm) only if the nozzle catches on the print.

Wipe and avoid crossing walls

These two often reduce stringing more than extra retraction distance does. Wiping smears the last bit of oozing plastic onto the part, and travelling inside the model means most moves never cross open air, so there is nothing to string across.

How to tune retraction with a test print

Change one setting at a time and print something small that forces lots of travel moves across open space - two or more thin towers spaced apart.

  1. Dial in temperature first. A nozzle that is too hot strings no matter what the retraction is. Print a temperature tower and pick the lowest temperature that still gives strong, glossy layers.
  2. Dry the filament if it might be wet. Moisture causes strings and fuzz that retraction cannot fix (see the stringing guide).
  3. Tune distance. Start at the low end of the range for your setup and increase it in steps: about 0.2-0.5 mm for direct drive, 0.5-1 mm for Bowden. Pick the smallest distance that removes most strings.
  4. Tune speed. Try steps of about 5-10 mm/s. Too slow lets plastic ooze during the retraction; too fast can make the extruder gears grind the filament.
  5. Check for gaps. If lines start thin or with gaps after travel moves, the retraction is too long or the prime is too short; reduce the distance slightly or add a very small extra prime amount.

OrcaSlicer has a built-in retraction test under its Calibration menu that changes the distance as the tower grows. In other slicers, a retraction tower model plus a height-based modifier does the same thing. Read the result at the height where strings disappear.

Retraction settings for PLA, PETG and TPU

Filament Starting point Notes
PLA Use your printer’s default Easiest to tune. Strings usually mean too hot or wet filament
PETG Default or slightly more distance; slower speed can help PETG strings by nature; lower the temperature and dry it before adding retraction
ABS / ASA Similar to PLA Strings less than PETG; mostly temperature-related
TPU Very little or none; slow speed Soft filament compresses and can buckle or jam when retracted far or fast

PETG retraction settings

PETG is the filament most people tune retraction for. Before increasing distance, lower the nozzle temperature in 5 °C steps and dry the spool: wet PETG strings badly and no retraction setting fixes it. Then try a slightly longer distance or a slightly slower retraction speed, plus wipe and avoid crossing walls. Expect a few fine wisps; a quick pass with a heat gun or hair dryer on its hottest setting removes them.

Signs your retraction is set wrong

Symptom Likely cause
Fine strings between parts Too little distance (or too hot / wet filament)
Blobs or zits where layers start and stop Prime too long, or retraction and de-retraction mismatched
Gaps or thin lines after travel moves Too much distance, or not enough prime
Extruder clicking, filament with chewed notches Retraction too fast or too frequent: the gears wear the filament
Clogs a while into the print, especially with PLA Retraction too long on an all-metal hotend (heat creep)

The last one is easy to misread as a bad nozzle. If clogs come back after you clear them, see how to unclog a 3D printer nozzle.

Pressure advance and firmware retraction

Pressure advance (Klipper) or linear advance (Marlin) adjusts extrusion to account for the pressure in the nozzle. Tuned properly, it reduces ooze at the end of lines, so you often need less retraction afterwards. Tune it before fine-tuning retraction.

Firmware retraction moves the retraction settings from the slicer into the printer (the slicer sends retract/unretract commands instead of extruder moves). It’s handy for changing values while a print is running, but the values work the same way.

FAQ

What is a good retraction distance and speed?

As a starting point, about 0.5-2 mm at 25-45 mm/s for direct drive and about 4-7 mm at 25-45 mm/s for Bowden setups. Your printer’s own profile is a better start than any general number; tune from there with a test print.

Does more retraction always reduce stringing?

No. Past a point it just slows the print and can cause gaps, grinding and heat creep clogs. If strings remain at a sensible distance, check the temperature and dry the filament instead.

Why do I still get stringing after tuning retraction?

The most common reasons are a nozzle temperature that is too high and wet filament, especially PETG and nylon. Travel moves over open space and a missing wipe or avoid-crossing-walls setting also leave strings. The stringing guide covers them in order.

Should I use Z hop?

Only if the nozzle catches or knocks the print during travel. Z hop tends to add a little stringing, so keep it small or off for most prints.

Want it printed without the tuning?

If you just need the part, local print shops can print your file. Check the model in the free STL viewer first.