KiCad 10 has no autorouter for a whole board: its own finishes one track at a time, and anything more runs outside it, through Specctra files. We run Freerouting 2.4.1 that way, with no window: it routed all 23 boards of our test suite cleanly, and left one to four connections on 7 of 31 harder ones.
Does KiCad have an autorouter?
Not for a whole board. KiCad's PCB editor manual documents an interactive router with three modes:
- Highlight Collisions: you route, and it marks what collides.
- Shove: it walks around what cannot move and pushes aside what can, and never creates a DRC violation.
- Walk Around: like Shove, but it moves nothing.
The nearest thing to autorouting is finishing a track. Press F while routing, or select pads and choose Attempt Finish Selected. The manual calls this "a limited form of auto-routing that considers a single track at a time". It stays on the current layer and adds no vias.
For a whole board, the manual points to an external autorouter. You export the board as a Specctra DSN file, route that file, and import the Specctra session (SES) the router writes. The import adds tracks and vias to the board you exported. The manual names no autorouter. Freerouting, an open-source one under the GPL, publishes its own plugin in KiCad's Plugin and Content Manager.
Running Freerouting with no window: the arguments that matter
On a server there is no plugin and no window. Freerouting is a Java program, and you run it on the DSN file. These are the arguments its own command-line documentation lists, with what we pass:
-de board.dsnand-do board.ses: the design in, the session out.-mp 20: the most passes it may take. Our later attempts allow 60, then 100.-mt 1: one thread. By default Freerouting takes every logical processor but one, and with several threads its result changed from run to run on our boards.-da,--gui.enabled=false,--api_server.enabled=falseand--logging.file.enabled=false: no analytics, no window, no server, no log file. Its settings file goes into the job's folder, so nothing carries from one job to the next.
Two more things belong to the run, not to Freerouting. A timeout of our own bounds it. And it runs inside the job's folder, on relative paths, because the DSN file records the path it was written to.
What comes back needs reading too. Freerouting 2.4.1's fanout pass draws a segment it cannot fit at three quarters, three fifths, then half of the track width. On our 0.15 mm tracks that is 0.1125, 0.09 and 0.075 mm, and the last two fall under both fabs' 0.1 mm minimum. Our import widens anything under the fab's minimum back to it, and leaves the route as it is. The import also moves footprints, by nanometres, onto the session's 0.1 µm grid: a change the manual does not mention, and one that matters when you compare two boards byte for byte.
What it finished, and what it left
We measured it on our own boards, rules and code in a trial on 8 October 2026:
- The 23 boards of our test suite: all 23 routed completely, and passed DRC under two fabs' rules.
- 31 harder boards composed from the library, ESP32, RP2040 and sensor designs on outlines from the smallest their parts fit to larger ones: the first attempt finished 24. On the other seven it left one connection on six, and four on one.
What it leaves is small, but it stops a job. Our loop tries again with more passes, then more room, then more room and passes again. On those seven boards it delivered one, after minutes each.
Why it left them: placement
We kept the same Freerouting release, with the same arguments, and ran a bench of nine requests: the seven hard boards and two controls. Freerouting's own attempts delivered:
- 3 of 9 on 9 October;
- 4 of 9 on 13 October, after a week of placement changes, among them each module's layout rules kept and every part fixed for the router;
- 8 of 9 the same day, with each small part placed at the free spot nearest its pin, over all its rotations;
- all 9 on 15 October, with that search started from where the part belongs, beside its pin.
The router did not change in that week. The boards it was handed did. A small part placed far from its pin needs a long track across the board, and on a busy board that track may have nowhere to go. More passes do not move the part. Before you blame the autorouter, look at the placement.
Finishing the last connection: a second router that adds copper only
A board left one connection short still needs that connection. Running Freerouting again on its own board does not help: reading its own routes back, it takes routed connections for open ones, and adds segments beside the copper already there. So a second router finishes: KiCadRoutingTools, an MIT-licensed router for KiCad boards. We pin its code at commit 8c739ec (5 October 2026), with the router library of its release 0.22.1.
Given a board as Freerouting left it, and told to add copper only, it finished 9 of 12 such boards in 3 to 16 seconds. Each passed DRC under both fabs, with Freerouting's copper untouched: all eight ESP32 boards, and one of four RP2040 ones. Whole jobs with it delivered five or six of the seven hard boards in each of three runs, against one without it. From scratch it does not replace Freerouting: it finished 21 of the 23 suite boards, with twice the vias.
Boards Freerouting 2.4.1 routed alone and with a second router adding copper only, from Simurq's own runs in October 2026.
Its defaults needed guards:
- Vias in pads. It puts them there unless told not to, and DRC has no rule against a via on a pad of its own net. A flag stops it, and our import refuses any new via that touches a pad of its own net.
- Sizes relaxed. It retries a hard connection below the sizes it was given. A flag stops that too, and a run whose report shows any relaxing is dropped.
- Success with a connection open. KiCad's own pcbnew counts what is left; the router's own count is never used.
- Ripping up. To get through, it sometimes reroutes one of the board's existing nets. We take only the copper it adds, and refuse a file that lost any of the board's own.
The same board on every machine: the clock, and the fix
One thread and fixed parts made Freerouting repeat itself on one machine. Across machines, it did not. On 14 October our nightly run on a slower test runner gave boards of our test suite other copper: the same copper in another order, or vias elsewhere.
The cause is in Freerouting 2.4.1's code. It bounds three kinds of work by the clock: the tightening after each routed connection (1 second), a connection's maze search (100 seconds, doubled each pass) and a pin's fanout (10 seconds a pass). The same work takes more of the clock on a slower or busier machine, so it is cut at another point, and the board comes out otherwise.
Our image replaces that time-limit class with one that counts work instead of milliseconds. It allows about twice the work the reference machine did in that time, and none of the work we measured reaches it. So every board comes out as the reference machine routes it. A test lays a board out on the whole machine and again on half a processor, and the two files match byte for byte. KiCad AI, and the same board twice covers the rest of what that takes.
Freerouting has moved on since: release 2.5.0, of 5 October 2026, describes a deterministic optimizer of its own. A new release enters our image only through the same bench, and our build refuses a jar whose time-limit class is not the one we replaced.
When not to autoroute
An autorouter finishes connections. It does not read what a datasheet asks of a route: a length, an impedance, a return path, a loop kept small. Where they set the layout, in RF, DDR memory, high-speed USB or controlled impedance, those nets are routed to the datasheet's numbers, not left to an autorouter. And no router fixes a board too small for its parts: placement fails first, at once.
Limits
Every figure here comes from two-layer boards routed with 0.15 mm tracks under two fabs' minimums, on designs composed from our library's modules. The trial ran in a sandbox and the bench in our own image, so their seconds are for our machines. Freerouting 2.4.1 is pinned, and its newer releases are untested here.
Sources
- PCB Editor, KiCad 10.0 documentation
- Command line arguments, Freerouting 2.4.1 documentation
- Freerouting v2.5.0, Freerouting on GitHub
- Freerouting plugin: package metadata, KiCad add-on repository
- KiCadRoutingTools, drandyhaas on GitHub
- KiCadRoutingTools at commit 8c739ec, drandyhaas on GitHub


