3D Printer Retraction Settings: Length, Speed & Starting Ranges

by Mike Brooks | Last Updated: December 2, 2026

Thin plastic hairs between your parts are the classic sign of weak retraction. But too much retraction is just as annoying: gaps, blobs and a nozzle that clogs when you least expect it. The good news? Two numbers, retraction length and retraction speed, do most of the work.

The short answer: start with a short retraction on a direct drive extruder (roughly 0.4 to 2 mm) and a longer one on a Bowden setup (roughly 2 to 6 mm), at a moderate speed, then change one value at a time until the strings disappear.

Let’s look at what each setting does, where to start and how to dial it in without guessing.

Two small gray printed towers with thin plastic strings stretched between them, a typical sign of weak retraction

What Does Retraction Do?

When the nozzle has to travel across an empty gap, melted plastic can keep leaking out. Retraction stops that. The extruder pulls the filament back a little to relieve the pressure in the nozzle, the head moves, and then the filament is pushed forward again before printing resumes.

If the retraction is too weak, plastic oozes during the move and leaves strings, which is the problem we cover in our 3D print stringing guide. If it’s too strong, you pull air or soft plastic into the wrong places and get new problems. That’s why the right values are a balance, not a maximum.

The Retraction Settings That Matter

Extruder drive gear gripping white filament that feeds into a PTFE tube

Retraction Length (Distance)

This is how much filament the extruder pulls back. It depends mostly on your extruder type. Direct drive setups need very little because the gear sits right above the nozzle. Bowden setups need more, because the filament has to travel through a tube before the pull reaches the nozzle.

For reference, Prusa’s guide says the retraction length should be a maximum of 2 mm on the MK2.5/S and MK3/S/+ (direct drive), while the Bowden-based MINI presets use a longer default of 3.2 mm. You can read it in the Prusa Knowledge Base article on stringing and oozing.

Too short and you get strings. Too long and you risk gaps, blobs and filament grinding. A very long retraction can also pull molten plastic up into the cold zone, which feeds heat creep clogs.

Retraction Speed

This is how fast the filament is pulled back. Too slow and plastic keeps oozing while the filament moves. Too fast and the extruder gear can chew the filament or the motor can skip steps. Prusa’s article makes the same point: a higher value helps stringing, but if it’s too high the motor may skip steps.

If you hear clicking at every retraction, speed is one suspect. Our extruder clicking guide shows the other causes.

Minimum Travel and Retraction Count

Retracting on every tiny move isn’t necessary. Most slicers let you skip retraction on short moves (called Retraction Minimum Travel in Cura and Minimum travel after retraction in PrusaSlicer). That reduces wear on the filament and avoids blobs on small details.

Z Hop and Retract on Layer Change

Z hop lifts the nozzle slightly during travel so it doesn’t drag across the print. Prusa notes that a lower lift value improves stringing, and that switching it off can make the nozzle hit the print. So treat it as a trade-off and keep it small.

Retract on layer change adds a retraction between layers. Turn it on if you see an ooze mark at the layer change, and leave it off if you don’t.

Recommended Starting Ranges

These are starting points, not rules. Your filament, nozzle temperature, extruder and tube length all move the best value.

SetupLength (starting range)Speed (starting range)What moves the number
Direct drive, rigid filament such as PLA or PETGAbout 0.4 to 2 mmAbout 25 to 45 mm/sExtruder gearing, filament brand, how wet the spool is
Bowden, rigid filamentAbout 2 to 6 mmAbout 25 to 45 mm/sTube length, how tight the fittings are, filament brand
Flexible filament such as TPUStart at the low end of your rangeSlower than for rigid filamentFilament softness, extruder type, whether the gear grinds the filament
Klipper firmware retractionSet retract_length yourself (default is 0 mm)Set retract_speed yourself (default is 20 mm/s)Your extruder and filament

For comparison, OrcaSlicer’s retraction test tower runs from 0 to 2 mm for most direct drive extruders and 1 to 6 mm for Bowden. Their own note says PLA or ABS with minimal oozing may only need about 0.2 to 0.4 mm. The Klipper defaults come from the Klipper config reference.

