Best microSD Cards for ESP32 Projects: 9 SanDisk, Samsung, Kingston and Raspberry Pi Picks Compared (Buying Guide)

⚠️ Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through our links, we may earn a small commission at no extra cost to you. Every product below was checked against its live Amazon listing before publishing. Prices change often, so we don’t list them here. Tap any Buy Here button to see the current price on Amazon.
Ultimate Buying Guide

💾 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.

✅ 9 Cards Compared ✅ Verified Amazon ASINs ✅ Endurance Ratings Explained ✅ ESP32 FAT32 Tips

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.

💡 Before you buy: Fast UHS-I speeds are wasted on an ESP32. Its SPI and SDMMC interfaces run far below what a modern card can deliver, so a 170 MB/s card writes no faster than a 100 MB/s card on the ESP32. What you should pay for is endurance and reliability. Also, a 32GB SDHC card ships formatted as FAT32, which the Arduino SD and SD_MMC libraries expect. Cards of 64GB and above ship as exFAT and usually need reformatting to FAT32 before an ESP32 sketch will mount them.

⚡ Quick Comparison: All 9 microSD Cards

CardTypeKey SpecBest ForBuy
🥇 SanDisk MAX Endurance 32GBMax endurance15,000 h FHD, U3 V30ESP32-CAM RecordingBuy Here →
🍓 Raspberry Pi A2 32GBA2 boot card5,000 read IOPS on Pi 5Raspberry Pi ServersBuy Here →
🚀 SanDisk Extreme 64GBFast A2Up to 170 MB/s readFast TransfersBuy Here →
🏭 Kingston Industrial 16GBIndustrial pSLC30K P/E, -40 to 85°COutdoor LoggersBuy Here →
🎥 Samsung PRO Endurance 32GBHigh enduranceUp to 100 MB/s readSecurity CamsBuy Here →
📹 SanDisk High Endurance 32GBHigh endurance2,500 h, U3 V30Budget EnduranceBuy Here →
🛡️ Kingston High Endurance 32GBHigh endurance26.9K hours, 3K P/E24/7 LoggingBuy Here →
💰 SanDisk Ultra 32GBGeneral purposeUp to 120 MB/s, A1Budget EverydayBuy Here →
📦 Samsung PRO Plus 128GBFast high capacity180 MB/s read, 130 MB/s writeBig ArchivesBuy Here →

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

🥇 BEST FOR ESP32-CAM RECORDING AND LONG-TERM LOGGING

SanDisk MAX Endurance 32GB microSDHC

⭐ 4.8/5 · Our Rating · Built for Nonstop Writes
15,000 h
FULL HD RECORDING
100 / 40
MB/s READ / WRITE
U3 V30
CLASS 10
-25 to 85°C
OPERATING
Buy on Amazon →
SanDisk MAX Endurance 32GB microSDHC card for ESP32 data logging

SanDisk designed the MAX Endurance line for dash cams and home security cameras that write all day, every day, which is exactly the workload of an ESP32-CAM saving motion clips or timelapse frames, or a logger appending readings around the clock. SanDisk rates the 32GB card for up to 15,000 hours of Full HD recording, six times the figure for its regular High Endurance card of the same size, and backs it with a 3-year limited warranty. It is rated Class 10, U3 and V30 with up to 100 MB/s reads and 40 MB/s writes, and works from -25 to 85°C. As a 32GB SDHC card it comes formatted FAT32, so it mounts straight away with the Arduino SD_MMC library.

✅ Pros
  • Very high endurance rating
  • Wide temperature range
  • FAT32 out of the box
  • Adapter included
❌ Cons
  • Costs more than standard cards
  • No A1/A2 rating for Pi OS use
🎯 Verdict: The card to put in any ESP32 that writes continuously and has to keep working for years.

👉 Check Price on Amazon →

🍓 BEST FOR RASPBERRY PI HOME ASSISTANT AND MQTT SERVERS

Raspberry Pi A2-Class 32GB SD Card (SC1628)

⭐ 4.7/5 · Our Rating · Tuned for Pi 4 and Pi 5
5,000
4K READ IOPS (PI 5)
2,000
4K WRITE IOPS (PI 5)
A2
C10 U3 V30
SDR104
+ COMMAND QUEUEING
Buy on Amazon →
Official Raspberry Pi A2-class 32GB microSD card

