This website requires JavaScript.
Coupons
Ship to
Blog

ESP8266 vs ESP32: Which One Should You Use?

Published Oct 16, 2026, updated Oct 16, 2026

11 min

Table of Contents
  • ESP8266 vs ESP32: What's the Difference?
  • Can the ESP32 Replace the ESP8266?
  • When Should You Still Use the ESP8266?
  • What Is the ESP8266 and Where Is It Used?
  • What Is the ESP32 and What Does It Add?
  • Which ESP32 Should You Use to Replace the ESP8266?
  • How to Choose an ESP8266 or ESP32 Module for Your PCB
  • Using ESP8266 or ESP32 Modules in JLCPCB PCB Assembly
  • Conclusion
  • FAQs About ESP8266 vs ESP32

Key Takeaways

  • ESP32: Dual-core 240 MHz CPU, Bluetooth Classic and BLE, 520 KB SRAM, and up to 34 GPIOs.
  • ESP8266: Single-core CPU, no Bluetooth, and around 50 KB of free RAM for applications.
  • Lifecycle status: Espressif marks the ESP8266 Not Recommended for New Designs (NRND) and names the ESP32-C2 (ESP8684) as its upgrade, although the ESP8266 remains in production with a longevity commitment.
  • Which ESP32 to use: Choose the ESP32-C2 for simple Wi-Fi or Bluetooth LE firmware, the ESP32-C3 for more memory or GPIO, and the original ESP32 for Bluetooth Classic, many analog inputs, CAN bus, or wired Ethernet.
  • Not a drop-in swap: Moving from the ESP8266 changes the pinout, bootstrapping pins, module footprint, and firmware.

“I have an ESP8266 design. Should I keep it, migrate it, and if I migrate it, which ESP32-series device should I choose?”


For most new designs, the ESP32 is the more capable option, while the ESP8266 remains a practical choice for existing products. Both are Espressif system-on-chip (SoC) devices with 2.4 GHz Wi-Fi, but the original ESP32 adds Bluetooth, a dual-core CPU, more memory, and a wider range of peripherals.

Espressif now marks the ESP8266 as Not Recommended for New Designs (NRND) and recommends the ESP32-C2 (ESP8684) as its upgrade. The ESP8266 remains in production, so existing boards can keep using it.

In this guide, you will learn:

  • The difference between the ESP8266 and ESP32
  • Can ESP32 replace the ESP8266
  • When the ESP8266 is still the right part to use
  • What each chip offers, and which ESP32 replaces the ESP8266
  • How to choose an ESP8266 or ESP32 module for your PCB

esp8266 vs esp32 modules

Figure: ESP8266 vs ESP32 modules.

ESP8266 vs ESP32: What's the Difference?

The ESP8266 is a Wi-Fi SoC with a single-core 32-bit processor and no Bluetooth.

The ESP32, by contrast, is a family of SoCs. The original ESP32 adds a dual-core processor, Bluetooth Classic and Bluetooth Low Energy (LE), and far more memory and peripherals.

In short, the ESP8266 provides basic Wi-Fi connectivity, while the ESP32 adds Bluetooth, more processing power, and more peripherals.

PropertyESP8266 (ESP8266EX)ESP32 (ESP32-D0WD-V3)Why It Matters
CPUSingle-core Tensilica L106, up to 160 MHzDual-core Xtensa LX6, up to 240 MHzTwo cores provide more processing capacity for concurrent application and system tasks.
RAMAround 50 KB free for the application heap and data when connected to a router520 KB, plus 16 KB that stays powered in deep sleepThe ESP8266 figure is free application RAM, not total SRAM.
Wi-Fi802.11 b/g/n, 2.4 GHz, up to 72.2 Mbps802.11 b/g/n, 2.4 GHz, up to 150 MbpsNeither chip supports 5 GHz Wi-Fi
BluetoothNoneBluetooth 4.2 Classic and Bluetooth LENeeded for phone setup over Bluetooth and LE sensors
General-purpose I/O (GPIO)17 pins34 pins, 6 of them input-onlyMore pins for displays, sensors, and buses
Analog-to-digital converter (ADC)One 10-bit input, 0 to 1.0 V12-bit, up to 18 channelsThe ESP8266 can read only one analog signal directly
Other peripheralsUART, SPI, I2S, pulse-width modulation (PWM)Adds DACs, touch sensing, MAC, and a CAN 2.0 controllerCovers analog output, touch buttons, wired Ethernet, and CAN bus
Hardware securityWPA/WPA2 Wi-Fi security; no secure boot or flash encryption listedSecure boot and flash encryptionProtects firmware in commercial products
Deep-sleep current (chip)20 µA10 µABoard-level current is usually higher
Lifecycle statusNRNDIn productionNew designs should start on a part not marked NRND

Can the ESP32 Replace the ESP8266?

