Z banding: find the cause of horizontal lines from their spacing

By Sina Esfahani, OmniTechs · Published 27 November 2026

Z banding is a pattern of horizontal lines or ridges up the side of a print. Bambu Lab defines it as stripes from inconsistent layer height or a fault in the Z axis. Four things cause it: the Z axis itself (a bent or dry lead screw, a worn nut, a misaligned coupler), a heated bed or nozzle whose temperature swings, a layer height that ends between motor steps, and extrusion that varies.

The spacing of the lines tells you which. Ridges every 8 mm on the common T8 screw point to the Z axis. Spacing that changes with print speed points to temperature. Random lines point to extrusion. One line where the shape changes is usually the model, not the printer.

Fix it in this order:

  1. Measure the spacing of the lines with a ruler or calipers and find it in the table below.

  2. If it matches the screw lead (8 mm on a T8), switch off and move the Z axis by hand, feeling for tight spots.

  3. Clean and grease the lead screws: every three months on a Bambu Lab P1, after about 500 print hours on a Prusa XL.

  4. Watch the bed temperature during a print; if it swings by more than a few tenths of a degree, run a PID autotune.

  5. On a T8 screw, use a full-step layer height: 0.12, 0.16, 0.20, 0.24 or 0.28 mm.

  6. For irregular lines, check that the nozzle is tight and the filament stays within 1.75 ± 0.02 mm.

What the lines tell you

Read the lines, then fix one cause

Built from Bambu Lab's layer-lines guide, Prusa's Benchy hull line article, CNC Kitchen's bed temperature test and Simplify3D's lines guide, read on 27 November 2026.
What you seeWhat it meansWhat to do
Ridges that repeat at the lead of the Z screw, every 8 mm on a T8Z wobble: bent screw, worn nut, misaligned coupler or motorZ axis checks with the power off
Spacing that changes when the same part is printed faster or slowerSomething cycling in time: bed or nozzle temperatureWatch the temperature, run a PID autotune
Fine bands every few layers at an unusual layer heightLayer height that is not a whole number of full stepsSwitch to a full-step layer height
Irregular lines with no fixed spacingExtrusion varies: filament diameter, a loose nozzle, a wobbling extruder gearExtrusion checks
One line, or two, where the shape changes: a deck, a box floorA sudden jump in layer time and shrinkage, not hardwareFillet or chamfer inside the model, print several parts at once
A line on the wall printed straight after a bridgeThe flow changes between the slow bridge and the faster wallFlow calibration, smoother speed changes
Lines that match the changes of variable layer heightAbrupt layer-height transitionsTurn on the smooth mode for variable layer height
Ripples after corners rather than lines round the partRinging, a vibration in X or YRinging guide

Ripples after corners belong in ringing and ghosting, not here.

Measure the spacing before you touch the printer

Hold a ruler against the wall and measure across several lines, then divide by the number of gaps. Say you count six ridges with five gaps over 40 mm: that is 8 mm per line, exactly one turn of a T8 screw, so the Z axis is the suspect.

If the spacing is ambiguous, use CNC Kitchen's test. Print two identical towers and change the speed of one at the printer while it prints. If the line spacing stays the same, the cause is the Z axis. If it changes, the cause cycles in time, such as a bed heater switching on and off. CNC Kitchen notes that temperature banding can, by coincidence, have roughly the screw's spacing, which is why this test helps.

A defect at one height on every face points to the Z axis at that height. An accepted answer on the 3D Printing Stack Exchange suggests removing the power and moving the axis slowly through that height, feeling for any hang-up, hesitation or looseness.

The Z axis: screw, nut, coupler and lubrication

The lead screw should only lift. A bent screw or a coupler that is off line pushes the nozzle sideways once per turn, and the wall shows one ridge per turn. Switch the printer off and unplug it before these checks.

  1. Feel the motion. Turn the screw or move the bed slowly by hand over its whole travel. Note any tight or rough spot and its height.

  2. Inspect the screw and nut. Bambu Lab replaces the Z parts on its H2 series when the screw is bent or warped or the nut is worn. Damaged threads also wear the brass nut, so replace both together.

  3. Clean, then grease. Bambu Lab says to check and grease the P1 lead screws every three months: clean off dust and plastic, apply a thin coat, move the bed to spread it and wipe the excess near the nuts. Prusa lubricates the XL leadscrews after about 500 hours of printing. What to use is in lubricating lead screws and rails.

  4. Check alignment. The motor, coupler and nut should line up, with every screw tight. Simplify3D names a Z rod that is not positioned properly among the mechanical causes.

Printed "Z wobble fixes" are popular. Teaching Tech fitted two community designs to two of his printers; his video description says they did not improve the print quality on those machines, though they may suit others. Check wear, alignment and grease before you buy or print one.

Two Z banding fixes for your 3D printer from the community (Teaching Tech)

Layer height and full steps

If a layer ends between two full steps of the Z motor, the axis can settle to the nearest full step and add an error. Prusa says this happens to some extent even with the motor enabled, and matters most for imperial screws and for unusual layer heights on metric ones. Treat it as a quick check, not the usual culprit.

Worked example: full steps on a T8 screw

Most stepper motors have 200 full steps per turn (1.8° motors), and the common T8 lead screw lifts 8 mm per turn (Klipper). One full step is then 8 ÷ 200 = 0.04 mm.

Full steps per layer on a T8 screw with a 1.8° motor

Arithmetic from Klipper's figures of 200 full steps per turn and 8 mm per turn for a T8 screw. A 0.9° motor has 400 full steps, so each step is 0.02 mm.
Layer heightFull stepsWhole number?
0.10 mm2.5No
0.12 mm3Yes
0.15 mm3.75No
0.16 mm4Yes
0.20 mm5Yes
0.24 mm6Yes
0.28 mm7Yes

On an older M8 threaded rod (1.25 mm per turn) a full step is about 0.006 mm, and almost any layer height lands close to one. For other screws, the lift per turn is the thread pitch times the number of thread starts (Klipper). Which layer height suits a surface is covered in choosing a layer height.

Temperature: a bed or nozzle that cycles

A heated bed expands and contracts as its temperature swings, and that moves the print surface up and down under the nozzle. CNC Kitchen found clear Z banding on a Prusa MK2.5 after setting its new Duet board to simple on-off (bang-bang) bed control. The swing was only about ±1 °C, and switching back to PID control removed the lines. Simplify3D makes the same point for the nozzle: a well-tuned printer holds within ±2 °C.

  1. Watch the bed and nozzle temperatures on the display during a print. CNC Kitchen calls a variation of a couple of tenths of a degree fine.

  2. If the reading swings more, run a PID autotune at your printing temperature. In Marlin, if the firmware was built with bed PID (PIDTEMPBED): M303 E-1 C8 S60 U1 for a bed at 60 °C (U1 applies the result), then M500 to save. In Klipper: PID_CALIBRATE HEATER=heater_bed TARGET=60, then SAVE_CONFIG.

  3. Stay with the printer while it tunes, because it heats up and cools down several times.

  4. On a printer whose firmware you cannot change, report the swing to the maker's support rather than modifying the electronics.

CNC Kitchen's video shows the bed-made banding and, from this point, how to tell it apart from Z wobble.

PID vs Bang-Bang Temperature Control (CNC Kitchen)

Extrusion and the model: irregular and single lines

When the lines have no fixed spacing, look at what comes out of the nozzle.

  • Filament. Simplify3D names poor filament as the most common cause of lines on the side of a print. Bambu Lab's tolerance is 1.75 ± 0.02 mm; try a spool with a steadier diameter.

  • A loose nozzle. Bambu Lab says a loose nozzle often causes random layer lines. On its printers, check the hotend clip and the nozzle fastening screws.

  • A wall after a bridge. The flow jumps between the slow bridge and the faster wall. Bambu Lab suggests its Flow Dynamics Calibration, then Process → Quality → Smooth speed discontinuity area with a lower Smooth coefficient (0.1 in its example), or an outer wall printed at the bridge speed. The calibrations behind this are in flow rate calibration.

  • One line where the shape changes. Prusa's Benchy hull line test: one thicker line or two thin ones at the deck is most likely not hardware, while uneven layers from top to bottom are. The cause is the sudden change from sparse infill to solid top layers, which changes layer time and shrinkage. Bambu Lab recommends an inner fillet or chamfer in the model first, then a lower overhang fan, Gyroid or Concentric infill with less infill/wall overlap (15% to -10% in its example), or several parts at once. Both makers say these reduce the line but may not remove it.

  • Variable layer height. If the lines match the layer-height changes, Bambu Lab suggests turning on its smooth mode.

MirageC's investigation of uneven extrusion starts here with a wobbling extruder gear, then moves on to filament diameter.

Extrusion Quality - Mystery issue resolved ! (MirageC)

When to replace a part

Replace the lead screw and nut together when the screw is bent, its thread is damaged or the nut has play that cleaning and grease do not remove (Bambu Lab). On a new printer, contact the seller first: an accepted Stack Exchange answer called a screw that arrived with damaged threads a factory or handling fault and advised asking the vendor for a new screw and nut. A heater that will not hold its temperature after a PID autotune is a support case, not a setting.

If grease fixed the lines, lubricating lead screws and rails tells you what to use on each part and how often. If the lines were random, flow rate calibration steadies the extrusion per filament. If you need the part rather than the practice, the 3D printing service prints PLA and PETG parts from your file.