Nozzle School

Nozzle School · Troubleshooting

Pillowing: How to Fix Gaps, Holes and Bumps in Top Layers

Why the top surface of a 3D print has bumps, gaps or pinholes (pillowing) and how to fix it: top layers, infill, cooling, flow, speed and ironing settings.

Getting better19 min readby Sam

Pillowing is when the flat top of a 3D print comes out lumpy, with soft bumps, gaps between lines or small holes, as if the surface was stuffed like a pillow. It happens because the first top layer has to span the open gaps in the infill below, so it sags into them, and there aren’t enough layers above it to fill the dips back in. You fix it by printing more top layers (a top shell of about 0.8–1.2 mm), giving the top layers more cooling, using a little more infill under large flat tops, and checking that flow and speed are right.

This guide shows how to recognise pillowing, how to tell it apart from faults that look similar, and what to change in OrcaSlicer, Bambu Studio, PrusaSlicer and Cura. It applies to any FDM printer and any filament, though PETG and fast, hot prints show it most.

Quick fix checklist

Re-print the same part, or a 30–40 mm flat-topped box, after each change:

  1. Add top layers. Aim for a top shell of 0.8–1.2 mm: 4–6 layers at 0.2 mm, more at thinner layers.
  2. Turn up cooling for the top layers, especially on PETG and ABS where the fan normally runs low.
  3. Raise infill density to about 15–20 % under large flat tops, or use a pattern with smaller gaps.
  4. Check flow: an under-extruded top layer can’t close its gaps.
  5. Slow down top surfaces if your profile prints them fast.
  6. Check internal bridge settings in OrcaSlicer, Bambu Studio and Cura.
  7. Dry the filament if the surface also has bubbles and pinholes.
  8. Use ironing for tops that must look perfect.

What is pillowing?

A 3D print isn’t solid inside. The slicer builds it from:

  • Walls (perimeters): the outside skin, usually 2–4 lines thick.
  • Infill: a sparse lattice inside, often 10–20 % of the space, which saves plastic and time.
  • Top and bottom layers (the top and bottom shell, or skin): solid layers that close the part.

The first top layer has a hard job. It’s printed straight onto the infill, so between infill lines it has nothing underneath: it’s effectively a row of tiny bridges across the gaps. Those little bridges sag. The next top layer sits on a slightly dented surface and fills it in a bit, and the next fills it more. With enough top layers, the final surface is flat. With too few, the dents and gaps show through as pillowing.

What pillowing looks like

  • Soft bumps or puffy areas on flat top surfaces, often in a grid that matches the infill pattern underneath.
  • Gaps between top lines, sometimes with the infill visible through them.
  • Small pinholes, especially in the middle of large flat areas.
  • Rough, curly lines in the top layer where the plastic has lifted.
  • Worse on large flat tops than on small ones, and worse in the middle than near the walls, where the top layer has the walls to hold on to.

It’s mostly a looks problem, but a top surface with holes in it also leaks (bad for cups and containers) and is weaker than a closed one.

Pillowing and faults that look similar

  • Under-extrusion: gaps and thin lines on every layer, including walls, not just the top. If your walls also look thin, fix that first; see under-extrusion.
  • Over-extrusion: the top surface is ridged, with raised edges between lines and a rough, matte finish. That’s too much plastic, the opposite problem; see over-extrusion.
  • Nozzle scars: straight scratches or drag marks across the top, from the nozzle travelling over the finished surface. Usually fixed with a small Z-hop.
  • Wet filament: bubbly, rough surfaces and pinholes everywhere, often with popping sounds while printing. See how to dry filament.
  • Poor overhangs: curled, rough edges on surfaces that lean out, not on flat tops. See poor overhangs.

Why pillowing happens

The first top layer is a bridge

Picture 15 % grid infill in a 0.4 mm nozzle print. The infill lines are several millimetres apart, so the first solid layer above them crosses gaps of several millimetres with nothing below. Just like a long bridge, the hot line sags in the middle of each gap, and it can curl up at the edges as it cools and shrinks.

