Nozzle Notes
Slicers & software

PrusaSlicer Retraction: Settings, Defaults and Fixes

Where PrusaSlicer keeps its retraction settings, what each one does, the defaults from the source code and Prusa values, and how to reduce stringing.

By Sepehr Sabbagh-pour · Published · 6 min read

A printer nozzle with a thin orange filament strand stretched between two gray blocks above a small cream-colored sphere
AI-generated illustration

PrusaSlicer retraction is controlled by a few settings in the printer profile under Printer Settings, Extruder 1: retraction length, speed, lift height and wipe. The slicer's built-in defaults are a 2 mm retraction at 40 mm/s, and Prusa's own printer presets override them. Change one value at a time and keep the shortest length that stops stringing.

This page covers what each PrusaSlicer retraction option does, the defaults in the slicer's source code, the values Prusa publishes for its printers, and how filament overrides and firmware retraction fit in. For the general idea behind retraction, see retraction settings explained.

Where are the retraction settings in PrusaSlicer?

The retraction settings are in Printer Settings, on the Extruder 1 page. Prusa's knowledge base article on stringing and oozing says exactly that: retraction settings can be found in PrusaSlicer in Printer Settings, Extruder 1. A second set of the same options lives on the Filament Settings, Advanced page (see the overrides section below), and a few related options sit in Print Settings.

Some options only appear in the Advanced or Expert interface mode. The slicer's source marks retraction length and lift height as simple-mode options, retraction speed, deretraction speed, minimum travel and wipe as advanced, and firmware retraction as expert. If a field from this page is missing, switch the mode in the top right of the window.

What do the PrusaSlicer retraction settings mean?

Each option has a short tooltip in the slicer. The table below pairs those tooltips with the defaults in the PrusaSlicer 2.9.0 source code. These are the generic defaults; the printer presets that ship with the slicer set their own numbers.

SettingWhat it doesGeneric default
Retraction lengthFilament is pulled back by this amount, measured on the raw filament before it enters the extruder. Zero disables retraction.2 mm
Retraction speedSpeed of the retraction, applied to the extruder motor only.40 mm/s
Deretraction speedSpeed of loading filament back after the travel move. Zero means the retraction speed is used.0 (same as retraction)
Deretraction extra lengthExtra filament pushed after the travel move. The tooltip says this is rarely needed.0 mm
Minimum travel after retractionNo retraction is triggered for travel moves shorter than this.2 mm
Retract on layer changeForces a retraction whenever a Z move happens.Off
Wipe while retractingMoves the nozzle while retracting to reduce a blob on leaky extruders.Off
Retract amount before wipeA quick retraction before the wipe move, suggested for Bowden extruders.0%
Lift height (Lift Z)Raises the nozzle by this amount before a travel move.0 mm

The slicer calls the lift option "Lift height" in version 2.9, while Prusa's knowledge base article calls it "Lift Z". It is the same setting, and the idea is covered in Z hop explained.

What retraction length should you use in PrusaSlicer?

Use the value in the profile for your printer first, and only change it if stringing shows up. Prusa's knowledge base says that on the MK2.5/S and MK3/S/+ the retraction length should be a maximum of 2 mm, and that the MINI and MINI+ presets use a longer default of 3.2 mm because of their Bowden extruder.

The difference comes from the filament path. A Bowden setup puts the extruder away from the hotend, so more filament has to move before the nozzle feels the change. Our comparison of direct drive vs Bowden explains the trade-offs.

Prusa also notes that flexible filaments usually need longer retractions because the material stretches while it is pulled back. For that reason, treat any single number as a starting point and see what TPU is before tuning a flexible spool.

How do you reduce stringing with PrusaSlicer retraction?

Change one option at a time, in the order Prusa's documentation suggests. Each step trades something, so stop as soon as the strings are gone.

  1. Check the temperature. Prusa says lowering the nozzle temperature by 5 to 10 degrees C reduces stringing.
  2. Raise retraction speed gradually. Prusa says a higher value improves stringing, but if it is too high it may skip steps in the motor.
  3. Adjust retraction length. Stay inside the range for your extruder type, as above.
  4. Lower the lift height. Prusa says a lower value improves stringing, but disabling the lift entirely may make the nozzle hit the printed part.
  5. Leave retract on layer change and wipe on. Prusa recommends leaving both options on.

Prusa also lists three related options: Only retract when crossing perimeters (Print Settings, Infill, Advanced), Avoid crossing perimeters (Print Settings, Layers and perimeters, Quality) and Sequential printing. The first skips retraction when the travel stays inside the layer above's perimeters, where the ooze is probably invisible. For the full symptom guide, read how to fix stringing.

PrusaSlicer 2.9 also has a ramping lift option, which the tooltip says generates a ramp instead of lifting straight up and helps reduce stringing. It is off by default.

Why does stringing persist after you tune retraction?

