Manual or automatic bed levelling: what each one fixes, and why you need both

By Sina Esfahani, OmniTechs · Published 27 November 2026

Manual and automatic bed levelling are not two ways of doing the same job. Manual levelling, which Marlin and Klipper call tramming, means turning the screws under the bed until its surface is parallel to the plane the nozzle moves in. Automatic levelling means a probe measures the bed at a grid of points, and the firmware moves Z during the print to follow that shape.

Tram first, so the bed is as flat to the nozzle as the screws allow. Then let the mesh handle what screws cannot fix: a bed that is bowed or twisted (Marlin). A mesh can follow a tilt too, but every millimetre of tilt becomes extra Z movement on every layer, and the mesh only knows the points it measured.

Neither method sets the nozzle height. A first layer that is too high or too low by the same amount everywhere is the Z offset, covered in how to set the Z offset.

Get a level first layer in this order:

  1. Tram the bed: paper with light drag at each screw, at least two full rounds.

  2. With a probe, repeat until every screw needs less than about 6 minutes of a turn (Klipper).

  3. Then set the Z offset; changing the tilt invalidates it when the probe sits beside the nozzle (Klipper).

  4. Measure the mesh: G29 then M500 on Marlin, BED_MESH_CALIBRATE on Klipper; Prusa and Bambu Lab printers do it before each print.

  5. Make sure the mesh is used: M420 S1 after G28 on Marlin, BED_MESH_PROFILE LOAD=default on Klipper.

  6. Print a single layer over the whole plate and check every area.

What your first layer tells you

Levelling symptoms and fixes

From the Marlin tramming, levelling and Z offset pages, the Klipper bed mesh and probe pages, and an accepted Stack Exchange answer, read on 27 November 2026.
What you seeWhat it meansWhat to do
Thick on one side, thin on the otherThe bed is tiltedTram the screws
Corners right, middle too thin or too thickThe bed is bowed; screws cannot fix itMeasure a mesh after tramming
Too high or too low by the same amount everywhereThe Z offset is wrong, not the levellingSet the Z offset
A mesh was measured, but the first layer ignores itLevelling is switched off after homing, or the mesh is not loadedAdd M420 S1 or BED_MESH_PROFILE LOAD to the start G-code
G29 in the start G-code does nothingIt sits on the same line as G28Put every command on its own line
The mesh changes from run to runThe probe does not repeatTest the probe before you trust a mesh
You keep raising corners and run out of screw travelEach high corner becomes the new referenceLower all screws equally and start again mid-range

Tramming and a mesh do different jobs

Manual tramming versus a probe mesh

Based on the Marlin bed tramming and levelling pages and the Klipper bed mesh documentation, read on 27 November 2026.
QuestionManual trammingAutomatic mesh
What changesThe physical tilt of the bedThe Z movement during the print
What you needAdjustable screws or knobs, and paperA probe or nozzle sensor, and firmware support
What it correctsA bed that is higher on one side or cornerA bed that is bowed, twisted or has small dips
What it cannot correctA bed that is not flatA wrong Z offset, loose mechanics, an inaccurate probe, a dirty plate
When to do itAfter building, a bed or spring change, a crash, or a first layer thick on one sideBefore each print on many printers, or after the bed has changed

That is why a printer sold with "automatic bed levelling" still needs a trammed bed. Ricky Impey's video makes this point; its chapters run from tramming the bed by hand to checking the probe, creating the mesh, zeroing Z and the slicer start G-code.

3d Printer Automatic Bed Leveling - 6 steps to perfection! (Ricky Impey)

How to tram the bed by hand

Marlin's routine for a bed on three or four screws:

  1. Heat the bed to printing temperature if you can, and let it settle for a few minutes.

  2. Clean the nozzle tip. A blob of plastic makes every corner read high.

  3. Home the printer and move the nozzle over the first screw. On Marlin displays this is Probe and Level, Bed Tramming.

  4. Slide a sheet of plain paper under the nozzle and turn that screw until the paper moves with slight drag.

  5. Repeat at each screw, then go round again. Turning one screw tilts the bed around the others, so go round at least twice and stop when a full round needs no change.

Klipper prefers the paper test with nozzle and bed at room temperature. The hot nozzle expands by about the thickness of the paper, it leaves plastic on the paper, and a hot nozzle and bed can burn you. What matters most is the same feel and the same temperature at every screw.

Which way to turn depends on the printer. On Bambu Lab's X1, P1 and P2S, tightening a levelling screw moves the bed away from the nozzle and loosening brings it closer. Marlin's tip for other printers: turn one knob a quarter turn clockwise and watch whether that corner comes up.

Ricky Impey's shorter video shows a simple manual levelling routine for a good first layer.

3d Printer Bed levelling Method for beginners and pros (Quick and easy) (Ricky Impey)

Let the probe tell you how far to turn

A probe can measure above each screw and calculate the turn for you.

  • Klipper: SCREWS_TILT_CALCULATE reports each screw against the first one, such as "adjust CW 01:15". That means one full turn and a quarter clockwise; minutes are minutes of a clock face. Repeat until every adjustment is below about 6 minutes.

  • Marlin: G35 asks for the screw thread, such as M3 or M4, and converts height into turns. It measures once, so run it again after adjusting.

  • Bambu Lab X1 and P1: the bed is trammed in the factory. Bambu Lab's tramming G-code is only for a bed you know is off, or when support asks for it; it pauses 30 seconds at each knob while you turn it until the nozzle just touches the plate.

