3D print spaghetti is a tangled pile of filament left when the print head keeps extruding after the object below moved or collapsed. Bambu Lab adds that the nozzle extrudes into the air along the G-code path, wasting filament and risking a clog.
Research-based guide. This article is compiled from manufacturer documentation and has not been checked on a test printer. Treat every number as a starting point and change one setting at a time.
First, when did it start?
Bambu Lab's guide splits the problem by timing, which narrows the search quickly.
| When it failed | Type | Main fixes |
|---|---|---|
| First few layers | First-layer adhesion | Clean plate, plate type, leveling, dry filament, slower first layer |
| Corners lifting over time | Warping | Clean plate, brim, leveling |
| Overhang area collapses | Support collapse | Supports, slower overhangs |
| A clunk, then part knocked off | Nozzle scraping | Z hop (Z hop explained), brim, stabilize the model |
How do I stop spaghetti at the start of a print?
Fix the first layer first. Prusa's advice is blunt: if the first layer is not perfect, the chance of any type of print failure goes up. Bambu Lab lists these fixes for first-layer spaghetti:
- Clean the build plate with warm water, dish soap and a grease-free sponge, and avoid touching it with fingers.
- Make sure the "build plate type" in the slicer matches the plate in use.
- Run auto bed leveling and check for debris under the plate.
- Dry the filament, since moisture causes uneven extrusion.
- Slow the initial layer to 30 mm/s or less, with initial layer infill at 60 mm/s or less.
The full process is in why prints do not stick to the bed and fixing a bad first layer.
Clean and prepare the sheet properly
Prusa's first-layer article is specific about what to wipe with, and the wrong cleaner is a common reason a print lets go. Use these as a guide, and check your own sheet maker's advice too.
| Product | Prusa's guidance |
|---|---|
| Isopropyl alcohol (IPA) | 90% or higher for all sheets; avoid lower percentages |
| Dish soap, warm (not hot) water | A few drops, for sugar residue; dry the sheet well afterwards |
| Acetone | Smooth PEI only, about once a month; never on textured or satin sheets; not before printing PETG |
| PVA glue stick | Not needed for PLA; recommended for nylon, PETG, polycarbonate, ABS, ASA and flexibles; no superglue |
Prusa also says smooth PEI loses adhesion after a couple of hundred hours, and that models coming loose regularly can point to a worn sheet. To resurface, rub the area with the hard side of a dry kitchen sponge in circles or use 400 to 600 grit sandpaper, then wipe with IPA.
Slow and heat the first layers
Prusa suggests running about 75% speed for the first three layers, using the recommended nozzle and bed temperatures for the material, and for difficult new materials raising the bed by 5 to 10 degrees C. It also warns against lowering the live Z adjustment to force adhesion: too low can damage the sheet, and Prusa says such damage is not covered by warranty. Enabling a brim in PrusaSlicer increases first-layer contact area, and Prusa suggests trying that before adding glue or other adhesion aids.
What causes 3D print spaghetti mid-print?
Bambu Lab and Prusa point to three mid-print causes: warping, collapsed overhangs and nozzle scraping.
Warping
Corners lift slowly until the lifted height exceeds the nozzle gap, and the nozzle knocks the part off. Bambu Lab says this is common with high-shrinkage filaments such as ABS, ASA, PC and nylon. It recommends a clean plate, the correct plate type, a brim and bed leveling. See fixing warping.
Collapsed overhangs
If overhangs are unsupported or poorly cooled, the area collapses and the nozzle hits it. Bambu Lab says to check for overhangs steeper than 45 degrees and enable supports, slow down overhang and support speeds, and consider the support type: normal supports are large and stable for heavy overhangs, tree supports use less filament and are easy to remove. More detail in fixing drooping overhangs and supports explained.
Nozzle scraping
A "clunk" followed by a loose part often means the nozzle hit the model while travelling. Bambu Lab suggests changing the Z hop type to "Normal" and, for tall or narrow parts with a small base, adding an outer brim of 5 to 8 mm or painting extra supports. See brim vs raft vs skirt.
Cooling and speed settings that cause collapse
Prusa's cooling article says the fan override for bridges and overhangs should be set higher than for normal printing, and that the fan is usually left on for most materials except ABS, ASA, PC and some flexibles. It also says the fan is typically off for the first 1 to 5 layers to prevent warping and detachment. In OrcaSlicer, Slow down for overhang and Slow down for curled perimeters are advanced options; the wiki recommends leaving curled-perimeter slowdown on unless your cooling is strong enough or your speeds slow enough that curling does not happen. Curled edges are what the nozzle strikes on its next pass, which then knocks the part loose.
Material matters: PETG detaches differently
Prusa's PETG guide lists 230 degrees C for the first layer and 240 for the rest, with the bed at 85 then 90, and says to avoid the smooth PEI sheet because PETG can bond too strongly. It also lists poor bridging and overhangs as a PETG con. So PETG spaghetti is more often a support or cooling problem than a stuck-to-the-bed problem, while PLA is the reverse. See PETG vs PLA.
Bad model or G-code
Prusa notes that errors in the model or sliced file can also cause spaghetti. Check the preview of the generated G-code before printing; PrusaSlicer shows a warning triangle for obvious problems, and broken geometry can be repaired. Look for thin walls, gaps and floating islands in the layer preview.
Quick things to try on a repeat
- Prusa suggests re-running a print that failed from detachment with bed temperature raised by 5 to 10 degrees C, applied from the printer's Tune menu after bed leveling, without re-slicing.
- If several parts share a plate and only some fail, use Skip Objects (Bambu Lab) to finish the rest.
- Stop a failing print early rather than letting it run: the tangle can clog the nozzle.
What to change before the reprint
Change one thing, matched to when the failure happened. Re-running unchanged will usually fail at the same point.
| Where the print failed | Change first | How to check it worked |
|---|---|---|
| Layers 1 to 5, part lying loose | Clean the sheet with 90%+ IPA, then confirm the first layer across the whole plate | Every line on the first layer is joined and stays down |
| Detached later, with a clean first layer | Raise bed 5 to 10 degrees C (Tune menu on Prusa, no re-slice), add a brim | Corners stay flat at the height where it failed last time |
| At a steep overhang | Enable supports, slow overhang speed, raise bridge and overhang fan | The underside stays solid through the failing layer |
| After a clunk | Z hop type Normal, outer brim 5 to 8 mm, or extra painted supports (Bambu Lab) | No collision noise on travel moves near the part |
| Different spot every time | Check the G-code preview for gaps, thin walls and floating islands; dry the filament | Preview is clean and extrusion looks even |
Two mistakes to avoid: changing temperature, speed and supports together, which hides which change fixed it, and sitting through a failure that has already started. Bambu Lab warns the tangle can clog the nozzle and make the printer hard to clean. If a tall part keeps failing, check layer shifting too, since a shifted layer also leaves later layers floating.
Clean up afterwards
After a failure, let the nozzle cool as the maker advises, remove the mess carefully and check the nozzle for plastic stuck to it before the next print. If extrusion stays poor, see clogged nozzle fixes.
Confirm the fix
Watch the first layer and the first overhang of the next print. If both stay down and clean, the cause was likely addressed. The settings here come from maker documentation and are starting points for your own printer.
Once a spaghetti failure is cleaned up, the waste does not have to go in the trash: see how to recycle failed prints.




