Contents

Disable Raspberry Pi Wi-Fi & Bluetooth

TL;DR

Add the following text to the end of the /boot/config.txt on the MicroSD card of your Raspberry Pi:

1
2
3
# Disable Wifi and Bluetooth
dtoverlay=disable-wifi
dtoverlay=disable-bt

The Rest of the Story

I’ve been setting up Raspberry Pi devices (3B+) as servers, and only really need them to be connected via the Ethernet connection. Having the Wi-Fi and Bluetooth active seems like a waste. A quick Internet search uncovers the answer as usual, so I just want to document this for future reference.

Thanks to this StackExchange post; here are the details.

Prerequisites

I’m assuming you have installed Raspberry Pi OS (previously called Raspbian).

The DL

  1. Take your MircoSD card, and open it on your PC.
  2. Open this file in a text editor: /boot/config.txt
  3. Add the following text to the end of the file:
    1
    2
    3
    
    # Disable Wifi and Bluetooth
    dtoverlay=disable-wifi
    dtoverlay=disable-bt
    
  4. Now save the file
  5. Safely eject your MicroSD, put it back in your Raspberry Pi
  6. Power on your Raspberry Pi, and not the Wi-Fi and Bluetooth will be deactivated

Conclusion

End of Line.