How to Fix Obtaining IP Address Error on Android

When connecting to Wi-Fi on your Android phone, you might encounter the “Obtaining IP Address” error occasionally. The “Obtaining IP Address” error is more common than you may think. You get this error because your router can’t assign your Android device an IP address after you’ve entered the password.

Your Android device will try to connect once again to see if it can get the IP address it failed to get the first time. It will continue to do this until it’s able to get that IP address. This could go on for hours.

Possible Causes for the Obtaining IP Address Error on Android

It’s always a good idea to start with the basic reasons as to why you’re getting this error. One possible reason is that a letter in your password is an upper-case letter, but you entered it as lower-case. As convinced as you may be, re-enter your password and make sure each letter is entered correctly.

Another possible reason could be that your network is experiencing some issues and therefore can’t assign an IP address to your device. If the signal is too weak, you can also get the error message. The router may not have an IP for your device if the maximum amount of devices the router can support are connected.

Restart Google Play Services

Google Play Services ties into countless features and functions on your Android phone, and is one of the first things to look at when things go wrong. Luckily, the solution here isn’t too drastic, and that’s to clear the Google Play Services cache.

To do this, go to “Settings -> Apps & notifications” then makes sure you’re looking at your entire apps list (in Android 9.0, you expand the full app list by tapping ‘See all xx apps’).

In the app list, scroll down to Google Play services, select it, then tap “Storage -> Clear Cache”.


This will wipe the cache clean, removing any caching errors that could’ve been tampering with the Wi-Fi functionality.

After this, just use your Wi-Fi like you usually would, and it will hopefully be back to normal.

How to Fix Failed to Obtain IP Address on Android

Another method you can try to fix the failure to obtain an IP address is sitting in your device’s settings. Open Settings and make sure you’ve turned on Wi-Fi on your device.


Long-press or tap on the network you want to connect to. Check the box that says “Show Advanced options” and tap on the “IP settings” menu. Select Static and type the following IP address 192.168.1.@@@. (The last three numbers can be any numbers you want from one to 225.)


Don’t forget to save your changes, and hopefully you will be connected. If it doesn’t work, switch back to DHCP and see if the problem is fixed. If you don’t want to make these changes through your device’s settings, you can always try apps such as WiFi Static and WiFi Fixer.

Forget the Network

Forgetting the network is even more comfortable than the first method. Once again go to “Settings -> Wi-Fi,” long-press on the network you can’t connect to and select “Forget network.”


Once the network is forgotten, try to look for it again and connect as if were the very first time. Enter the password and try to reconnect.

Restart the Router

It’s not something that happens often, but some routers can overheat when you leave them for a long time. This could very well be the reason why your device can’t get an IP address. Turn off the router for a few minutes, then turn it back on.

Change Your Device’s Name


If nothing has worked so far, changing the device’s name has been known to work. Go to your device’s settings and swipe all the way down to About device. Swipe down and tap on Device name. Just enter the name you want your device to have and tap on Done.


The cause for this error can be difficult to pinpoint, but here you have various methods you can try. Remember to try the basic fixes first before you get into anything more complicated. Did I miss a method that that has worked for you? Share your thoughts in the comments.

This article was first published in Jun 2018, and was updated in Dec 2018.


  1. Sometimes I face Obtaining IP Address Error in my android phone for this I look over on YouTube but I didn’t find any good solution to this issue… but this article is really helpful for me to make me better understand about this issue.

  2. If I change my IP in advenced options, it connects, but I don’t have internet after that…

      1. Same here, it’s frustrating!

        1. You have to write one only actual IP address (It seems that Android shows it in a gray color before writing). In my case: works.

          1. my phone says “Internet may not be available”


          2. It worked very well, thanks for your help bro.

  3. Had trouble stayin connected to WiFi for more than 12 months. This tip to apply a Static IP Address seems to have worked. I had tried applying via the Router but it did not make an improvement. Doing it via the phone seems to do the trick. Thanks

  4. Google Play Services – Clear Cache works like a charm. Thank you so much!

  5. Just returned home from a break and WiFi isn’t working on my phone, my wife’s phone and tablet.
    I checked all the cables and restarted the router. No joy.
    I restarted the firewall. Still no joy.
    I tried all of the above. No luck at all. All three devices remain blocked.
    My phone simply times out after “Obtaining IP address”.
    My wife’s says that the address is deactivated.
    On my desktop, Internet access is functioning as normal.
    Any bright ideas anybody?

    1. If you cannot connect from any device (try a laptop if you have one) Then 90% probability your router is the problem. Google the router for “(Router type) WLAN not functioning”. Replace “Router type” with the manufacturer and model number.

  6. A very good, clear and useful article. Great job! I tinkered with the security settings on My Samsung Galaxy 2 Tablet and it die something to the WiFi connectivity. IP address became impossible to obtain. Using your Static IP address issue, matter was resolved with success. I just changed the last 3 digits of the IP address to 225 and saved the change.


  8. Thanks a lot for your help! :)

  9. Thanks so much for this article it helped me big time, I was not prepared to wait hours until it gets fixed on it’s own and all I had to do was change my networks advanced sittings, Thanks alot man.

  10. I tried a number of fixes suggested elsewhere but none worked until I came across your `Clear Cache of Google Play Services`. Thank you, I would never have looked there.

  11. Thank you, as soon as I changed to “static” and typed an IP address the phone finally connected to my home wifi.

  12. Thank you I followed what you said and it worked

  13. Changed the phones name and connected thanks !

  14. The first step worked for me!! Thanks!!!

  15. Tried everything but still no wifi.

  16. Thanks so much for resolution to IP address not available. The change to static did the tricky .

  17. After I change the ip address, then still Idon’t have internet,but thanks for the tip

Leave a Comment

Yeah! You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation.