💾 Best microSD Cards for ESP32 Projects
ESP32-CAM recording, sensor data logging, audio players and the Raspberry Pi running your Home Assistant server all live or die by the card. Here are 9 cards that hold up, from high-endurance and industrial cards to fast A2 cards.
The ESP32 talks to microSD cards over SPI or, on the ESP32, ESP32-S3 and ESP32-P4, over the faster SDMMC host. Either way the card does a lot of quiet work: an ESP32-CAM saving motion clips or timelapse frames, a weather station appending a CSV line every minute, an audio board streaming MP3s, or a Raspberry Pi hosting Home Assistant, Mosquitto and Node-RED for your ESPHome devices. When a cheap or worn-out card fails, you usually find out weeks later, when the log is corrupt or the Pi will not boot.
This guide compares 9 microSD cards chosen for that kind of work. We focus on what actually matters on a microcontroller bench: endurance under constant small writes, temperature range for outdoor builds, FAT32-friendly capacities, and, for the Raspberry Pi, random I/O performance.
⚡ Quick Comparison: All 9 microSD Cards
Specs come from the manufacturers and the live Amazon listings. Star scores below are our ratings.
🔍 What Matters in a microSD Card for ESP32
Endurance
Constant small writes wear flash quickly. Endurance cards quote recording hours, P/E cycles or TBW so you know how long they last.
Temperature Range
A sealed box in the sun or a freezer logger needs a card rated well beyond room temperature. Industrial cards cover -40 to 85°C.
Capacity and Format
16GB and 32GB SDHC cards are FAT32 out of the box. A year of CSV logs fits easily, and you avoid reformatting.
A1 / A2 Rating
Application-class ratings promise random I/O performance. That matters for a Raspberry Pi running an OS, not for an ESP32.
Genuine Stock
Fake cards report a large size but lose data past their real capacity. Buy well-known brands and test new cards before trusting them.
🏆 Detailed Reviews: The Top Two
🚀 Detailed Review: Fast All-Rounder
➕ Also Worth Considering
4. Kingston Industrial 16GB microSDHC (SDCIT2/16GB)
Kingston runs TLC flash in pSLC mode on this card, which raises its rating to 30,000 P/E cycles, ten times the 3,000 cycles of its consumer High Endurance card. It is rated for -40 to 85°C operation, up to 100 MB/s read and 80 MB/s write, Class 10, U3, V30 and A1, with a 3-year warranty. For a weather station, a greenhouse controller or a logger in a car or shed, this is the most robust card here. 16GB is plenty for years of sensor data.
Buy Here →5. Samsung PRO Endurance 32GB (MB-MJ32KA/AM)
Samsung’s endurance card targets dash cams, body cams and security cameras, the same continuous-write job as an ESP32-CAM recorder. Samsung’s product page quotes up to 140,000 hours of recording for the PRO Endurance line (the figure depends on capacity), and the 32GB card reads at up to 100 MB/s. A solid alternative to the SanDisk MAX Endurance if you prefer Samsung or find it in stock first. An SD adapter is included.
Buy Here →6. SanDisk High Endurance 32GB (SDSQQNR-032G)
The step below the MAX Endurance. SanDisk rates the 32GB High Endurance card for up to 2,500 hours of Full HD recording, with up to 100 MB/s read and 40 MB/s write, Class 10, U3 and V30, and a 2-year warranty. That is still far more durable than a standard card, and it is a sensible choice for a hobby ESP32-CAM or a logger you check on regularly.
Buy Here →7. Kingston High Endurance 32GB (SDCE/32GB)
Kingston rates this card for 3,000 P/E cycles and 26.9K hours of recording, which it describes as 24/7 recording over its 3-year warranty. The 32GB version reads at up to 95 MB/s and writes at up to 30 MB/s (Class 10, U1, A1), and it operates from -25 to 85°C. Plenty for an ESP32 data logger, which writes far less than a camera.
Buy Here →8. SanDisk Ultra 32GB microSDHC (SDSQUA4-032G)
The everyday card most makers already have in a drawer. The current Ultra reads at up to 120 MB/s and is rated Class 10, U1 and A1. It is a fine choice for storing web server files, config files, fonts and images for an ESP32 display, or audio for an ESP32 player, where the card is read far more often than it is written. For constant logging or recording, choose one of the endurance cards above.
Buy Here →9. Samsung PRO Plus 128GB (MB-MD128SA/AM)
When you need room for a big archive, such as months of ESP32-CAM snapshots copied off for safekeeping, a Raspberry Pi media or backup store, or a large audio library, the PRO Plus delivers up to 180 MB/s read and 130 MB/s write. Remember that a 128GB card ships as exFAT: reformat it to FAT32 with a third-party formatting tool before an ESP32 sketch can mount it with the standard Arduino SD libraries.
Buy Here →🧭 Which Card for Which ESP32 Job?
🛒 Which microSD Card Should You Buy?
You record with an ESP32-CAM
Get the SanDisk MAX Endurance 32GB, or the Samsung PRO Endurance as an alternative.
Your logger lives outside
The Kingston Industrial handles -40 to 85°C and 30K P/E cycles.
You run a Pi server
Boot it from the Raspberry Pi A2 card.
You want a cheap general card
The SanDisk Ultra 32GB for read-heavy projects.
❓ Frequently Asked Questions
What size microSD card works best with an ESP32?
16GB or 32GB SDHC cards are the easiest choice. They come formatted as FAT32, which the Arduino SD and SD_MMC libraries mount without any changes. Larger SDXC cards also work once you reformat them to FAT32, but few ESP32 projects need that much space.
Will a faster card make my ESP32 write faster?
Not really. The ESP32’s SPI and SDMMC interfaces are the bottleneck, and they run far below the 100 MB/s and higher speeds printed on modern cards. The 4-bit SDMMC mode on the ESP32 and ESP32-S3 is much faster than SPI, so wiring and bus mode matter more than the card’s speed class.
Why does my ESP32 fail to mount the card?
The usual causes are an exFAT-formatted card, long or loose wires, missing pull-up resistors on the SD lines, and a weak 3.3 V supply, since cards draw short current spikes while writing. On the ESP32-CAM, the SD data line shares GPIO 4 with the flash LED, so using 1-bit SD_MMC mode stops the LED flickering on every write.
Do I need a high-endurance card for data logging?
For a logger that writes one line a minute, a standard card often lasts a long time, but each tiny write can force the card to rewrite a whole flash block. If the device must run for years without attention, or records images, an endurance or industrial card is cheap insurance. Buffering readings in RAM and writing them in batches also extends card life.
How can I tell if a microSD card is fake?
Fake cards report a larger capacity than they really have and silently lose data once full. Buy well-known brands from a trusted seller, and run a full write-and-verify test with a tool such as H2testw on Windows or F3 on Linux and macOS before trusting a new card with your data.
🏁 Final Verdict: Best microSD Cards for ESP32
The right card for each job:
For most ESP32 builds, a 32GB endurance card is the sweet spot: the SanDisk MAX Endurance for cameras and nonstop logging, the Kingston Industrial for anything that lives outdoors, and the Raspberry Pi A2 card for the Pi that runs your smart home. Pick the right board for your card with our ESP32 camera boards guide, plan an outdoor logger with our ESP32 weather station parts guide, and choose a server in our Home Assistant servers guide or Raspberry Pi and single board computers guide.
💬 Logging something unusual or fighting a card that won’t mount? Tell us about your project in the comments below, and we’ll help you pick the right card.
All Amazon links above use our affiliate tag (esp32tutorials-20). Purchasing through them supports esp32tutorials.com at no extra cost to you. Prices and availability change frequently, so always confirm the current price on Amazon before buying.
We are a team of experienced Embedded Software Developers with skills in developing Embedded Linux, RTOS, and IoT products from scratch to deployment with a demonstrated history of working in the embedded software industry. Contact us for your projects: admin@esp32tutorials.com



