Skip to main content

Via-in-pad: when it’s safe, when it ruins a joint, and what to ask your fab

Putting a via straight into an SMD pad saves space and shortens the path to the next layer. On some boards it is the only way to route at all. Done carelessly, it drains solder out of the joint during reflow and leaves you with intermittent connections you can’t see. Whether it is safe comes down to one question: what happens to the hole.

Last reviewed

Short answer

Avoid open vias in small SMD pads: solder wicks down the hole and starves the joint. If there is room, put the via beside the pad on a short trace (a dog-bone). When you do need via-in-pad (fine-pitch BGAs, boxed-in pads), order the vias filled and plated over, IPC-4761 Type VII, often called VIPPO. Thermal vias in a QFN’s exposed pad are a common, accepted exception if you follow the part’s land-pattern guidance.

What via-in-pad means

Normally a via sits a little away from the pad it serves, joined by a short trace. Seen from above, pad, trace and via look like a dog bone, hence the name. Via-in-pad drops the trace and drills the via through the pad itself. It saves the space the trace and via would take beside the pad and makes the connection to the next layer as short as it can be.

Three views of one board rendered in KiCad: an 11 by 11 ball, 0.8 mm pitch BGA land pattern with every pad joined by a short trace to a via between the pads; the same land pattern with a 0.15 mm via in the centre of every 0.35 mm pad; and a 5 by 5 mm QFN with nine 0.2 mm thermal vias in its exposed pad
Three ways copper leaves a fine-pitch part, on one real board built in KiCad and passing its design-rule check. A top view cannot show the fill: the vias in the middle panel must be filled and capped (IPC-4761 Type VII) or they drain solder from each joint. The QFN uses KiCad’s standard thermal-via footprint. Open full size

Why an open via in a pad fails

A plated hole is a capillary. During reflow, molten solder on the pad flows into the hole and down the barrel. The joint above is left with less solder than the paste stencil gave it. On a larger pad that might mean a weaker joint; on a small passive or a fine-pitch lead it can mean almost no joint at all. Solder can also come out on the other side of the board and form a bump that stops the board sitting flat.

The tombstone that started in the drill file

With a via in one pad of a small resistor and not the other, the two ends wet unevenly during reflow. The side that keeps its solder pulls the part upright. If your 0402 parts stand on end and only on certain pads, look for vias in those pads first.

When via-in-pad is the right call

  • Fine-pitch BGAs. Between tightly spaced balls there is no room for a via and a trace, so the inner balls go down through vias in their pads. These must be filled and capped.
  • Boxed-in pads. On some dense packages the inner pads are surrounded by other pads with no path out on the top layer. A via in the pad is the only exit.
  • Thermal pads. The exposed pad under a QFN or a power part is usually stitched to inner ground planes with an array of vias to carry heat away. This is normal; keep the drills small and follow the part’s recommended land pattern so not too much solder is lost.
  • Very short high-speed or RF connections. Removing the dog-bone trace removes a little inductance, which matters at high frequencies.

IPC-4761: the fill types to ask for

IPC-4761 names seven ways to protect a via. Only the last one gives you a flat, plated pad that is safe to solder on, and it is what to write in your fab notes for via-in-pad.

TypeNameWhat it is
Type ITentedDry-film mask laid over the hole, not filling it
Type IITented and coveredTented, then covered with solder mask
Type IIIPluggedHole partly filled with a non-conductive material
Type IVPlugged and coveredPlugged, then covered with solder mask
Type VFilledHole fully filled, conductive or non-conductive
Type VIFilled and coveredFilled, then covered with solder mask
Type VIIFilled and cappedFilled, planarised and plated over: the one for via-in-pad

Tenting and plugging (types I to IV) are for ordinary vias that are not in a pad: they stop solder mask gaps and keep solder or flux out of the hole. They are not a substitute for filling a via that sits under a solder joint.

Vias in a thermal pad, in KiCad: tenting, plugging and the fab files

A question on the KiCad forum in November 2026 asked how to tent the vias inside a thermal pad. Setting the vias to tented seemed to do nothing, because the pad wins. That is how solder mask works. Mask layers are negative: every opening adds to the others, and the thermal pad’s opening uncovers everything inside it, whatever each via’s tenting setting says. Tenting can only cover the side of the board with no pad.

KiCad’s own library is built that way. It has 480 footprints named ThermalVias. In 435 of them each thermal via is a through-hole pad on every copper layer with no solder mask layer of its own. On the top the vias sit inside the exposed pad’s opening, so they are open; on the bottom nothing opens them, so they are tented. Another 44, 35 of them Molex power connectors (Mini-Fit Sr and Sabre), open the vias on both sides, and one opens them on the top only. The QFN in the figure above is one of the 435: nine 0.2 mm drills in a 3.1 mm pad, open on top and tented underneath.