Worked example. One corner is 0.1 mm lower than the reference. On an M3 screw, one turn moves the bed 0.5 mm, so you need 0.1 / 0.5 = 0.2 turn, which is 12 minutes on the clock face. That is Marlin's own example; on an M4 screw (0.7 mm per turn) the same 0.1 mm is about 9 minutes.

Springs, rigid mounts and the gantry

Spring-mounted beds are easy to adjust and easy to knock out of tram. Teaching Tech's video looks at what bed springs do, the problems they cause and how printers without springs handle levelling.

Is it time for 3D printers to abandon bed springs? (Teaching Tech)

Check the gantry too. On an Ender 3 whose X axis was not level, an accepted answer on the 3D Printing Stack Exchange traced the cause to a vertical rail not mounted flush and a roller bracket that needed adjusting, not the bed. On printers with two Z motors, Marlin says to align them with G34 before measuring a mesh, or you tram the bed to a crooked gantry.

What an automatic mesh does, and what it cannot fix

The probe measures a grid of points and the firmware fills in the heights between them. Marlin's bilinear mesh follows the contours it measured. Its three-point and linear modes correct only an overall tilt and assume a flat bed, so Marlin recommends bilinear unless you know the bed is very flat.

Grid sizes vary. Prusa's MK3-family printers use 3 by 3 points by default and can go to 7 by 7 under Settings, Mesh bed leveling. The MINI uses 4 by 4. The LoadCell printers (MK4/S, MK3.9/S, XL) measure only within the area of the print you are about to start. Klipper's adaptive mesh does the same, and Klipper says such a mesh should never be reused. It is also best on machines whose full mesh varies by no more than one layer height.

Fade is the other setting to know. With fade, the correction shrinks layer by layer until, above the fade height, the printer moves flat again, so the top of the part does not copy the bed's shape. Marlin sets it with M420 Z. Klipper has fade off by default and calls a fade end of 10 mm, with the default fade start of 1 mm, a sane value to begin with.

What a mesh cannot fix

Klipper states it plainly: software can only approximate the bed shape, and it cannot compensate for mechanical or electrical problems.

  • A wrong Z offset. In Marlin's words, a mesh with the wrong offset is a perfect copy of the bed held at the wrong height everywhere.

  • An unreliable probe. Klipper's PROBE_ACCURACY probes one spot ten times; a range above 0.025 mm means the probe is not accurate enough for typical levelling. Probe faults are covered in BLTouch and CR Touch probe offsets and failures.

  • Loose mechanics. A wobbling carriage, loose wheels or a moving hotend change between measurement and print.

  • A dirty or badly seated plate. Grease on the sheet or a crumb under it is not a levelling problem; see first layer not sticking to the bed.

Prusa's older printers add Bed Level Correction for what the mesh leaves: each side can be shifted by up to 0.1 mm. Prusa's example starts from Live adjust Z at -1.000 with the rear too squashed and gaps on the right; the fix ended at +25 microns for the rear and -10 for the right. Prusa suggests steps of 10 microns.

Make sure the mesh is actually used

Many forum questions come down to a mesh that was measured and then ignored.

  • Marlin switches levelling off when it homes. By default G28 disables bed levelling, so put M420 S1 after G28 in the slicer's start G-code. After G29 the mesh lives only in memory until you save it with M500.

  • One command per line. G-code is read line by line, so G29 written on the same line as G28 is ignored.

  • Klipper no longer loads a saved mesh at start-up. Add BED_MESH_PROFILE LOAD=default, or BED_MESH_CALIBRATE, to your start macro or the slicer's start G-code.

  • Bambu Lab printers level before a print only when Auto Bed Leveling is on in the print dialog, or under Advanced Options on the P2S screen.

How these lines fit into a start script is explained in start and end G-code. The commands themselves are in the G-code commands you will edit.

How often to measure again

When the makers re-run levelling

Default behaviour and triggers as published by Bambu Lab, Prusa, Marlin and Klipper, read on 27 November 2026.
Printer or firmwareDefault behaviourMeasure again when
Bambu Lab P2S and A1Quick levelling before each print if the option is onThe plate is changed, the printer is moved or stored for a long time, or the heatbed is taken apart
Prusa MK3-family, MINI and LoadCell printersMesh measured before each printNothing to start by hand; Bed Level Correction resets to 0 after the calibration wizard
MarlinA saved mesh is reused after M420 S1The bed or its tram has changed; save the new mesh with M500
KlipperA saved profile, a fresh mesh in the start macro, or an adaptive mesh per printThe probe was recalibrated or the bed tilt changed

For a stored mesh, an accepted answer on the 3D Printing Stack Exchange gives a sound rule. You do not need a new mesh for every print as long as the bed has not changed: nobody leaned on it, the screws did not move, and you are not printing at a very different bed temperature.

Klipper adds a safety net for stored meshes. SCREWS_TILT_CALCULATE MAX_DEVIATION=0.01 in the start G-code stops the print if the bed has drifted by more than 0.01 mm, so you can adjust the screws first.

When the problem is not levelling

If tramming and a fresh mesh still leave one area wrong, look at the hardware: a bent sheet, worn springs, a loose bed carriage or a probe that does not repeat. Switch the printer off and unplug it before you replace springs or tighten the carriage. Klipper's advice for an unreliable probe is blunt: do not use it for bed levelling until it is fixed.

The next step depends on what you found. A whole first layer at the wrong height needs the Z offset guide. A level, correctly set plate that still lets go needs first layer not sticking to the bed, which starts with cleaning.