For new designs, Espressif recommends moving from the ESP8266 to an ESP32-series device, but it is not a drop-in replacement.

The latest ESP8266EX datasheet marks the chip as Not Recommended for New Designs (NRND) and recommends the ESP8684, a member of the ESP32-C2 series, as the upgraded model.

decision flow for choosing esp8266 or esp32 variants

Figure: Decision flow for choosing between the ESP8266 and ESP32 variants.

SituationUse
New Wi-Fi product with simple firmwareESP32-C2 (ESP8684)
New product that needs Wi-Fi, Bluetooth LE, and more memory or GPIOESP32-C3
Bluetooth Classic, such as audio streamingOriginal ESP32
Many analog inputs, CAN bus, or wired EthernetOriginal ESP32
Reordering or repairing an existing ESP8266 boardESP8266

The replacement changes both the board and the firmware. The pinout, bootstrapping pins, and module footprint differ. ESP8266 code must also be ported to an ESP32 framework, such as ESP-IDF or the Arduino core for ESP32.

When Should You Still Use the ESP8266?

Use the ESP8266 when a product is already built around it, and a redesign would cost more than keeping it. Moving an existing board to an ESP32 means a new schematic, a new layout, ported firmware, and possibly new radio certification testing for the end product.

Common cases include:

  • Maintaining a released product: Reorders, repairs, and small revisions of a board already certified with an ESP8266 module.
  • Proven firmware: A mature ESP8266 codebase, where porting and requalifying it would outweigh the hardware gains.
  • Products near the end of production: Designs that will stop shipping before the ESP8266 longevity commitment ends.
  • Prototypes on existing boards: ESP8266 development boards, such as NodeMCU boards, that are already on hand and cover basic Wi-Fi experiments.

An ESP32-series part is the better choice because the ESP8266 is NRND, lacks Bluetooth, and leaves only around 50 KB of RAM for the application.

What Is the ESP8266 and Where Is It Used?

The ESP8266 is Espressif's Wi-Fi SoC built around a Tensilica L106 32-bit processor. It integrates the antenna switch, power amplifier, low-noise amplifier, and filters, but it lacks a programmable ROM, so the firmware resides in external SPI flash. Typical applications include home automation, smart plugs and lights, and simple Wi-Fi sensor nodes.

esp8266 chip module and development board

Figure: ESP8266 chip, module, and development board shown at matched scale.

You will find it at three levels:

  • Chip: The ESP8266EX in a 5 × 5 mm QFN32 (quad flat no-lead) package. It needs at least 512 KB of external flash, or 1 MB for over-the-air (OTA) firmware updates.
  • Module: Espressif's ESP-WROOM-02, now also NRND, or third-party modules such as the ESP-12F. A module adds the flash, the crystal, and a PCB antenna or an external antenna connector.
  • Development board: Boards such as NodeMCU add a USB connector, a USB-to-UART bridge, and a 3.3 V regulator for prototyping.

What Is the ESP32 and What Does It Add?

The ESP32 is Espressif's family of Wi-Fi and Bluetooth SoCs. The original ESP32, adds five capabilities to what the ESP8266 offers:

esp8266ex and esp32 compared

Figure: ESP8266EX and ESP32 compared.

  • Dual-core processing: Two Xtensa LX6 cores at up to 240 MHz.
  • Bluetooth: Bluetooth 4.2 Classic and Bluetooth LE alongside Wi-Fi.
  • Memory: 520 KB of SRAM, which leaves more room for encrypted connections, web servers, and larger buffers.
  • Analog and I/O: 34 GPIOs, 12-bit ADCs on up to 18 channels, two 8-bit digital-to-analog converters, and 10 capacitive touch sensors.
  • Interfaces and security: An Ethernet MAC that works with an external physical-layer (PHY) chip, a CAN 2.0-compatible controller, secure boot, and flash encryption.

Later family members, such as the ESP32-C3 and ESP32-S3, use newer CPU cores and Bluetooth 5 (LE). The ESP32-C3 vs ESP32-S3 comparison explains how those two chips differ.

Which ESP32 Should You Use to Replace the ESP8266?

The ESP32-C2 (ESP8684) is Espressif's recommended upgrade, and the ESP32-C3 is the step up when a design needs more memory or GPIO. Both use a single-core RISC-V CPU with Wi-Fi 4 (802.11 b/g/n) and Bluetooth 5 (LE).

esp8266ex esp32 c2 and esp32 c3 packages compared

Figure: ESP8266EX, ESP32-C2, and ESP32-C3 packages compared.

