Wi-Fi issue: Android device gets stuck on Obtaining IP Address while connecting to Wi-Fi Network
Stuck Obtaining IP address is a rather spread Wi-Fi issue on Android devices. You can encounter it on all versions of Android OS. The error appears when you try to connect either to already saved Wi-Fi network or after you typed a password for a new wireless network. The problem looks like the following: you turn on Wi-Fi, try to connect to your router but your Android device does not connect to Wi-Fi network. When you enter the WiFi settings you can see: “Connecting…”, “Obtaining IP address” or “Obtaining IP address from” that goes on in an infinite loop. Sometimes it says “Failed to obtain IP address”. The result is you cannot connect to the Internet. And consequently, you are unable to use most of your apps.
It should be said that you may encounter the stuck Obtaining IP address wifi issue on Android 2.3.6, Android Jelly Bean 4.4.2, Android 4.4.2 KitKat as well as on Android 5. Sometimes people on the Internet report the issue even on Android 6 Marshmallow. The issue can occur on Samsung Galaxy, HTC, OnePlus and other devices. Very often CyanogenMod users are suffering the same glitch. So you can try the guide on any Android smartphone or tablet. The steps are basically the same for all brands and models. So let us find out how to fix stuck Obtaining IP address while connecting to Wi-Fi on Android.
Causes of Stuck Obtaining IP address issue
There are many different reasons for endless Obtaining IP address loop issue on Android. Here are some of them:
- Weak signal.
- The wireless security settings were changed on the router.
- Glitch of a router.
- Glitch of your Android smartphone (tablet).
- Black-list / whitelist settings in MAC address settings on a router.
- Wireless interference.
How to fix stuck Obtaining IP address on Android
Below you will find ALL possible solutions to fix the wi-fi issue: from simple to more complicated. Some of them may seem ridiculous to you but it would be better that you try all of them.
Solution 1. Reconnect to WiFi network
First of all you should try these easy actions:
Solution 2. Reboot your router and Android device
Reboot all devices to exclude the casual glitch. For example, to reboot TP-Link router you need to sign in to the router’s web interrface, then go to System Tools – Reboot and click on Reboot button:
To reboot your Samsung Galaxy device you should press and hold the Power button and then tap on Restart:
Attention! If you believe that something is wrong with your wireless router or access point reset it to default settings and set up from the scratch:
Solution 3. Rename your device
Possible reason: Rare glitch on HTC devices. Go to Wi-Fi Direct settings and rename your device. You should change the name like ‘android_909892’ to any simple word in English, for example ‘HTC One’ or ‘John’.
Solution 4. Set up WPA2-PSK on your router
- Go to the router’s webinterface. If you don’t know the IP address of your router, read our article about how to find the router’s ip address on Android.
- Find the Wireless security page or something similar.
- Select WPA2-PSK as your security mode.
- Select AES as the Encryption type.
- Click Save settings or Save.
- Forget wifi network on Android:
- Reconnect to it:
It is not recommended to use TKIP encryption as well as WEP security mode.
Solution 5. Turn off the MAC filter on your router
The router may be rejecting your Android device by MAC address. If the MAC filter is on and your device’s MAC address is not in the white list (or is present in the black list) you will have stuck “obtaining IP address” on Android. Go to your router settings, find MAC filtering setting and ensure that the MAC address of your Android device is not in the black list (if Black list mode is activated) or is present in the White list (if White list mode is activated).
It would be better to temporarily turn off the MAC filter just to understand if it causes the issue of Obtaining IP Address loop when you connect to wi-fi:
You will always be able to turn it back on and add your device to the white list (or remove from the blacklist).
Solution 6. Reduce the distance between the Router (or AP) and your Android device
Possible reason: the signal is weak.
Do not skip reading this paragraph! It is very important to understand that when the distance between your router and Android is too long you may encounter looping Obtaining IP address. It happens because the router transmitter is more powerful than the one in an Android device. So the router’s signal reaches your smartphone or tablet but the response does not reach the router. Thus it appears that your Android device sees the wi-fi network but cannot connect to it and successfully obtain an IP address.
Try to reduce distance between the router or AP and your Android device. If the router is yours try to place it georgaphically in the middle of your house or apartments. Also take into account that walls and floors can weaken the wireless signal more than you can think. In some cases one wall can kill the signal so the client device cannot connect to the router even if the router is right behind that wall.
Solution 7. Change the wireless channel
Possible reason: wireless interference. In very rare cases you will have “IP obtaining” if some neighbour network causes interference to your router’s WiFi. Use WiFi Analyzer app to select the best wireless channel for your router.
Solution 8. Download and install a Wi-Fi Fix app
Many users report the WiFi Fix app solved the issue of infinite Obtaining IP address. You can also try such apps from the Google Play Store.
Solution 9. Turn off Network notification
Go to Settings → Connections → Wi-Fi → Advanced and switch off Network notification:
Solution 10. Assign a static IP address to your Android device
This is not a full solution, just a wonky workaround. But if you cannot fix the Obtaining IP Address loop on your Android you may apply it as a temporary solution. Follow this guide to manually assign a static IP to your smartphone or tablet.
- Go to Settings → Connections → Enter WiFi → Turn on WiFi.
- Long press on your network name.
- Select Modify network config:
- Set the checkbox Show advanced options and scroll down:
- In IP Settings select Static.
- In IP Address field change the last octet. Specify for instance 192.168.0.150 instead of your current address.
- Tap on Save.
Note that you need to know the router’s IP address for using this solution. Here we wrote about how to find it from an Android device.
If you are unable to access the Internet after you assigned the static IP, go back to Static settings and fill in the Gateway address and DNS1. In most cases both of them should containg the IP address of your router.
Solution 11. Reset your Android device to default settings
In some cases the Obtaining IP address issue emerges as a result of malware activity. A trojan or a virus can damage the system and cause unforeseen consequences.
1. Scan your Android device with Malwarebytes Anti-Malware app:
2. Try to reset your Android if nothing helps you fix the issue with Wi-Fi. Do not forget to back up all your photos, videos and music. Then go to Settings → Accounts → Backup and reset → Factory data reset and tap on RESET DEVICE: