Gaps between walls in 3D prints: find where they come from and close them
By Sina Esfahani, OmniTechs · Published 27 November 2026
Wall gaps sit in one of two places. Some run between the perimeters themselves, so you can see light, or push a fingernail, between the outer and inner wall. Others sit between the innermost wall and the infill or solid layers.
Either way there are two origins. The slicer planned the gap, because the wall is not a neat multiple of the line width or an overlap setting is too small. Or the printer made it, because too little plastic came out or the lines went down too fast to fuse. The slicer preview tells you which. A gap you can see in the preview needs a geometry or settings fix. A gap that appears only in the print needs a flow, speed or pressure advance fix.
Fix it in this order:
Slice the part and zoom into the preview at the height of the gap.
Gap inside a thin wall in the preview: use the Arachne wall generator, or make the wall a multiple of the line width.
Gap between wall and infill in the preview: raise the infill/wall overlap in small steps; Simplify3D's example goes from 20% to 30%.
Preview closed but print open: calibrate the flow and rule out a partial clog.
Then slow the walls and infill; Simplify3D's test is half the speed.
Lines that stop short before corners: redo the pressure advance calibration; Bambu Lab's typical value is 0.02 to 0.04.
Find the kind of gap
What the gap tells you
| What you see | What it means | What to do |
|---|---|---|
| A gap in the middle of a thin wall, also visible in the preview | The wall is not a multiple of the line width | Arachne, another line width or a new wall thickness |
| Perimeters that touch in the preview but not in the print | Too little plastic, or laid too fast to fuse | Flow calibration, lower speed, check for a partial clog |
| Lines that thin out or stop before corners and ends | Pressure advance or K value set too high | Redo the pressure advance calibration |
| A gap all round between the inner wall and the infill | Infill overlap too small, or infill printed too fast | Raise the overlap, slow the infill |
| Gaps only on the first layer | Nozzle too far from the bed, or under-extrusion | Z-offset |
| Gaps and pinholes in the top surface | Too few top layers or weak support under them | Top surfaces guide |
First-layer gaps belong to setting the z-offset, and holes in the top surface to rough top surfaces and pillowing.
Gaps the slicer plans: thin walls and line width
A wall is built from whole lines. When the wall thickness falls between two whole numbers of lines, a strip is left over that is too narrow for another line. Simplify3D's example is a 1.0 mm wall printed with 0.4 mm lines: two lines leave a gap in the middle.
You cannot simply multiply, though, because slicers do not agree on how wide two lines are. Slic3r and its descendants, such as PrusaSlicer and OrcaSlicer, model a line as an oval and overlap neighbouring walls slightly. Cura models lines as rectangles and does not overlap them (OrcaSlicer).
How wide two walls really are
| Slicer | Line width | Layer height | Two walls make |
|---|---|---|---|
| PrusaSlicer | 0.45 mm | 0.20 mm | 0.86 mm |
| OrcaSlicer | 0.40 mm | 0.20 mm | 0.714 mm |
| UltiMaker Cura | 0.40 mm | any | 0.80 mm |
Worked example: a 1.0 mm wall
In Cura, two 0.4 mm walls take 0.8 mm, so a 1.0 mm wall leaves 0.2 mm in the middle. In a Slic3r-based slicer the walls overlap, so the strip left over is a little wider. Either way it is narrower than a line, so a classic wall generator fills it with short zigzag gap fill or leaves it open. You have three ways out:
Vary the line width. Arachne widens or narrows the walls to fill the space. In Cura's settings a wall line can be from 85% of the nozzle to twice that: 0.34 to 0.68 mm on a 0.4 mm nozzle, so two lines of about 0.5 mm fit the 1.0 mm wall.
Pick a line width that divides the wall. Simplify3D's answer for this exact wall is 0.5 mm lines.
Change the model. PrusaSlicer shows a recommended thin wall thickness for your settings under Print Settings → Layers and perimeters → Vertical shells. Design to that value and the leftover gap disappears.
Line widths per nozzle size, and the makers' limits, are in the nozzle size guide; minimum wall thicknesses for designs are compared in FDM design rules.
Arachne or classic walls
Arachne varies the line width so walls fill thin features instead of leaving gaps; Prusa ported it from Cura and says it needs far fewer gap fills. Where to choose it:
PrusaSlicer 2.9: Print Settings → Layers and perimeters → Advanced → Perimeter generator. Arachne is the default since 2.5, and it switches off Detect thin walls because it already adapts to thin features.
Bambu Studio and OrcaSlicer: Process → Quality → Wall generator. Bambu Lab's own printer profiles start on Classic.
UltiMaker Cura: the Walls settings, such as Minimum Wall Line Width, are Arachne's.
Arachne is not always better. Prusa says Classic may suit functional parts where the accuracy of concave corners matters. Bambu Lab lists four cases for switching back to Classic: an unsatisfying seam, perimeters floating in the air, clear flaws in the sliced model and uneven surfaces. Prusa and Cura both warn about one Arachne setting: lowering the wall transitioning threshold angle reduces centre lines but may leave gaps or over-extrude.
Gap fill is Classic's way of closing the remainder; in PrusaSlicer it is Fill gaps, under Layers and perimeters → Advanced. OrcaSlicer advises against removing gap fill completely, because the gap fill between perimeters adds strength, and suggests Arachne for models that get too much of it. SoarKraft compares how Cura and PrusaSlicer handle thin walls with Arachne, and how to design parts that print well.
Walls that print but do not touch
When the preview is closed but the print is not, the printer laid too little plastic, or laid it too fast to fuse.
Flow. An accepted answer on the 3D Printing Stack Exchange traced separating walls to under-extrusion. Calibrate before you compensate: flow rate calibration and under-extrusion causes and fixes.
Speed. Another Stack Exchange answer found perimeters that did not touch because the flow could not keep up at high speed, and notes this is common with PETG. Slow the inner walls first.
Pressure advance. Lines that do not connect are most often caused by a K value set far too high, Bambu Lab says, typically one typed ten times too large: 0.25 instead of 0.025. Most regular filaments land between 0.02 and 0.04. Above the ideal value Klipper sees rounded corners and poor extrusion leading up to the corner. Tuning is in pressure advance and linear advance.
Mechanics. The same accepted answer fixed one printer with correct belt tension and another by reducing friction in the motion system. PrusaSlicer's own tooltip for infill overlap names backlash as a cause of gaps. Switch the printer off and unplug it before you work on belts or rails; the method is in checking belt tension.
Line width helps here too. A slightly wider line needs more pressure to come out, which also presses the plastic into its neighbours. CNC Kitchen tests how extrusion width changes the quality and strength of prints.
One OrcaSlicer setting to know: Precise wall, under Quality → Precision, sets the overlap between the outer wall and the next wall to zero to improve dimensional accuracy. OrcaSlicer says the strength of the part is unaffected.
Gaps between the walls and the infill
Every slicer extends the infill a little into the innermost wall so the two bond. The name, the reference width and the default differ.
Wall and infill overlap settings
| Slicer | Where | Default or advice | Measured against |
|---|---|---|---|
| PrusaSlicer 2.9 | Print Settings → Advanced → Overlap → Infill/perimeters overlap (Expert mode) | 25% | Perimeter line width |
| Bambu Studio | Process → Strength → Advanced → Infill/Wall overlap | 15%; too high makes the surface bulge, negative leaves a gap | Sparse infill line width |
| OrcaSlicer | Process → Strength → Infill → Infill/Wall overlap | 15%; Orca advises about 10 to 15% to avoid rough surfaces | Roughly the inner wall line width |
| UltiMaker Cura | Infill → Infill Overlap Percentage | 10%; 0% for concentric infill or 95% density and above | Infill line width |
| UltiMaker Cura | Top/Bottom → Skin Overlap Percentage | 5%; above 50% the skin can pass beyond the wall | Skin and innermost wall widths |
| Simplify3D | Infill → Outline overlap | Example: from 20% try 30% | Extrusion width |
Raise the overlap in small steps and watch the outside of the part, because too much overlap makes the surface bulge (Bambu Lab). If the gap stays, slow the infill: infill printed much faster than the walls has less time to bond to them. Simplify3D's example halves 60 mm/s, then raises the speed gradually to find the fastest speed without gaps.
PrusaSlicer's infill anchor also helps: a short stretch of inner perimeter that turns into the infill line. It sits under Print Settings → Infill → Length of the infill anchor, and Prusa says some materials, namely PETG, need it to steady the flow at the start of each infill line.
When the design is the fix
If a wall falls between two whole numbers of line widths, the slicer has to leave a gap, add gap fill or vary the line width. For a wall that must be both solid and exact, change the model: make it a multiple of your line width, or use PrusaSlicer's recommended thin wall thickness. Gaps that remain after flow calibration, a clean nozzle and a correct pressure advance value point to the hardware: check the belts and the motion system before you change more settings.
Next step and related guides
If the gaps came from low flow, flow rate calibration sets it per filament so the next spool starts right. If the part must carry load, how strong are 3D-printed parts explains how walls and infill share it. If you need the part rather than the practice, the 3D printing service prints PLA and PETG parts from your file.

