A Beginners Intro To KiCAD

Date Published:
Last Modified:


KiCAD is an open-source electronic design CAD software package. It runs on Windows, Linux and MacOS.

The KiCAD logo.

The KiCAD logo.

KiCAD is a C++ program which uses the wxWidgets library to provide the GUI elements.

KiCAD organizes work into projects. Each project has a project file ending in .pro. A Project consists of schematics (.sch), a PCB design file (.kicad_pcb), component library files (.lib), and more.

KiCAD is not a single program, but rather a collection of applications that are bundled together. KiCAD consists of:

  • KiCAD: The self-titled project management tool. This can load .pro files and open other parts of the application such as Eeschema and PcbNew.
  • Eeschema: The schematic editing tool.
  • PcbNew: The PCB editing tool.
  • GerbView: The Gerber file viewer.

Any of these programs can be run individually if desired.


Debian-Like Linux (Ubuntu, Debian, …)

You can install the most recent stable release of KiCAD via the command-line with:

sudo add-apt-repository --yes ppa:js-reynaud/kicad-5.1
sudo apt update
sudo apt install --install-recommends kicad

KiCAD will typically install to /usr/share/kicad/.

To start KiCAD from the command line you can use:



Download and install the self-extracting installer from

Configuring The Global Symbol Library Table

The pop-up that occurs when you run KiCAD for the first time.

The pop-up that occurs when you run KiCAD for the first time.


Getting Around

By default, the mouse wheel will zoom in/out on the current schematic.

You can navigate the schematic hierarchy using the Navigate Schematic Hierarchy button as shown:

The 'Navigate Schematic Hierarchy' button in KiCAD.

The 'Navigate Schematic Hierarchy' button in KiCAD.

Keyboard Shortcuts

Mouse Wheel           Zoom in/out
Mouse Wheel + Ctrl    Pan left/right
Mouse Wheel + Shift   Pan up/down
Ctrl-D                Load datasheet for selected component (opens web browser)

The following keyboard shortcuts are to be pressed when the mouse cursor is over a component:

E                     Show symbol properties (Edit item).
Ctrl-E                Edit symbol (this loads up the symbol in the symbol editor).
M                     Move schematic item.
C                     Duplicate symbol or label.
G                     Grab the end of a wire and shorten/lengthen it.
A                     Place symbol (Add component).
P                     Place power net.
R                     Rotate item.
Del                   Delete item.
Shift-Enter           Close a dialogue box (e.g. the edit symbol properties box)


.lib     Schematic symbol library (contains multiple schematic symbols)
.pretty  Folder for component footprints

Both the schematic .lib files and the component symbol files are text based, so they play well with version control systems such as .git.

By default, the symbol libraries are installed to:

  • On Windows: C:\Program Files\KiCad\share\kicad\library
  • On Linux: /usr/share/kicad/library/

Each project can pull schematic symbols and footprints from two “tables” (groups) of libraries, global libraries and project libraries.

DigiKey maintains the digikey-kicad-library, a KiCAD schematic and footprint library of a large number of components that can be supplied by DigiKey. The aim of this library is to provide collection of visually consistent, accurate library parts that have been curated by the DigiKey team. The organization of the library follows the DigiKey family taxonomy.

3D Models

3D models are stored at <kicad install dir>/modules/packages3d.

e.g. on Linux:


This directory is saved to the KiCAD environment variable KISYS3DMOD. Inside this folder are folders named after part libraries with the suffix .3dshapes, e.g. Capacitor_SMD.3dshapes. Inside these folders are the 3D model .wrl files.

Unfortunately KiCAD does not support relative file paths when linking 3D models to the footprints (relative to the footprint library). So you have two options:

  • Use an absolute URL (which will work fine for one user but may break if more than one user will be using the library)
  • Create a KiCAD environment variable which points to the location of your 3D models

Board Routing

Getting Around

Keyboard Shortcuts

D          Start drawing a track
PgUp       Switch to top layer
PgDwn      Switch to bottom layer
F5         Switch to inner copper layer 1
F6         Switch to inner copper layer 2
+          Next copper layer
-          Previous copper layer
Ctrl-B     Hide pours
B          Show pours
Ctrl-H     Toggle high contrast mode
Alt-3      Load the 3D viewer

For PCBs with up to 4 layers, you can use the PgUp, PgDwn, F5, F6 shortcuts to switch between copper layers. However once you exceed 4 layers you will have to use the + and -. It might suit you to just use + and - for any sized board, as there is less muscle memory needed!

KiCAD has a push and shove router.

DRC Rules

As of May 2020, there is no way to add a check for silkscreen over pad in the design rules. The best you can do is select exclude pads from silkscreen when exporting the gerbers, which will remove all silkscreen from pads. This is not as ideal though, as this may remove important information from the silkscreen such as designators, version numbers or polarization marks.

File Types

.dcm            # Schematic symbol library file. Stores the description, datasheet and keyword fields.
.lib            # Schematic symbol library file. Stores everything about a symbol except the description, datasheet and keyword fields.
-rescue.lib     # Rescued library file
.pro            # KiCAD project file
.sch            # Schematic sheet file
.sch-bak        # Backup of a schematic file.
fp-info-cache   # A cache file with info about footprints. This file is rebuilt often by KiCAD.

KiCAD expects the PCB filename to have the same basename (i.e. excluding the .pcb) as the project file (.pro). This has to be true if you want to open the PCB from the KiCAD application by pressing the PCB Layout Editor button.

Plugins And Python Scripting

On Linux, KiCAD uses the system-installed Python (whatever the command python points to). On all other platforms, KiCAD ships with it’s own version of Python.

On non-Linux platforms, you can find the Python executable at:

<KiCAD installation dir>/bin/python.exe

e.g. on Windows:
C:\Program Files\KiCad\bin\python.exe

Plugins are installed to:

<KiCAD installation dir>\share\kicad\scripting\plugins

The Windows version of KiCAD ships with Python v2.7. If you want to use Python v3.x instead, you can rename python.exe located at C:\Program Files\KiCad\bin\python.exe to something like python.exe.old. This will cause the system Python to be invoked instead of the version shipped with KiCAD. The big limitation with this technique is that none of the scripts will be able to import pcbnew, so it only really suitable for running scripts which do not depend on the Python KiCAD API.

Renaming A KiCAD Project

In earlier versions of KiCAD, it was unnecessarily difficult to rename a KiCAD project. However, when attempted in KiCAD v5.1.6 it is now possible! To do so, you will want to rename the following files all at the same time (updating the <ProjectName> bit), and from outside KiCAD (make sure KiCAD is closed when you do this):

  • <ProjectName>.pro
  • <ProjectName>.sch: This is the “root level” schematic sheet. You don’t to rename other schematic sheets, just the one at the top-level in the hierarchy.
  • <ProjectName>.sch-bak
  • <ProjectName>.kicad_pcb
  • <ProjectName>.kicad_pcb-bak

Once you have renamed all those files, you should be able to open this project in KiCAD, your schematic/PCB links should work, and it will not complain about the changes!

Like this page? Upvote with shurikens!

Related Content:


comments powered by Disqus