3D print top layer gaps and pillowing: causes and fixes

Holes, gaps and bumpy pillows in the top surface: add top layers, raise sparse infill, check flow and cooling, then use ironing as a finish.

Updated 2026-11-30

Short answer

Gaps, holes and bumps in the top of a print almost always have one root cause: the top skin has to bridge across the empty pockets of the sparse infill, and it is too thin or too under-fed to do that cleanly. Fix it in this order. Make the solid top at least 0.8 to 1.0 mm thick (4 to 6 layers at 0.2 mm). Raise sparse infill to 15 to 25%. Check for under-extrusion. Then look at cooling. If the surface is still slightly rough, ironing can finish it.

Change one setting per print and reprint the same part. A small flat-topped test block, printed with 10 to 15% infill, shows the problem fast and uses little plastic.

What top layer gaps look like

Three symptoms get mixed up, and they point to different fixes.

  • Holes or open gaps: you can see through the top skin to the infill below. This is usually too few top layers, too little flow or both.
  • Pillowing: the top is closed, but it is lumpy, with soft bumps over the infill pattern and dips between the lines. This is solid plastic that sagged into the pockets under it and was not supported by enough layers.
  • Gaps between top lines: thin slits between the lines of the final layer, often in a repeating pattern. This points to under-extrusion or a line spacing that is too wide for the flow.

Why it happens

Sparse infill is mostly air. At 10% infill, about 90% of the inside of the part is empty. The first solid layers above that infill are printed across open space, so they behave like short bridges. Prusa's documentation describes this directly: the top solid infill bridges across the sparse pattern, the first solid lines usually sag, and lower infill means longer spans and more sag.

Each extra solid layer is printed on top of the one before it, so it has a firmer base and sags less. The first layer sags the most, and the last visible layer has to be flat. If you give it too few layers to level out, the sag shows through.

Fix 1: more top layers and a thicker top shell

This is the most likely cause and the cheapest fix. Count the thickness in millimeters, not in layers. Layers differ in height, so the same number of layers gives a very different shell.

Simplify3D suggests aiming for a solid top about 0.5 mm thick as a minimum, which is about 2 layers at 0.25 mm. It also says that if 3 layers show gaps, you should try 5. Prusa recommends at least 3 top layers and gives 3 layers at 0.3 mm and 9 layers at 0.1 mm as examples of the same shell thickness. The two sources do not set the same floor. Treat 0.5 mm as the minimum for a closed top and 0.8 to 1.2 mm as the target for a clean one.

  • 0.28 mm layers: 4 top layers gives about 1.1 mm.
  • 0.20 mm layers: 5 top layers gives 1.0 mm. 4 layers gives 0.8 mm.
  • 0.16 mm layers: 6 top layers gives about 1.0 mm.
  • 0.12 mm layers: 8 top layers gives about 1.0 mm.
  • Many slicers also have a minimum top shell thickness in mm (Prusa calls it the minimum shell thickness). Setting it to 0.8 to 1.0 keeps the shell thick when you switch to thinner layers.
  • The extra layers are added inside the part, so the outer size does not change. A thicker top also helps stiffness and makes screws and inserts hold better.

Fix 2: raise the sparse infill

If a thicker top is not enough, give the top skin more to rest on. Simplify3D's example is raising infill from 30% to 50% when gaps remain. That is a big jump for most parts. Prusa notes that most models need about 10 to 15% infill and that more than about 30% is rarely needed, because strength comes mainly from the walls.

A practical range is 15 to 25% for parts with a large flat top, such as lids, plates and name signs. Pick an infill pattern with many small, evenly spread pockets. Gyroid, cubic and grid support the top better than a pattern with long open channels, such as lines at wide spacing.

Two more options avoid raising infill everywhere. Prusa mentions a modifier mesh that increases infill just below the solid top. Most slicers also have a setting to force a solid layer in small areas, which stops thin top sections from being bridged over air.

Fix 3: check for under-extrusion

If you added layers and infill and the top still has slits or thin lines, the printer may be extruding less plastic than the slicer expects. Simplify3D lists this as the third cause. Top surfaces show it first, because there is no overlapping wall to hide a missing line.

Signs are narrow gaps between neighboring lines, a top that looks matte or sparse, and thin walls. Check these in order:

  • Dry the filament. Wet filament pops and makes uneven lines. See how to dry filament.
  • Check the nozzle temperature. A hot end that is 10 to 15 degrees too cold under-extrudes at speed. Use a temperature tower to find the right value.
  • Slow the top surface speed to 40 to 60 mm/s on most printers. Fast top layers need more flow than a small hot end can supply.
  • Check the extruder gear, the nozzle and the filament path for grinding, partial clogs or a loose Bowden fitting.
  • Calibrate flow. A flow or extrusion multiplier that is 3 to 5% too low is enough to leave slits on the top.
  • Read the full guide on under-extrusion.

Fix 4: cooling and temperature

