GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Troubleshooting guide

Gaps in 3D Printing: How to Fix and Avoid Them

Gaps in 3D printing show up as thin walls, striped surfaces, or voids you can see through. This guide is written for engineers and buyers who need to decide in one pass whether the part can be salvaged or should move to another process. Every entry below pairs a visible symptom with its likely cause and the adjustment that clears it.

Symptom to cause to fixParameter ranges includedWhen to switch to CNC
Fixing gaps in 3D printing by repairing surface holes and voids on a printed mold
Diagnostic table

Symptom, Cause, and Fix for Gaps in 3D Printing

Match the symptom you see on the part to the row that fits, then apply the fix in the third column.

SymptomLikely causeFix
Thin see-through walls on all sidesUnder-extrusion, low flowCalibrate E-steps, raise flow 2-5%
Gaps only on top surfacesToo few top layers or low infillTop layers 5-7, infill 25-40%
Vertical cracks between layer linesNozzle too cold for the speedRaise nozzle 5-10 °C, slow outer wall
Random skips mid-printPartial clog or heat creepCold pull, replace nozzle, check fan
Gaps at corners and seamsPressure advance not tunedTune pressure advance or linear advance
Voids around holes and bossesInsufficient wall overlapRaise overlap 10-15%, add walls
Layer shift with a gap behind itLoose belt or pulleyRetension belt, check grub screws
Gaps after filament changeWet filament or wrong diameterDry 4-6 h, measure with calipers

Fix It Once, or Machine It Right

Work the sequence when the gap is a setting problem. When the drawing needs ±0.005 mm, a sealed wall, or a finish of Ra 0.8-1.6 μm, the printer is the wrong process and CNC is the shorter path.

What you are looking at

Reading the Gap Before You Touch a Setting

A gap is a place where the extruded bead did not meet the bead next to it. That is the whole definition. It can sit inside one layer, between two layers, or along a wall where the perimeter should have been solid. Before you change anything, look at where the gap sits and how it repeats. Random gaps and repeating gaps have different causes.

Repeating gaps on the same side of every part usually point to a mechanical fault. A belt with uneven tension, a bent lead screw, or a pulley that slips once per revolution will place the fault in the same spot every time. Random gaps spread over the surface almost always come from extrusion: flow rate, temperature, or wet filament.

Look at the gap under light. If you can see through the wall, the extrusion width is short by more than 20 percent. If the gap looks like a thin dark line with material on both sides, you are looking at a bonding problem, not a flow problem. The difference matters because the fixes are opposite: one needs more material, the other needs more heat or more time.

Check the part in the slicer before you blame the machine. A wall thinner than two extrusion widths will be printed as a single bead with a gap beside it. That is a design issue, not a printer issue. Bring the thinnest wall to at least 0.8 mm with a 0.4 mm nozzle, or accept that the wall will be porous.

  • 1
    Repeating positionMechanical: belt, pulley, lead screw, or bearing.
  • 2
    Random positionExtrusion: flow, temperature, or moisture.
  • 3
    See-through wallFlow short by more than 20 percent.
  • 4
    Thin dark linePoor layer bonding, not low flow.
Root causes

Why Gaps in 3D Printing Start at the Extruder

Most gaps start in the hot end and the extruder, not in the motion system. The extruder pushes a fixed length of filament and assumes a fixed volume comes out. Anything that changes that volume creates a gap somewhere downstream. Filament diameter is the first variable. A spool marked 1.75 mm can measure 1.72 mm in one run and 1.79 mm in another, and that 4 percent swing changes the bead width on the part.

Temperature is the second variable. Every filament has a range where it flows well, and the right number depends on speed. Printing PLA at 200 °C with a 60 mm/s outer wall is fine. Pushing the same wall at 120 mm/s at 200 °C starves the melt zone and the bead comes out thin. Raise the nozzle or slow the wall. Do not do both at once, or you will not know which change worked.

Moisture is the third and the most underrated. PETG, nylon, TPU, and PC absorb water from the air. When the water hits the melt zone it flashes to steam and the steam pushes filament back up the nozzle. The result is small pops, a rough surface, and gaps that appear and disappear across the same layer. Dry PETG at 65 °C for 4-6 h and nylon at 80 °C for 6-8 h.

Mechanical backlash is the fourth. A loose belt or a worn pulley lets the tool head lag behind the command, so the bead lands late at direction changes. Gaps then cluster at corners and at the seam. Check belt tension by plucking it: it should give a low note, not a loose flapping sound.

