Featured Article

Arduino Library Storage: Where & How They're Saved

William Aug 14, 2026

The Arduino IDE, a robust and user-friendly platform for designing electronic projects, utilizes a distinctive way to manage and store libraries. If you're new to Arduino, understanding where these libraries are stored can help you manage your projects more efficiently.

an arduino library of things sits open on a table next to its contents
an arduino library of things sits open on a table next to its contents

Arduino libraries, essentially collections of pre-written functions and code snippets, offer convenient solutions to common tasks, such as reading sensor data, controlling actuators, or integrating complex hardware. But where does Arduino store these libraries?

Libraries
Libraries

Arduino IDE's Library Structure

The Arduino IDE keeps its libraries in a specific directory structure, mirroring the operating system you use. The directories are-generally structured like this: Arduino IDE folder → libraries → (library name). Here's a breakdown:

Understanding an Arduino Library :: Video #2 :: Arduino Library Series
Understanding an Arduino Library :: Video #2 :: Arduino Library Series

Arduino IDE folder: This is the main folder where you'll find all installations and components of the Arduino IDE.

Libraries Folder

📚 Build Your Own Arduino Library for ESP32!
📚 Build Your Own Arduino Library for ESP32!

The 'libraries' folder is where all installed libraries reside. This directory is crucial for the IDE to recognize, compile, and use the libraries in your sketches.

When you install a new library via the IDE (Sketch > Include Library > Manage Libraries), it gets stored in this 'libraries' folder.

Library Name

Import a Code Library to Arduino
Import a Code Library to Arduino

Each library is stored in a folder bearing its name. For instance, if you install the 'DHT' library for handling temperature and humidity sensors, you'll find a 'DHT' folder in the 'libraries' folder.

This folder contains the main header file (e.g., DHT.h), example sketches, and any additional files related to that library.

Finding Your Libraries

Arduino Library for Proteus
Arduino Library for Proteus

Knowing the physical location of these libraries can be handy in various situations. For instance, if you need to backup your Arduino projects and libraries, or you want to share your projects with others by providing all the necessary files, understanding the library location simplifies the process.

Here's how to find the libraries on different operating systems:

How To Create a Custom Arduino Library for ESP32 [2025]
How To Create a Custom Arduino Library for ESP32 [2025]
Arduino Library for Proteus - Beginner Friendly Tutorial
Arduino Library for Proteus - Beginner Friendly Tutorial
the top 10 best arduino sensor kits for beginners infographical poster
the top 10 best arduino sensor kits for beginners infographical poster
I2C LCD Display Interfacing with Arduino
I2C LCD Display Interfacing with Arduino
50 Arduino Sensors Every Maker Should Know
50 Arduino Sensors Every Maker Should Know
the arduino is an open source platform for innovation
the arduino is an open source platform for innovation
the function of an arduino kit is shown in blue and white striped paper
the function of an arduino kit is shown in blue and white striped paper
Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics
Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics
the diagram shows how to use an arduino and other electronic devices for home security
the diagram shows how to use an arduino and other electronic devices for home security
Learn Arduino with “Arduino Workshop, 2nd Edition: A Hands-on Introduction with 65 Projects”
Learn Arduino with “Arduino Workshop, 2nd Edition: A Hands-on Introduction with 65 Projects”
the arduino uno versus raspberry pi zero 2w vs raspberry pi zero
the arduino uno versus raspberry pi zero 2w vs raspberry pi zero
Types of arduino board
Types of arduino board
Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino | Random Nerd Tutorials
Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino | Random Nerd Tutorials
Librería Arduino List
Librería Arduino List
Explore more than 500 Arduino Projects Ideas | Code and Diagram
Explore more than 500 Arduino Projects Ideas | Code and Diagram
ESP32 Arduino Simulation Projects
ESP32 Arduino Simulation Projects
11 Best Arduino Simulators in 2026(Online and Offline)
11 Best Arduino Simulators in 2026(Online and Offline)
the instructions for arduino uno projects
the instructions for arduino uno projects

Windows

On Windows, the path to your Arduino libraries is usually something like:

C:\Program Files\Arduino\libraries

If you've installed the Arduino IDE in a different location, you'll need to adjust the path accordingly.

macOS

For macOS, the library path typically looks like this:

/Applications/arduino-ide/libraries

In macOS, you might find that the Arduino IDE is saved in your Applications folder by default.

Linux

On Linux distributions, the path depends on where you've installed the Arduino IDE. If you installed it using apt (e.g., sudo apt install arduino), the default path is:

/usr/share/arduino/libraries

Understanding where Arduino stores its libraries is a nuanced yet essential aspect of using the platform. By knowing this crucial information, you can keep your Arduino environment clean, organized, and efficient. Happy coding!