If your Raspberry Pi is not connecting to WiFi or Ethernet, you need to check your WiFi router if the internet is working or not. If the internet is not working, try resetting the WiFi router or the modem to resolve the issue. In case the issue persists, the problem is most likely with your Raspberry Pi.

Several users have reported similar issues in the official Raspberry Pi forum:

My RPi 3 B+, which I’ve had for a couple years now, has recently refused to connect to the internet. I have it connected to ethernet because the wifi connection is weak in this part of the house. I cannot successfully ping its hostname or IP from any other computer in the house.

In this article, we have listed a couple of troubleshooting tips to help you fix Raspberry Pi not connecting to WiFi and Ethernet issues.

What to do if my Raspberry Pi is not connecting to Ethernet/WiFi?

1. Check for issues with SSID

Raspberry Pi is not connecting to WiFi

  1. If the Raspberry Pi has an issue connecting to your WiFi network, check the SSID for invalid characters.
  2. Make sure your network name (SSID) does not have an underscore in it.
  3. Remove the underscore, and then try to connect your Raspberry Pi to the WiFi network.
  4. Removing the underscore has helped several users resolve the issue.

Additionally, if your router supports both 2.4GHz and 5GHz wireless network, try using the 2.4GHz network. Try connecting the device to the network again and check for any improvements.


2. Check your home network for issues

Reboot the router 

Raspberry Pi is not connecting to Ethernet

  1. Turn off the router and unplug the power from the wall outlet.
  2. Turn off your WiFi router if you are using one.
  3. Disconnect the Ethernet cable connected to your modem.
  4. Leave the router idle for a minute.
  5. Reconnect the power and turn on the modem and your WiFi router.
  6. Once all the lights stop blinking, connect Raspberry Pi, and check for any improvements.

Check Ethernet port and cable 

Raspberry Pi is not connecting to WiFi

  1. Make sure the Ethernet cable is working by connecting directly to your PC.
  2. If the Ethernet cable is not working, consider replacing the cable.
  3. Try using a different Ethernet port on your router to check for issues with the port.

If the issue persists, consider updating your WiFi router’s firmware. Restoring the router settings to factory default and then reconfiguring the network device can also help if the issue is due to your home network and not Raspberry pi.


Is Raspberry Pi not showing up on the network? Try these solutions


3. Reinstall Raspbian image

Raspberry Pi is not connecting to Ethernet

  1. Download the latest version Raspberry Pi imager to your computer.
  2. Run the installer to install the Raspberry Pi imager.
  3. Connect an SD card reader with an SD card inside to your computer.
  4. Open Raspberry Pi imager, and make sure the SD card is detected.
  5. Choose the required OS from the list presented.
  6. Choose the SD card you wish to install the OS on.
  7. Click Write to begin the installation.
  8. Once installed, reconnect the SD card to your Raspberry Pi and check for any improvements.

If reinstalling the latest version of Raspbian did not help, try downgrading to an older version to see if that works.

Check for hardware issues

  1. If the issue persists, check your Raspberry Pi Ethernet port for hardware issues.
  2. Connect an external Ethernet adapter to the device and check if the internet works.
  3. In case the internet works, the Ethernet port on your Raspberry Pi is faulty.

Your Raspberry Pi device may stop connecting to the WiFi if it detects issues with the SSID or other network configuration. However, when the issue is with your Ethernet connection, it is usually a dead Ethernet port that is causing the issue.

FAQs: Learn more about Raspberry Pi WiFi and Ethernet connection

  • How do I reset my Raspberry Pi WiFi?

Open the terminal on your Raspberry Pi and type sudo nano /etc/wpa_supplicant/wpa_supplicant.conf. Delete the WiFi network that you want to reset. Press Ctrl + X, and then enter Y to save the file.

  • Can Raspberry Pi 4 connect to WiFi?

Yes, the Raspberry Pi 4 comes with a built-in WiFi adapter that allows you to connect to your home and another wireless network easily. You can connect to the network via terminal or by clicking the wireless symbol in the top-right corner of the Pi’s desktop.