Material behavior

Material and Geometry Effects on Gap Formation

Different polymers fail in different ways. PLA has a sharp melt transition, so it tolerates a narrow temperature window and clogs fast after heat creep. ABS and ASA shrink 0.5-0.8 percent as they cool, which pulls the part inward and can open a gap between the wall and the infill on large flat sections. Keep the enclosure above 40 °C for ABS and the shrinkage stays even.

PETG is prone to stringing rather than gaps, but it also bonds poorly to itself if the layer below has already cooled. On tall thin parts, the lower layers cool faster than the upper ones, and the bond weakens. Slow the print or raise the chamber temperature so the bond has time to form.

Nylon and PC absorb moisture quickly and also warp. A nylon part with a 0.3 mm gap along the base is usually a warping sign, not an extrusion sign. A raft or a brim holds the base flat and removes the gap. If the gap returns on the next print with the brim in place, the problem is elsewhere.

Geometry matters just as much. Overhangs past 45 degrees print on air, so the bead sags and leaves a gap underneath. Holes printed horizontally come out undersized and oval because the top of the hole closes before it cools. Both are predictable. Add support under overhangs past 50 degrees, and drill or ream critical holes after printing if the tolerance is tighter than ±0.2 mm.

  • 1
    PLANarrow window, clogs after heat creep. Keep the hot end fan clean.
  • 2
    ABS and ASAShrink 0.5-0.8 percent. Enclosure above 40 °C.
  • 3
    PETGWeak self-bond on tall parts. Slow down or heat the chamber.
  • 4
    Nylon and PCMoisture and warp. Dry the spool and add a brim.
Cost check

When Gaps Cannot Be Fixed and CNC Wins

Some gaps come from the process itself. FDM parts are porous by nature: the bond between layers is weaker than the material around it, and small voids remain even on a well-tuned machine. If the part must hold pressure, hold a vacuum, or carry a load in tension across layers, no slicer setting removes that weakness.

Tolerance is the second limit. A well-tuned FDM printer holds about ±0.2 mm on a good day, and that number drifts with part size and ambient temperature. An SLA printer does better on small features but the resin is brittle and creeps under load. When the drawing calls for ±0.005 mm or a surface of Ra 0.8-1.6 μm, the printer is the wrong tool.

Geometry sets the third limit. Overhangs beyond 50 degrees, internal channels that must stay clear, and threaded features all fight the printing process. Adding support helps but leaves witness marks. Undercuts and deep pockets are simpler on a mill.

This is where GreatLight fits. We machine the parts that printing cannot hold, from one prototype to 10,000+ part runs, with no minimum order quantity. Our 127 high-precision CNC machines include 16 simultaneous 5-axis machining centers and a Ø400 mm rotary table, so undercuts and angled holes are cut in one setup. Tolerances reach ±0.005 mm, and the finish reaches Ra 0.2-0.8 μm when the drawing calls for it. Send a print that keeps failing and we will quote the machined version within 12 hours, with a free DFM analysis.

Prevention

Keeping Gaps Out of the Next Print

Prevention is cheaper than repair. Keep a log for each spool: material, dry date, measured diameter, nozzle temperature, and flow value that worked. After three spools the pattern becomes clear, and you stop retuning the same material every time.

Store filament in sealed boxes with desiccant and a hygrometer. Most polymers are safe below 20 percent relative humidity. PETG, nylon, and PC need a dry box while printing, not just while storing. A 20-dollar hygrometer saves a lot of failed parts.

Service the machine on a schedule, not after a failure. Clean the hot end fan and heat sink every 100 hours. Replace the nozzle every 200-300 hours, or sooner if you print abrasive filament. Check belt tension and pulley screws monthly. Most repeating gap faults come from parts that were never on a service list.

Finally, design for the process you are using. Keep walls at 0.8 mm or more for a 0.4 mm nozzle, stay under 45 degrees of overhang where you can, and add a chamfer at the base instead of a sharp corner. These three changes remove more gaps than any slicer profile.

  • 1
    Spool logRecord dry date, diameter, temperature, and flow.
  • 2
    Dry storageSealed box with desiccant below 20% RH.
  • 3
    Service listFan and heat sink every 100 h, nozzle every 200-300 h.
  • 4
    Design rulesWalls 0.8 mm+, overhang under 45 degrees, chamfer the base.