Please note: the best value is the shortest one that gives a clean print. The OrcaSlicer wiki says the same about its test tower.

How to Tune Retraction Step by Step

Don’t change five settings at once. Here’s a simple routine:

  1. Dry the filament first. Wet filament strings no matter what retraction you set. Our guide to drying filament shows how.
  2. Print at a temperature inside the range printed on the spool. Hotter plastic is runnier, so check the filament maker’s range before you add more retraction.
  3. Run a retraction test. The OrcaSlicer retraction test generates a tower, and each section is printed with a different retraction length. Pick the section that looks cleanest.
  4. Change length in small steps. OrcaSlicer’s tower uses steps of 0.1 mm for direct drive and 0.2 mm for Bowden, which is a good guide.
  5. Then tune speed. Change it in steps of about 5 mm/s and watch for grinding or gaps.
  6. Save the result per filament. Different brands and materials often want different values.
Two printed test towers side by side, one clean and one covered in fine stringing

Extra tip: if you run Klipper, tune pressure advance first. OrcaSlicer’s calibration guide runs retraction after pressure advance and flow ratio, because both change the pressure in the nozzle. For general print calibration, see our 3D printer calibration guide.

Where to Find the Settings in Your Slicer

Names change a little from slicer to slicer, so here’s a quick map.

SlicerWhere it livesMain settings
CuraTravel categoryEnable Retraction, Retraction Distance, Retraction Speed, Retraction Minimum Travel, Z Hop When Retracted
PrusaSlicerPrinter Settings, Extruder 1Length, Lift Z, Retraction speed, Minimum travel after retraction
OrcaSlicerPrinter settings, ExtruderLength, Z hop, speeds, plus a built-in retraction test under Calibration

Retraction also interacts with print speed. Faster travel moves give the nozzle less time to ooze, so a quick travel speed can help. Just don’t push the speeds past what your machine handles well. Our guide to 3D printer speed explains how fast is too fast.

Common Retraction Mistakes

None of these is a disaster. They just waste filament and time, and every one is easy to avoid.

What Wrong Retraction Looks Like

SymptomLikely causeWhat to try
Strings or hairs between partsRetraction too short or too slow, wet filament or a hot nozzleRaise length in small steps, dry the filament, stay within the filament’s temperature range
Gaps right after a travel moveRetraction too long or too fastLower length and speed; see our guide to gaps in 3D prints
Blobs or zitsToo much retraction, or pressure building up in the nozzleReduce retraction; read about blobs and zits and PETG blobbing
Clicking or grinding at retractionsSpeed too high, or a partial clogLower speed and check the hotend
Repeated clogsLong retractions pulling soft plastic into the cold zoneShorten retraction and check cooling

Retraction Settings: FAQs

Should I turn retraction off?

Usually not. If a part prints in one continuous path, like a vase, retraction rarely triggers anyway. With very flexible filament, a lower setting or switching it off can help if the extruder grinds the filament.

What’s the difference between slicer and firmware retraction?

With slicer retraction, the slicer writes the retraction moves into the G-code. With firmware retraction, the slicer sends G10 and G11 commands and the printer firmware decides the length and speed. Klipper’s [firmware_retraction] section is the place to set it.

Why do I still get stringing after tuning?

The usual suspects are wet filament, a nozzle that’s too hot, a loose nozzle or fitting, or travel moves that are too slow. Fix those before you add more retraction.

Does PETG need different retraction than PLA?

Often, yes. Many owners find PETG stringier, so it can need a bit more care with temperature and drying. Test each filament with its own tower rather than copying a PLA profile.

In a nutshell, pick a sensible length for your extruder type, change one value at a time and let a retraction test tell you when to stop!

Pinterest pin: 3D printer retraction settings guide
Michael Brooks is the founder of M3DZone.com. He sees a very bright future for 3D printing that's why his mission is to try and make this easy for everyone. Discover your hidden talent and creativity. You can follow here: Facebook, Twitter & Pinterest.