How To Fix Failed to Obtain IP Address Error on Android

Have you ever encountered the “Failed to obtain IP address” error on Android while connecting to a wifi network? Don’t worry you are not alone on the planet who suffers the problem. The Android will simply stick on the “obtaining IP address” screen forever or will return the error “failed to obtain IP address”. But, why does the error occurs and how to fix the IP address problem on Android? Let’s find the answers. Also, don’t forget to check the alternative method here wifi has not internet access troubleshoot.


WIFI keep saying obtaining IP address
WIFI keep saying obtaining IP address

Why does my WIFI keep saying obtaining IP address?

Before you jump to the solution to fix the obtaining IP address error on Android. It’s always a better idea to know the reasons behind the error. There are a series of problems that can cause the Android to stuck on “obtaining IP address” screen forever. Here is the list of some possible causes for the error.

  1. Improper Wifi Configuration
  2. Router MAC Filter
  3. No internet access to the router
  4. Outdates Play services app
  5. Cache Memory conflict

How to Fix Failed to Obtain IP Address?

To fix the failed to obtain IP address error on Android, you need to apply several methods as there is not a single explanation to the error. Here we shall discuss all the possible solutions to fix the error and connect with wifi successfully.

1. Forget Network and re-connect

If you can access the wifi password, then it’s the best way to start troubleshooting the error on Android by removing the existing wifi network from mobile and re-connect by selecting the wifi from the list and entering the password.

Forget and re-connect wifi

Here is how you do it

  1. Go to setting>connectivity>wifi on Android mobile or tablet
  2. Tap and Hold on the wifi network name to open a menu
  3. Here select “forget Network” and tap “confirm”
  4. Restart the Android and try re-connecting the Android to wifi

2. Rename Android Device

However, this is not the pro method to solve the error. But many users on different forums have reported that renaming the Andriod device solver the IP address error for them.

Rename Android

So, it is suggested to give it a try. Here is how you rename your Android device.

  1. Open the Settings app on Android phone and tablet
  2. Find and Select “About phone.”
  3. Tap on “Device name.”
  4. Change the name to anything you desire and hit “OK.”
  5. Try and reconnect to the Wifi.

3. Restart the Router

Restart router

If you are still getting the IP address error while connecting the Android to the internet, it’s time to restart the router and reconnect the Android to wifi if the error is gone. Simply power off your router and turn it on after 30 seconds.

4. Flush DNS

Flushing the DNS using your PC command prompt can also solve the “failed to obtain IP address”. Like Android cache memory, your DNS also has a cache memory. This cache can cause a conflict with router’s wifi configuration.

Flush DNS

Flushing the DNS can help your router to reset all the connection. Unfortunately, you can’t flush DNS without a PC. Here is how you flush router DNS.

On Windows PC:

  1. Press start and type “CMD” in the search bar
  2. Here find the command prompt from the list and open as administrator
  3. Now type the following lines in the command window and press enter.
ipconfig /flushdns
  • Now run the command and restart your router.


  1. Open the Terminal
  2. Applications -> Utilities -> Terminal
  3. Type “HUP mDNSResponder” and press enter
  4. Restart the router and try connecting the Andriod to the wifi network

5. Check Router MAC Filter Settings

The “failed to obtain IP address” can also occur if you have accidentally or intentionally blocked the internet access to your Android using MAC filter. In order to access your Router setting page, you need to have the default gateway address.

Using the gateway or local IP address you can log in to the router settings page. By default, the user name and password for the router is “admin”.

Router MAC Filter Settings
  1. Find the MAC Address of Android device you are facing a problem with.
  2. Now login to your router settings page
  3. Here go to wireless settings and navigate to MAC filter
  4. Remove the MAC addresses listed here.
  5. Save and restart the router.

6. Assign Static IP address

  1. Open the Settings app on Android mobile and tablet.
  2. Tap on “Network & Internet.”
  3. Select “Wi-Fi”
  4. Press and Hold on the network you are getting an error with.
  5. Tap on “Modify network.”
  6. Select “Show advanced options.”
  7. Look for “IP settings” and select “Static”
  8. In the IP address, change the last number to any number between 1 to 225.
  9. Restart the device and re-connect.

Obtaining IP address error on Android: Wrapping up

This was a series of solutions to fix the IP address obtaining error on Android. It is recommended to restart the Android after every attempt you make to solve the error. So, which method worked for you? Do let others know in the comment section below. Don’t forget to check our TROUBLESHOOT section for other useful error fix guides for Android.


  • I am George, the mind behind My mission with this platform is to offer clear, practical insights into smart devices, VR, and Android technology.

    View all posts
Categories fix