Retraction Test: How to Tune Retraction Distance and Speed
How to run a retraction test in OrcaSlicer, Bambu Studio, PrusaSlicer, Cura and Klipper, read the result, and pick direct drive or Bowden ranges.
A retraction test is a short print that changes the retraction setting as it goes, so you can see on one object which value stops the strings. The usual version is a tower whose retraction distance rises every millimetre or every section: you look for the lowest section that’s clean and use that distance. Tune distance first (about 0.5–2 mm on a direct drive printer, 4–7 mm on a Bowden printer), then speed (about 25–45 mm/s), and always on dry filament at your chosen temperature.
This guide covers how to prepare for the test, how to run it in OrcaSlicer, Bambu Studio, PrusaSlicer, Cura and Klipper, how to read the result and turn a height into a number, and what to do when no section comes out clean. If you want the theory of what each retraction setting does first, read what is retraction.
Retraction test at a glance
| Question | Short answer |
|---|---|
| What does it find? | The shortest retraction distance (and a sensible speed) that stops strings for one filament |
| When in the calibration order? | After temperature and flow rate, before or alongside pressure advance |
| Direct drive range to test | 0–2 mm in 0.1–0.2 mm steps |
| Bowden range to test | 1–6 mm (up to about 7 mm) in 0.2–0.5 mm steps |
| Speed range to test | About 20–60 mm/s, after the distance is set |
| How long it takes | About 15–40 minutes per tower, depending on the printer |
| Where the result goes | The filament profile (as an override) or the printer profile |
| Red flag | Strings at every value up to the top of the range: look at moisture and temperature, not retraction |
A stringing test: two thin towers and a head that travels between them.
No retraction: many strings.
0.8 mm of retraction: a few strings.
Close up: strings stretched between every travel move.Photo: SuperBlobMonster ·CC BY-SA 3.0 ·Wikimedia Commons
Stringing on a two-colour Benchy, where travel moves cross open air.Photo: 3DBenchy ·CC BY 2.0 ·Wikimedia Commons
A thin strand pulled from the nozzle: where strings begin.Photo: David Elliott from UK ·CC BY 2.0 ·Wikimedia Commons
What a retraction test actually measures
Every time the nozzle stops printing and travels to another spot, the molten plastic inside it is still under a little pressure, and it keeps leaking. Retraction pulls the filament back a short way before the travel move, which drops that pressure so less plastic escapes. When the nozzle arrives, the extruder pushes the same length forward again and printing carries on.
Two numbers control it:
- Retraction distance (or length): how far the filament is pulled back, in millimetres.
- Retraction speed: how fast it’s pulled back, in mm/s.
Too little distance and the nozzle still oozes, leaving strings. Too much and you start pulling molten plastic up into the cooler part of the hotend, the heat break, where it can harden and cause a jam. Too slow a speed and plastic leaks before the retraction finishes; too fast and the extruder gears can chew a notch into the filament.
A retraction test changes one of those numbers in steps across a single print, with everything else held still. That’s the whole point: one variable, one print, a clear answer.
retract 0.8 mm · 35 mm/s · 205 °C · strings: few
- drag ↔ retraction distance
- ← → retraction ±0.1 mm (Shift ±0.5)
- ↑ ↓ nozzle temperature ±5 °C
- − + retraction speed ±5 mm/s
- Space travel now
- Home reset
Before you start
A retraction test is only as good as what you feed it. These four things matter more than anything you type into the test dialog:
- Dry filament. Wet filament boils inside the nozzle, and the steam pushes plastic out during every travel move, whatever the retraction. If your spool has been out of a sealed bag for a while, dry it first. See how to dry filament and how to store filament.
- The right temperature. Hotter plastic is runnier and oozes more, so the distance you find only holds at the temperature you tested at. Run a temperature tower first and use the result.
- The right flow rate. Over-extrusion leaves extra pressure in the nozzle, which shows up as strings and blobs. Set flow rate before retraction.
- A healthy hotend and extruder. A partial clog, a worn nozzle or an extruder that slips will confuse the result. If the extruder clicks, fix that first: extruder clicking. On older printers it’s also worth checking the extruder pushes the length it’s told to, because a wrong extruder calibration makes every retraction a different length from what the slicer says.
200 °C, 0.8 mm retraction: few strings.
215 °C, 0.8 mm retraction: some strings.
230 °C, 0.8 mm retraction: many strings.
Know which extruder you have
The range you test depends almost entirely on where the extruder sits.
| Direct drive | Bowden | |
|---|---|---|
| Where the extruder is | On the print head, just above the hotend | On the frame, pushing through a long PTFE tube |
| Typical distance | 0.5–2 mm | 4–7 mm |
| Typical speed | 25–45 mm/s | 30–60 mm/s |
| Test range | 0–2 mm | 1–6 mm, up to 7 mm if needed |
| Step size | 0.1–0.2 mm | 0.2–0.5 mm |
Bowden printers need several times more distance because the filament can compress and slide around inside the tube. The first part of every pull only takes up that slack before the plastic in the nozzle starts to move.11That slack is also why Bowden printers need a higher pressure advance value. The tube behaves a little like a spring between the extruder and the nozzle. If you’re not sure which you have, follow the filament from the spool: if it goes into a motor on the frame and then through a long white tube to the print head, it’s Bowden. See Bowden vs direct drive for the full comparison.
A modern toolhead: extruder, hotend and fans in one housing.Photo: disinterpreter ·CC BY-SA 2.0 ·Wikimedia Commons
A geared extruder on a Prusa i3.Photo: John Abella from Outside Philadelphia, USA ·CC BY 2.0 ·Wikimedia Commons
An early Ultimaker extruder: a big gear pushing filament.Photo: jabella ·CC BY 2.0 ·Wikimedia Commons
The Bowden tube enters through a push-fit collet.
Two kinds of retraction test
There are two common test shapes, and they answer the same question in different ways.
- A retraction tower. One tall object, usually two thin columns or a block with notches, where the retraction distance steps up with height. You print it once and read the whole range from one object. This is what OrcaSlicer and Bambu Studio build for you, and what the Cura plugins and Klipper’s tuning tower do.
- A two-tower stringing test, printed several times. Two thin towers a few centimetres apart, printed once per setting. It takes more prints, but it works in any slicer with no scripts, and each print is quick (often 5–10 minutes). This is the simplest method in PrusaSlicer.
Both work. The tower is faster when your slicer supports it; the repeated two-tower test is easier to trust because nothing changes partway through a print.
A stringing test: two thin towers and a head that travels between them.
The dial reads retraction in 0.25 mm steps.
Heavy stringing across a detailed print.Photo: SuperBlobMonster ·CC BY-SA 3.0 ·Wikimedia Commons
How to run a retraction test in OrcaSlicer
OrcaSlicer has a retraction tower built in.
- Select your printer, filament and process profile as you would for a normal print. The test uses them.
- Open the Calibration menu in the top bar and choose Retraction test.
- Set the start retraction length, end retraction length and step. OrcaSlicer’s defaults are 0 mm to 2 mm in 0.1 mm steps, which suits most direct drive printers. Its documentation suggests 1 mm to 6 mm in 0.2 mm steps for Bowden printers.
- OrcaSlicer opens a new project with the tower loaded and the settings applied. Slice and print it.
How OrcaSlicer’s tower maps height to distance
In OrcaSlicer’s code, the retraction length for each layer is:
length = start + (whole millimetres of height above the first 0.4 mm) × step
So the value goes up by one step for every millimetre of tower height. With the default 0 mm start and 0.1 mm step:
| Height on the tower | Retraction length |
|---|---|
| 0.4–1.4 mm | 0.0 mm |
| 5.4–6.4 mm | 0.5 mm |
| 8.4–9.4 mm | 0.8 mm |
| 12.4–13.4 mm | 1.2 mm |
| 20.4 mm and up | 2.0 mm |
Worked example. Your strings stop at a height of 8.9 mm, measured with calipers from the bed side of the tower. Take off the 0.4 mm base: 8.5 mm. Round down to whole millimetres: 8. Multiply by the step: 8 × 0.1 = 0.8 mm. Add the start (0): 0.8 mm.
For a Bowden test starting at 1 mm with 0.2 mm steps, a clean section at 15.7 mm gives 1 + 15 × 0.2 = 4.0 mm.
You don’t have to trust the maths alone. OrcaSlicer writes a comment into the G-code at each change, in the form ; Calib_Retraction_tower: Z_HEIGHT: … length: …. In the preview, open the G-code viewer at the height you measured, or search the exported G-code for that comment, and read the length directly.22OrcaSlicer’s documentation warns against reading the value from the ; retract lines instead, because they can leave out part of the move, such as the length retracted before a wipe.
Saving the result in OrcaSlicer
Retraction lives in the printer profile (Printer settings → Extruder → Retraction), but the filament profile can override it: Filament settings → Setting overrides → Retraction length. Put the value in the filament override, because a different material may need a different distance. Then save the filament profile, and start a new project to leave calibration mode.
Retraction 0.0 mm at 205 °C: many strings.
Retraction 0.4 mm at 205 °C: some strings.
Retraction 0.8 mm at 205 °C: few strings.
Retraction 1.2 mm at 205 °C: few strings.
Retraction 1.6 mm at 205 °C: no strings.
Retraction 2.0 mm at 205 °C: no strings.
Retraction 2.4 mm at 205 °C: no strings, but melt is pulled into the heat break.
Retraction 2.8 mm at 205 °C: no strings, but melt is pulled into the heat break.
How to run a retraction test in Bambu Studio
Bambu Studio has the same style of retraction tower in its Calibration menu, as part of the set of calibration prints it offers when a third-party printer profile is selected. You enter a start length, end length and step, and it builds the tower in a new project.
For Bambu Lab’s own printers, the Calibration tab focuses on flow dynamics (Bambu’s name for pressure advance) and flow rate. If you don’t see a retraction test with your Bambu printer selected, you have two easy options:
- Run the tower in OrcaSlicer, which supports Bambu Lab printers and includes the test.
- Print a two-tower stringing test several times with different values, as described in the PrusaSlicer section below.
Bambu’s profiles for its own filaments are already tuned, so this is mainly worth doing for third-party filament that strings.33Menu layouts in Bambu Studio change between releases. If the option has moved, look in the Calibration menu and tab first, then the slicer’s help.
How to run a retraction test in PrusaSlicer
Stock PrusaSlicer doesn’t generate a retraction tower, and retraction can’t be changed partway up a print with a height range modifier the way layer height or infill can. The reliable way is the repeated two-tower test.
- Download a small stringing test from Printables: two or more thin towers 3–5 cm apart. Pick one that prints in a few minutes.
- Set the first value. In Printer Settings → Extruder 1 → Retraction, set Length and Speed. You can also set them per filament under Filament Settings → Filament Overrides, which is the better home for the final result.
- Print the test. Label the print with the value, with a marker or a strip of tape.
- Change only the length by one step (0.2 mm on direct drive, 0.5 mm on Bowden) and print again.
- Line the prints up and stop when you reach the first clean one.
It takes four to six short prints instead of one tall one, but each comparison is clean, and you can keep the little towers as a reference.
How to run a retraction test in Cura
Cura doesn’t have a built-in retraction tower, but two free plugins from the Marketplace add one.
Calibration Shapes plugin
- Open the Marketplace, search for Calibration Shapes, install it and restart Cura.
- Add the tower with Extensions → Part for calibration → Retract Tower.
- Open Extensions → Post Processing → Modify G-Code, click Add a script and choose the RetractTower script that comes with the plugin.
- Choose whether the script steps distance or speed, then set the starting value and the change per section. The plugin’s documentation suggests, for distance, starting at 1 mm and adding 1 mm per section on Bowden, or starting at 0.25 mm and adding 0.25 mm on direct drive.
- Slice, check the preview, and print.
- Remove the script afterwards. Post-processing scripts stay switched on and will change your next print if you forget.
Two caveats from the plugin’s own notes: the tower is designed for a 0.4 mm nozzle and 0.2 mm layers, and the script can’t change retraction on printers that use firmware retraction (where the G-code says G10/G11 instead of moving the extruder), so turn that off in Cura’s machine settings for the test.
AutoTowersGenerator plugin
AutoTowersGenerator builds the retraction tower and adds the post-processing step for you in one go. It’s a good choice if you calibrate often. Again, check the preview before you print.
Where retraction lives in Cura
The final values go in Travel → Retraction Distance and Travel → Retraction Speed. If you can’t see them, type “retraction” into the settings search box.
The extruder knob turns back by the retraction distance.
The dial reads retraction in 0.25 mm steps.
An extruder motor with its tension knob.Photo: syvwlch ·CC BY 2.0 ·Wikimedia Commons
An assembled extruder before it goes on the printer.Photo: John Abella ·CC BY 2.0 ·Wikimedia Commons
How to run a retraction test with Klipper
Klipper can step retraction up a tower itself, but only through firmware retraction, where the printer, not the slicer, decides the retraction length.
- Enable firmware retraction by adding a
[firmware_retraction]section toprinter.cfg. Its defaults are a retract length of 0 mm and a retract speed of 20 mm/s, so set your starting values there or with a command. - Tell the slicer to use it. In OrcaSlicer, tick Printer settings → Basic information → Advanced → Use firmware retraction. In PrusaSlicer it’s Printer Settings → General → Advanced → Use firmware retraction. The G-code then contains
G10(retract) andG11(unretract) instead of extruder moves. - Slice any stringing tower and start the print.
- Run the tuning tower from the console at the start of the print. For example, for a direct drive printer, starting at 0 mm and adding 0.1 mm every 1 mm of height:
TUNING_TOWER COMMAND=SET_RETRACTION PARAMETER=RETRACT_LENGTH START=0 STEP_DELTA=0.1 STEP_HEIGHT=1
For a Bowden printer you might use START=1 STEP_DELTA=0.5 STEP_HEIGHT=5, which adds 0.5 mm every 5 mm.
- Read the tower. With
STEP_DELTAandSTEP_HEIGHT, Klipper’s value isstart + step_delta × floor(height ÷ step_height). A clean section at 9.3 mm in the direct drive example gives 0 + 0.1 × 9 = 0.9 mm. - Save it. Put the value in
retract_lengthin[firmware_retraction]and restart, or set it per filament withSET_RETRACTION RETRACT_LENGTH=0.9in the slicer’s filament start G-code.GET_RETRACTIONshows the values in use.
SET_RETRACTION also takes RETRACT_SPEED, UNRETRACT_EXTRA_LENGTH and UNRETRACT_SPEED, so you can tower the speed the same way once the length is set.
Marlin printers with the FWRETRACT option enabled have a similar firmware retraction feature (M207 sets the length and speed), but most stock firmware builds leave it off, so slicer retraction and the two-tower method are the usual route there.
How to read a retraction test
Let the print cool completely before you judge it. Strings are easier to see once the plastic has set, and warm strings can sag into each other.
- Look in good light against a dark background. Fine strings disappear against a white wall. Hold the tower in front of something dark, with the light coming from the side.
- Start at the bottom and work up. Low retraction sections should be stringy; the strings should thin out and then stop.
- Find the lowest clean section. That’s your candidate distance. “Clean” means no strings between the columns, or only a few hair-thin wisps you can blow away.
- Check the sections above it. They should stay clean too. If strings come back higher up, something else changed, often the nozzle temperature drifting or the tower heating up as the columns get thinner.
- Look at the column surfaces. Too much retraction can leave small gaps or thin spots on the walls where printing restarts after a travel, because the nozzle hasn’t refilled. If the sections above your candidate look rougher, that’s a sign the higher values are already too much.
- Add a small margin if you like. Some people add one step (0.1–0.2 mm on direct drive) to the lowest clean value, to cover variation between prints. Don’t add more than that.
| What you see | What it means | What to do |
|---|---|---|
| Strings at the bottom, clean from a clear point upward | The test worked | Use that value, plus one small step at most |
| Clean from the very first section | Your filament hardly oozes, or the range started too high | Use a low value, 0.2–0.4 mm on direct drive; OrcaSlicer’s guide suggests the same |
| Strings all the way up | Retraction isn’t the main cause | Dry the filament, check temperature and the nozzle; see below |
| Clean in the middle, strings return at the top | Heat build-up in thin columns, or temperature drift | Use the middle value; add a cooling pause or a second tower to spread the heat |
| Gaps or rough walls on the upper sections | Too much retraction: the nozzle isn’t full when printing resumes | Stay below that range |
| Blobs where each layer starts | A seam or pressure issue, not stringing | See blobs and zits |
210 °C · 0.0 mm: many strings.
210 °C · 0.8 mm: few strings.
210 °C · 1.6 mm: few strings.
Tune retraction speed second
Once the distance is set, speed makes a smaller difference. Most printer profiles already use something sensible, so only test it if a few strings remain after the distance test.
- Direct drive: try 25–45 mm/s.
- Bowden: try 30–60 mm/s.
- Step size: 5–10 mm/s.
Signs you’ve gone too fast: the extruder clicks during retraction, or you find a ground-down notch or flattened section on the filament when you unload it. That’s the gears losing grip on the filament. Signs you’ve gone too slow: strings with a small blob at the start, because plastic leaks out while the retraction is still happening.
Two limits to know about:
- The firmware has a maximum extruder speed. If you ask for a faster retraction than the firmware allows, the printer quietly caps it. On some Marlin printers that cap is low; the Cura Calibration Shapes documentation gives an Ender-3 example where the stock limit was 25 mm/s. Check your firmware’s maximum E feedrate before testing higher speeds.
- Bowden tubes absorb some of the speed. A fast retraction stretches and compresses the filament in the tube, so the gain above about 50–60 mm/s is usually small.
Retraction speed 15 mm/s: few strings.
Retraction speed 35 mm/s: few strings.
Retraction speed 55 mm/s: few strings.
Typical results by material
These are the values most people end up near. Use them to set the test range, not instead of the test.
| Material | Direct drive distance | Bowden distance | Notes |
|---|---|---|---|
| PLA | 0.4–1.2 mm | 4–6 mm | Usually the easiest; many PLAs barely string when dry |
| PETG | 0.6–1.6 mm | 5–7 mm | Strings more than PLA; temperature and travel speed matter as much as distance. See PLA vs PETG |
| ABS / ASA | 0.4–1.2 mm | 4–6 mm | Similar to PLA; usually printed in an enclosure. See PETG vs ABS |
| TPU (flexible) | 0–1 mm, slowly (about 20–30 mm/s) | Often very little or none | Soft filament stretches and squashes, so long or fast retractions can jam it |
| Nylon | 0.6–1.5 mm | 5–7 mm | Must be bone dry, or nothing else matters |
For TPU in particular, many people turn retraction down or off and rely on lower temperature, slower travel and dry filament instead, because a soft filament can buckle in the extruder when it’s pulled back and pushed forward quickly.
PLA: the beginner's filament.Photo: Richardspa ·CC0 ·Wikimedia Commons
A 1 kg spool of PETG, sealed with desiccant.Photo: Suit ·CC BY-SA 4.0 ·Wikimedia Commons
A spool of ABS.Photo: Tatár Lehel ·CC BY-SA 3.0 ·Wikimedia Commons
Flexible filament: label shows its print temperature.Photo: Sweetclara ·CC BY-SA 4.0 ·Wikimedia Commons
Other settings that affect the test
Several settings sit next to retraction in the slicer and change how strings form. Leave them at your normal values during the test, so the result matches your real prints, but know what they do:
| Setting | What it does | Effect on stringing |
|---|---|---|
| Travel speed | How fast the nozzle moves between parts | Faster travel gives ooze less time; 150 mm/s and up is common on modern printers |
| Avoid crossing walls / combing | Keeps travel moves inside the part where possible | Fewer travels across open air, so fewer visible strings |
| Wipe while retracting | Moves the nozzle along the wall as it retracts | Leaves the last drop on the part instead of in the gap |
| Z-hop | Lifts the nozzle during travel | Stops the nozzle hitting the part, but can make strings slightly worse |
| Extra length on restart (prime) | Pushes a little extra after travel | Fixes gaps after travel; too much causes blobs |
| Minimum travel after retraction | Skips retraction for short moves | Too high and short hops string |
Every one of these is explained in what is retraction, and how to fix stringing covers the order to try them in.
| Setting | OrcaSlicer / Bambu Studio | PrusaSlicer | Cura |
|---|---|---|---|
| Retraction length | Printer settings → Extruder → Retraction (filament profiles can override it) | Printer Settings → Extruder 1 → Retraction → Length | Travel → Retraction Distance |
| Retraction speed | Printer settings → Extruder → Retraction | Printer Settings → Extruder 1 → Retraction → Speed | Travel → Retraction Speed |
| Per-filament override | Filament settings → Setting overrides | Filament Settings → Filament Overrides | No per-filament override; save a custom profile |
| Travel speed | Process → Speed → Travel | Print Settings → Speed → Travel | Speed → Travel Speed |
| Avoid crossing walls | Process → Quality → Avoid crossing walls | Print Settings → Layers and perimeters → Avoid crossing perimeters | Travel → Combing Mode |
| Wipe | Printer settings → Extruder → Wipe while retracting | Printer Settings → Extruder 1 → Wipe while retracting | Experimental → Wipe Nozzle Between Layers |
| Firmware retraction | Printer settings → Basic information → Advanced → Use firmware retraction | Printer Settings → General → Advanced → Use firmware retraction | Set by the printer’s G-code flavor in Machine Settings |
Menu names move between slicer versions. If you can’t find a setting, type its name into the slicer’s settings search box.
Inside the hotend: solid filament above, melt below.
Hotter plastic is runnier: thinner, saggier strings.
Solid filament above the heat break, molten filament in the heater block.
Ooze: a drop of molten plastic forming at the nozzle.Photo: David Elliott from UK ·CC BY 2.0 ·Wikimedia Commons
Common retraction test mistakes
| Mistake | What goes wrong | Do this instead |
|---|---|---|
| Testing wet filament | Strings at every value; you push retraction too far chasing them | Dry the spool first |
| Testing before the temperature tower | The result shifts as soon as you change temperature | Temperature first, then retraction |
| Changing speed and distance in the same test | You can’t tell which one helped | Distance first, then speed |
| Using Bowden ranges on a direct drive printer | Melt pulled into the heat break, jams | Stay at 2 mm or below on direct drive unless the maker says otherwise |
| Judging the tower while it’s warm | Soft strings sag and merge | Let it cool fully |
| Reading the wrong height | An off-by-one-step answer | Measure from the bed side; on OrcaSlicer, confirm with the G-code comment |
| Leaving a Cura post-processing script switched on | Your next real print changes retraction partway up | Remove the script after the test |
| Saving the value only in the project | It’s gone next time you open a new file | Save it in the filament profile |
Too much retraction pulls melt up into the heat break.
Fan off: heat creeps up the heatsink and the filament softens too high.
The "blob of death": plastic that leaked and wrapped the hotend.Photo: LunaEatsTuna ·CC BY-SA 4.0 ·Wikimedia Commons
Strings and blobs across a full plate of parts.Photo: Quinn Daedal ·CC BY-SA 4.0 ·Wikimedia Commons
When the strings won’t go away
If every section of the tower strings, or the best section is still poor, retraction isn’t the problem. Work through these in order:
- Dry the filament properly, even if it’s new. Some spools arrive damp. PETG and nylon are the usual offenders. Then run the test again.
- Lower the temperature 5 °C at a time, as long as layers still bond. See temperature tower.
- Check the nozzle. A worn or damaged nozzle tip, or plastic leaking around the threads, leaves a dribble that no retraction can stop. Look for plastic on the outside of the heater block. See how to unclog a 3D printer nozzle.
- Check the Bowden tube and couplers on a Bowden printer. A tube that moves in its coupler each time the extruder retracts loses part of every pull. A worn coupler or a tube with a gap above the nozzle is a common cause.
- Speed up travel and turn on avoid crossing walls (combing in Cura), so the nozzle spends less time over open air.
- Check the extruder grip. If the gears slip on a fast retraction, the filament doesn’t actually move as far as the slicer thinks.
- Then look at pressure advance. It reduces the pressure in the nozzle before the end of each line, so there’s less left to ooze when the travel starts. After setting it, many people find they can use a little less retraction.
If you’re still stuck, our how to fix stringing guide goes through every cause and fix in order.
A 1 kg spool of PETG, sealed with desiccant.Photo: Suit ·CC BY-SA 4.0 ·Wikimedia Commons
An open spool of PLA left out in the air.Photo: SuperBlobMonster ·CC BY-SA 3.0 ·Wikimedia Commons
A heater block in a silicone sock, with the nozzle below and heat break above.Photo: A7N8X ·CC0 ·Wikimedia Commons
Heavy stringing across a detailed print.Photo: SuperBlobMonster ·CC BY-SA 3.0 ·Wikimedia Commons
The "blob of death": plastic that leaked and wrapped the hotend.Photo: LunaEatsTuna ·CC BY-SA 4.0 ·Wikimedia Commons
A small fan cooling the extruder assembly.Photo: syvwlch ·CC BY 2.0 ·Wikimedia Commons
Your action plan
- Dry the spool and load it.
- Print a temperature tower if you haven’t for this filament, and set the temperature.
- Check flow rate.
- Run a retraction distance test across 0–2 mm (direct drive) or 1–6 mm (Bowden).
- Pick the lowest clean section, plus one small step at most.
- Run a speed test only if a few strings remain.
- Save both values in the filament profile, named after the brand and colour.
- Recheck after pressure advance or a nozzle change: a quick two-tower print is enough.
This is step 5 of our how to calibrate a 3D printer guide. Once retraction is set, pressure advance is the usual next step.

