Dam and Fill Encapsulation Control for PCB Assemblies: 7 Rules
Dam and fill is a two-step encapsulation method used to protect components on an assembled board. A high-viscosity material is dispensed first to form a wall, or dam, around the area to be protected, and a lower-viscosity material is then dispensed inside that wall to fill the cavity and cover the parts. The two materials work as a system: the dam contains the encapsulant while it is still liquid, and the filler provides the electrical and environmental protection.
The method is chosen where a single material would flow too far, where tall components have to be encapsulated without flooding neighbouring areas, or where the volume of material must be controlled to keep weight and stress within limits. Because two materials have to work together, the process window is narrower than for a single dispense, and most of the control effort goes into the interface between them.

Why a Dam Is Used at All
A low-viscosity encapsulant spreads by itself until it reaches a boundary. On a bare board that boundary is whatever the surface energy allows, which may be a neighbouring pad or a connector that must stay clear. The dam creates an artificial boundary that can be placed exactly where the layout wants it, and it lets the same filler be used across products with different keep-out requirements.
The dam also sets the fill height. Material placed inside the wall rises to the level the volume allows, so a consistent dam height gives a consistent encapsulant thickness over the component. That thickness matters for thermal cycling and for the mechanical support the encapsulant provides to the solder joints.
Dam Height, Width and Profile
Dam height matters more than dam width. A wall that is too low lets the filler run over the top and onto adjacent circuitry, while a wall much taller than needed wastes material and can interfere with the enclosure. Height is set by the needle diameter, the dispense speed and the rheology of the material, so a change to any one of them needs the bead to be re-measured.
The profile of the bead should be a rounded ridge with no thin sections. A bead that necks down at a corner will be the first place the filler escapes, because the pressure at the corner is the same as elsewhere while the wall is thinner. Corner speed is therefore reduced on most dispensing programs, and the corners are the first place to look when a leak is reported.
Thixotropic materials hold their shape, but they also sag slowly. A bead that is acceptable ten minutes after dispensing may have flattened by the time the filler is applied, so the delay between the two operations is part of the process specification rather than a scheduling detail.
Filler Viscosity and Flow
The filler is chosen to flow into the gaps around the component without trapping air, which usually means a lower viscosity than the dam and a longer working time. It must also cure to a hardness that does not stress the solder joints as it shrinks.
Because the filler spreads until it is contained, the volume dispensed determines the final height. A pattern of several small dispenses is easier to control than one large one, and the pattern also gives the material somewhere to move if the board is not perfectly level. Filling from one end of a long cavity pushes air ahead of the front, so most programs fill in short passes that let the material settle.
The two materials have to be chemically compatible. A filler that does not bond to the dam, or a dam that softens when the filler is applied, leaves a gap at the wall that will open in service. Compatibility is proven with a cross-section rather than assumed from two datasheets.
Dispensing Equipment and Needle Selection
Time-pressure dispensing is common for the dam, because the material is thixotropic and flow depends on applied pressure. A needle too small for the particle size in the material clogs intermittently, and the beads then vary in height along their length in a pattern that follows the clogging.
For the fill, a positive-displacement valve gives a more repeatable volume than time-pressure, especially where the cavity is small and the volume is only a few milligrams. Whichever hardware is used, the first article is verified with a cross-section that shows dam height, filler height, the absence of voids and the wetting of the surfaces inside the cavity.
Cure Profile and Shrinkage
Most dam and fill materials are cured in a batch oven, and the profile has to bring the whole mass to temperature without boiling volatiles out of the surface. A ramp that is too fast skins the surface while the interior is still liquid, and the skin then ruptures as the interior expands.
Shrinkage during cure pulls the material inward, and a filler that shrinks more than the dam can leave the wall in tension. Where the encapsulated part is a large capacitor or an inductor, that tension is transferred into the terminations, which is one reason the cure schedule belongs in the design record.
Inspection and What to Record
Encapsulation is visually inspected for coverage, for exposed leads and for the dam profile, and cross-sections are taken from the first article and after any change to material, needle or pattern. The coating and potting comparison explains when a full coating is a better answer than a local cavity.
Where a cavity must also stay void-free for thermal reasons, the rules in the thermal pad voiding notes apply to the fill step as well. Dispense patterns are described in the underfill pattern guide, and the wider coating process is covered in the coating application notes.
Post-Cure Handling and Service Life
Cure is not the end of the process. An encapsulated area continues to change for a day or more after it leaves the oven, as the polymer network finishes forming and the last volatiles escape. Handling the board during that period can leave a mark that is later attributed to the dispense step, so the interval before the next operation is specified rather than assumed.
Service life is decided by the mismatch in thermal expansion between the encapsulant, the component and the laminate. The material with the lowest expansion is not automatically the best choice, because a stiff filler that does not flex with the board will load the solder joints during every temperature cycle. The balance between protection and stress is one reason the material is qualified with a temperature cycling test rather than by a datasheet alone.
Moisture is the other long-term risk. An encapsulant that absorbs water and then releases it during a reflow or a repair operation can generate enough pressure to lift the coating from the surface. Where the board carries flux residue under the fill, that residue also becomes a path for electrochemical migration once water is present, which is why the cleaning step before encapsulation is part of the specification. The no clean residue review sets out the risk in full.
A cross-section taken on the first article and again after any change to the cure profile is the cheapest evidence that the material reached the bottom of the cavity. Where the fill covers a row of pins, the section should cut through the pins so that the wetting on each side is visible.

FAQ
When is dam and fill better than a single encapsulant? When the filler would otherwise flow where it is not wanted, or when the encapsulated area has to be defined precisely by the layout rather than by the material volume. A single material is simpler and cheaper where the keep-out allows it.
Can the dam and the filler be the same material? They can be the same chemistry at two viscosities, which simplifies compatibility, but the dam still needs a higher yield point to hold its shape. Using one material for both usually means accepting a lower dam.
How is the correct fill volume established? By cross-sectioning the first article at several points, measuring the fill height, and then adjusting the dispense volume until the height is at the nominal value with the process variation allowed for. Once set, the volume is recorded with the program revision.



