Skip to main content
The PCB editor (Pcbnew) transforms your schematic design into a physical printed circuit board layout. It handles component placement, routing, copper pours, and design rule checking.

Overview

PCB layout in KiCad is centered around the BOARD 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

Physical component packages placed on the board:

PCB Design Workflow

1

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.
2

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
3

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
4

Route Traces

Connect pads according to the netlist:Interactive Router (default):
  • Push and shove routing
  • Automatic via placement
  • Differential pair routing
  • Length matching
Manual Routing:
  • Direct track placement
  • Full control over path
  • Custom via placement
5

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)
6

Run Design Rule Check

Validate the layout against design rules:

Layer Management

Standard Layers

  • F.Cu / B.Cu: Front and back copper
  • In1.Cu - In30.Cu: Internal copper layers
  • Configurable count (2, 4, 6, 8, etc.)
  • 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
  • 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:
Use the connectivity inspector to troubleshoot net issues. It shows all items connected to a selected net.

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

  • 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
  • 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
  • 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
  • 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