PCB Stepped Slot and Cavity: Depth Control and Design Rules
A stepped slot is a recess milled into a board to a controlled depth rather than through the whole panel. The floor of the recess becomes a mounting surface, a light path or the seat for a module that has to sit below the surface of the board, and the step between the surface and the floor is defined by a depth tolerance rather than by the board thickness.
The feature is used wherever height has run out: optical modules that must align with a lens, sensors that need a defined air gap, and connectors that would otherwise protrude above the plane of the assembly. This article covers how the depth is produced, how it is verified and which design rules keep the process economical.
What a Stepped Slot Is Used For
The common applications fall into three groups. In optoelectronics the recess positions a photodiode or a laser relative to a waveguide or a lens, and the depth controls the optical alignment. In radio frequency assemblies the recess provides a defined cavity behind an antenna or a filter. In mechanical assemblies it lets a module, a battery or a heat spreader sit flush with the board surface.
In every case the recess is doing a mechanical job as well as an electrical one, so the drawing has to control the depth, the flatness of the floor, the surface finish and the position of the step relative to the rest of the pattern rather than only the outline of the cut.

How the Depth Is Machined
The recess is produced by depth controlled milling, usually with a router or a small end mill running on a machine that references its depth from a sensed surface. Because the panel thickness varies across a production lot, the depth is normally measured from the top surface at that location rather than from a nominal panel thickness.
Where the depth is shallow and the tolerance tight, the milling can be combined with a laser step or with a controlled depth press cycle that forms the recess during lamination. Each method has a different achievable tolerance and a different effect on the copper beneath the floor, so the method belongs in the fabrication note.
Depth Tolerance and Measurement
The achievable tolerance for a milled step is typically plus or minus 0.05 to 0.1 mm, and it is limited by the panel flatness, the machine resolution and the way the tool wears during the run. Where the tolerance is tighter than that, the design usually has to move to a different construction, such as a laminated cavity built from multiple sub-assemblies.
Measurement is done on the finished panel with a depth gauge or a non contact sensor, referenced to the local surface, and the result is compared with the drawing. Cross sectioning is used to confirm the remaining dielectric thickness beneath the floor, because that thickness is what the electrical design depends on when the recess sits above a reference plane.

Plating Inside a Cavity
If the recess is formed before plating, the exposed copper on the floor plates along with the rest of the board, and the step edges receive copper as well. That is convenient for grounding a module to the cavity floor, but it makes the depth harder to control, because the plating adds to the wall and changes the geometry of the step.
If the recess is milled after plating, the copper on the floor is exposed and no longer protected, so it needs a surface finish of its own or a mask that can be sealed. The choice is a sequence decision, and it interacts with the layer stack and with the surface finish of the rest of the board.
Component and Module Integration
A recess that holds a module needs more than a floor. The module has to be located in two axes as well as in depth, so datum features, tooling holes or a machined side wall are used to position it, and the adhesive or the thermal interface material has to be accounted for in the depth calculation rather than added afterwards.
Where the module dissipates heat, the floor of the recess is the thermal path, and its copper area and the number of thermal vias beneath it decide the junction temperature. Where the module is optical, the flatness of the floor matters as much as its depth, because a tilted seat changes the alignment angle across the entire assembly.
Layer and Stackup Considerations
The floor of a recess is a thin dielectric layer over whatever remains beneath it. The mechanical strength of that floor has to be sufficient for the assembly and handling, and the remaining copper layers have to be arranged so that the recess does not cut through a critical plane or leave an unsupported region under a component.
Symmetry matters as well. A deep recess on one side of a board and nothing on the other side produces an unbalanced stackup that can warp during lamination and during reflow, so a balancing cut or a compensated layer arrangement is often needed to keep the panel flat.
Yield, Cost and Design Rules
Every stepped slot adds a depth controlled operation, an inspection step and a scrap risk, and the cost rises with the number of distinct depths and with the tolerance. Grouping recesses to a single depth and keeping the tolerance as loose as the function allows are the two decisions that matter most in the design stage.
Keep the recess away from the board edge by at least the router allowance, provide a clear area around the step so that the tool can enter without clipping components, and state the reference surface for the depth on the drawing. gopcb produces boards with milled and laminated steps and can confirm the achievable tolerance for a given stackup before the design is frozen.
Handling is another part of the cost that is easy to overlook. A panel with a recess is more fragile than a plain board: the floor can be pushed in, the step edge can chip, and the tool that mills the recess can leave a burr that interferes with the module that sits on it. Protective tape over the cavity during the remaining process steps, a defined burr limit and a vacuum or brush clean immediately after milling are inexpensive measures that prevent a large proportion of the rejections seen on this type of feature.
FAQ
What depth tolerance is realistic for a stepped slot? Around plus or minus 0.05 to 0.1 mm for a milled recess, referenced to the local surface. Tighter tolerances usually require a laminated cavity built from sub-assemblies rather than a milling operation.
Can the floor of a recess be plated? Yes, if the recess is formed before plating. If it is milled after plating, the floor is bare copper unless a separate finish or mask is applied, which should be stated on the drawing.
Does a stepped slot affect the electrical design? It does when the recess removes a reference plane or thins the dielectric above one. The remaining thickness and the copper beneath the floor belong in the stackup review.
Related reading: board outline and mounting design, PCB manufacturing tolerances, PCB manufacturing processes, and high temperature PCB materials.