The slicer’s job is to stack enough solid layers on top that the last one is flat. Each layer above the first one has more to sit on, so the dips get shallower until the surface closes.

What makes it worse

  • Too few top layers. With 2–3 top layers, the dips from the first layer don’t have time to fill in.
  • Thick layers. Layer count matters, but so does thickness. Three layers at 0.28 mm cover more than three at 0.12 mm, but the first one still has the same gaps to bridge.
  • Sparse infill. Wider gaps mean longer mini-bridges and deeper sag. Very low densities (5–10 %) and patterns like lightning infill, which only supports the top, leave big gaps.
  • Weak cooling. A hot line that stays soft sags further. PETG and ABS, usually printed with little fan, pillow more than PLA.
  • Under-extrusion. Thin top lines leave gaps of their own that the next layer can’t close.
  • Speed. Fast top layers get less cooling per millimetre and the nozzle drags the soft lines.

3 top layers · shell 0.60 mm · infill 10 % · fan 100 % · closed: yes (smooth)

  • ↑ ↓ top layers ±1, 2–7 (or drag ↕)
  • ← → infill ±5 %, 5–25 %
  • F part-cooling fan ±25 % (Shift −), 0–100 %
  • Space print the top again
  • Home reset: 3 top layers, 10 % infill, fan 100 %
Sparse infill is a row of thin walls with gaps between them (0.45 mm lines, 0.45 mm ÷ infill apart, so about 4.5 mm at 10 %), and the first top layer has to bridge those gaps. A bridge sags in the middle, more with longer gaps and less with more cooling, and a long, droopy one breaks into strands that leave holes. Each layer above lands on the one below and fills most of what is left, so the surface closes after enough top layers: about 0.8–1.0 mm of shell (4–5 layers of 0.2 mm) is a common starting point, more with sparse infill. The sag, its shrinking per layer and the "closed" threshold come from a simple model and are approximate; the top layers' thickness and sag are drawn 3× larger than they are (the deepest sags a little less).

Cause and fix reference

What you see Most likely cause Fix Step
Bumps and gaps in a grid matching the infill Too few top layers More top layers, thicker top shell 1
Pillowing on PETG or ABS, fine on PLA Not enough cooling on top layers More fan for top layers and internal bridges 2
Worst in the middle of big flat tops Infill too sparse Raise density or change pattern under the top 3
Gaps between top lines, thin walls too Under-extrusion Calibrate flow, check for clogs 4
Rough, dragged top lines at high speed Top surface printed too fast Slow top and internal solid layers 5
First top layer sags between infill lines Internal bridge settings Tune internal bridge flow and speed 6
Pinholes plus bubbles and popping Wet filament Dry the filament 7
Small, even imperfections remain Normal top surface texture Ironing, monotonic top pattern 8

Step 1: Add more top layers

Start here: it fixes most pillowing on its own. You set the top shell in two ways, and most slicers use whichever gives the thicker result:

  • Top layers (top shell layers, top solid layers): a number of layers.
  • Top thickness (top shell thickness, minimum shell thickness): a thickness in millimetres. If the layers you asked for are thinner than this, the slicer adds layers.

A good target is a top shell of 0.8–1.2 mm:

Layer height Top layers for about 0.8–1.2 mm
0.12 mm 7–10
0.16 mm 5–8
0.20 mm 4–6
0.28 mm 3–5

Go towards the top of the range when you also use low infill (10 % or less), PETG or ABS, or when the part has a large flat top. Each extra layer costs a little time and plastic, so for small parts with little top area, the lower end is fine.

0.20 mm · 50 % of 0.4 · 100 layers · time 1.0× · 8.1 mm³/s · good squish

  • Drag ↕ layer height
  • ↑ ↓ layer height ±0.02 mm, 0.08–0.36
  • N next nozzle: 0.2 · 0.4 · 0.6 mm (or click a hole on the gauge plate)
  • 1 2 3 0.2 · 0.4 · 0.6 mm nozzle
  • Home reset: 0.4 mm nozzle, 0.20 mm layers
