Contact Us
Blog / PCB Antenna Placement & Keep-Out Zone: IoT Layout Checklist

PCB Antenna Placement & Keep-Out Zone: IoT Layout Checklist

Posted: September, 2025 Last Updated: December, 2026 Writer: Stacy Lu Share: NEXTPCB Official youtube NEXTPCB Official Facebook NEXTPCB Official Twitter NEXTPCB Official Instagram NEXTPCB Official Linkedin NEXTPCB Official Tiktok NEXTPCB Official Bksy

Introduction: Wireless Hardware

On-board antennas are the silent heroes of modern IoT devices, bridging the gap between digital data and the physical world. For a device to achieve its full potential, from a simple BLE sensor in a smart home to a long-range LoRa tracker, antenna design must be a core consideration, not an afterthought. Even minor changes in a PCB's layout can dramatically impact RF performance, affecting wireless range, battery life, and overall reliability. This guide gives entry-level developers and seasoned engineers a practical checklist for PCB antenna placement, keep-out zones, feed-line routing and tuning for 2.4 GHz (Wi-Fi, Bluetooth, Zigbee, Thread) and Sub-GHz (433/868/915 MHz) designs, including metal enclosures and compact boards.

2.4 GHz vs. Sub-GHz: The first consideration is size. Higher-frequency 2.4 GHz antennas (for Wi-Fi/Bluetooth) are compact (a quarter-wave in free space is about 31 mm), while Sub-GHz antennas are significantly larger (a quarter-wave in free space is roughly 82 mm at 915 MHz and 173 mm at 433 MHz). This difference fundamentally affects your choice of antenna type, placement, and overall board layout. On a PCB microstrip or coplanar structure, the actual physical length required will be shorter due to the higher effective dielectric constant of the material.

NextPCB's RF Expertise: Designing for these frequencies demands precision manufacturing, particularly controlled impedance routing and, where needed, specialized materials. NextPCB offers 50 Ω impedance-controlled fabrication, high-frequency substrates (Rogers, Taconic, PTFE, and hybrid stack-ups with FR-4), high-precision assembly, and RF-aware Design for Manufacturability (DFM) support, so your IoT PCB can meet its performance goals. Rogers laminates offer lower dielectric loss and a more stable dielectric constant than standard FR-4, which helps when you need consistent RF performance or longer RF traces. Planning a connected product? See our IoT PCB & PCBA manufacturing page for board types, lead times and capabilities.

Quick checklist: PCB antenna layout in 8 rules

  1. Put the antenna at a board edge or corner, with the radiating part facing open space.
  2. Clear copper, traces and components from the antenna area on every layer, and follow the module or antenna datasheet for the exact keep-out size.
  3. Route the feed line as a short, straight 50 Ω line over a continuous ground plane.
  4. Add a π-network matching footprint between the RF output and the antenna.
  5. Keep batteries, displays, metal shields, DC-DC converters and fast digital lines away from the antenna.
  6. Plan for the enclosure early: plastic detunes, metal blocks.
  7. Check S11 and range on the real assembled product, not only on the bare board.
  8. Run a DFM check before ordering.

Table of Contents

  1. 1. PCB Antenna Types and Selection
  2. 2. Antenna Placement Guidelines
  3. 3. Antenna Keep-Out Zone and Ground Clearance
  4. 4. Controlled Impedance Feed Line (50 Ω Routing)
  5. 5. Antenna Matching Network (Basics of Tuning)
  6. 6. Ground Planes and RF Layout Do's & Don'ts
  7. 7. Antenna Design for Metal Enclosures, Batteries and Plastic Housings
  8. 8. Sub-GHz and LoRa PCB Antenna Design
  9. 9. Antenna Design by IoT Application
  10. 10. Layout Validation and Testing
  11. 11. Common Pitfalls in Antenna Integration
  12. 12. NextPCB Advantages for IoT RF PCB Designs
  13. 13. PCB Antenna Design FAQ
  14. Conclusion: From Concept to Clear Signal

 

1. PCB Antenna Types and Selection

Your first step is to select the right antenna for your application and expertise. The main options are a PCB trace antenna (inverted-F, meander or monopole), a ceramic chip antenna, a module with a built-in antenna, a flex (FPC) antenna, or an external antenna such as a whip or helical on a u.FL or SMA connector.

PCB antenna types: trace, chip, flex and external antenna comparison

Antenna type Strengths Watch-outs Best for
PCB trace antenna (inverted-F, meander, monopole) No extra part cost, full control of shape, easy to tune with a matching network Needs board area and a clean keep-out zone; sensitive to board size and enclosure; needs tuning and testing Cost-sensitive 2.4 GHz products, higher volumes
Chip antenna (ceramic) Small footprint; predictable results if you copy the reference layout Needs the ground clearance given in its datasheet; narrower bandwidth; adds BOM cost Compact boards, small teams
Module with built-in antenna Lowest RF design risk; antenna already tuned for the module You still need the module's edge placement and keep-out area; the finished product still needs its own compliance checks First prototypes, teams without RF test equipment
Flex (FPC) antenna Thin; can sit away from the main board in tight housings Needs a connector or flex tail and controlled positioning in the housing Wearables, compact devices (see flex PCB)
External antenna (whip, helical, u.FL / SMA) Best option for metal enclosures and Sub-GHz; antenna can sit in the best location Connector and cable loss, extra assembly, mechanical strength Industrial IoT, gateways, 433/868/915 MHz

 

An inverted-F antenna (IFA) is a compact, popular 2.4 GHz trace antenna that relies on the board's ground plane, so ground size and shape directly affect tuning. A meander-line antenna folds the radiating trace back and forth to shorten its physical length. This makes it common on LoRa and other Sub-GHz boards and on very compact 2.4 GHz layouts, but the trade-off is narrower bandwidth and lower efficiency than a full-size antenna, so matching and keep-out discipline matter even more.

Custom Trace Antenna or Standard Chip Antenna?

For beginners, a certified module's built-in antenna or a chip antenna with its reference layout is the safest and most reliable approach. A standard antenna gets you to market faster and avoids tuning surprises. Experienced designers can create a custom trace antenna to save cost at volume or to fit an unusual board shape, as long as they have a way to measure S11 and a plan to retune after layout changes.

Antenna Design for Compact PCBs

On small boards, the ground plane is part of the antenna system, so shrinking the board changes the resonant frequency and efficiency. Chip antennas usually specify a minimum ground-plane size and clearance, so check these before you shrink the outline. When the board is too small for a good on-board antenna, move the antenna off the board with a flex (FPC) antenna or an external antenna on a cable.

Designing for Product Families

If one design is reused across several variants (different batteries, enclosures or board sizes), keep the antenna footprint, keep-out zone and feed line identical across variants, and keep the matching network footprint populated per variant. This lets you retune by changing component values instead of redoing the layout.

 

2. Antenna Placement Guidelines

Prioritize Edge Placement

Always position the antenna at an edge or corner of the PCB. This placement allows the antenna to radiate freely into space, maximizing performance. For example, IoT module manufacturers like Espressif recommend placing the antenna portion of the module so it extends off the main board. This prevents the main PCB's ground plane from blocking the antenna's signal or detuning its frequency. For a module-specific walk-through, see our ESP32 antenna design guide.

PCB antenna placement guidelines: edge placement vs. center placement

Orientation and Feed Point

The antenna's feed point, where it connects to the RF feed line, should be as close as possible to the main board's circuitry. The bulk of the antenna element should extend outward, away from other components. This minimizes the influence of the board's layout on the antenna's performance and makes tuning more predictable.

Keep Distance from Metal and Large Components

Antennas are sensitive to nearby conductive materials. Keep them as far as possible from metal objects, large components, and especially batteries and displays. Metal can detune the antenna and significantly block the signal, drastically reducing range. For example, placing a LoRa module's antenna right next to a metal shielding can will severely degrade its signal. Connectors such as USB and metal-shell sockets should also sit away from the antenna end of the board.

3. Antenna Keep-Out Zone and Ground Clearance

Define a No-Copper Zone

The keep-out zone is a fundamental requirement. It is a designated area on and under the antenna that must be free of all copper pours, traces, and components on every layer of the PCB. This clearance ensures the antenna can radiate efficiently without being detuned by the PCB's ground plane.

PCB antenna keep-out zone with no copper on all layers

