Troubleshooting

3D Print Spaghetti: Why It Happens and How to Stop It

By Owen Drysdale·Last updated ·14 min read

A spaghetti print happens when your printer keeps extruding after the part detaches from the bed. The fix is bed adhesion 9 times out of 10. Here's how to diagnose which cause you've hit and stop it from happening again.

A "spaghetti print" is when your printer keeps extruding plastic after the part has detached from the bed (or a layer has separated). The nozzle keeps moving along its planned path, but instead of laying plastic onto a print, it deposits strands into thin air — and you come back to a tangled mass of plastic threads that look like a bowl of spaghetti. It's the most visible 3D printing failure mode and almost always the result of one specific upstream cause: the first layer didn't actually bond.

Nine times out of ten, fixing spaghetti means fixing bed adhesion. The rest of this article walks through the full list of causes (in the order you should suspect them), what to do for each, and how to stop it from happening again on the next print.

As an Amazon Associate, WhyItFailed earns from qualifying purchases. We only recommend products we believe genuinely help.

What is a spaghetti print?

A spaghetti print is the 3D printing community's name for the specific failure mode where you walk back to your printer and find a tangled mass of plastic strands instead of the part you started. The printer is still running. The nozzle is still moving. But somewhere between the start of the print and now, the part detached from the bed — and the printer kept faithfully executing its remaining gcode, depositing each layer into open air.

The visual signature is unmistakable: thin plastic threads piled in a chaotic mound, often attached to the toolhead itself or wrapped around the nozzle. If the failure happened early, you'll see a few small skirt outlines on the bed and most of the spaghetti up in the air. If it happened mid-print, you might find half a part stuck to the bed and the upper half jumbled into the mound.

Why it happens (in order of how often each cause is the real one)

Most spaghetti failures trace back to the same handful of root causes. Listed here in the order of how often each is actually the culprit.

1. The print detached from the bed mid-print (~80% of cases)

The single most common cause. Your first layer looked fine, but it wasn't bonded as well as it appeared, and somewhere into the print — usually at the perimeter of a tall feature, or when a tall thin tower flexed — the part popped loose from the bed. Once that happens, the printer has no way to know. It keeps printing into air.

The reason adhesion fails mid-print rather than at layer 1 is usually a combination of:

  • Bed surface contamination (skin oils, grease, leftover release-agent residue)
  • Nozzle slightly too far from the bed on layer 1 — extrusion squished less than ideal, looks fine but bond is weak
  • Wrong bed temperature for the filament — PLA at 50°C bonds less aggressively than at 60°C; PETG without proper bed temp adheres unpredictably
  • Bed surface that's degraded or scratched — old PEI loses tack, glass with ground-in residue stops releasing

This is the case where the bed adhesion guide is your starting point — it walks through exactly which surface fix applies to your specific filament and printer.

2. Layer separation mid-print (~10% of cases)

The print stayed on the bed but a layer cracked or delaminated partway up, usually at a layer boundary near a corner. Common with PETG and ABS in cold rooms or open-frame printers — the bottom of the print stays warm while the top cools, the differential contraction stresses the layer interface, and it eventually pulls apart. The toolhead then has nothing solid to deposit on top of, and spaghetti follows.

This is most often a warping problem in disguise. The fix is enclosure heat (for ABS/ASA) or properly tuned cooling (for PETG).

3. The print was knocked over by the toolhead (~5% of cases)

Tall, thin parts (vases, lattices, single-wall structures) can be knocked over when the toolhead bumps into them during a travel move. The print itself was fine; it just lost its footing. More common on direct-drive printers where the heavier toolhead hits with more momentum.

Fixes here are slicer-side: turn on Z-hop, slow down travel speeds for tall parts, or split the print into multiple shorter sections that get assembled.

4. Layer shift mid-print (~3% of cases)

The motion system lost steps and the printer continued printing offset from where the part actually is. The first 50 layers are at one X/Y position, but the next 50 are 5mm to the side, hovering over nothing. Spaghetti follows. The signature: a partial print stuck to the bed in the right spot, with the spaghetti mass off to one side. Full diagnostic in the layer shifting guide.

5. Spaghetti detection failed on a printer that should have caught it (~2% of cases)

Bambu Lab printers (P1S, X1C, A1, A1 Mini) have AI-based spaghetti detection that's supposed to pause the print when it sees the failure. Creality K1 series and others have similar features. They mostly work, but sometimes:

  • The lighting in your enclosure is wrong for the camera to recognize the failure
  • The failure is visually subtle (a few stray strands rather than a full mound)
  • The detection threshold is conservative to avoid false positives, so it lets early-stage spaghetti through