Each layer is one flattened line, here 113 % as wide as the nozzle (0.45 mm from a 0.4 mm nozzle; slicers use about 100–120 %) and as tall as the layer height. The nozzle's flat tip presses it onto the layer below, and the two fuse along the flat strip where they touch. Between about 25 and 75 % of the nozzle diameter (the shaded band on the dial) the squish is good; above 75 % the line stays nearly round and rests on the one below over a narrow neck, so layers bond weakly; very thin layers multiply the layer count. A 20 mm part needs 20/h layers; print time is shown relative to 0.20 mm layers, and the plastic the hotend must melt is the line's area times 100 mm/s. Line shapes come from the slicer's rounded-rectangle model; the nozzle and wall are drawn to one scale, the hardware above is shortened.

Step 2: Cool the top layers

The first top layer is a series of small bridges, and bridges need cooling. If the plastic stays soft, it sags into the gaps and curls up at the edges.

  • PLA: usually printed at 100 % fan already. If yours runs lower, raise it.
  • PETG: normal fan is often 30–60 %. That’s fine for walls but low for the first top layer. Raise the internal bridge or overhang fan if your slicer has one, or raise the overall fan by 10–20 % and watch layer strength.
  • ABS and ASA: usually little fan. Use the bridge fan setting (around 30–60 %) rather than more fan everywhere, which can crack the part.

Check the fan itself too: it should start after the first layer or two and blow at the nozzle tip. A blocked or cracked duct weakens all your top surfaces. See poor overhangs for how to check the fan and duct.

Step 3: Give the top more to sit on

The sparser the infill, the wider the gaps the first top layer must bridge.

  • For parts with large flat tops, raise infill density to about 15–20 %. Below about 10 %, add extra top layers to make up for it.
  • Pick an infill pattern that gives even support under the top. Grid, gyroid, cubic and rectilinear all work. Lightning infill is built to support only the top surfaces with as little plastic as possible, so it needs plenty of top layers.
  • Some slicers can add denser infill just under the top (Cura’s Gradual Infill Steps, for example), which saves plastic in the rest of the part.

Step 4: Check flow and line width

If the top lines are too thin, there are gaps between them on every top layer, not just the first, and the surface never closes.

How to recognise it: gaps between neighbouring top lines that you can see through, thin walls, and a top that looks like separate strands rather than a sheet. Look at a wall from the side, too: if layers look thin or gappy there, it’s under-extrusion, not pillowing.

The fix:

  • Calibrate flow for the filament. The slicer’s flow test or a single-wall cube shows whether lines come out the right width. See flow rate calibration.
  • Check for a partial clog if flow has dropped over time. See how to unclog a nozzle.
  • Check the top surface line width hasn’t been set narrower than the rest. Around 100–110 % of the nozzle (0.40–0.45 mm on a 0.4 mm nozzle) suits top surfaces.
  • Some slicers have a separate top surface flow. Raise it only a little (1–3 %) and only after the main flow is right, or you’ll swap pillowing for a ridged top.

flow 1.00 · 1.75 mm filament · asks 0.45 · lays 0.45 mm · flat, touching

  • Drag ↔ flow ratio
  • ← → flow ±0.01 (Shift ±0.05), 0.85–1.15
  • ↑ ↓ filament diameter ±0.01 mm, 1.70–1.80
  • 1 2 3 too low · right · too high
  • Home reset: 1.00 on 1.75 mm
The slicer plans a 0.45 × 0.20 mm line, works out the filament for it assuming 1.75 mm filament (0.034 mm of filament per mm of line) and multiplies that by the flow ratio. The plastic that arrives is that length times the real filament's cross-section, so thicker filament adds about 1.2 % per 0.01 mm. The nozzle tip holds the line at the layer height, so extra plastic makes it wider and too little makes it narrower: below about 0.90 gaps open between lines laid 0.407 mm apart, near 1.00 they just touch, and above it the surplus is pushed up beside the tip into ridges. Line shapes come from the slicer's simple rounded-rectangle model; the hardware above the nozzle is shortened, while the nozzle, lines and filament are drawn to one scale.

