Skip to content

Guide

ESP32-S3 Pinout Guide: GPIO, Dual ADC, Native USB, and PSRAM Pins Explained

A complete ESP32-S3 pinout reference — verified strapping pins, GPIO, dual ADC, PWM, native USB OTG, and the PSRAM-reserved pins that trip up projects moving up from a classic ESP32 or ESP32-CAM.

  • 16 min read
  • Updated November 21, 2026
ESP32-S3 Pinout Guide: GPIO, Dual ADC, Native USB, and PSRAM Pins Explained

The ESP32-S3 is the ESP32 you pick when the classic board runs out of pins, memory or USB. It keeps the dual-core design (two Xtensa LX7 cores at up to 240 MHz) and adds native USB, up to 45 GPIOs, optional PSRAM and vector instructions for small AI models, which makes it the usual choice for camera, display and USB-device projects.

The catch is that its pin rules are different from the classic ESP32, and different again between modules: octal PSRAM boards hide pins, two of the pins are the USB port, and four are strapping pins. This guide covers a standard ESP32-S3-DevKitC-1 and shows exactly which pins are safe, which are not, and why.

ESP32-S3-DevKitC-1 pinout diagram
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

All 44 header pins (J1 and J3) on the SolderHub Simulator S3: green is free GPIO, amber and orange need care (strapping, USB, serial console, RGB LED, PSRAM), red is power, grey is ground, blue is reset.

ESP32-S3 pins at a glance

If you needUseAvoid
Analog sensor with Wi-FiGPIO1–10 (ADC1)GPIO11–20 (ADC2), 19 and 20 are also USB
Button, LED, relay4–18, 21, 47Strapping pins 0, 3, 45, 46
I2CSDA 8, SCL 9 (Arduino default)None, any free pins work
SPISS 10, MOSI 11, SCK 12, MISO 13 (default)Flash/PSRAM pins 26–37
USB deviceGPIO19 (D−), GPIO20 (D+)Using those pins as plain GPIO
TouchGPIO1–14
Serial consoleUART0 on GPIO43 (TX) and 44 (RX)Using them for your own UART if you need the USB-serial port
Never availableGPIO26–32Internal flash and PSRAM

What's Actually on the Board

The DevKitC-1 carries an ESP32-S3-WROOM-1 module: the S3 chip (dual-core Xtensa LX7 up to 240 MHz, Wi-Fi and Bluetooth LE) with its flash, and on R2/R8 modules PSRAM, under one shield. The board adds a 3.3 V LDO, a USB-to-UART bridge, an RGB LED, BOOT and RST buttons and two USB-C ports: UART on the left, native USB on the right.

What's on an ESP32-S3-DevKitC-1: antenna, WROOM-1 module, LDO, USB-UART bridge, RGB LED, BOOT and RST buttons, and the UART and native USB ports, labelled on the SolderHub Simulator S3

GPIO numbering: why there are gaps

The chip has 45 GPIOs: GPIO0–21 and GPIO26–48. GPIO22 to 25 do not exist. A real board never breaks out all of them: the module hides the flash pins, and PSRAM and boards add more restrictions. The map below shows what each pin is good for on a DevKitC-1 style board. Colours matter more than numbers.

sketch.ino
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);

All GPIOs are 3.3 V only, not 5 V tolerant. Plan for 20 mA per pin or less, and drive relays, motors and LED strips through a transistor or driver.

Diagram: ESP32-S3 GPIO safety map, every pin coloured as free, strapping, USB, serial console, flash or octal PSRAM

Strapping pins: the exact list

The ESP32-S3 reads four strapping pins once, at power-up or reset: GPIO0, GPIO3, GPIO45 and GPIO46.

PinDefaultWhat it decides
GPIO0Pull-upLOW at boot enters download (flashing) mode. This is the BOOT button
GPIO3FloatingPicks the JTAG signal source (rarely matters for beginners)
GPIO45Pull-downSelects the flash/PSRAM supply voltage (VDD_SPI). Pulled HIGH wrongly it can stop the chip booting
GPIO46Pull-downWorks with GPIO0 for boot mode and can silence ROM boot messages

On a standard DevKitC-1 all of this is handled for you. On a custom board, do not connect anything to these pins that drives a strong level at power-up. After boot they behave as normal GPIOs.

Strapping pins: 0, 3, 45 and 46
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

Flash and PSRAM: why some pins vanish