Many ESP32 projects end up talking to a Raspberry Pi running Home Assistant, Mosquitto or Node-RED, and an operating system cares about random reads and writes far more than sequential speed. The official Raspberry Pi A2 card was built for exactly that: it supports the DDR50 and SDR104 bus modes and the command queueing extension used by the Pi 5, and Raspberry Pi quotes 5,000 random 4K read IOPS and 2,000 write IOPS on a Pi 5 (3,200 and 1,200 on a Pi 4). It is rated C10, U3, V30 and A2, and described as shock-proof, X-ray-proof and magnet-proof. On an ESP32 it behaves like any good 32GB card.

✅ Pros
  • Strong random I/O on Pi 5
  • Command queueing support
  • Made for Raspberry Pi OS
  • FAT32-size 32GB option
❌ Cons
  • No published endurance rating
  • Check the seller on Amazon
🎯 Verdict: The best boot card for the Raspberry Pi that runs your ESP32 smart home back end.

👉 Check Price on Amazon →

🚀 Detailed Review: Fast All-Rounder

🚀 BEST FOR FAST TRANSFERS · ⭐ 4.6/5

3. SanDisk Extreme 64GB microSDXC (SDSQXAH-064G)

Up to 170 MB/s read · C10, U3, V30, A2 · 4K and 5K video · -25 to 85°C operating
Buy Here →
SanDisk Extreme microSDXC card with SD adapter

The SanDisk Extreme is the card to grab when you move a lot of data between the card and your computer: pulling a week of ESP32-CAM JPEGs off for review, loading a library of MP3s for an ESP32 audio player, or copying large datasets. The 64GB version reads at up to 170 MB/s in a fast reader and carries the A2 rating, so it also makes a quick Raspberry Pi boot card. On the ESP32 itself it runs no faster than a cheaper card, and as a 64GB SDXC card it arrives formatted exFAT, so reformat it to FAT32 before using it with the Arduino SD libraries.

✅ Pros: Very fast offload; A2 for Pi; wide temperature range.
❌ Cons: Speed unused on ESP32; needs FAT32 reformat.
🎯 Verdict: The best pick when you copy big files on and off the card often.

➕ Also Worth Considering

🏭 BEST FOR OUTDOOR AND HARSH ENVIRONMENTS · ⭐ 4.7/5

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 →
🎥 BEST FOR DIY SECURITY CAMERAS · ⭐ 4.6/5

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 →
📹 BEST BUDGET ENDURANCE CARD · ⭐ 4.6/5

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 →
🛡️ BEST FOR 24/7 LOGGING ON A BUDGET · ⭐ 4.4/5

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 →
💰 BEST BUDGET EVERYDAY CARD · ⭐ 4.3/5

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 →
📦 BEST HIGH-CAPACITY CARD · ⭐ 4.5/5

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?

ESP32 JobWhat It NeedsBest Card
ESP32-CAM motion or timelapse recordingConstant writes for monthsSanDisk MAX Endurance or Samsung PRO Endurance
Outdoor weather station or greenhouse loggerHeat, cold and years of uptimeKingston Industrial
Indoor sensor CSV loggingReliable small writesKingston High Endurance or SanDisk High Endurance
Web server files, display images, MP3 playerMostly readsSanDisk Ultra
Raspberry Pi with Home Assistant or MQTTRandom I/O for an OSRaspberry Pi A2 or SanDisk Extreme
Archiving photos and large datasetsCapacity and fast offloadSamsung PRO Plus or SanDisk Extreme

🛒 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:

🥇 Best for ESP32-CAM Recording: SanDisk MAX Endurance 32GB
Buy Here →
🍓 Best for Raspberry Pi Servers: Raspberry Pi A2 32GB
Buy Here →
🏭 Best for Outdoor Loggers: Kingston Industrial 16GB
Buy Here →
🚀 Best for Fast Transfers: SanDisk Extreme 64GB
Buy Here →
💰 Best Budget Card: SanDisk Ultra 32GB
Buy Here →

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.

Leave a Comment