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.