Nozzle Notes
Troubleshooting

Pillowing 3D Printing: How to Fix Gaps in Top Layers

Pillowing in 3D printing is a lumpy top surface with small holes, caused by top layers sagging into the infill. More top layers, denser infill and stronger cooling usually fix it.

By Sepehr Sabbagh-pour · Published · Updated · 6 min read

All 3D printer problems

Illustration: a top-down close-up of a graphite printed square top surface with gaps and soft pillowed dips
AI-generated illustration

Pillowing in 3D printing is a lumpy top surface with small holes, caused by top layers sagging into gaps in the infill. It is usually fixed with more top layers, about 20% infill and the part cooling fan at 100% on the top layers.

Anycubic's guide describes the cause: insufficient infill support, inadequate cooling and a weak top layer let the top layers become thin, sag and sometimes collapse. The first layers over the infill have to bridge empty cells, and if they do not cool in time they droop into them.

Research-based guide. This article is compiled from manufacturer documentation and has not been checked on a test printer. Treat every number as a starting point and change one setting at a time.

Pick the likely cause

ObservationLikely causeFirst step
Holes in a regular pattern over the infillToo few top layersThicken the top shell
Bumps only on large flat topsSparse infillRaise infill density
Rough, shiny, drooping top skinToo hot or too little coolingFan to 100% on top layers
Fine pitting on small flat areasResidual small holesTry ironing

1. How many top layers do you need?

Aim for a top thickness of 5 to 6 times the layer height. Anycubic says a very thin top layer deforms easily and recommends that ratio. Its example is a 0.1 mm layer height needing 0.5 to 0.6 mm of top thickness. Applied to a 0.2 mm layer height, the same ratio gives about 1.0 to 1.2 mm, or 5 to 6 layers. Most slicers let you set either top layers or top thickness. For how layer height interacts, see layer height explained.

Layer heightTop thickness (5 to 6 times)Top layers
0.10 mm0.5 to 0.6 mm5 to 6
0.16 mm0.8 to 0.96 mm5 to 6
0.20 mm1.0 to 1.2 mm5 to 6
0.28 mm1.4 to 1.68 mm5 to 6

The rows are arithmetic from Anycubic's ratio, not separate tests. Anycubic adds that a thicker top also helps bed adhesion of the first layer, so the setting is useful even on prints without pillowing.

2. Will more infill fix pillowing?

Often yes, because the top layers need something to rest on. Anycubic says around 20% infill is typically enough for most models, and that a stronger pattern helps. It names concentric and lightning in Cura as patterns that support top layers while using little material. The trade-off is more filament and print time; see infill explained for the options.

3. Improve top layer cooling

Anycubic says to enable print cooling and make sure the fan runs at 100% on the top layer. Prusa's cooling article gives the logic: printing must always happen on an already solidified layer, and plastic over gaps has to freeze quickly, so fans matter. Prusa's slicer lets you set cooling per filament, including a minimum layer time and fan speeds. Check that the part cooling fan actually spins, because a failing fan produces exactly this look.

Fast cooling is not free for every material. Prusa notes that more cooling can cause warping or layer separation with some filaments, so use it where the top layers need it. If layers start to split, see fixing layer separation.

Prusa's cooling article lists the controls that decide whether the fan reaches the top layers in time. Auto cooling scales fan speed between a min and a max depending on how long each layer takes, and slows the print if a layer would finish faster than the slow-down threshold. A small flat top is a short layer, so a slicer without a fast fan ramp can leave it under-cooled. Prusa also offers a separate bridges fan speed, which it says should be higher than normal printing, and notes that a fan that reaches speed too late can leave overhangs sagging. Anycubic's example is a printer rated for 500 mm/s with 300 mm/s standard speed, where rapid layer cooling matters more because each top layer is laid down so quickly.

4. Check temperature

Anycubic names temperature as one of the biggest factors. A cooler nozzle gives the plastic less time to stay soft over the gaps. Stay inside the range printed on the spool and change in small steps, rechecking layer bonding after each change.

5. Does ironing fix pillowing?

It can help on flat tops, at the cost of print time (see ironing in 3D printing explained). Prusa explains that ironing runs a second pass over the top surface in which the hot nozzle flattens curled plastic and fills small holes with a tiny amount of extruded filament. It works at a fixed 45 degree angle to the normal top infill pattern. Prusa lists these downsides: longer print time, a risk of heat creep and clogs on large areas (especially with PLA in hot weather), and edges that become slightly fuzzy. It recommends ironing for flat tops such as nameplates, badges, boxes and lids, and says it is not useful for round or organic shapes.