If your printer has this feature, make sure it's actually enabled — Bambu's "Lost steps" and "First layer" detection are separate from spaghetti detection. Turn all of them on.

How to stop spaghetti from happening

The fixes mirror the cause list. Work from the top down — fixing bed adhesion handles 80% of cases.

1. Calibrate your first layer obsessively

The first layer is everything. The full playbook is in the first layer guide; the short version:

  • Run your printer's bed leveling routine before any important print. Bambu, Prusa, and modern Creality printers have automatic versions; older Ender models need a manual paper-test.
  • Check the Z-offset — the first layer should look like wide, flat ribbons, not bumpy individual lines. Adjust until it does.
  • Don't trust auto-leveling on a dirty bed — the probe reads through grime. Clean the bed first.

2. Clean your bed before every important print

Skin oils from handling the bed are the single most common cause of mysterious adhesion failures. A 99 percent isopropyl alcohol wipe with lint-free microfiber cloths gets the surface clean enough that PLA, PETG, and ABS all stick reliably.

For PEI specifically, IPA loses effectiveness over time as the surface oxidizes. If a clean PEI plate isn't sticking like it used to, a one-time wash with mild dish soap and warm water (then thorough rinse and dry) restores it. Avoid acetone on PEI — it eats the coating.

3. Match the bed temperature to the filament

Filament Starting bed temp If still detaching
PLA 60°C Try 65°C, then add glue stick
PETG 75°C Try 80°C with glue release layer
ABS / ASA 100°C 110°C + enclosure heat-soak
TPU 50°C 55°C, slow down to 25 mm/s

4. Use a release layer or adhesion booster as appropriate

The right additive depends on the filament + bed surface combination:

  • PLA on smooth PEI: usually no additive needed. If failing, try Elmer's purple disappearing glue stick as light coverage.
  • PETG on PEI: PETG sticks too well — use the glue stick as a release layer, not adhesive, so you don't rip chunks out of the PEI when removing the print.
  • ABS on glass: an ABS slurry (acetone + ABS scraps thinned to a paint) or Magigoo Original adhesion glue.
  • Anything on garolite / G10: typically no additive needed.

5. Add a brim or raft for tall, thin, or finicky parts

A brim is 5–10 outline layers of plastic around the base of your print, extending the contact area with the bed. It's the cheapest insurance against detachment for any print taller than ~50mm or with a small footprint. Most slicers default to 0 brim layers; bumping to 5–10mm of brim adds about 30 seconds of print time.

A raft is a separate platform of plastic underneath the part. More material, more time, but it's the most aggressive adhesion option. Reserve for nylon, very tall PETG, or anything that's failed twice with brims.

6. Enable your printer's failure detection

If your printer supports it, turn it on:

  • Bambu Lab P1S, X1, X1C, A1, A1 Mini — Bambu Studio → device settings → enable "First Layer Inspection" + "Spaghetti Failure Detection." Both run on the built-in camera.
  • Creality K1, K1 Max, K1C — enable "AI failure detection" in the Creality Print app. Earlier firmware versions had inconsistent detection; update if it's been months since you last did.
  • Prusa MK4 / MK4S with the camera accessory — Prusa Connect has spaghetti detection in beta. Older MK3/MK3S models without the accessory rely on the loadcell to detect first-layer issues only.
  • Ender 3 / V3 series — no built-in detection. Octoprint plugins like "Obico" (formerly The Spaghetti Detective) add this for Octoprint or Klipper users.

Detection won't prevent spaghetti — it just stops the print earlier so less filament gets wasted.

For printer-specific notes, see the P1S guide or the K1 guide.

7. Dry your filament

Wet filament weakens layer adhesion, which directly leads to mid-print delamination → spaghetti. PETG, ABS, and Nylon are most affected. If you've done all the bed-prep work and you're still seeing spaghetti on PETG or ABS prints, dry the spool with a Sunlu S4 filament dryer. Full playbook: how to dry 3D printer filament.

After a spaghetti failure: cleanup and recovery

Stopping the print is step one. Step two is making sure the printer is in a state to print the next thing successfully.

Clean the toolhead. Spaghetti often wraps around the nozzle and hotend. Heat the nozzle to print temperature, then use tweezers and pliers set for 3d printing (long-handled tweezers work great) to pull the bulk away. For plastic stuck to the silicone sock or heater block, let it cool completely, then peel it off. Do not use a knife on a hot nozzle — you'll damage the silicone or scratch the heater block.

Check for clogs. A nozzle that just printed a bowl of spaghetti probably has melted plastic blocking the tip. Heat to print temp and extrude 50mm by hand from the slicer. If extrusion is consistent, you're fine. If it stutters or the extruder clicks, run a cold pull or replace the nozzle. Full guide: how to fix a clogged nozzle.