Step 5: Slow down the top layers

Top surfaces are usually printed slower than infill, but some fast profiles push them hard. At high speed, each line gets less cooling, the nozzle drags the soft plastic, and the hotend may not melt enough plastic to keep up, which thins the line.

  • Keep the top surface speed around 30–100 mm/s depending on your printer: slower on older bed-slingers, faster on CoreXY printers with strong cooling.
  • Slow the internal solid infill a little if your profile prints it very fast; it’s the layer below the top surface.
  • If you’ve raised speeds overall, go back to the printer maker’s profile and compare.

Step 6: Tune internal bridges

Several slicers recognise the first top layer over sparse infill as an internal bridge and print it with bridge-style settings: slower, with more fan and a tuned flow.

  • OrcaSlicer has Internal bridge flow ratio, Internal bridge density, Thick internal bridges and Internal bridges fan speed. Thick internal bridges is often helpful against pillowing, because thicker lines sag less.
  • Bambu Studio has Thick bridges and a single bridge flow; it has no separate internal bridge settings.
  • PrusaSlicer (2.6 and later) also detects solid layers over sparse infill and prints them as bridges, using its Bridge flow ratio and Thick bridges settings.
  • Cura has a set of bridge settings (Bridge Skin Speed, Flow, Density and Fan Speed) under Experimental, which apply to skin printed over air once you turn on Enable Bridge Settings.

Change one at a time and print the same part each time.

Where to find these settings in your slicer

Setting OrcaSlicer / Bambu Studio PrusaSlicer Cura
Top layers Process → Strength → Top/bottom shells → Top shell layers Print Settings → Layers and perimeters → Horizontal shells → Solid layers: Top Top/Bottom → Top Layers
Top thickness Process → Strength → Top/bottom shells → Top shell thickness Print Settings → Layers and perimeters → Horizontal shells → Minimum shell thickness: Top Top/Bottom → Top Thickness
Infill density and pattern Process → Strength → Infill (Bambu Studio: Sparse infill) → Sparse infill density, Sparse infill pattern Print Settings → Infill → Fill density, Fill pattern Infill → Infill Density, Infill Pattern
Top surface pattern Process → Strength → Top/bottom shells → Top surface pattern Print Settings → Infill → Top fill pattern Top/Bottom → Top/Bottom Pattern
Ironing Process → Quality → Ironing → Ironing type Print Settings → Infill → Ironing → Enable ironing Top/Bottom → Enable Ironing
Internal bridges OrcaSlicer: Process → Quality → Bridging (Internal bridge flow ratio, Thick internal bridges); Bambu Studio: Process → Quality → Advanced → Thick bridges Print Settings → Layers and perimeters → Thick bridges; Print Settings → Advanced → Bridge flow ratio Experimental → Enable Bridge Settings
Bridge fan Filament settings → Cooling → Internal bridges fan speed (OrcaSlicer); Fan speed for overhang (Bambu Studio) Filament Settings → Cooling → Bridges fan speed Experimental → Bridge Fan Speed

Many of these only show in the slicer’s Advanced or Expert view. Menu names move between versions, so if you can’t find a setting, type its name into the settings search box. For a tour of the menus, see how to use a slicer.

Step 7: Rule out wet filament

Filament that has absorbed moisture from the air boils as it melts. The steam makes bubbles and holes in the line, which look like pinholes on top surfaces, and the plastic oozes and strings.

How to recognise it: popping or crackling sounds from the nozzle, a rough, matte or bubbly surface on walls as well as the top, and more stringing than usual. PETG, TPU and nylon pick up moisture fastest, but old PLA does too.

The fix: dry the spool in a filament dryer or an oven that holds a low temperature accurately, then store it sealed with desiccant. See how to dry filament for times and temperatures.