FAQ
What is a good retraction distance?
On a direct drive printer, usually 0.5–2 mm; on a Bowden printer, usually 4–7 mm. The right value for your filament is the shortest one that prints clean on a retraction test.
What is a good retraction speed?
Around 25–45 mm/s on direct drive and 30–60 mm/s on Bowden. Tune it only after the distance, and lower it if the extruder clicks or grinds the filament.
How do I read OrcaSlicer’s retraction tower?
The length rises by one step for every millimetre of height above the first 0.4 mm. Measure the height of the lowest clean section, take off 0.4 mm, round down to whole millimetres, multiply by the step and add the start value. The G-code preview shows the same number in a Calib_Retraction_tower comment.
Does PrusaSlicer have a retraction test?
Not in the standard release. Print a small two-tower stringing test once for each value and compare them, changing only the retraction length between prints.
Why is my tower clean at every setting?
Your filament may barely ooze, which is common with dry PLA. Use a low value, around 0.2–0.4 mm on direct drive, and keep it there.
Why does my tower string at every setting?
Retraction isn’t the main cause. Dry the filament, lower the temperature a little, and check the nozzle and Bowden tube for leaks or movement.
Do I need a new retraction test for every filament?
For every new brand or material, yes, and for unusual blends like silk or very soft PLA. For another spool of the same filament, the old value usually holds.
Should I tune retraction or pressure advance first?
Either order works as long as you recheck the first one after setting the second. Pressure advance often lets you use slightly less retraction.
Related guides
- What is retraction: every retraction setting explained.
- How to fix stringing: when strings come from more than retraction.
- Temperature tower and flow rate calibration: the two tests to run first.
- Bowden vs direct drive: why the two need such different values.
- How to calibrate a 3D printer: the full calibration order.