Inspect the bed. Check for plastic stuck to the surface, scratches from the spaghetti dragging, or build-plate damage. A plastic razor blade scraper clears stuck plastic without scratching PEI.

Verify nothing is bent or loose. A serious spaghetti incident can stress belts, cooling fans, or the Bowden tube. A quick once-over before the next print catches issues that would otherwise cause a second failure.

What you may need

Products that help with bed prep, spaghetti prevention, and recovery. We earn a small commission if you buy through these links at no additional cost to you.

FAQ

Why does my 3D print keep turning into spaghetti?

The print is detaching from the bed mid-print and the printer keeps depositing plastic into air. Almost always a bed-adhesion problem: dirty bed, Z-offset slightly off, wrong bed temperature, or a degraded build-plate surface. Clean the bed with IPA, recalibrate the first layer, and add a brim. Full playbook: the bed adhesion guide.

Does spaghetti damage my printer?

Usually no, as long as you catch it within an hour or two. The risks: plastic wrapping around the nozzle/hotend (annoying to clean but not damaging), plastic dragging into a fan and stalling it (replace the fan), or in rare cases, bent toolhead components if a tall pile of spaghetti gets caught. Modern printers with spaghetti detection auto-pause; if yours doesn't, a remote-monitoring camera is worth setting up so you catch failures within minutes, not hours.

Can I save a print that's gone spaghetti?

Almost never. Once the printer has lost track of the part position, every subsequent layer is wrong. Clean the bed, check the printer for damage, and start fresh. The exception: if a tall, thin print fell over but the lower portion is intact, you can sometimes glue or weld it back together with acetone (ABS) or super glue (PLA, PETG) — but you're rebuilding, not recovering.

Does spaghetti detection always work?

No. It catches most failures but not all. Detection works by comparing the camera image to the expected print state; subtle failures (a single failed perimeter, early-stage strands) can fall below the threshold. Use detection as a backstop, not a primary fix — the goal is to prevent spaghetti, not catch it after the fact.

Why does my Bambu print spaghetti even with detection enabled?

Two common reasons: detection is set to "monitor only" (just records, doesn't pause) or the failure happened in a region the camera can't see clearly. Check the Bambu Studio settings — "Spaghetti Failure Detection" should be set to "Pause on detection," not "Notify only." If you're using a P1S with the door open, lighting and angles change; close the door so the camera sees consistently.

How do I prevent spaghetti on a tall, thin part?

Three changes that compound: add a 10mm brim, slow travel speeds to 100 mm/s, and enable Z-hop in your slicer (0.4mm is typical). For very tall single-perimeter prints (vases, lattices), also rotate the part to spread the height across multiple smaller features instead of one tall column.

My PETG keeps spaghetti-ing even though my PLA prints fine. Why?

PETG is more sensitive to bed temperature, has stickier melt that pulls more force on adhesion, and is prone to layer delamination if cooled too aggressively. Run bed at 80°C, lower part cooling fan to 30–50% after layer 3, dry the spool if it's been open more than a couple weeks, and use a glue stick as a release layer on PEI (counterintuitive — it stops the bond from being too aggressive in BOTH directions). Full playbook: PETG vs PLA.

Can I use any glue stick or only specific brands?

Most school glue sticks work. The community standard is Elmer's purple disappearing because it's cheap, water-soluble (washes off), and the purple color shows you where you've applied it. Avoid permanent glue sticks (designed for paper) and craft sticks with glitter or scent — the additives mess with adhesion. Magigoo and similar 3D-specific products are formulated for higher temps and longer-running prints; worth it for ABS or production use.

What if my bed leveling looks fine but spaghetti keeps happening?

Bed leveling and adhesion aren't the same thing. A perfectly level bed with the wrong Z-offset, dirty surface, or wrong temperature still won't bond well. Run through this sequence: (1) clean bed with IPA, (2) recalibrate Z-offset by eye on a first-layer test print (look for wide ribbons, not bumpy lines), (3) verify bed temp matches filament spec, (4) add 8mm brim. If spaghetti continues after all four, the issue is upstream — a worn build plate, wet filament, or a hardware issue like a loose belt causing layer shifts.


If your last print spaghetti'd and you can't tell if it was bed adhesion, layer shift, or warping in disguise, snap a photo of what's left on the bed (the spaghetti pile itself or the half-print that detached) and run it through the WhyItFailed AI diagnosis tool. The free first diagnosis examines the specific visual pattern and tailors the fix to your printer, slicer, and filament. Spaghetti looks the same regardless of cause; visual diagnosis catches the actual root cause faster than working through a checklist.