Featured Article

Arduino Library Storage: Where Does It Keep Them?

William Aug 14, 2026

Arduino, an open-source electronics platform widely used for building interactive electronic projects, comes with a rich set of libraries that extend its functionality. These libraries, written in C or C++, offer convenient functions for working with various hardware components like sensors, motors, and displays. But where does Arduino keep these libraries?

the arduino basics poster with instructions
the arduino basics poster with instructions

By default, Arduino libraries are stored in the Arduino IDE's library folder. The exact location of this folder depends on your operating system:

Arduino Libraries! What they are, how they work and how to install them
Arduino Libraries! What they are, how they work and how to install them

Library Folder Location

The Arduino IDE's library folder is usually located in the Arduino IDE installation directory. Here's where to find it on different operating systems:

Libraries
Libraries

Windows

The library folder is typically found in the Arduino folder under the Documents directory:

Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics
Forget the Arduino IDE: 5 Awesome Arduino IDE Alternatives - Learn Robotics

C:\Users\Username\Documents\Arduino\libraries

MacOS

On a Mac, you can find the library folder in the Arduino folder under your Home directory:

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

~/Library/Arduino/libraries

Using Arduino Libraries

Navigating to the library folder can help you understand what libraries are available. But to actually use a library in your Arduino project, you need to understand the includes and setup processes:

the top 10 best arduino sensor kits for beginners infographical poster
the top 10 best arduino sensor kits for beginners infographical poster

Including Libraries

To use a library in your sketch (Arduino program), you must include it at the top of your sketch using the #include preprocessor directive. For example, to include the popular Serial library, you would write:

๐Ÿ“š Build Your Own Arduino Library for ESP32!
๐Ÿ“š Build Your Own Arduino Library for ESP32!
I2C LCD Display Interfacing with Arduino
I2C LCD Display Interfacing with Arduino
Installing Arduino Library from GitHub - Bald Engineer
Installing Arduino Library from GitHub - Bald Engineer
How to Install a Library Onto the Arduino IDE - Tutorial45
How to Install a Library Onto the Arduino IDE - Tutorial45
Understanding an Arduino Library :: Video #2 :: Arduino Library Series
Understanding an Arduino Library :: Video #2 :: Arduino Library Series
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
Explore more than 500 Arduino Projects Ideas | Code and Diagram
Explore more than 500 Arduino Projects Ideas | Code and Diagram
50 Arduino Sensors Every Maker Should Know
50 Arduino Sensors Every Maker Should Know
How To Create a Custom Arduino Library for ESP32 [2025]
How To Create a Custom Arduino Library for ESP32 [2025]
Top 7 Arduino Sensors Every Beginner Should Know
Top 7 Arduino Sensors Every Beginner Should Know
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
Types of arduino board
Types of arduino board
7 Arduino Projects Every Beginner Should Build
7 Arduino Projects Every Beginner Should Build
9 Easy-to-Use Arduino Modules for Beginners
9 Easy-to-Use Arduino Modules for Beginners
Arduino Programming Essentials โš™๏ธ | Practical Guide for Makers & Students
Arduino Programming Essentials โš™๏ธ | Practical Guide for Makers & Students
Arduino Library for Proteus - Beginner Friendly Tutorial
Arduino Library for Proteus - Beginner Friendly Tutorial
Unlock the power of Arduino programming and watch your ideas come to life! ๐ŸŒŸ Whether youโ€™re a compl
Unlock the power of Arduino programming and watch your ideas come to life! ๐ŸŒŸ Whether youโ€™re a compl
Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino | Random Nerd Tutorials
Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino | Random Nerd Tutorials

#include <Serial.h>

Setting up Libraries

Some libraries require additional setup to work properly. This could involve initializing variables, declaring objects, or calling functions. Always check the library's documentation for specific setup instructions.

It's also possible to install additional libraries through the Arduino IDE's Library Manager. This can save you the time and trouble of manually moving library folders.

Managing Libraries with the Library Manager

The Library Manager is a built-in tool in the Arduino IDE that simplifies library installation and updating. Here's how to use it:

Browsing Libraries

To browse available libraries, go to Sketch > Include Library > Manage Libraries...

Installing and Updating Libraries

Once you've found a library you want to use, click the Install button next to it. To update a library, first, select it, then click the Update button.

In understanding where Arduino keeps its libraries and how to use them, you're well-equipped to expand the capabilities of your Arduino projects. Happy tinkering!