Cooling decides whether the sagging skin freezes in place or keeps drooping. For PLA, a strong part fan (80 to 100%) on the top layers sets the plastic quickly and reduces pillowing. For PETG, a fan around 30 to 60% is a common range, but PETG is more likely to string and to sag than PLA. For ABS and ASA, use little or no fan and expect a rougher top.

A nozzle that is too hot keeps the plastic soft for longer, so the skin sags before it sets. Try 5 degrees cooler on PLA, within the range printed on the spool. Many slicers also slow the layer down when a layer is short, which adds cooling time. If your top layers print very fast on a small area, a minimum layer time of 8 to 10 seconds can help.

An enclosed printer with a warm chamber can cause pillowing in PLA, because the air around the print stays warm. Open the lid or door when printing PLA. Cooling advice differs by printer and by filament, so follow the range on your spool, and use it as a starting point.

Fix 5: top infill pattern and order

The pattern of the last layer changes how the lines look. Rectilinear lines are simple and strong. Monotonic is a rectilinear variation in which lines are printed in one direction, side by side, so the visible lines have a consistent look and the light reflects evenly. Slicers describe it as a way to get a smoother top than a normal order. It costs a little extra travel time.

Concentric and Archimedean chords can look good on round tops, but they leave seams where they meet and can show small gaps if the flow is low. For a flat plate, monotonic or rectilinear with an angle of 45 degrees to the walls is a safe choice.

Prusa also allows a different pattern for the top visible layer only, so you can keep the layers underneath simple and strong.

Option: ironing as a finish

Ironing does not fix a thin skin or missing plastic, but it can finish a top that is closed and slightly rough. After the last top layer, the nozzle makes a second pass at the same height, with very little plastic, to smooth the surface and fill tiny dips. Prusa suggests it for nameplates, logos, lids and surfaces that will be glued. It helps little on round or sloped tops.

Starting values vary by slicer. The OrcaSlicer wiki shows an example of 20% flow and 1 mm line spacing. It advises keeping the spacing at or below the nozzle diameter and notes that thinner layers need more flow. PrusaSlicer gives no numbers and advises slower speeds. The two agree on the main points: ironing is very sensitive to extruder calibration, adds print time, and works on top surfaces only.

Ironing has costs. It can add a noticeable amount of print time on large tops. Prusa warns of heat creep and clogs on large ironed areas, especially with PLA in warm rooms. It also notes that PETG can build up on the nozzle and drag across the part. Edges can look slightly fuzzy. Use it only on the faces that matter, and not on every top layer in the model.

Quick settings to start from

  • Top shell: 0.8 to 1.2 mm (for example 5 layers at 0.2 mm).
  • Sparse infill: 15 to 25% for flat tops. Gyroid or cubic.
  • Top surface speed: 40 to 60 mm/s.
  • PLA: part fan 80 to 100% on top layers. PETG: 30 to 60%. ABS and ASA: low or off.
  • Nozzle temperature: in the range on the spool, and not at the very top of it for PLA.
  • Top pattern: monotonic or rectilinear. Ironing only if the top has to be smooth.

Common mistakes

  • Adding top layers while keeping 5% infill. The first top layer still bridges a big span.
  • Counting layers instead of thickness, then switching to a thinner layer height and losing the thick shell.
  • Raising infill to 50% or more to hide a flow problem, which wastes time and plastic.
  • Printing the top surface at the same speed as the infill. Slow it down.
  • Using ironing to cover holes. It adds very little plastic.
  • Changing several settings at once, so you do not learn which one worked.

Checklist

  • Measure the top shell in mm: at least 0.8 mm, 1.0 mm is better.
  • Raise sparse infill to 15 to 25%.
  • Dry the filament and check the nozzle temperature.
  • Slow the top surface to 40 to 60 mm/s.
  • Calibrate flow if lines show slits between them.
  • Set the part fan for the material.
  • Use monotonic top infill, and ironing only on faces that need a smooth finish.

Frequently asked questions

How many top layers do I need to avoid holes?

Think in thickness. A closed top needs at least 0.5 mm, and a clean one is closer to 0.8 to 1.2 mm. At 0.2 mm layers that is 4 to 6 layers. Prusa advises at least 3 layers.

Why does my top surface look bumpy but closed?

That is pillowing. The skin sagged into the pockets of the infill below. Add top layers, raise the infill and cool the top layers better.

Does ironing fix gaps in the top layer?

No. It adds very little plastic, so it smooths a closed surface but cannot fill real holes. Fix the layers, infill and flow first.

What infill percentage is best for a flat top?

Most parts print fine at 10 to 15%, according to Prusa. For a large flat top, 15 to 25% gives the skin more support. More than about 30% is rarely needed.

Is it under-extrusion or too few layers?

Too few layers gives sagging over infill and holes that match the pattern below. Under-extrusion gives thin slits between the lines of the top itself, often with weak walls as well.

Make it

Sources

  1. Simplify3D: gaps in top layers
  2. Prusa Knowledge Base: layers and perimeters
  3. Prusa Knowledge Base: infill
  4. Prusa Knowledge Base: ironing
  5. OrcaSlicer wiki: ironing

Related guides

All guides → Browse all tools →