Skip to content
Real Estate & Home

3D Printer Retraction Adjusting Length Speed and Settings

In this article

Properly tuning 3D printer retraction length, speed, and associated settings eliminates stringing, oozing, and blob formation by briefly pulling filament back into the nozzle during non-print travel moves and pushing it back forward before printing resumes.

Achieving a clean, defect-free 3D print requires precise calibration of many variables, but few affect surface quality as drastically as retraction settings. When a 3D printer moves the print head across an open gap without extruding material, residual pressure inside the hotend often causes molten plastic to ooze out of the nozzle. This manifests as fine, hair-like strings, rough blobs, or pockmarks on the exterior of your model. Understanding how to adjust retraction length, retraction speed, and secondary firmware parameters allows you to eliminate these imperfections completely, whether you are running a direct drive extruder or a Bowden tube configuration.

Understanding How Retraction Works in FDM Printing

Fused Deposition Modeling (FDM) 3D printing relies on continuous pressure within the hotend to push molten plastic through a narrow nozzle. When the slicing software commands the print head to travel to a new location without laying down plastic, the extruder motor must temporarily reverse its rotation. This backward movement pulls the filament slightly away from the melt zone, relieving internal pressure and halting the flow of plastic.

Once the travel move finishes, the extruder reverses direction again, pushing the filament back into the hotend (a process sometimes called prime or un-retraction) just as the nozzle reaches the starting point of the next extrusion line.

If this retraction cycle is not properly balanced, several distinct print defects occur:

  • Insufficient Retraction Length or Speed: Plastic continues to ooze during travel moves, leaving thin webs of plastic (stringing) spanning across empty spaces.
  • Excessive Retraction Length: Pulling the molten core too far back into the cold zone of the heatbreak causes the plastic to solidify prematurely, leading to nozzle clogs, under-extrusion at the start of new lines, or grinding of the filament by the drive gear.
  • Too High Retraction Speed: Rapidly yanking the filament back can strip or deform softer materials like TPU or soft PLA, causing the extruder gear to lose grip.

Direct Drive vs. Bowden Extruders: Why Hardware Changes Everything

Before adjusting any slicer parameters, you must account for your printer’s hardware architecture. The physical distance between your extruder drive gear and the heated nozzle dictates the baseline requirements for both retraction length and speed.

Bowden Tube Setups

In a Bowden configuration, the extruder motor is mounted remotely to the printer frame, pushing filament through a long, flexible polytetrafluoroethylene (PTFE) tube into the hotend. Because the tube has inherent elasticity and flex, a large portion of the extruder motor's movement is absorbed by the tubing expanding and compressing rather than immediately pulling plastic from the melt zone. Consequently, Bowden setups require significantly longer retraction lengths—typically ranging from 4.0mm to 7.0mm—and moderate speeds to overcome this mechanical lag.

Direct Drive Setups

In a direct drive configuration, the extruder motor sits directly on top of the hotend, gripping the filament mere centimeters away from the nozzle. The filament path is short and rigid, meaning there is virtually no mechanical slack in the system. Direct drive setups require much shorter retraction distances, usually between 0.5mm and 2.0mm. Pumping a direct drive setup with Bowden-length retractions will almost certainly result in severe jamming and under-extrusion.

PETG Print Settings: Temperature, Speed, and Retraction
PETG Print Settings: Temperature, Speed, and Retraction

Core Retraction Parameters Explained

Modern slicers like OrcaSlicer, PrusaSlicer, and Cura offer a suite of retraction-related controls. Tuning them requires looking beyond just length and speed to understand how secondary parameters interact with your specific filament type.

Slicer Parameter Typical Direct Drive Range Typical Bowden Range Primary Function
Retraction Length 0.5 mm – 2.0 mm 4.0 mm – 7.0 mm The physical distance the filament is pulled back from the melt zone.
Retraction Speed 25 mm/s – 45 mm/s 35 mm/s – 60 mm/s How fast the extruder motor pulls the filament backward.
Detraction / Extra Length on Restart -0.2 mm to 0.0 mm 0.0 mm to 0.2 mm Adjusts the amount of plastic pushed back beyond the retracted distance to fill gaps.
Minimum Travel After Retraction 1.0 mm – 2.0 mm 2.0 mm – 4.0 mm Prevents constant retracting on tiny, rapid back-and-forth infill moves.
Z-Hop Height 0.2 mm – 0.4 mm 0.2 mm – 0.4 mm Lifts the nozzle vertically during travel moves to avoid scraping printed parts.

Retraction Length

Retraction length dictates how much raw material is drawn away from the nozzle. If you notice stringing, your length is likely too low. If you experience gaps in your print right after a travel move (known as pitting or blooming), or if your printer frequently clogs during prints with many small details, your length is likely too high.

Retraction Speed

Retraction speed determines how quickly the motor reverses. Higher speeds clear the melt zone faster, reducing the window for oozing. However, pushing this setting too high causes the drive gear to bite into and chew up the filament, especially with softer polymers. Finding the sweet spot means balancing rapid pressure relief with reliable mechanical traction.

Detraction (Extra Length on Restart)

Sometimes, pulling the filament back creates a microscopic void inside the nozzle tip once it primes again, leading to faint under-extrusion at the start of a perimeter line. Extra length on restart (sometimes called extra restart distance) adds a fraction of a millimeter to the un-retraction stroke. Use this sparingly—values exceeding 0.3mm often create blobs and zits at seam locations.

Minimum Travel Threshold and Z-Hop