Pins GPIO26–32 connect the module's internal flash (and quad PSRAM), and never reach the header. On modules with octal memory, more pins are taken: GPIO35–37 on N8R8 and N16R8 boards, and GPIO33–37 on WROOM-2 modules with octal flash. The module name tells you which you have: N is the flash size and R is the PSRAM size, so N8R8 means 8 MB flash and 8 MB PSRAM.

If a pin you want is missing from the header, that is normal. Check the suffix on the metal shield of your module before planning wiring.

GPIO35–37: used by octal PSRAM on R8 modules
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

Chart: which GPIOs are reserved on ESP32-S3-WROOM-1 N8, N8R2, N8R8/N16R8 and WROOM-2 modules

Analog input (ADC)

The S3 has two 12-bit ADCs: ADC1 on GPIO1–10 and ADC2 on GPIO11–20, ten channels each.

sketch.ino
int reading = analogRead(4);          // 0–4095
uint32_t mv = analogReadMilliVolts(4); // calibrated millivolts

As on the classic ESP32, ADC2 becomes unreliable while Wi-Fi is active, because the radio shares the hardware. For any sensor in a Wi-Fi project, stay on GPIO1–10. Never apply more than 3.3 V to an ADC pin, and expect the readings to flatten near the top of the range unless you use analogReadMilliVolts().

ADC1 (GPIO1–10): analog pins that work with Wi-Fi on
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

Animated chart: ADC2 pins GPIO11–20 become unreliable when Wi-Fi turns on, ADC1 pins GPIO1–10 stay reliable

PWM and touch

PWM is software-mapped through the LEDC peripheral to almost any output pin, with 8 channels at once. The Arduino-ESP32 core 3.x API is:

sketch.ino
ledcAttach(4, 5000, 8);   // pin, frequency (Hz), resolution (bits)
ledcWrite(4, 128);        // about 50 % duty

On core 2.x use ledcSetup() and ledcAttachPin() instead.

Touch is built in on GPIO1–14 (14 channels), so you can make capacitive buttons without extra parts: touchRead(4).

Capacitive touch pins GPIO1–14
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

Native USB: two ports on one board

The S3 has a built-in USB controller on GPIO19 (D−) and GPIO20 (D+). It can act as a USB serial/JTAG device or, with the right code, as a keyboard, mouse, MIDI or storage device, without any separate USB chip.

The DevKitC-1 has two USB-C ports:

  • UART port: goes through a USB-to-serial chip to GPIO43/44. Easiest for beginners and always works for flashing.
  • USB port: connects directly to GPIO19/20, the chip's own USB. Needed for USB keyboard, mouse or MIDI projects.

Two practical tips. If you flash through the native USB port and nothing appears in the Serial Monitor, set Tools → USB CDC On Boot → Enabled in the Arduino IDE. And if you use GPIO19 or 20 as ordinary pins, native USB stops working. Many cheaper S3 boards have only one port, so check which pins yours uses.

Native USB: GPIO19 (D−) and GPIO20 (D+)
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

ESP32-S3-DevKitC-1 with the UART port and the USB (native) port labelled

I2C, SPI and UART defaults

BusDefault pins (Arduino-ESP32)Notes
I2CSDA GPIO8, SCL GPIO9Remappable: Wire.begin(sda, scl)
SPISS 10, MOSI 11, SCK 12, MISO 13Remappable: SPI.begin(sck, miso, mosi, ss)
UART0TX 43, RX 44USB-to-serial console on most boards
UART1 / UART2Any free pinsSerial1.begin(9600, SERIAL_8N1, rx, tx)

With 45 GPIOs there is rarely a need to share buses. Give a display its own SPI bus and a sensor group its own I2C bus.

Default buses: I2C 8/9, SPI 10–13, UART0 43/44
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

The onboard RGB LED trap

DevKitC-1 boards carry an addressable RGB LED. It sits on GPIO48 on v1.0 boards and GPIO38 on v1.1 boards. That pin looks free on the header, but your LED will flash if you use it for something else, and the other way round: your output will not work properly if the LED is also wired to it. Check the board's revision on the silkscreen, and note that the Arduino core also exposes it as RGB_BUILTIN.

RGB LED pin: GPIO48 on v1.0, GPIO38 on v1.1
3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Highlighted on the SolderHub Simulator ESP32-S3-DevKitC-1 v1.1. Explore every pin on the ESP32-S3-DevKitC-1 v1.1 board page.

Photo: ESP32-S3-DevKitC-1 with the onboard RGB LED lit