Step 8: Finish the surface with ironing

Once the top is closed, two settings make it look better:

  • Monotonic top pattern. Monotonic (or monotonic lines) prints the top lines in one direction, so they all overlap the same way and catch the light evenly. Most slicers offer it as a top surface pattern.
  • Ironing. After the top layer, the hot nozzle passes over it again with a tiny amount of plastic, smoothing ridges and filling small gaps. It adds time, so use it only on tops that matter, and use the topmost surface only option where your slicer has one.

Ironing polishes a closed surface. It won’t fix real pillowing with large dips and holes, so add top layers first.

Settings by material

Material Nozzle Fan on top layers Top shell Notes
PLA 190–220 °C 100 % 0.8–1.0 mm The easiest; pillowing usually means too few top layers
PETG 220–250 °C 50–100 % for the first top layer 1.0–1.2 mm Prone to pillowing; more top layers and a stronger bridge fan help most
ABS / ASA 230–260 °C 30–60 % bridge fan 1.0–1.2 mm Keep the rest of the print gently cooled to avoid cracks
TPU 210–235 °C 30–60 % 1.0–1.2 mm Print slowly; soft lines sag easily

Start from the maker’s profile for your filament, then raise top layers and bridge fan if pillowing shows.

When pillowing won’t go away

If you’ve worked through every step:

  1. Look at the slicer preview layer by layer through the top of the part. Check how many solid layers there really are, and whether the first one is marked as a bridge. Small details like a thin rim can change what the slicer does.
  2. Check the infill isn’t sticking up. If infill lines curl or blob, the top layer rides over the bumps. Lowering infill speed or temperature can help.
  3. Re-check the nozzle height. A first layer that’s far too low doesn’t cause pillowing, but a badly warped part can lift into the nozzle’s path and disturb the top.
  4. Reset to the stock profile for your printer and filament, then change one setting at a time.

Your action plan

  1. Set the top shell to 0.8–1.2 mm (4–6 layers at 0.2 mm).
  2. Turn up cooling for top layers and internal bridges, especially on PETG and ABS.
  3. Raise infill to 15–20 % under large flat tops.
  4. Calibrate flow so top lines just touch.
  5. Slow down top and internal solid layers if your profile runs them fast.
  6. Try thick internal bridges or bridge settings in your slicer.
  7. Dry the filament if you see bubbles and pinholes.
  8. Use a monotonic top pattern and ironing for the final finish.

FAQ

What causes pillowing in 3D prints?

The first top layer has to span the gaps between infill lines, so it sags into them. If there aren’t enough top layers above it, the dips and holes show on the finished surface. Low infill, weak cooling, under-extrusion and high speed make it worse.

How many top layers do I need?

Enough for a top shell of about 0.8–1.2 mm: 4–6 layers at 0.2 mm, 7–10 at 0.12 mm. Use the higher end with sparse infill, PETG, or large flat tops.

Does more infill fix pillowing?

It helps, because the gaps the first top layer has to bridge get smaller. But adding top layers usually fixes it with less extra plastic. Use both for large, flat, visible tops.

Why does PETG pillow more than PLA?

PETG is usually printed with much less part-cooling fan, so the first top layer stays soft longer and sags more between infill lines. Raise the bridge or overhang fan for top layers and add a layer or two.

Will ironing fix pillowing?

Not on its own. Ironing smooths a closed top surface; it can’t fill real dips and holes. Fix the top layers, cooling and flow first, then use ironing for the final polish.

Why do I have holes only in the middle of the top?

Near the walls, the top layer has the walls to rest on; in the middle, it only has sparse infill. That’s classic pillowing, so add top layers or infill.

If the top layers sag like a bridge, the same physics is behind poor overhangs. To get line width right, see flow rate calibration and under-extrusion, and if the top is ridged rather than gappy, see over-extrusion. For the settings themselves, read how to use a slicer and layer height explained. New to printing? Start with the complete beginner’s guide.