Because retraction is only one of several causes. Prusa's stringing and oozing article lists the others, and checking them first can save a lot of test prints.

  • Moisture. Prusa says moisture in the filament causes a lot of stringing, and that trying a different spool helps tell whether that is the cause. Dry the spool before touching retraction; see how to dry filament.
  • Residue from a long run of one material. Prusa names PETG specifically: leftover plastic on the nozzle after long runs can string, so clean the nozzle before the next job. Fixing PETG stringing goes further.
  • Poor heat dissipation. If the heatsink does not shed heat well, the filament softens too high up the hotend. Prusa suggests reapplying thermal paste on the heatbreak and heatsink threads, and checking that hotend parts are assembled as the instructions show after any repair. See heat creep clogs.
  • Minimum travel. Prusa says its preset is 1 mm, and raising it saves print time but increases oozing and stringing. That is lower than the 2 mm generic default in the table above, which is a reminder to read the value in your own profile.
  • Several objects. Sequential printing, under Print Settings, Output options, prints objects one at a time, which removes the long travels between parts where strings form. Watch for collisions with finished parts.

As a last resort for finished prints, Prusa suggests melting strings with a heat gun set to about 200 C for one or two seconds; holding it longer can deform the part.

How do filament overrides change retraction?

Filament overrides replace the printer's retraction values for one filament profile. The slicer's source declares a filament version of each retraction option (length, speed, lift, minimum travel, wipe and others) that can be left empty, meaning the printer value is used. When you tick and fill an override, that filament profile wins.

This is the clean way to keep one value for PLA and another for a flexible spool without editing the printer profile. Check the Filament Settings, Advanced page when a number in the preview does not match what you set on the Extruder page. Our guide to PrusaSlicer filament and printer profiles explains how the two profile types relate.

Should you use firmware retraction in PrusaSlicer?

Only if your firmware supports it and you want the printer, not the slicer, to hold the retraction values. PrusaSlicer's tooltip for Use firmware retraction says the option uses G10 and G11 commands to have the firmware handle the retraction, and that this has to be supported by the firmware. It is an Expert mode option and is off by default.

An older Prusa blog post on Slic3r and Marlin describes the setup for Marlin: enable FWRETRACT in the firmware configuration, then set retraction and recovery with the M207 and M208 commands, which lets you use a different speed for recovery. If you change retraction in the slicer while firmware retraction is on, check the exported G-code to see which values actually apply. Custom start code is covered in PrusaSlicer start G-code.

Where do the numbers on this page come from?

The defaults and tooltips come from the PrusaSlicer 2.9.0 source file PrintConfig.cpp. The printer values, the stringing advice and the related options come from Prusa's knowledge base article on stringing and oozing. Firmware retraction details come from a Prusa blog post. Nothing here is the result of a print test, so use the values as starting points and compare them with what your own printer profile already contains. If you are new to the slicer, start with PrusaSlicer for beginners.

Frequently asked questions

What is the default retraction in PrusaSlicer?

The generic defaults in the PrusaSlicer 2.9.0 source code are a 2 mm retraction length, 40 mm/s retraction speed, 2 mm minimum travel after retraction, and no lift, wipe or retract on layer change. Those are only the fallback numbers. Prusa's own printer presets set their own values: its knowledge base says the MK2.5/S and MK3/S/+ should stay at a maximum of 2 mm, and the Bowden-fed MINI and MINI+ presets default to 3.2 mm. Open Printer Settings, Extruder 1 to see what your selected printer profile uses.

Where do I change retraction in PrusaSlicer?

Go to Printer Settings and open the Extruder 1 page, where Prusa's knowledge base says the retraction settings are found. The group lists retraction length, lift height, retraction and deretraction speed, minimum travel and the wipe options. To give one filament its own values, open Filament Settings, Advanced and tick the retraction override you want. Some fields only appear in Advanced or Expert mode, so switch the interface mode if a setting seems to be missing. A filament override takes priority over the printer value for that profile.

How much retraction does PETG or TPU need in PrusaSlicer?

Prusa's documentation does not give a single number for these materials. It says flexible filaments usually need longer retractions because the material stretches while being pulled back toward the nozzle. The sensible approach is to keep a separate filament profile with a retraction override, start from your printer's preset value, change one setting at a time and watch for stringing. Do not copy a number from a forum for a different printer, because the right length depends on whether the extruder is direct drive or Bowden.

Should I turn on wipe while retracting in PrusaSlicer?

Prusa's knowledge base recommends leaving wipe while retracting on, and the PrusaSlicer tooltip says it moves the nozzle while retracting to minimize the possible blob on leaky extruders. The generic default in the source is off, so the printer presets Prusa ships may differ from a blank profile. If you use a Bowden extruder, the slicer also offers retract amount before wipe, a quick retraction before the wipe move. Check the preview and exported G-code if your parts show blobs where travel moves begin.

Sources

Sepehr Sabbagh-pour

Founder and editor

Sepehr Sabbagh-pour

Software engineer since 2009 and Head of Engineering by day, a maker who has owned several 3D printers, writing practical guides to 3D printers, filament and running costs, with every article saying what was and was not tested.

Drafted with AI assistance, then edited and reviewed by Sepehr before it goes live. How we use AI.

Illustration: a close-up of a nozzle tip with a bead of orange filament being drawn back up into it, the strand thinningAI illustration
Slicers & software

Retraction 3D Printing: Settings Explained

Retraction pulls filament back before travel moves to stop ooze and stringing. Learn each setting, typical starting values and…

11 October 2026 · 6 min read