Camera and display boards

Most ESP32-S3 camera boards (ESP32-S3-EYE, XIAO ESP32-S3 Sense, Freenove and others) wire a block of GPIOs to the camera ribbon, and display boards claim a bus for the screen. The exact pins differ per board, so use the CAMERA_MODEL_ definition or the vendor schematic instead of this guide's generic map. If you have the classic ESP32 instead, read the ESP32 pinout guide.

Wireless and power

The S3 has 2.4 GHz Wi-Fi 4 (802.11 b/g/n) and Bluetooth 5 (LE). It has no Wi-Fi 6, Thread or Zigbee, for which the C6 or H2 is the right chip.

PinFunction
5V / VINPower input from USB or an external 5 V supply
3V3Regulated 3.3 V output for the chip and 3.3 V sensors
GNDGround, several on the header
EN / RSTReset, pull LOW to restart
Flowchart: which ESP32-S3 pin should I use for my sensor, button, relay, bus or USB device?

How the S3 compares with its siblings

ChipCoresGPIO (typical devkit)ADC pinsNative USBBest for
ESP32-C3Single RISC-V~16–195Serial/JTAG onlyCheap Wi-Fi/BLE sensor node
ESP32-S3Dual Xtensa LX7~35–4520YesCamera, display, USB, AI-adjacent work
ESP32-C6RISC-V + LP core~22–237Serial/JTAG onlyMatter, Thread, Zigbee with Wi-Fi 6
Classic ESP32Dual Xtensa LX6~30–34~18NoOlder projects with the most examples

See also the ESP32-C3 pinout, ESP32-C6 pinout and classic ESP32 pinout guides.

Interactive ESP32-S3 pinout: tap any pin

44 of 44 pins match

3V33V3RSTGPIO4GPIO5GPIO6GPIO7GPIO15GPIO16GPIO17GPIO18GPIO8GPIO3GPIO46GPIO9GPIO10GPIO11GPIO12GPIO13GPIO145VGGTX 43RX 44GPIO1GPIO2GPIO42GPIO41GPIO40GPIO39GPIO38GPIO37GPIO36GPIO35GPIO0GPIO45GPIO48GPIO47GPIO21GPIO20GPIO19GG

Hover or tap any pin on the board

J1 header · pin 4

4

GPIO4

Safe to use

Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.

Can be used as

  • RTC (deep-sleep domain)
  • Touch
  • Analog in

Signals on this pad

  • GPIO4
  • RTC_GPIO4
  • TOUCH4
  • ADC1_CH3
Tap or hover any pin for its functions and warnings.

Common mistakes and how to avoid them

Using GPIO35–37 on an N8R8 board. They are wired to the octal PSRAM and do nothing as free pins.

Wiring to GPIO0, 3, 45 or 46 without thinking about boot. An external circuit that pulls one of these during power-up can stop the board starting.

Reading analog sensors on GPIO11–20 with Wi-Fi on. Move them to GPIO1–10.

Using GPIO19 or 20 for LEDs or buttons. You will lose native USB, and the board may no longer appear on your PC.

Expecting Serial output on the native USB port. Enable USB CDC On Boot, or plug into the UART port.

Assuming one pinout fits every S3 board. Camera, display and mini boards differ, so always check the board's own schematic.

Plan your pins on the virtual board first. The SolderHub Simulator has the same ESP32-S3 DevKitC-1 you see here.

Quick answers

How many GPIOs does the ESP32-S3 have? 45 on the chip (GPIO0–21 and 26–48), around 35–45 on a typical devkit.

Which are the strapping pins? GPIO0, GPIO3, GPIO45 and GPIO46.

Which pins are ADC1? GPIO1–10. These are safe with Wi-Fi.

Which pins are for USB? GPIO19 (D−) and GPIO20 (D+).

Why are GPIO35–37 missing on my board? It has octal PSRAM (an R8 module), which uses them.

Can I use 5 V sensors? Not directly. Use a level shifter or divider.

Is the S3 good for machine learning? For small models such as wake-word or simple image classification, yes. The chip has vector instructions and PSRAM support. It is not an AI accelerator for heavy models.

What to build next

Try a native-USB keyboard or MIDI controller, an ESP32-S3 camera board streaming video, or a display project that uses PSRAM for its frame buffer. Pair the S3 with a C6 or H2 if you need Thread or Zigbee alongside it.

Continue learning

Related articles

All articles

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.