# [ESP8266: PCB Design Guidlines](https://blog.hirnschall.net/esp8266-pcb-design/)

author: [Sebastian Hirnschall](https://blog.hirnschall.net/about/)

meta description: PCB design rules for ESP8266 based on Espressif's hardware guidelines. Covers antenna placement, keep-out zone dimensions, decoupling, and copper pour strategy.

meta title: ESP8266 PCB Layout — Antenna Keep-Out & Grounding

date published: 09.01.2023 (DD.MM.YYYY format)
date last modified: 03.04.2026 (DD.MM.YYYY format)

---

Introduction
------------

In recent years the ESP8266 has become one of my go-to choices for smart home/IoT devices or projects requiring WiFi. It is cheap [(around $1.5 on Amazon)1](https://amzn.to/3r9XX2D), has WiFi, and can be programmed using the Arduino IDE, making it an easy replacement for Arduinos if we need WiFi connectivity.

This post outlines the most important guidlines when designing a pcb for an ESP8266 module. It is part of [a complete ESP8266 reference you can find here.](https://blog.hirnschall.net/esp8266/)

PCB design
----------

Espressif provides a  [hardware design guide](https://www.espressif.com/sites/default/files/documentation/esp8266_hardware_design_guidelines_en.pdf) for free. Noticeable takeaways are that we want to place the antenna of the esp module outside of our PCB or, if this is not possible, at least 15mm away from other components (keep-out zone). Meanwhile, [10] only shows a 5mm keep-out zone, as depicted in Fig. 6.1 (c) below. According to [1], we also want to avoid using resistors larger than 2.2k near the esp module as they might be affected by the WiFi. Up to 2.2kOhm seem to work without issues.

![esp8266 esp-07 and esp-12pcb design best prectice with antenna outside pcb area](https://blog.hirnschall.net/esp8266-pcb-design/resources/img/pcb-design-1.png)


(a) Antenna outside PCB area




![esp8266 esp-07 and esp-12pcb design best prectice with pcb cut out](https://blog.hirnschall.net/esp8266-pcb-design/resources/img/pcb-design-2.png)


(b) Antenna over PCB cut-out




![esp8266 esp-07 and esp-12pcb design best prectice with keep-out zone](https://blog.hirnschall.net/esp8266-pcb-design/resources/img/pcb-design-3.png)


(c) Antenna over keep-out zone (red)



Figure 6.1: PCB design for ESP8266 as shown in [10,14]

More Info
---------

This post is part of a complete ESP8266 reference/guide. You can find more information on how to use your ESP8266 module effectively at [blog.hirnschall.net/esp8266/](https://blog.hirnschall.net/esp8266/).