Where to find ironing in PrusaSlicer: Prusa says to use Advanced or Expert mode (version 2.3.0 or later) and go to Print Settings, Infill, Ironing, Enable ironing. Its types are:

  • All top surfaces irons the last layer of each flat area.
  • Topmost surface only irons just the very last layer of the object.
  • All solid surfaces is experimental and adds a pass to every solid layer.

Speed is set separately under Print Settings, Speed, Ironing, and Prusa says generally slower speeds work best. Spacing between ironing lines should be smaller than the nozzle diameter. Prusa gives no default numbers for flow, spacing or speed, and warns that ironing is very sensitive to accurate extruder calibration: too little flow leaves shiny grooves and too much drags plastic to the edges. It also reports that PETG can leave extra filament on the nozzle, flexible filament more so, and that wood-filled filaments gave poor results in its tests. Check the preview, which shows how much print time ironing adds.

PartIroning worth trying?
Nameplate, badge, lid, box with a flat topYes, per Prusa
Large flat area in PLA on a hot dayRisky: heat creep and clogs
Round, organic or sloping topNo, it adds time with little gain
PETG, flexible or wood-filledExpect residue or poor results

What does not help

Raising only the flow rate, or cranking the temperature up, tends to make the sag worse, since the plastic stays softer and there is more of it over the gap. Fix the support and cooling first.

Pillowing is mostly a problem of fill density under the top skin. If your infill is already 100% or the top is a thin shell over solid layers, it is not the cause of a rough top, and under-extrusion or a too-high nozzle is more likely. Gaps that appear only where lines meet walls are a separate fault.

A sensible order

  1. Raise top layers to 5 or 6 (or to 5 to 6 times the layer height in thickness).
  2. Raise infill to about 20% if it is lower.
  3. Set the fan to 100% on the top layers.
  4. Lower the temperature slightly.
  5. Turn on ironing for flat tops that still look rough.

If other surfaces also look off, a related problem is under-extrusion and not pillowing; see fixing under-extrusion.

Gaps deeper inside the part, where the infill meets the walls, have a different fix: gaps between walls and infill.

Confirm the fix

Print a flat box about 40 mm square with 10% infill as a test. If the top is smooth with no holes, repeat on a real part. The numbers here come from maker guides and are starting points, not guarantees.

Frequently asked questions

What causes pillowing in 3D printing?

Anycubic names temperature and infill as the biggest factors. Too little infill support, inadequate cooling and a thin top layer let the top layers sag into the gaps, leaving an uneven surface with bumps, gaps and holes. The first layers over the infill have to bridge empty cells, and if they do not cool in time they droop. Check that the part cooling fan actually spins, because a failing fan produces the same look.

How many top layers do I need?

Anycubic recommends a top thickness of 5 to 6 times the layer height. At 0.1 mm layers that is 0.5 to 0.6 mm, and at 0.2 mm layers it is 1.0 to 1.2 mm, or 5 to 6 layers. Most slicers let you set either top layers or top thickness. Treat the ratio as a starting point and change one setting at a time.

Does ironing fix pillowing?

It can help. Prusa says ironing runs a second pass over the top layer in which the hot nozzle flattens curled plastic and extrudes a small amount to fill holes. It increases print time, risks heat creep and clogs on large areas, and slightly blurs edges, so it is for flat tops such as nameplates, boxes and lids, not round or organic shapes.

Will more infill fix pillowing?

It often helps because the top layer has more to rest on. Anycubic says around 20% infill is typically enough for most models, and that patterns such as concentric and lightning in Cura can support top layers while using less material. The trade-off is more filament and print time, so raise infill only as far as the top surface needs.

Sources

Sepehr Sabbagh-pour

Founder and editor

Sepehr Sabbagh-pour

Software engineer since 2009 and Head of Engineering by day, a maker who has owned several 3D printers, writing practical guides to 3D printers, filament and running costs, with every article saying what was and was not tested.

Drafted with AI assistance, then edited and reviewed by Sepehr before it goes live. How we use AI.

Illustration: a small graphite printed cylinder pulled apart at one layer line, with orange strands bridging the gapAI illustration
Troubleshooting

How to Fix Layer Separation and Delamination

Layer separation in 3D printing happens when layers cool too fast or bond too weakly. This research-based guide lists the fixes…

13 October 2026 · 6 min read