Troubleshooting
Retraction, Stringing, and Pressure Advance Explained
Key takeaways
- Direct-drive extruders typically need only 0.4–1.5 mm of retraction (never above 2.0 mm on all-metal hotends), while Bowden setups require 2.5–5.0 mm to take up filament buckling slack inside the PTFE tube.
- Mechanical retraction only acts during non-print travel moves; eliminating corner blobs and deceleration bulges requires modeling melt-zone elasticity with Klipper Pressure Advance or Marlin Linear Advance (Δe = K × v_e).
- If lowering nozzle temperature by 5–10 °C and tuning retraction fail to stop cobweb stringing or surface pockmarks, the filament is almost certainly wet rather than under-retracted.
Fine hair-like strings across open travel gaps and raised blobs along sharp corners share a single physical cause: residual positive pressure inside the hotend melt zone. Mechanical slicer retraction relieves that pressure during non-print travel moves by pulling the solid filament upward (0.4–1.5 mm on direct-drive systems, 2.5–5.0 mm on Bowden setups), while firmware pressure control—Klipper Pressure Advance and Marlin Linear Advance—dynamically modulates extruder velocity during acceleration and deceleration so nozzle pressure tracks toolhead speed in real time.
Why Molten Filament Oozes and Blobs
An FDM extruder does not push an incompressible rod through a frictionless pipe. Instead, the drive gears push a 1.75 mm solid polymer column down into a heated melt chamber (50–90 mm³ internal volume) that necks down to a 0.40 mm orifice. Because molten thermoplastics are viscoelastic fluids with high viscosity, forcing polymer through that 0.40 mm restriction requires substantial internal pressure.
Under load, two components store elastic potential energy like a compressed spring:
- Mechanical compliance in the feed path: The solid filament column between the drive gears and the heatbreak compresses axially and flexes radially against the walls of the guide path or PTFE Bowden tube.
- Compressibility in the melt pool: The molten polymer inside the nozzle cone compresses slightly and stores elastic shear stress.
When the toolhead finishes printing an island and starts a non-print travel move, or when it decelerates sharply from 150 mm/s to 15 mm/s to turn a 90° corner, stopping the E-axis stepper motor does not instantly drop nozzle pressure to zero. Unless the extruder actively decompresses the filament column before or at the end of the move, stored spring energy continues forcing molten plastic out of the orifice—drawing thin strings across travel gaps and depositing blobs at corners and Z-seams.
Direct-Drive vs Bowden Retraction Distance and Speed Ranges
Slicer retraction (G10 or negative G1 E moves) pulls solid filament backward at the end of an extrusion path, breaking the positive pressure column at the top of the melt zone so surface tension holds the molten meniscus inside the nozzle bore. Once the travel move finishes, an equal priming move pushes the filament back down.
Required retraction distance is governed by the filament path length between the drive gears and the heatbreak:
- Direct-drive extruders (
30–70 mmpath): Because the drive gears sit directly above the heatbreak, axial compression and radial play are minimal. Typical retraction distances are0.4–1.5 mm. As noted in the Prusa Stringing and Oozing guide, retraction length on direct-drive all-metal hotends (such as the MK3/S/+ and MK4/Nextruder families) should never exceed2.0 mm. Pulling molten polymer more than2.0 mmupward draws soft plastic into the cold side of the heatbreak, where it freezes against the metal bore and causes heat-creep jams. - Bowden extruders (
300–500 mmPTFE tube): A1.75 mmfilament inside a PTFE tube with a1.90–2.00 mminner diameter has0.15–0.25 mmof radial clearance. Under extrusion force, the filament buckles into a tight helix inside the curved tube; on retraction, the gears must first pull out2.0–4.0 mmof deadband slack before the filament tip at the hotend moves upward. PrusaSlicer’s factory profile for the Bowden-driven Original Prusa MINI/+ uses a3.2 mmdefault retraction, while longer Bowden tubes require4.0–5.5 mm.
| Extruder & Polymer Setup | Typical Retraction Length | Retraction Speed | Minimum Travel | Wipe / Z-Hop Guidance |
|---|---|---|---|---|
| Direct-Drive — PLA | 0.4–1.0 mm |
30–45 mm/s |
1.0–1.5 mm |
Wipe ON; Z-hop 0.15–0.20 mm |
| Direct-Drive — PETG | 0.8–1.4 mm |
25–35 mm/s |
1.0–1.5 mm |
Wipe ON; minimal Z-hop (0.0–0.15 mm) |
| Direct-Drive — ASA / ABS | 0.5–1.0 mm |
30–40 mm/s |
1.0–1.5 mm |
Wipe ON; Z-hop 0.10–0.20 mm |
| Direct-Drive — TPU 95A | 0.8–2.0 mm |
15–25 mm/s |
2.0 mm |
Wipe ON; Z-hop OFF; avoid rapid retracts |
| Bowden — PLA | 2.8–4.5 mm |
35–50 mm/s |
1.5–2.0 mm |
Wipe ON + Retract before wipe |
| Bowden — PETG | 3.2–5.0 mm |
25–40 mm/s |
1.5–2.0 mm |
Wipe ON; avoid crossing perimeters |
Retraction speed also requires balance. Retracting slower than 20 mm/s allows molten polymer to drool before pressure drops; retracting faster than 50–60 mm/s can grind filament teeth marks at the drive gears or snap the solid filament away from the melt pool, trapping an air bubble that leaves an under-extruded pit after the next perimeter starts.
Nozzle Temperature, Travel Speed, and Z-Hop Mechanics
Retraction works alongside thermal and motion settings:
- Nozzle temperature (
±5–10 °C): Melt viscosity drops exponentially as temperature rises. Printing PLA at225 °Cor PETG at255 °Cat modest flow rates leaves the melt runny enough to drip under gravity. Unless high print speeds require extra thermal headroom (see Max Volumetric Speed Explained), lowering nozzle temperature in5 °C (9 °F)steps is the most direct way to reduce stringing. - Non-print travel speed (
150–300 mm/s): Oozed volume scales with travel duration (V_ooze = rate × t_travel). Raising travel speed from120 mm/sto250 mm/shalves travel time and snaps any nascent micro-strand cleanly at the perimeter edge. - Z-hop (Lift Z) vs Wipe while retracting: As highlighted in the Prusa troubleshooting guide, a tall vertical Z-hop (
>0.4 mm) pauses XY motion while lifting the hot nozzle straight up, pulling vertical peaks that cool into branching strings. Lowering Z-hop to0.10–0.20 mm(or using a spiral/ramped lift) and enablingWipe while retractingdrags the nozzle1–2 mminward along the completed wall before departing.
Diagnosing Moisture vs Retraction vs Over-Extrusion
Identify the defect pattern on the part before changing slicer values:
| Visual & Acoustic Symptom | Primary Root Cause | Corrective Action |
|---|---|---|
| Clean straight walls; strings strictly along travel paths between islands | Retraction or travel settings | Tune retraction length (+0.2 mm direct, +0.5 mm Bowden), lower nozzle temp 5–10 °C, enable Wipe |
| Raised bulges at 90° corners and seams; thin line starts after corners | Uncompensated melt pressure | Calibrate Klipper Pressure Advance or Marlin Linear Advance (K-factor) |
| Cobweb strings everywhere, audible popping/hissing, rough matte skin, random wall pits | Wet filament (steam flash) | Dry spool in heated dryer (see Filament Moisture, Hydrolysis, and Drying Temperatures) |
| Burnt plastic globs accumulating on nozzle cone and dropping onto walls | Over-extrusion or low Z-offset | Calibrate Extruder E-Steps and Flow Rate / Extrusion Multiplier |
How Klipper Pressure Advance and Marlin Linear Advance Model Melt Pressure
Mechanical retraction only triggers between separate extrusion paths (G0 travel moves). It does nothing while the nozzle is continuously extruding (G1 print moves) and decelerating into a sharp corner or accelerating out of a seam.
Without firmware pressure control, the extruder stepper decelerates in lockstep with XY motion as the toolhead approaches a 90° corner. Because the melt zone remains pressurized from high-speed cruising, molten plastic surges out of the nozzle while the toolhead moves slowly through the corner apex—creating a corner bulge that ruins mating tolerances. As the toolhead accelerates out of the corner, pressure lags behind XY speed, leaving an under-extruded gap.
Both Klipper Pressure Advance and Marlin Linear Advance model the filament-and-melt path as a linear spring with constant K (measured in seconds, s, or mm of filament advance per mm/s of extrusion velocity):
Δe_advance(t) = K × v_e(t)
e_commanded(t) = e_nominal(t) + K × v_e(t)
v_extruder(t) = v_e(t) + K × (dv_e / dt)
Where e_nominal(t) is the baseline filament position required by road geometry, v_e(t) is nominal solid filament feed velocity (mm/s), and K is Klipper’s pressure_advance parameter or Marlin’s M900 Kxx factor.
Worked Example: Calculating Filament Advance (Δe) in PLA vs PETG vs Bowden
For standard 1.75 mm filament (r = 0.875 mm), solid cross-sectional area is:
A_fil = π × (0.875 mm)² = 2.4053 mm²
Printing a w = 0.45 mm wide, h = 0.20 mm tall perimeter at v_print = 100 mm/s yields a rectangular flow rate of Q = 9.00 mm³/s (or compute exact capsule cross-sections in the Extrusion Flow, Volumetric Speed & E-Steps Calculator):
Q = 0.45 mm × 0.20 mm × 100 mm/s = 9.00 mm³/s
v_e = Q / A_fil = 9.00 mm³/s / 2.4053 mm² = 3.7418 mm/s
Applying Δe_advance = K × v_e across three configurations using reference K values from the Prusa Linear Advance calibration table (0.4 mm brass nozzle):
- Direct-drive PLA (
K = 0.04 s):Δe_advance = 0.04 s × 3.7418 mm/s = 0.1497 mm(0.360 mm³). During acceleration to100 mm/s, the extruder advances an extra0.15 mmof filament to establish equilibrium nozzle pressure immediately. During deceleration into a corner or seam, it pulls back that exact0.15 mmto bleed off melt pressure before the toolhead stops. - Direct-drive PETG (
K = 0.08 s):Δe_advance = 0.08 s × 3.7418 mm/s = 0.2993 mm(0.720 mm³). Because molten PETG has higher elasticity than PLA, it requires double the advance compression (0.30 mmvs0.15 mm) at the same flow rate. - Bowden PLA (
K = 0.45 s):Δe_advance = 0.45 s × 3.7418 mm/s = 1.6838 mm(4.050 mm³). Because the Bowden tube acts as a soft spring, the extruder advances nearly1.7 mmof filament during acceleration just to pressurize the nozzle.
Once Pressure Advance or Linear Advance is calibrated, melt-zone pressure is already decompressed when a print move finishes decelerating, allowing direct-drive printers to run clean, string-free travel moves with only 0.4–0.8 mm of slicer retraction.
Run the numbers
Fit, Clearance & Shrinkage Calculator (+ STL Gauge)
Compute CAD dimensions for press, sliding, loose and print-in-place joints after polymer shrinkage and nozzle geometry, and download a printable STL test gauge.
Extrusion Flow, Volumetric Speed & E-Steps Calculator
Calculate capsule road cross-section, volumetric flow rate (mm³/s), speed limits, slicer flow ratio and Klipper/Marlin extruder steps.
Sources and further reading
3D printing guidance on this page is general. Printers, hotends, slicers and filament batches vary, so verify dimensions and settings with test prints and calipers. Always observe thermal, electrical and ventilation safety around heated components and melted polymers. Spotted an error? Tell us and we will review it under our corrections policy.