Most ERC errors mean a connection breaks a rule its pins' types set: a pin left open, a power input whose net has no power output, two outputs tied together. KiCad 10 lists 47 checks. Fix the circuit or a wrong pin type, and add a PWR_FLAG only to a power net nothing on the board drives.
How ERC decides what is wrong
Every pin of a KiCad symbol has one of twelve electrical types. A resistor's and a connector's pins are passive; a regulator's output is a power output. ERC checks the pins on each net against rules for their types:
- Connections. Every pin is on a net, and some pins must be driven: a power input by a power output, for one.
- Conflicts. Each pair of types on a net is looked up in the Pin Conflicts Map. By default, two outputs tied together are an error.
- Bookkeeping. References are unique, every unit of a symbol is placed, and labels connect something.
KiCad 10's list gives each of its 47 checks a default severity: error, warning or ignored. Schematic Setup can change most of them.
Input Power pin not driven by any Output Power pins
This error means a power input pin sits on a net with no power output pin. KiCad's manual calls it common, since ERC cannot see power arrive through a part whose pins are not power outputs. Three situations cause it, and a flag fixes two:
Three causes of ERC's undriven power input, two fixed by a PWR_FLAG and one a real fault, drawn from the KiCad 10.0 documentation.
- Power comes in through a connector. Its pins are passive, so to ERC the supply drives nothing. Put a PWR_FLAG on the net.
- The net is ground. A regulator's output is a power output, but its ground pin is usually a power input, so regulators can share a ground without two power outputs meeting, and nothing drives it. Ground needs a PWR_FLAG even when every rail is driven.
- A part on the board should drive the net, and does not. The error is real. A wire stops short of a pin, a label is misspelled, or a hidden power input pin has joined a net named after itself instead of your rail. Fix the connection: a flag would silence the one message that shows the rail has no source.
What PWR_FLAG tells ERC, and where it belongs
PWR_FLAG is a symbol in KiCad's power library with one pin, typed power output. On a net, it tells ERC that the net has a source, so every power input on it counts as driven. Any power output pin does the same.
It belongs on a net with power inputs where ERC cannot see the power arrive: a supply from a connector, the ground, and a net after a part in series with passive pins, since ERC does not carry a power net through a component. The manual's example flags the nets after a filter, where the chip's power pins are, and not the nets before it, which carry no power input.
It does not belong on a net that a part of the board drives. On a regulator's output it puts two power outputs on one net, an error. On a rail that should be driven and is not, it hides the fault. Ask where the net's power comes from: a connector or the ground keeps its flag, and a part on this board means the flag covers a break.
Five more messages beginners meet
Pin not connected
A pin is on no net. ERC reports it as an error unless the pin has a no-connect flag or the type unconnected. Connect the pin if the part needs it, and flag it only where the datasheet lets it float. ERC takes a flag at its word, so a needed pin flagged by mistake passes and stays open on the board. Two warnings guard the flags: a flagged pin that is connected, and a flag on no pin or label.
Conflict problem between pins
Two pin types met on a net, and their cell in the Pin Conflicts Map, in Schematic Setup, reads warning or error rather than allowed. Often the circuit is wrong: two outputs on one net fight whenever they disagree. Sometimes the symbol is, as with a pin its datasheet calls open drain, drawn as a plain output: give it the type open collector. A PWR_FLAG on a regulator's output trips this check too.
Symbol is not annotated
A symbol that was never numbered shows a question mark in place of its number, R? rather than R1. ERC reports it as an error, in a message that begins Item not annotated. Run the annotation tool on the symbols that have no number, so the references already in use keep theirs. Duplicate references are an error of their own.
Symbol has units that are not placed
Some symbols come in units that are placed one by one. A unit left off the sheet connects nothing. If it holds power input pins, ERC reports an error; any other missing unit is a warning. Place every unit, the one with the power pins first, and wire an unused unit's pins as the datasheet asks.
Labels that differ by spelling
Labels with the same name are connected, so a misspelled label starts a net of its own. ERC warns when two labels differ only in case, and when a label's net reaches fewer than two pins; a global label used once is ignored by default. A misspelling such as SCL on one end and SLC on the other, with two pins or more on each half, passes all three. Copy labels rather than retype them, and treat each label ERC flags as a misspelling until shown otherwise.
What not to do: retype a pin or exclude the message
Two quiet fixes make a message go away and leave the fault in place.
Retyping a pin to suit ERC. Make a regulator's input passive and its error goes, along with ERC's check that its net has a source. The manual calls ERC's quality "directly related to the care taken in declaring electrical pin properties". Change a pin's type only to match its datasheet.
Excluding the violation. An exclusion hides one violation and no other, kept between runs and out of the list unless you show exclusions. Setting a whole check to ignore, or allowing a pair in the Pin Conflicts Map, silences that message across the schematic. Exclude a violation only after checking it against the datasheet, and note why.
How a schematic drawn by code passes ERC
PCB Agent's schematics are drawn by code from modules, circuits we keep as data, and the connections between them, then checked by KiCad running with no window, as KiCad AI explains. Each message above has a rule there:
- Annotation. Code numbers the parts by prefix in the order of the board's modules: R1 and R2 in the first, R3 in the next.
- Open pins. Each module lists every pin of its symbol, on a net or open on purpose, and the library's checks refuse one that leaves a power input open or connects a pin KiCad marks not to connect. A pin alone on its net gets a no-connect flag.
- Power. Each module declares its power inputs, power outputs and ground. Before anything is drawn, code checks that every power input and ground is on a net, that each rail has one source, and that power entering the board reaches what it feeds. Only then does the sheet get a PWR_FLAG on each power net that no power output pin drives, such as a connector's supply or the ground.
- Units. The composer places one-unit symbols only.
- Labels. Each label carries its net's own name, and KiCad's netlist of the sheet must join exactly the pins the board joins, or the job fails.
- The check. kicad-cli runs ERC with every severity reported. One error stops the job with its files kept, and nothing is delivered. Warnings are counted, and the report delivered with the fabrication files lists every check.
Limits
ERC checks connections and pin types, not whether the circuit works: a wrong resistor value passes it. Layout is DRC's job: JLCPCB design rules in KiCad sets its rules for one fab, and Can AI design a PCB? covers what neither check catches. This article covers single-sheet schematics in KiCad 10, not buses or hierarchical sheets. And a check is not a test: every schematic PCB Agent composes has to pass ERC, but only a built board shows a circuit works, and the roadmap shows where PCB Agent's own boards stand.
Sources
- Schematic Editor: electrical rules checking, KiCad 10.0 documentation
- Schematic Editor: list of ERC checks, KiCad 10.0 documentation
- Schematic Editor: power pins and power flags, KiCad 10.0 documentation
- Schematic Editor: pin electrical types, KiCad 10.0 documentation
- Schematic Editor: reference designators and symbol annotation, KiCad 10.0 documentation
- KiCad 10 source: the annotation check's messages, KiCad on GitLab


