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.

Having trouble navigating your Android device? Then read up on how to find downloaded files on Android devices. For something a little more experimental check out our list of the best Android hacking apps.

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.

        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.

  2. 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

  3. 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.

  4. 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.

  5. 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.

  6. 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.

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

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

  9. Tried changing switching to static but then it states no internet available, have tried the clear cache of Google play services as well nothing is working and I’m really frustrated. SOMEONE HELP!!

  10. You have to change and your Gateway IP to or depending on your router. In same cases also DNS 1 must have the same value. You can check the correct settings If you have another, connected, device.

  11. To whoever wrote this article: THANK YOU!!
    I have never felt so relieved in all my life, as I did when I seen that the WiFi network I use was actually connected once again.
    This article FINALLY solved my problem after much frustration.

    The solution in my case was to manually type in the Static IP numbers that you provided. Connected immediately after. Thanks again…

  12. Alrighty so here’s something for anyone who can’t seem to get it working again; for me, changing the routers security setting from “WPA & WPA2” to only “WPA2” works. You can change that in your routers menu. Thats what worked for me at least..

  13. I had to change my IP address and Default Gateway. I did an ipconfig on my laptop which was connected to the home wifi and saw the default gateway was while on my phone it was

  14. Try inserting the router password, especially if you were out of your home network. I tried a number of fixes and this worked for me after a ton of frustration. It is on the router or you can get it from your internet provider (such as Verizon) via the support / self serve option on internet connections.

  15. Tried everything and no results unfortunately, my phone and my son tablet have Connection but my partners phone and my daughter phone doesn’t, keeps saying failed to obtain IP address, surely it must be their mobiles since mine is connected and my son tablet is connected (also youtube on the TV, consoles and PC are all connected)

    We did have a power cut early hours in the morning which started this fiasco.

Comments are closed.