The first layer makes or breaks a print. This optimizer recommends a first-layer height and line width tuned to your nozzle, layer height, and bed surface to maximise adhesion without over-squishing into elephant’s foot.
How it works
Two settings drive first-layer adhesion: height and width.
First-layer height is set independently of the model’s layer height. A thicker first layer squishes more plastic against the bed for grip, but a layer taller than the nozzle can extrude can blob. The rule of thumb is 0.2 to 0.3mm, capped at about 75% of the nozzle diameter. The optimizer picks a value in that band, never below your model’s layer height and never above the 75%-of-nozzle ceiling.
First-layer line width is expressed as a percentage of nozzle diameter. A wider line (100 to 150% of the nozzle) lays down more plastic per pass and fills surface texture, which resists peeling. Textured surfaces get the wider end; smooth surfaces the lower end.
Worked example
- Nozzle: 0.4mm, model layer height: 0.2mm, surface: textured PEI
- First-layer height: 0.28mm (in the 0.2-0.3 band, under the 0.30mm 75%-of-nozzle cap)
- First-layer width: 140% =
0.4 x 1.40 = 0.56mm(wider to fill the texture)
On smooth PEI the same nozzle would suggest around 120% width (0.48mm) with similar height.
Tips and notes
- Always tram (level) the bed and set a correct Z-offset first — no width setting fixes a bad first layer.
- If bottom edges bulge (elephant’s foot), nudge first-layer height up or drop initial-layer flow a few percent.
- Slow the first layer (around 20 mm/s) so the wider, taller line has time to bond.
- Clean the bed; oils from fingerprints defeat any adhesion setting.
All recommendations are computed locally in your browser.
How bed surface affects the optimal settings
Different build surfaces grip through different mechanisms, which is why a one-size-fits-all first-layer setting rarely works across all printers:
| Surface | Grip mechanism | Typical first-layer width | Height range |
|---|---|---|---|
| Smooth PEI (spring steel) | Mechanical bond on squish | 100–120% of nozzle | 0.2–0.28mm |
| Textured PEI | Deep valleys need infill | 130–150% of nozzle | 0.2–0.28mm |
| Borosilicate glass | Thermal adhesion when hot | 100–120% of nozzle | 0.2–0.30mm |
| Mirror glass (PETG-friendly) | Adhesion via natural grip | 100–115% of nozzle | 0.2–0.25mm |
| Painter’s tape | Texture and surface energy | 110–130% of nozzle | 0.2–0.28mm |
Common first-layer problems and fixes
Warping at corners: Usually too-cold bed or too-thin first layer. Increase the first-layer height slightly and check your bed temperature for the material. PLA typically works from 55–65°C; ABS/ASA need 90–110°C.
Elephant’s foot (bulging base outline): The first layer is being squished too hard. Small fix: raise Z-offset by 0.02–0.05mm. Larger fix: reduce initial-layer flow to 90–95%. Do not lower first-layer height, which removes the adhesion cushion.
Lines not bonding to each other: Line width is too narrow for the surface or the print speed is too high. Widen the first-layer line width and slow the initial speed to 15–20mm/s.
Nozzle dragging through lines: The Z-offset is too low. Raise it in 0.01mm steps. Never try to fix drag by reducing first-layer width — a thinner line still drags if the nozzle is too close.
Slicer terminology varies
Different slicers call these settings by different names:
- PrusaSlicer / SuperSlicer: First layer height (mm or %) and First layer extrusion width (mm or %)
- Cura: Initial Layer Height and Initial Layer Line Width
- Bambu Studio / OrcaSlicer: First layer height and First layer line width under Quality settings
The optimizer’s output — a height in mm and a width as a percentage of nozzle diameter — maps directly to these fields regardless of which slicer you use.