Printers often execute dozens of tiny travel moves within a single layer, such as crossing between infill grid lines. Retracting on every single micro-move wears out the filament and slows down print times. Setting a Minimum Travel threshold (e.g., 2mm) ensures the printer only retracts when crossing significant open gaps.

Additionally, Z-Hop lifts the print head slightly along the vertical axis during travel moves. While Z-hop helps prevent the nozzle from dragging across delicate top surfaces, excessive Z-hop combined with slow movement can exacerbate stringing because the plastic has more time to ooze while suspended in mid-air.

Step-by-Step Calibration Procedure

Rather than guessing numbers or copying profiles from online forums, use a structured calibration workflow to find the optimal values for your specific machine and filament roll.

Step 1: Establish a Stable Baseline

Before touching retraction settings, ensure your filament is dry, your nozzle temperature is optimized via a temperature tower, and your extrusion multiplier (flow rate) is calibrated. Wet filament (especially PETG, TPU, and nylon) generates steam bubbles in the hotend that cause persistent oozing and stringing regardless of your retraction settings.

Step 2: Print a Retraction Test Model

Slice a dedicated retraction calibration tower or a dual-pillar test model using your slicer's built-in calibration tools. These models feature two distinct towers spaced far enough apart to force frequent travel moves, exposing any weakness in your current settings.

Step 3: Isolate and Adjust Length First

Keep your retraction speed at a safe default (e.g., 35 mm/s for direct drive or 45 mm/s for Bowden). Run a test varying the length by small increments:

  • For direct drive, test steps of 0.2mm (e.g., 0.6mm, 0.8mm, 1.0mm, 1.2mm).
  • For Bowden setups, test steps of 0.5mm (e.g., 3.0mm, 3.5mm, 4.0mm, 4.5mm).

Inspect the resulting test prints. Identify the height where stringing completely disappears without causing under-extrusion pitting on the towers.

Step 4: Fine-Tune Retraction Speed

Once you have locked in the ideal length, hold it constant and test varying speeds. Print another tower testing speeds from 25 mm/s up to 50 mm/s. Look for the lowest speed that produces clean results without causing the extruder motor to stutter, click, or strip the filament surface.

Material-Specific Retraction Profiles

Different polymers exhibit vastly different melt viscosities and thermal properties. A setting optimized for rigid PLA will fail completely when applied to flexible TPU.

PLA (Polylactic Acid)

PLA is relatively stiff and has a low melting point. It flows easily, making it prone to stringing if retraction is too slow or short.

  • Direct Drive: 0.8mm – 1.5mm length at 35–45 mm/s.
  • Bowden: 4.0mm – 6.0mm length at 40–50 mm/s.

PETG (Polyethylene Terephthalate Glycol)

PETG is notoriously sticky and stringy. It clings to brass nozzles aggressively. To combat PETG stringing, many users benefit from a slightly higher retraction speed and enabling Wipe While Retracting (if supported by your slicer), which moves the nozzle inward slightly as it pulls back.

  • Direct Drive: 1.0mm – 2.0mm length at 40–50 mm/s.
  • Bowden: 5.0mm – 7.0mm length at 45–60 mm/s.

TPU (Thermoplastic Polyurethane)

Flexible filaments compress easily inside the extrusion path. High retraction lengths or aggressive speeds will cause TPU to bunch up inside the extruder housing, resulting in a catastrophic jam. Keep retraction minimal or disabled entirely when printing soft flexibles.

  • Direct Drive: 0.2mm – 0.5mm length at 20–30 mm/s.
  • Bowden: Not recommended for soft TPU; if attempted, keep length under 2.0mm with very slow speeds.

ABS and ASA

These engineering thermoplastics require enclosed printers and stable ambient temperatures. They have lower tendencies to string than PETG, provided they are kept dry.

  • Direct Drive: 0.5mm – 1.0mm length at 35–45 mm/s.
  • Bowden: 3.5mm – 5.0mm length at 40–50 mm/s.

Advanced Troubleshooting: When Retraction Fails to Fix Stringing

If you have exhaustively tuned your retraction length and speed, yet your prints still feature persistent webs, wisps, or blobs, the root cause is likely unrelated to retraction mechanics. Check the following hidden culprits:

  • Moisture Contamination: Hygroscopic filaments absorb ambient humidity rapidly. As moisture turns to steam in the hotend, it creates internal pressure that forces plastic out of the nozzle regardless of what the extruder gear is doing. Dry your filament in a dedicated filament dryer or food dehydrator.
  • Nozzle Temperature Too High: Printing PLA at 220°C when it flows smoothly at 195°C reduces the polymer's viscosity, making it too fluid to control. Lower your printing temperature in 5°C increments.
  • Worn Extruder Gears: If your extruder drive gear teeth are packed with plastic debris or worn down, they will slip slightly during the sudden directional change of a retraction move, rendering your programmed length and speed ineffective. Clean your drive gears with a brass wire brush.
  • Bowden Tube Slippage: In Bowden setups, inspect the pneumatic couplers holding the PTFE tube at both the extruder and hotend. If the tube shifts back and forth by even a fraction of a millimeter during retractions, that mechanical play completely swallows your retraction length. Install locking clips on your couplers to secure the tubing.

Practical Next Actions

Start by identifying whether your 3D printer uses a direct drive or Bowden extruder architecture, as this sets your foundational length bracket. Print a standardized retraction tower for your current roll of filament, adjusting length first in small increments before fine-tuning speed. If stringing persists despite correct parameters, verify your filament dryness and lower your hotend temperature.