GPIO 21 (SDA) GPIO 22 (SCL) If you want to use other pins when using the wire library, you just need to call: Wire.begin(SDA,SCL); Learn more about I2C communication protocol with the ESP32 using Arduino IDE:ESP32 I2C Communication (Set Pins, Multiple Bus Interfaces and Peripherals) ...