How large of a keep-out zone is needed?

Answer: The required keep-out distance is tied to the specific chip, chip antenna, or module datasheet, so always follow the manufacturer's guidelines. As an example, Espressif's module guidelines call for at least 15 mm of clearance around the antenna area. Treat this as one vendor's recommendation, not a universal rule for every 2.4 GHz antenna.

All Layers Matter

On multi-layer boards, it is critical to remove all ground and power planes from the area directly beneath the antenna. Any metal directly under a PCB antenna can shift its resonant frequency or dampen its efficiency.

Ground Plane Edges

The main ground plane of the PCB should end just before the antenna keep-out region. For many PCB antenna designs, the ground plane is an integral part of the design, specifically supporting the feed point, but it must not extend under the radiating element itself. Ensure the ground plane edge is a clean, smooth line, and avoid irregular shapes that can cause impedance bumps or disruptions to the current path.

Mechanical Clearance

In addition to copper clearance, you must also ensure mechanical clearance. No tall components or the device's enclosure should intrude into the antenna's space. Even a plastic case or its paint can detune an antenna if it is too close. Always perform a range test with the device in its final housing to confirm the antenna still performs as expected.

4. Controlled Impedance Feed Line (50 Ω Routing)

Design for 50 Ω

Almost all modern IoT antennas and RF front-ends are designed for a 50 Ω characteristic impedance. Therefore, the PCB trace from the RF chip or module to the antenna (or its connector) must be a 50 Ω impedance-controlled transmission line. Without a proper impedance match, the signal will reflect back to the source, causing signal degradation, reduced range, and unwanted radiation.

How is the 50 Ω trace width calculated?

Answer: The precise trace width needed for a 50 Ω impedance depends on your PCB stack-up, including layer height, the dielectric constant (εr) of the material, and copper thickness. Use NextPCB's free PCB Impedance Calculator to find the correct trace geometry from your stack-up, or start from a proven reference in our PCB stack-ups and impedance values.

> Recommend reading: RF PCB Impedance Control: Routing Rules, Stackup & DFM Checklist

Maintain a Continuous Reference Plane

Route the RF trace over a solid, continuous ground plane with no breaks or gaps. A solid reference plane below the feed line ensures the impedance remains consistent and provides a low-inductance return path for the signal current. Routing the RF trace over a split or void in the ground plane is a common and critical mistake that can lead to unpredictable antenna behavior and EMI issues.

Minimize Discontinuities

Keep the RF feed line as short and straight as possible. Every bend, via, or component pad can create a small impedance discontinuity. Use gentle curves or mitered bends instead of sharp 90° corners. If the feed line must change layers, use via stitching with ground vias placed near the signal via to ensure the return current path is maintained.

Manufacturer Control

Partner with a manufacturer that specializes in impedance control. NextPCB supports controlled impedance fabrication with a tolerance of ±10% above 50 Ω and ±5 Ω at or below 50 Ω, based on your stack-up, and can provide an impedance test report so you can confirm your RF trace meets its 50 Ω target.

5. Antenna Matching Network (Basics of Tuning)

Include Matching Pads

Even with a well-designed antenna, it is wise to include a small π-network or L-network footprint between the RF feed line and the antenna. This matching network allows you to fine-tune the antenna's impedance to 50 Ω after fabrication by adjusting the component values. Place it close to the antenna feed, and use high-Q RF-grade capacitors and inductors, because ordinary parts add loss at these frequencies. NextPCB's high-precision PCBA services can place these tiny components, including passive parts as small as 01005.

When to Match

If your antenna's impedance is already close to 50 Ω, the matching network's components might be left unpopulated (a 0 Ω link or empty pads). However, if testing shows poor performance (high VSWR or low return loss), you can populate or adjust these capacitors and inductors. This is far easier and more cost-effective than changing the PCB layout in a new revision. Always tune with the board in its final enclosure, since the housing and battery shift the antenna's impedance.

What is the principle of antenna matching?

Answer: Antenna matching is about maximizing the transfer of power from the transmitter to the antenna. An impedance mismatch causes power to be reflected back, reducing range and potentially stressing the power amplifier. By matching the antenna's impedance to 50 Ω, you minimize reflections and ensure the RF energy is radiated efficiently.