Fix sequence

Step by Step: Fixing and Preventing Gaps in 3D Printing

Work in this order. Change one variable at a time so you can tell which fix worked.

  • 1
    Dry the filament firstDry PETG at 65 °C for 4-6 h, nylon and PC at 80 °C for 6-8 h. Print from a dry box if the spool sits out for more than a day. This clears moisture gaps before you touch any slicer value.
  • 2
    Measure the filamentCheck diameter at three points with calipers. If it varies more than 0.03 mm across the spool, set the slicer to the measured average instead of the nominal 1.75 mm and reprint the test cube.
  • 3
    Calibrate E-stepsCommand 100 mm of extrusion with the hot end at print temperature and no back pressure. Measure what actually feeds. Adjust the steps per millimeter so the feed matches within 0.5 mm. Do this before flow tuning.
  • 4
    Tune flow on a single wallPrint a 20 × 20 × 20 mm hollow cube in vase mode with a 0.4 mm nozzle at 0.2 mm layer height. Measure the wall with calipers. It should read the extrusion width within 0.02 mm. Raise flow 2-5 percent if it is thin.
  • 5
    Set temperature for the speedRaise the nozzle 5-10 °C above the spool label when the outer wall runs over 60 mm/s. Cut the outer wall speed to 30-40 mm/s on small parts. Do one change, then reprint.
  • 6
    Fix top surface gapsUse 5-7 top layers, 25-40 percent infill, and enable ironing at 0.1 mm spacing if the top must look solid. Increase the infill overlap to walls by 10-15 percent.
  • 7
    Tune pressure advanceRun the pressure advance or linear advance test for the filament. Values near 0.05 for direct drive and 0.4-0.6 for Bowden setups are common starting points. This closes gaps at corners and seams.
  • 8
    Check the motion systemRetension belts, tighten pulley grub screws, and check the lead screw nut for play. Repeating gaps at the same position on every part come from here, not from the slicer.
FAQs

Gaps in 3D Printing: Common Questions

Why do gaps appear only on the top layer?

The top layer has nothing above it to press the bead flat, so it shows every shortfall in flow and spacing. With too few top layers, the infill pattern shows through as a grid of gaps.

Set 5-7 top layers, raise infill to 25-40 percent, and increase the infill-to-wall overlap by 10-15 percent. If the top must be fully solid, enable ironing at 0.1 mm spacing and a low flow of 5-10 percent.

Can I fix gaps in a finished part?

Cosmetic gaps can be filled with CA glue or epoxy, sanded, and painted. Structural gaps cannot. A part that delaminated between layers has lost its load path and filler will not restore it.

If the gap reaches through the wall, the part will leak and fail under vibration. Reprint it with the corrected settings, or move the design to CNC if the load matters.

Why does a new nozzle still produce gaps?

A new nozzle removes one cause, not all of them. If the gaps persist, the fault is upstream or downstream: wet filament, wrong E-steps, low flow, or a loose belt.

Work the fix sequence in order. Dry the spool, measure the diameter, calibrate E-steps, then tune flow on a single wall. Most people skip straight to the slicer and never check the filament.

Do gaps mean the printer is defective?

Rarely. Most gap faults trace back to material condition or one loose mechanical part. Belts stretch, pulleys loosen, and nozzles wear. All three are consumables.

Run the motion check first: belt tension, pulley screws, lead screw play. If the gap repeats at the same position on every part, the cause is mechanical and the fix is a wrench, not a profile.

What gap size is acceptable on a functional part?

For a non-sealed part, gaps under 0.1 mm rarely matter for strength. Gaps you can see through are a different case and should be treated as a defect.

For anything holding pressure, sealing, or carrying tension across layers, the target is zero visible gaps. If the process cannot deliver that, machine the part instead.

When should I stop tuning and machine the part?

When the drawing needs ±0.005 mm, a finish of Ra 0.8-1.6 μm, or a pressure-tight wall, no print profile will get there. Those are machining numbers.

Send the file and we will return a quote with a free DFM analysis within 12 hours. Production can start within 24 hours, and most parts ship in 3-5 days.

Send the Part That Keeps Failing

Upload your file for a free DFM analysis and a quote within 12 hours. Tolerances to ±0.005 mm, 100% inspection before shipment, and no minimum order quantity.

12-hour quote100% inspectionNo minimum order quantity

Follow

More From GreatLight

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC