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.
| Setting | What it does | Generic default |
|---|---|---|
| Retraction length | Filament is pulled back by this amount, measured on the raw filament before it enters the extruder. Zero disables retraction. | 2 mm |
| Retraction speed | Speed of the retraction, applied to the extruder motor only. | 40 mm/s |
| Deretraction speed | Speed of loading filament back after the travel move. Zero means the retraction speed is used. | 0 (same as retraction) |
| Deretraction extra length | Extra filament pushed after the travel move. The tooltip says this is rarely needed. | 0 mm |
| Minimum travel after retraction | No retraction is triggered for travel moves shorter than this. | 2 mm |
| Retract on layer change | Forces a retraction whenever a Z move happens. | Off |
| Wipe while retracting | Moves the nozzle while retracting to reduce a blob on leaky extruders. | Off |
| Retract amount before wipe | A 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.
- Check the temperature. Prusa says lowering the nozzle temperature by 5 to 10 degrees C reduces stringing.
- Raise retraction speed gradually. Prusa says a higher value improves stringing, but if it is too high it may skip steps in the motor.
- Adjust retraction length. Stay inside the range for your extruder type, as above.
- Lower the lift height. Prusa says a lower value improves stringing, but disabling the lift entirely may make the nozzle hit the printed part.
- 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.