ESD Protection

For devices that are handled by users, consider adding an ESD protection diode at the antenna feed. RF ESD protectors can safely shunt electrostatic discharges to ground without adding significant capacitance that would interfere with the RF signal.

6. Ground Planes and RF Layout Do's & Don'ts

A Solid Ground is Your Friend

For the RF section, use a solid ground plane (typically an internal or bottom layer) to provide a stable return path for signals. Stitch this ground plane with an abundance of vias near the antenna feed and matching network components. All RF ground pins should be connected to this plane with vias as close as possible to the pin, which reduces ground inductance and helps create a stable RF reference.

Avoid Interruptions

Do not route any digital signals or cut slots in the ground plane near the antenna feed line. Any break in the ground plane forces the high-frequency return currents to detour, increasing loss and changing impedance. Similarly, never route the RF trace over a split or void in the ground plane, as this can lead to unpredictable behavior and significant EMI issues.

Component Placement

Keep noisy components, such as oscillators, DC-DC converters, and high-speed MCU lines, far away from the antenna and its feed line. High-frequency noise from these components can couple into the antenna and its matching network, raising the noise floor and degrading performance. For example, Espressif's guidelines recommend isolating the antenna from high-speed clock lines and well-shielding any UART or SPI lines that must run near the RF section.

> Recommend reading: RF PCB Engineering Guide: Shielding, Grounding & Thermal Design for 5G/mmWave

Proper Via Usage

Use plenty of ground vias ("via fence") along the edge of the ground plane adjacent to the antenna area. This helps contain the RF energy and can improve antenna efficiency, particularly for coplanar waveguide designs. However, do not place any vias or metal within the antenna's keep-out zone, as this will detune the antenna.

7. Antenna Design for Metal Enclosures, Batteries and Plastic Housings

The enclosure is part of the antenna system. A design that works well on the bench can lose a large part of its range once it is closed inside a housing, so plan for the enclosure from the first layout.

Antenna design for metal enclosures: external antenna and plastic window options

Why Metal Enclosures Cause Antenna Design Challenges

A closed metal enclosure acts as an RF shield: it blocks and reflects the signal, and metal close to an antenna shifts its resonant frequency. An antenna placed inside a fully metal housing will perform poorly however well the PCB is laid out.

Options When the Housing Is Metal

  • Move the antenna outside the metal. Use an external whip or helical antenna on an SMA or u.FL connector, with a short 50 Ω cable to the board.
  • Create a plastic or dielectric window. Let the antenna sit behind a plastic cap or panel on part of the housing, with its keep-out zone still respected.
  • Keep the cable short and the connector robust. Cable and connector losses add up, and a loose connector detunes the antenna.
  • Test in the real housing. Mounting the product on a metal wall or pole can change performance again.

Batteries, Displays and Shield Cans

Batteries, displays and metal shield cans are large conductive masses. Keep them out of the antenna keep-out zone and away from the radiating element, and do not stack a battery under the antenna.

Plastic Housings Also Detune

Plastic, paint and potting compounds load the antenna and usually pull its resonant frequency lower. Leave matching components so you can retune with the housing closed, and keep the same clearance to the housing in every production unit.

8. Sub-GHz and LoRa PCB Antenna Design

At 433, 868 and 915 MHz, a quarter-wave antenna is about 173 mm, 86 mm and 82 mm long in free space, which is larger than most IoT boards. Sub-GHz antennas on a PCB are therefore electrically small and need extra care:

  • Choose the antenna type for the board size. Meander, helical and chip antennas fit on a PCB, while an external whip gives the best range, particularly at 433 MHz on small boards.
  • Remember that the ground plane is part of the antenna. On small boards, ground size and shape strongly affect efficiency, so follow the module or antenna reference design closely.
  • Always include a matching network. Electrically small antennas are very sensitive to the board, battery and enclosure.
  • Control noise. Keep DC-DC converters and fast digital lines away from the RF section; industrial environments add further interference.
  • Use the right band for the region. 868 MHz is common in Europe and 915 MHz in the Americas, so design and tune for your target market.

For an example of a multi-radio module that combines LoRa, Wi-Fi and Bluetooth, see our RAK3112 build guide.

9. Antenna Design by IoT Application

