ESP8266 vs ESP32: Which One Should You Use?
11 min
- 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

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.
| Property | ESP8266 (ESP8266EX) | ESP32 (ESP32-D0WD-V3) | Why It Matters |
|---|---|---|---|
| CPU | Single-core Tensilica L106, up to 160 MHz | Dual-core Xtensa LX6, up to 240 MHz | Two cores provide more processing capacity for concurrent application and system tasks. |
| RAM | Around 50 KB free for the application heap and data when connected to a router | 520 KB, plus 16 KB that stays powered in deep sleep | The ESP8266 figure is free application RAM, not total SRAM. |
| Wi-Fi | 802.11 b/g/n, 2.4 GHz, up to 72.2 Mbps | 802.11 b/g/n, 2.4 GHz, up to 150 Mbps | Neither chip supports 5 GHz Wi-Fi |
| Bluetooth | None | Bluetooth 4.2 Classic and Bluetooth LE | Needed for phone setup over Bluetooth and LE sensors |
| General-purpose I/O (GPIO) | 17 pins | 34 pins, 6 of them input-only | More pins for displays, sensors, and buses |
| Analog-to-digital converter (ADC) | One 10-bit input, 0 to 1.0 V | 12-bit, up to 18 channels | The ESP8266 can read only one analog signal directly |
| Other peripherals | UART, SPI, I2S, pulse-width modulation (PWM) | Adds DACs, touch sensing, MAC, and a CAN 2.0 controller | Covers analog output, touch buttons, wired Ethernet, and CAN bus |
| Hardware security | WPA/WPA2 Wi-Fi security; no secure boot or flash encryption listed | Secure boot and flash encryption | Protects firmware in commercial products |
| Deep-sleep current (chip) | 20 µA | 10 µA | Board-level current is usually higher |
| Lifecycle status | NRND | In production | New 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.

Figure: Decision flow for choosing between the ESP8266 and ESP32 variants.
| Situation | Use |
|---|---|
| New Wi-Fi product with simple firmware | ESP32-C2 (ESP8684) |
| New product that needs Wi-Fi, Bluetooth LE, and more memory or GPIO | ESP32-C3 |
| Bluetooth Classic, such as audio streaming | Original ESP32 |
| Many analog inputs, CAN bus, or wired Ethernet | Original ESP32 |
| Reordering or repairing an existing ESP8266 board | ESP8266 |
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.

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:

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

Figure: ESP8266EX, ESP32-C2, and ESP32-C3 packages compared.
| Property | ESP8266EX | ESP32-C2 (ESP8684) | ESP32-C3 |
|---|---|---|---|
| CPU | Tensilica L106, up to 160 MHz | RISC-V, up to 120 MHz | RISC-V, up to 160 MHz |
| RAM | Around 50 KB free for the application | 272 KB, 16 KB of it used as cache | 400 KB, 16 KB of it used as cache |
| Wireless | Wi-Fi 4 | Wi-Fi 4 and Bluetooth 5 (LE) | Wi-Fi 4 and Bluetooth 5 (LE) |
| GPIO | 17 | 14 | 22 (16 on some in-package-flash variants) |
| ADC | One 10-bit input | 12-bit, up to 5 channels | 12-bit, up to 6 channels |
| Flash | External only | 2 MB or 4 MB in the package, by variant | Optional, up to 8 MB in the package |
| Package | QFN32, 5 × 5 mm | QFN24, 4 × 4 mm | QFN32, 5 × 5 mm |
| Deep-sleep current (chip) | 20 µA | 5 µA | 5 µA |
| Longevity commitment | At least to 2029 | At least to 2034 | At 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.

Figure: ESP32 footprints with antenna keepout zones marked.
| Module | Chip | Size | Supply | Status |
|---|---|---|---|---|
| ESP-WROOM-02 | ESP8266EX | 18.0 × 20.0 mm | 2.7 to 3.6 V, 500 mA minimum supply capability | NRND |
| ESP8684-WROOM-02C | ESP32-C2 (ESP8684) | 18.0 × 20.0 mm | 3.0 to 3.6 V, 500 mA minimum supply capability | Espressif's upgrade for the ESP-WROOM-02 |
| ESP32-WROOM-32E | ESP32 | 18.0 × 25.5 mm | 3.0 to 3.6 V, 500 mA minimum supply capability | In 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).
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.
Popular Articles
• SMD Capacitor Sizes: Complete Size Chart and Selection Tips for PCB Design and Assembly
• SMD Capacitor Codes: Identification, Markings, and Polarity
• SMD Resistor Package Sizes: Complete Size Chart, Footprints & How to Choose
• Capacitor Types Explained: Applications, Differences, and Selection Guide
• How to Solder SMD Components Like a Pro [2026 Updated]
Keep Learning
Capacitor Polarity Explained: How to Identify It, Read Markings, and Avoid Reverse Failures
In modern electronics, the board is dominated by non-polarized components like MLCCs (Multilayer Ceramic Capacitors). Yet, for any application requiring high capacitance in a small volume - such as power supply filtering or DC-DC converters - engineers invariably turn to polarized capacitors. These components, namely aluminum electrolytic and tantalum capacitors, are the workhorses of power integrity. But they come with one critical, non-negotiable rule: they must be installed in the correct orientati......
Zener Diode vs Schottky Diode: Which One Should You Use?
Zener and Schottky diodes may look identical in their physical surface-mount packages, but they serve completely different purposes in electronic design. A Zener diode is engineered specifically to operate in its reverse breakdown region for voltage regulation and overvoltage protection. Conversely, a Schottky diode is optimized for low forward voltage drop and high-speed switching in the forward conduction region. This guide provides a comprehensive comparison of their operating principles, electrica......
SMD LED Explained: Types, Packages, Applications, and How to Choose
SMD LED has become the standard light source in modern electronics and lighting products. From LED strips and displays to automotive dashboards and consumer devices, SMD LEDs are everywhere—but many designers and buyers still struggle to choose the right type. Package sizes, brightness, heat dissipation, color control, and assembly constraints all affect performance and reliability. Choosing the wrong SMD LED can lead to overheating, uneven lighting, or manufacturing issues. This guide breaks down wha......
Capacitor Types Explained: Applications, Differences, and Selection Guide
Capacitors are the most widely used parts in electronics design, from input/output coupling to bypassing and decoupling networks; they find applications everywhere. And if you get the wrong part/value placed, the consequences may be you get an audible whine from a supply rail, a bootloader that won't start, or a capacitor that lights up like a match. The question that never comes up is "which brand?" It's always “which type and what value.” This tutorial does not waste time on a textbook explanation o......
NPN vs PNP Transistor: Key Differences, Working Principles, and Applications
Both NPN and PNP transistors are Bipolar Junction Transistors (BJTs) used for switching and amplification. They share the same three-layer construction but operate with opposite current and voltage polarities. Mixing up the two is a common source of design errors, from a relay that never switches to a high-side load that stays permanently on. This guide breaks down the structure, symbols, switching behavior, and selection criteria you need to pick the right transistor for your circuit. NPN vs PNP Tran......
Arduino vs Raspberry Pi: Which One Should You Actually Use for Your Project?
Note Quick Answer: Choose Arduino for robotics control, sensors, low-power builds, and direct hardware-level interaction where precise control loops matter. Choose Raspberry Pi for AI inference, Linux applications, multimedia, networking, and anything that needs a full operating system. If you have searched Arduino vs Raspberry Pi, you have probably found a dozen articles listing specs side by side without telling you what actually matters for your build. This guide is different. Whether you are proto......