PropertyESP8266EXESP32-C2 (ESP8684)ESP32-C3
CPUTensilica L106, up to 160 MHzRISC-V, up to 120 MHzRISC-V, up to 160 MHz
RAMAround 50 KB free for the application272 KB, 16 KB of it used as cache400 KB, 16 KB of it used as cache
WirelessWi-Fi 4Wi-Fi 4 and Bluetooth 5 (LE)Wi-Fi 4 and Bluetooth 5 (LE)
GPIO171422 (16 on some in-package-flash variants)
ADCOne 10-bit input12-bit, up to 5 channels12-bit, up to 6 channels
FlashExternal only2 MB or 4 MB in the package, by variantOptional, up to 8 MB in the package
PackageQFN32, 5 × 5 mmQFN24, 4 × 4 mmQFN32, 5 × 5 mm
Deep-sleep current (chip)20 µA5 µA5 µA
Longevity commitmentAt least to 2029At least to 2034At least to 2033

Note

  • Choose ESP32-C2 for: Wi-Fi or Bluetooth LE devices with simple firmware, where the 4 × 4 mm package and in-package flash save board space.
  • Choose ESP32-C3 for: designs that need more RAM, more GPIOs, or a USB Serial/JTAG interface for programming and debugging.
  • Choose the original ESP32 for: Bluetooth Classic, many analog inputs, touch sensing, CAN bus, or wired Ethernet.

Trade-off: The ESP32-C2 has three fewer GPIOs than the ESP8266 and a lower maximum clock. Confirm the pin count and processing load of the existing design before choosing it as the replacement.

How to Choose an ESP8266 or ESP32 Module for Your PCB

Most boards use a module rather than a bare chip, so the module sets the footprint, supply requirement, and antenna placement. Modules typically carry radio certifications that a chip-down design would need to obtain on its own.

esp32 footprints with antenna keepout zones marked

Figure: ESP32 footprints with antenna keepout zones marked.

ModuleChipSizeSupplyStatus
ESP-WROOM-02ESP8266EX18.0 × 20.0 mm2.7 to 3.6 V, 500 mA minimum supply capabilityNRND
ESP8684-WROOM-02CESP32-C2 (ESP8684)18.0 × 20.0 mm3.0 to 3.6 V, 500 mA minimum supply capabilityEspressif's upgrade for the ESP-WROOM-02
ESP32-WROOM-32EESP3218.0 × 25.5 mm3.0 to 3.6 V, 500 mA minimum supply capabilityIn production

Note

Design the 3.3 V supply with sufficient current margin for Wi-Fi transmit peaks. Follow the module datasheet’s recommended supply capability (ESP32-series modules typically specify at least 500 mA) rather than sizing the regulator from average current alone.

Using ESP8266 or ESP32 Modules in JLCPCB PCB Assembly

At JLCPCB, advanced surface-mount technology (SMT) production lines and strict process control help ensure accurate placement and reliable solder joints on Wi-Fi modules and fine-pitch QFN chips.

You can use the JLCPCB Parts Library to check which ESP8266 and ESP32 chips and modules are in stock before finalizing your bill of materials (BOM).

jlcpcb pcba banner new
Build Your ESP8266 or ESP32 Board with SMT Assembly
Get an Instant Quote
  • With JLCPCB SMT assembly, your Wi-Fi module, regulator, and passive components can be placed and soldered onto the PCB in the same assembly process.

Conclusion

For new designs, an ESP32-series device is generally the better starting point, while the ESP8266 remains practical for existing products.

The ESP32-C2 (ESP8684) is the closest upgrade path from the ESP8266, adding Bluetooth LE alongside Wi-Fi. Choose the ESP32-C3 when you need more memory, GPIOs, or USB Serial/JTAG, and the original ESP32 when Bluetooth Classic or its additional peripherals are required.

Once your design is ready, upload your files to JLCPCB to review assembly options and get an instant quote.

FAQs About ESP8266 vs ESP32

Is the ESP8266 Obsolete?

No. The ESP8266 is still in production, but Espressif marks it NRND and recommends the ESP32-C2 (ESP8684) for new designs. Its longevity commitment runs to at least 2029.

Is the ESP32 Better Than the ESP8266?

Yes, for most new designs. The original ESP32 adds Bluetooth, a dual-core CPU, 520 KB of SRAM, and more GPIO and ADC channels, while the ESP8266 is now marked NRND.

Can ESP8266 Code Run on the ESP32?

Not without changes. Arduino sketches typically need the fewest changes, but Wi-Fi library names, pins, and ADC resolution differ, so test the ported firmware on the new hardware.

Does the ESP8266 Have Bluetooth?

No. The ESP8266 supports Wi-Fi only. For Bluetooth LE, use the ESP32-C2 or ESP32-C3; for Bluetooth Classic, use the original ESP32.

Which Uses Less Power, the ESP8266 or the ESP32?

It depends on the mode. In deep sleep, the chip datasheets list 20 µA for the ESP8266, 10 µA for the ESP32, and 5 µA for the ESP32-C2. Active current varies with transmit power.

Keep Learning