Application Typical radio Main antenna challenge Practical approach
Smart home sensors and hubs Wi-Fi, BLE, Zigbee, Thread Compact plastic housings, crowded 2.4 GHz band Edge-placed trace or chip antenna, or a certified module; tune in the housing
BLE access control, smart locks BLE Metal door hardware and housings Face the antenna toward a plastic section, or use a remote or external antenna
Wearables, smart pet devices BLE Very small boards; the body detunes the antenna Flex (FPC) or chip antenna; test on the body (see wearable electronic components)
Asset trackers, LoRa sensors LoRa, Sub-GHz Long wavelengths, battery next to the antenna External whip or helical; keep the battery clear; include a matching network
Industrial IoT gateways Sub-GHz, Wi-Fi Metal cabinets and electrical noise External antenna through the enclosure; separate noisy power and digital circuits

 

For board structure choices in compact connected devices, read IoT PCB Applications: HDI Design Requirements by Scenario and PCBs Power Electronic Devices: Wearables, IoT & Smart Homes, or see our IoT PCB & PCBA page.

10. Layout Validation and Testing

Use Simulation Tools

Before ordering your PCB, consider simulating the antenna and its RF section using specialized electromagnetic simulation software. At a minimum, use your PCB CAD tool's field solver to verify the 50 Ω trace impedance and check for any design rule violations in the RF areas.

How can I quickly check my design files?

Answer: NextPCB offers a free software tool called HQDFM, which allows you to perform a one-click analysis of your Gerber files to find hidden design hazards and get low-cost optimization solutions. This proactive approach can catch critical issues like insufficient clearances or manufacturability problems in the antenna pattern before you even submit your order.

Prototype Testing

Once you have the physical boards, perform thorough RF tests. If you have access to a Vector Network Analyzer (VNA), measure the antenna's return loss (S11) to confirm that its resonance is centered in the desired frequency band. A common rule of thumb is S11 below about −10 dB across the band you use. For teams without access to advanced equipment, a simple range test can compare the communication distance or received signal strength indicator (RSSI) against a known good design. Repeat the test with the board in its final enclosure, with the battery installed, and in the positions where the product will be used.

Functional tests for assembled boards are covered in our PCBA functional testing service; discuss wireless or RF tests with our engineers before you order. Also keep in mind that FCC, CE and similar approvals apply to your finished product, not to the PCB itself.

Iterate If Needed

It is common for RF designs to require a board respin to achieve optimal performance. NextPCB's rapid prototyping services can ship 1–2 layer boards in as fast as 24 hours, with 4-layer boards typically in 1–2 days. For assembly, express orders can start in 24 hours once all parts are ready, and standard PCB assembly takes 5–7 working days with parts from HQ Online. Your online quote shows the exact timing for your order. This agility is invaluable for refining antenna placement and tuning without missing your development schedule.

 

11. Common Pitfalls in Antenna Integration

Placing the Antenna in the Middle of the PCB:

This classic mistake traps the antenna in copper, severely hurting its radiation. Always place the antenna at an edge or a corner with open space.

Insufficient Keep-Out Zone:

Pouring copper too close to or under the antenna will detune it and kill its performance. Follow the keep-out guidelines in your module or antenna datasheet and remove all copper from the designated area on all layers.

Bad Reference Plane Management:

Routing the RF feed line over a split or cutout in the ground plane will cause an impedance mismatch. Always ensure a continuous reference plane for the entire length of the RF trace.

Skipping the Matching Network:

Omitting a matching network to save a few cents can result in an underperforming product. Always include the footprints for tuning components. It is much cheaper to tweak a component value than to respin a board to adjust the antenna geometry. NextPCB's ability to handle fine-pitch components down to 01005 makes this process reliable.

Ignoring the Enclosure, Battery and Display:

Testing only the bare board hides most real-world problems. Housings, batteries and displays shift the antenna's tuning, so retest and retune in the final assembly.

Copying a Reference Layout on a Different Board:

A vendor's reference design assumes its own board size, stack-up and ground plane. If your board or stack-up differs, expect to retune the antenna.

Interference from Other Circuits:

High-speed digital traces or power converters placed too close to the RF section can inject noise. Keep these noisy components far away from the antenna.

