Design a PCB in ten steps, in this order: write the requirement, choose the parts, draw the schematic, run the electrical rules check, set the board's outline and rules, place the parts, route the tracks, run the design rules check, review the board, and export the files a fab builds from.
Each step settles something the next one needs, so a fault found late sends you back through every step after it. KiCad's own guide runs the core in the same order: schematic, electrical rules check, layout, design rules check, fabrication files. Below, each step in KiCad 10 for a beginner's first two-layer board, and why it comes where it does. PCB design software compares KiCad with the other tools.
Before KiCad: the requirement and the parts
1. Write the requirement
Before you open an editor, write down:
- what the board is for, and each function it performs;
- each connector and bus that leaves it, such as USB, UART, I2C or a programming header;
- its power input with its voltage range, and each rail with its current;
- its size, layers and mounting holes;
- its temperature range, and how many boards you will build;
- whether any of it is RF, high-speed or high-voltage, each with rules of its own that a first board is better without.
Why first: every later step is checked against it. A rail's current picks its regulator and its tracks' width, and the size bounds the placement. PCB Agent asks about the same topics before you approve its spec. It fills a gap only with a stated default, such as one 3.3 V rail at 300 mA on a 50 × 50 mm two-layer board, and never assumes what the board is for. Custom PCB design explains each topic.
2. Choose the parts
Choose each part by its exact part number and read its datasheet before you draw it: pins, package, ratings, the circuit its maker shows around it and any layout guidance. Check that it is in stock and not at the end of its life, since a part replaced later moves everything around it, unless the new one is a true drop-in replacement.
Why before the schematic: the part fixes both drawings. A footprint is the set of copper pads that matches a part's pins, and KiCad's schematic manual notes that many symbols fit several footprints. Only the exact part says which one is right.
In the schematic editor: the circuit and its check
3. Draw the schematic
Place a symbol for each part and wire it as its datasheet shows, with the capacitors and resistors the maker's circuit asks for. Give each symbol its value and a footprint: KiCad's footprint assignment tool can list only the footprints with as many pads as the symbol has pins. A microcontroller asks the most of its circuit: our guides to the ESP32, the STM32 and Arduino's ATmega328P go through what each needs.
Why third: the board is built from the schematic. The PCB editor takes every part and connection from it, and shows each connection not yet routed as a thin ratsnest line.
4. Run the electrical rules check
Run ERC and work through every violation; KiCad ERC errors explains the common ones and their fixes. It finds connection mistakes: unconnected pins, two power outputs shorted together, a power input that nothing supplies, a symbol without its reference. Fix each cause rather than excluding its marker, or a real fault hides among the rest.
Why before the board: a wrong connection carried into the layout becomes wrong copper. The manual's ERC section asks for every reported issue to be addressed before you go on. It also warns that ERC is only as good as the pin types each symbol declares.
In the PCB editor: outline, rules, placement and routing
5. Set the board's outline and its rules
Open Board Setup from the File menu before you place a part. Keep the stackup at two copper layers, and set the constraints (the smallest track, clearance, hole and annular ring the board may use) to the values your fab recommends, as JLCPCB design rules in KiCad does for one fab. Then bring the parts in with Update PCB from Schematic (F8), and draw the outline as one closed shape on the Edge.Cuts layer. Schematic to PCB says what the update carries over, and what it cannot.
Power tracks need more width than signals. KiCad's Track Width calculator gives the width for a current and a temperature rise, from the formulas of IPC-2221, IPC's generic standard on printed board design. Put those nets in a net class with that width. Our PCB trace width calculator works the same formula out on the page.
Why before placement: KiCad's PCB editor manual says the design rules drive the interactive router, the zone fills and DRC, and recommends setting every known rule at the start. The outline bounds where each part can go.
6. Place the parts
Place the parts whose position is fixed first: connectors, buttons and indicators. Then, as KiCad's guide advises, put each chip's bypass capacitors close to its power pins, with anything else its datasheet places. Arrange the rest so that connected parts sit together, the ratsnest lines untangled and the courtyards apart.
Why before routing: placement decides most of the routing. Where the pads sit sets how long and tangled the tracks are, and what an autorouter leaves too.
7. Route the tracks
Route with the interactive router (X). Start, while there is room, with the wider power tracks and the short connections the datasheets ask for. Change layers through a via (V). A ground zone on the back layer connects ground at a lower impedance than tracks do; refill it after each change. Routing is done when the count of unrouted nets at the bottom left reads 0.
Why after placement: a track drawn before its parts settle is drawn twice. And in its Shove and Walk Around modes, the router keeps to the rules from step 5, which is why they came first.
Before you order: the checks and the files
8. Run the design rules check
Run DRC from the Inspect menu, with its zone refill on, and fix every error. It holds the board to Board Setup's rules: clearances, shorts, track widths, holes, tracks that end on nothing, and pads the schematic connects that the copper does not.
Why after routing: DRC checks the copper, and the router prevents only some violations as you draw. The manual's DRC section asks for a run before any manufacturing file is made.
9. Review what the checks cannot see
A clean DRC says the copper keeps your rules, not that the board works. One gap surprises beginners: a net class's track width only sets what the router draws. KiCad's list of DRC checks flags no power track drawn thinner than that, above the board's minimum, unless a custom rule sets a minimum for it. So check by hand:
- each part a datasheet places, in its place;
- each power track's narrowest width against its current, with the step 5 calculator;
- each linear regulator's heat at your warmest temperature, against its datasheet's limit;
- the connectors, holes and outline against the enclosure, in KiCad's 3D viewer.
Why here: the review needs the finished copper, and a fault found now costs a reroute, not a board. PCB Agent's board review measures the first three on each board it designs: its modules' layout rules, each rail's narrowest track for a 10 °C rise by IPC-2221, and each linear regulator's heat where its datasheet gives the figures. Can AI design a PCB? gives a short review for any board.
Ten steps of a PCB design in four phases, and where ERC, DRC and the review send you back, drawn from KiCad's documentation.
10. Export the fabrication files
Plot the Gerbers from the Plot dialog in the File menu: the copper layers, the outline on Edge.Cuts, the solder mask and the silkscreen, plus the paste layers if the board needs a stencil. Generate the drill files from the same dialog. An assembled board also needs a bill of materials and a placement file; KiCad fabrication files covers each one and its settings.
Why last: the files are a snapshot of the board. Make them once DRC and the review pass, with the zones refilled, and again after any change.
Limits
This guide covers a two-layer board designed by hand in KiCad 10. It leaves out RF, high-speed and high-voltage design, four or more layers, flex circuits, simulation, and drawing your own symbols and footprints. The checks say the files are right, and only a board in your hands says it works: the roadmap says where PCB Agent's own boards stand. How an AI PCB design agent works shows what PCB Agent checks at each step.
Sources
- Getting Started in KiCad, KiCad 10.0 documentation
- Schematic Editor, KiCad 10.0 documentation
- PCB Editor, KiCad 10.0 documentation
- Calculator Tools: track width, KiCad 10.0 documentation


