Overview
PCB layout in KiCad is centered around theBOARD class (source/pcbnew/board.h:25), which contains all physical design data including footprints, tracks, zones, and layer stackup.
2-Layer Boards
Standard two-sided PCBs for simple designs
Multi-Layer
4+ layer boards for complex, high-density designs
Board Structure
BOARD Class
The main board container manages all PCB elements:Board Items
- Footprints
- Tracks
- Zones
- Graphics
Physical component packages placed on the board:
PCB Design Workflow
Import Netlist
Transfer schematic connectivity to the PCB:
- Update PCB from schematic (F8 in schematic editor)
- Load component associations
- Import net information
- Assign footprints to symbols
Modern KiCad uses direct synchronization rather than separate netlist files. Changes in the schematic are pushed directly to the PCB.
Define Board Outline
Draw the physical board edge on the Edge.Cuts layer:
- Use lines, arcs, and circles
- Ensure closed, continuous outline
- Add mounting holes and cutouts
- Set board thickness in stackup manager
Place Footprints
Position components on the board:Placement strategies:
- Group by functional block
- Minimize trace lengths for critical nets
- Consider thermal management
- Allow room for routing channels
Route Traces
Connect pads according to the netlist:Interactive Router (default):
- Push and shove routing
- Automatic via placement
- Differential pair routing
- Length matching
- Direct track placement
- Full control over path
- Custom via placement
Add Copper Pours
Create filled zones for ground/power planes:
- Define zone outline
- Set net assignment
- Configure clearances
- Set thermal relief pattern
- Adjust fill settings (solid/hatched)
Layer Management
Standard Layers
Copper Layers
Copper Layers
- F.Cu / B.Cu: Front and back copper
- In1.Cu - In30.Cu: Internal copper layers
- Configurable count (2, 4, 6, 8, etc.)
Technical Layers
Technical Layers
- F.Adhes / B.Adhes: Adhesive application
- F.Paste / B.Paste: Solder paste stencils
- F.SilkS / B.SilkS: Silkscreen printing
- F.Mask / B.Mask: Solder mask
- Edge.Cuts: Board outline
User Layers
User Layers
- Dwgs.User: Documentation drawings
- Cmts.User: Comments and notes
- Eco1.User / Eco2.User: Engineering change orders
- User.1 - User.9: Custom purposes
Layer Stackup
Define board construction in the stackup manager:Connectivity
The connectivity engine manages net assignments:Board Commit System
Changes are tracked through the commit system:Routing Features
Differential Pairs
Route paired signals (USB, LVDS, etc.) with matched lengths:- Automatic pair recognition
- Coupled spacing control
- Length tuning tools
- Skew management
Length Matching
Match trace lengths for timing-critical nets:- Meander/serpentine generation
- Length measurement
- Target length specification
- Visual length display
Via Types
Through
Drilled through entire board
Blind
From outer to internal layer
Buried
Between internal layers only
3D Visualization
View the board in 3D to check component placement and mechanical fit:Footprints can reference multiple 3D models. The 3D viewer combines them to show the complete board assembly.
Board Statistics
Generate board reports:Footprint Attributes
Components have manufacturing attributes:Best Practices
Component Placement
Component Placement
- Place connectors at board edges
- Group related components together
- Orient ICs in same direction for easier debugging
- Keep high-speed components close together
- Consider assembly and testing access
Routing Strategy
Routing Strategy
- Route critical nets first (clocks, high-speed signals)
- Use ground planes for return paths
- Avoid routing under noisy components
- Minimize via count on high-speed signals
- Maintain controlled impedance on matched nets
Copper Pours
Copper Pours
- Use solid ground planes on inner layers
- Stitch planes with vias for low impedance
- Avoid isolated copper islands
- Set appropriate thermal reliefs for hand soldering
Silkscreen
Silkscreen
- Add reference designators on assembly layer
- Include polarity marks and pin 1 indicators
- Add revision and date information
- Ensure text is readable (minimum 0.8mm height)
- Don’t place text over pads or vias
Source Code References
Next Steps
Design Rules
Configure constraints and DRC
3D Models
Add 3D visualization
Manufacturing Output
Generate production files
Footprint Libraries
Manage PCB footprints