Using the Wrong Material:

FR-4 is suitable for most 2.4 GHz applications with short feed lines, but its properties can vary. For designs that require high consistency or minimal signal loss, an RF substrate like Rogers or PTFE is the professional choice. NextPCB provides these options, including hybrid stack-ups with FR-4, to match your material to your performance needs.

> Guide to PCB Materials: Properties, Selection, and Applications

12. NextPCB Advantages for IoT RF PCB Designs

By leveraging a manufacturing partner that understands RF, you can turn a good design into a great one. NextPCB provides a suite of services that directly align with the best practices in this guide:

Controlled Impedance & High-Frequency Materials:

NextPCB fabricates impedance-controlled PCBs with a tolerance of ±10% above 50 Ω and ±5 Ω at or below 50 Ω, and an impedance test report is available. Materials include Rogers 4000/3000 series, Taconic and PTFE, with hybrid stack-ups alongside FR-4 for RF sections. See the advanced PCB capabilities for details.

Turnkey PCBA & Rapid Prototyping:

NextPCB offers end-to-end turnkey assembly: component sourcing, PCB manufacturing, assembly and testing. PCB assembly starts from one piece, and 1–2 layer PCB prototypes have no minimum order quantity, so the service suits projects of any size.

Online Quote System & Cost Transparency:

NextPCB's instant online quote system provides pricing and estimated lead times for both PCB fabrication and PCBA, so engineers can weigh cost against design choices. Upload your Gerber and BOM files to get an automated DFM pre-review in about a minute, followed by an engineer within 30 minutes.

>Recommend reading: Custom PCB and PCBA Cost Analysis: How to Optimize Design and Reduce Expenses

Free DFM Tools & Professional Support:

NextPCB's free HQDFM software lets you analyze your design files before submission, automatically identifying hidden hazards and offering optimization suggestions to reduce costs and improve quality. Our engineers can also provide one-on-one consultation to help you choose the right stack-up and design practices.

13. PCB Antenna Design FAQ

Where should I place the antenna on a PCB?

Place it at a board edge or corner, with the radiating part facing open space and the feed point close to the RF circuit. Keep it away from batteries, displays, metal shields, large connectors and noisy power circuits.

Should I use a PCB trace antenna or a chip antenna?

A chip antenna with its reference layout is the lower-risk choice for small teams and compact boards. A PCB trace antenna costs nothing in parts and gives full control over shape, but it needs a clean keep-out zone and S11 testing. If the board is very small or the enclosure is metal, consider a flex or external antenna instead.

How does a metal enclosure affect a PCB antenna?

Metal blocks and reflects RF signals and shifts the antenna's resonant frequency. Use an external antenna or a plastic window, and test the product in its final housing.

Can I use a PCB trace antenna for LoRa or other Sub-GHz bands?

Yes, usually with a meander or helical design, but efficiency is lower than a full-size antenna because Sub-GHz wavelengths are long. Use a matching network and follow the module's reference design. For best range, especially at 433 MHz, an external antenna is often the better choice.

How do I test a PCB antenna?

Measure return loss (S11) with a vector network analyzer to confirm the resonance is centered on your band, then run a range or RSSI test in the final enclosure with the battery installed.

Conclusion: From Concept to Clear Signal

Building a robust IoT device with a reliable antenna is part engineering, part detective work, and part collaboration. By following this checklist, you can avoid common pitfalls and lay a strong foundation for your wireless hardware. Your PCB manufacturer is a critical partner in this process: with NextPCB's fabrication capabilities, RF-aware DFM support, and rapid prototyping, you can move from concept to a working product with confidence. Ready to build? Explore our IoT PCB & PCBA services, get a PCB quote, or run your files through HQDFM first. Here's to clear signals and successful wireless projects!

 

Author Name

About the Author

Stacy Lu

With extensive experience in the PCB and PCBA industry, Stacy has established herself as a professional and dedicated Key Account Manager with an outstanding reputation. She excels at deeply understanding client needs, delivering effective and high-quality communication. Renowned for her meticulousness and reliability, Stacy is skilled at resolving client issues and fully supporting their business objectives.

Tag: pcb prototyping ​NextPCB PCB design wireless networks RF circuit board High Frequency PCB IoT HQDFM