If you need the holes closed on the pad side too, there are three ways to do it:

  • Plug or fill them (KiCad 10). A via’s Protection features dropdown takes an IPC-4761 type, from Type I (tented) to Type VII (filled and capped), with a board default in Board Setup. KiCad’s manual says via-in-pad typically needs at least Type IV or Type VII. When you plot the drill files in Gerber format, KiCad 10 adds one Gerber file for each treatment on the board (the names end in -plugging-, -filling-, -capping-, -covering- or -tenting- and the layer), and its IPC-2581 export carries the same information. Excellon drill files carry none of it, so put the type in your fab notes as well.
  • Use board vias for that, not the footprint’s. The protection setting and those files cover vias only. The thermal vias in a library footprint are pads, so KiCad leaves them out. To order them plugged or filled, use the same footprint without thermal vias (474 of the 480 have one), place vias in the pad yourself and set their protection type.
  • Draw the mask yourself. In the Footprint Editor, turn off F.Mask on the exposed pad and draw the openings as shapes on F.Mask, leaving solder mask over each via. Keep the webs between openings wider than the board’s solder mask minimum web width, or KiCad merges them into one opening when it plots. Ask your fab for the narrowest web it can hold.

KiCad 9 has no protection types. It sets Front tenting and Back tenting per via (From design rules, Tented or Not tented), with the default in Board Setup → Solder Mask/Paste, so plugging and filling go in the fab notes only.

What it costs, and who can build it

Filled and capped vias need extra steps: filling the hole, curing, sanding the surface flat and plating over it. That adds cost and often lead time, and some low-cost fabs don’t offer it at all or only on multilayer boards. Check your fab’s options before you lay out a board that depends on via-in-pad, and put the requirement in the fabrication notes so it is not missed.

A quick decision list

  1. Is there room for a via beside the pad on a short trace? Use a dog-bone.
  2. Is it a thermal pad under a QFN or power part? Thermal vias in the pad are normal; follow the land pattern.
  3. Is it a fine-pitch BGA or a boxed-in pad? Use via-in-pad, filled and capped (Type VII), and tell the fab.
  4. Is it a small passive or an ordinary fine-pitch lead? Don’t put an open via in it.

The via itself still needs a sensible size. The via and pad size calculator checks the drill against your board thickness, and the via current calculator shows how many you need for a power connection.

How PCBEditor uses it

PCBEditor’s router escapes dense parts with ordinary vias on short traces wherever there is a path. Only when a pad on a fine-pitch part is boxed in, with no route out on its own layer, does it launch that pad through a via in its centre, choosing the smallest via class that fits. In Review mode it asks before applying that rule. If your board ends up with signal vias in pads, order them filled and capped.

Common questions

Is it OK to put a via in an SMD pad?
Only if the via is filled and plated over (IPC-4761 Type VII, VIPPO), or for thermal vias in an exposed pad where the land-pattern guidance allows it. An open via in a small SMD pad drains solder from the joint.
What is VIPPO?
Via-in-pad plated over: the via is filled, planarised flat and plated with copper, so the pad solders like a solid pad. It is IPC-4761 Type VII and costs more than a standard via.
Can I put vias in a QFN thermal pad?
Yes, it is common practice, because the vias carry heat into the inner planes. Follow the part's recommended land pattern and IPC-7093 guidance on via size and count; small drills, tenting the far side or filling reduce how much solder wicks away.
Does via-in-pad cost more?
Filled and capped vias add fill, planarisation and plating steps, so they cost more and can add lead time. Not every budget fab offers them, so check before you design around them.
Why use a dog-bone instead of via-in-pad?
A short trace from the pad to a via beside it keeps the hole away from the solder joint, needs no special fab process and is cheaper. Use it whenever there is room.
How do I tent vias in KiCad?
Set the board default in Board Setup → Solder Mask/Paste, then override single vias in their properties: Front tenting and Back tenting in KiCad 9, the Protection features dropdown in KiCad 10 (IPC-4761 Type I is tented). A via inside a pad’s solder mask opening stays open on that side whatever you set.
Can KiCad plug or fill the vias in a pad?
KiCad 10 can mark board vias as plugged, filled or capped (IPC-4761 Types III to VII) and writes a Gerber file for each treatment beside the Gerber drill files. It skips thermal vias that are pads inside a footprint, and Excellon drill files do not carry it, so write the type in your fab notes too.

Route fine-pitch parts without guessing

PCBEditor escapes dense parts with standard vias where it can, uses via-in-pad only for pads that are boxed in, and tells you when it does so you can order the right via fill.

Design a fine-pitch board→

Sources

  • IPC-4761: Design Guide for Protection of Printed Board Via Structures (via types I to VII).
  • IPC-7093: Design and Assembly Process Implementation for Bottom Termination Components (thermal vias in exposed pads).
  • IPC-7095: Design and Assembly Process Implementation for BGAs.
  • KiCad 9.0 and 10.0 PCB Editor manuals (docs.kicad.org): via tenting and its Board Setup default, Via protection (IPC-4761), negative solder mask layers, solder mask minimum web width.
  • KiCad 10.0 source code, pcbnew/exporters/gendrill_gerber_writer.cpp and gendrill_writer_base.cpp: the extra Gerber file per via treatment, written for vias only.
  • KiCad footprint library (gitlab.com/kicad/libraries/kicad-footprints), as synced on 17 October 2026: the 480 footprints named ThermalVias, counted by the layers of their via pads.
  • KiCad forum, “Tent vias in thermal pad” (7 November 2026).

Related