Most failed prints are decided in the first two minutes. If the first layer isn’t well stuck and even, everything on top inherits the problem: corners that lift, parts that come loose halfway through or warped bases. In this guide you’ll learn to recognize a good first layer, which slicer settings control it and how to correct it live without canceling the print.
In short
- The Z offset matters most: the nozzle should slightly squish the filament against the bed.
- The first layer should be thicker, wider and slower than the rest, with the part cooling fan off or nearly off.
- A grease-free bed sticks better than any trick; fine-tune live with babystepping.
First things first: a level bed
This guide assumes the bed is level or that you have an active probe mesh. If not, no first layer setting will make up for it. You’ll find the full process, including how to measure the Z offset with paper, in how to level a 3D printer bed.
What a good first layer should look like
The first layer isn’t laid down: it’s squished. The gap between nozzle and bed is a bit smaller than the natural thickness of the strand, so the plastic spreads out and merges with the line next to it.

| Symptom | Most likely cause | What to do |
|---|---|---|
| Round, separate lines with gaps between them | Nozzle too high | Lower the Z offset in 0.02 mm steps |
| Lines that peel off when you run a finger over them | Nozzle too high or dirty bed | Lower the Z offset and clean the bed |
| Flat, smooth surface, joined lines without ridges | Correct | Save the value |
| Rough surface, ridges, ripples at the sides | Nozzle too low | Raise the Z offset |
| See-through areas or no plastic, nozzle scraping | Far too low: the extruder can’t push | Raise the Z offset and check whether the extruder is slipping |
| Elephant’s foot: the base bulges outward | Too low or bed too hot | Raise the Z offset slightly or lower the bed temperature |
| Good in one area, bad in another | Bed out of level or mesh not loaded | Check the leveling |
A quick test: print a single-layer square and peel it off. It should come away as one whole sheet, with no holes and the lines fused together.
The slicer settings that matter
First layer height
With a 0.4 mm nozzle, 0.2 to 0.3 mm is typical. A first layer somewhat thicker than the rest is more forgiving of small bed irregularities: a 0.05 mm error is a quarter of 0.2 mm, but only a sixth of 0.3 mm.
Line width
Many slicers let you use a wider first layer line, for example between 110 and 150% of the nozzle diameter. Wider lines mean more contact area.
Speed
The first layer is printed slowly: 15 to 30 mm/s is a common range. That gives the plastic time to melt properly and stick, and gives you time to see it and correct it.
Temperatures and fan
- Nozzle: a few degrees more on the first layer helps adhesion, without overdoing it.
- Bed: whatever the filament manufacturer recommends. Hotter doesn’t always stick better; with PLA, too much heat causes elephant’s foot.
- Part cooling fan: off or very low on the first layer. Cooling the plastic before it’s squished reduces adhesion.
| Setting | First layer | Other layers |
|---|---|---|
| Height (0.4 nozzle) | 0.2–0.3 mm | 0.1–0.28 mm |
| Line width | 110–150% | about 100–120% |
| Speed | 15–30 mm/s | Per profile |
| Fan (PLA) | 0% or very low | High |
Cleaning the bed
Finger grease is enemy number one. Touching the bed just once is enough to make that spot stick worse.
| Surface | Usual cleaning | What to avoid |
|---|---|---|
| Smooth or textured PEI | Isopropyl alcohol (IPA) between prints; now and then, hot water with dish soap and drying it completely | Acetone on smooth PEI, unless the manufacturer allows it |
| Glass | IPA or soapy water | Scratching it with metal blades |
| Coated magnetic surfaces | Per the manufacturer; usually IPA | Flexing them while hot |
Steps for a deep clean of a PEI sheet:
- Take the sheet off and wash it with hot water and a few drops of dish soap.
- Rinse it well so no soap residue is left.
- Dry it with lint-free paper.
- From then on, touch the sheet only by the edges.
IPA works for daily maintenance, but it doesn’t always remove all the built-up grease; washing with soap does.
Adhesion: when you need help
If the bed is clean and the Z offset is right, PLA and PETG usually stick without help. Adhesion aids make sense in these cases:
- Brim: a flange of several lines around the part. It increases the surface area and holds down the corners. Useful for parts with a small base or materials that shrink, like ABS and ASA.
- Mouse ears: small discs at the corners only. Less plastic than a full brim.
- Raft: a full base under the part. Rarely needed with a modern bed, and it leaves a worse bottom finish.
- Adhesives (glue stick, dedicated sprays): useful on glass or for difficult materials. On PEI with PETG, some people use them as a release layer, because PETG can stick so well that it tears chunks out of the sheet.

If the problem is corners lifting hours later, it’s not the first layer but warping, which has its own diagnosis in the 3D printing problems guide.
Live tuning with babystepping
Babystepping moves the nozzle in Z while printing. It’s the fastest way to fine-tune: start a test square and keep correcting while you watch.

Steps:
- Start a test print that covers a good part of the bed.
- While the first layer is printing, open the Z adjustment option on the screen (in Marlin it’s usually called Babystep Z; in Klipper, from the web interface or with commands).
- Correct in small steps, 0.01 to 0.02 mm, and wait to see a couple of lines before the next change.
- Once it looks right, save the value; otherwise it’s lost on restart.
In Marlin, if the firmware has babystepping enabled:
M290 Z-0.02
M500
M290 moves live. If the firmware has babystepping linked to the probe offset, the adjustment is added to the Z offset and M500 saves it to EEPROM.
In Klipper:
SET_GCODE_OFFSET Z_ADJUST=-0.02 MOVE=1
Z_OFFSET_APPLY_PROBE
SAVE_CONFIG
Z_OFFSET_APPLY_PROBE transfers the adjustment to the probe offset (with a mechanical endstop you use Z_OFFSET_APPLY_ENDSTOP). SAVE_CONFIG restarts Klipper, so do it after the print finishes.
Remember the sign: negative brings the nozzle closer to the bed, positive moves it away.
Common mistakes
- Correcting with a cold bed. The bed and nozzle expand when they heat up; always adjust at printing temperature.
- Changing the Z offset in big jumps. Steps of 0.1 mm jump from “doesn’t stick” to “scrapes”.
- Touching the bed with your fingers right after cleaning it.
- Raising the bed temperature for everything. If the nozzle is too high, more heat won’t fix it.
- Mistaking a first layer issue for extruder calibration. If the squares come out with gaps even though the Z offset is right, check the extruder e-steps.
- Not saving the babystepping when you’re done.



