Is your Android phone stuck on "Obtaining IP address…" every time you connect to Wi-Fi?

It connects, it thinks for a while, and then nothing happens. No internet.

Back in 2016, I was reading forums and Quora, and this was one of the most common Wi-Fi errors people ran into. Many of them tried formatting their phone to fix it.

Please don't. Formatting your phone isn't the fix for this, and you'd lose all your data.

In short: start with the quick fixes. Turn Wi-Fi off and on, forget the network and reconnect, or restart your router.

If none of that works, check your MAC address setting, and only then try a static IP.

Also Read: How to See a Saved Wi-Fi Password on Android (No Root)

TL;DR

  • Quick fixes first: turn Wi-Fi and Airplane mode off and on, then forget the network and reconnect.
  • Restart the router if every device on the network is failing.
  • Check the MAC address setting if your router only lets in devices it already knows. Switch that network to your phone's device MAC.
  • Use a static IP only as a last resort. It works on one network and it's a workaround. Fix the router if you can.
  • Don't format your phone. It doesn't fix this error, and you'd lose your data.

What Does "Obtaining IP Address" Mean?

"Obtaining IP address" means your phone has connected to the router and is waiting for an IP address. Every device on your Wi-Fi needs its own, and your router hands them out automatically when a device connects.

If that address never arrives, your phone gets stuck on this screen.

Android Wi-Fi list stuck on Obtaining IP address
This screenshot is from the 2016 version of this post.

Why Does the Obtaining IP Address Error Happen?

Here are the most common causes:

  • Weak signal. As I said in 2016, if you're far from the router, connecting takes much longer and can fail.
  • The router is stuck. Routers glitch too, and a restart often fixes it.
  • The router has run out of addresses. Too many devices on one network can do this.
  • Your phone's MAC address changed. More on this below. It's a big one since Android 10.
  • The saved network is broken. The saved settings on your phone don't match the router anymore.

Obtaining IP Address Fixes at a Glance

FixWhat it doesBest for
1. Wi-Fi and Airplane mode off and onResets the connectionA one-off glitch
2. Forget the networkClears the saved settings for that networkA broken saved network (you'll need the Wi-Fi password)
3. Restart the routerRestarts the routerEvery device on the network failing
4. Check the MAC address settingUses your phone's device MAC for one networkRouters that only allow known devices
5. Reset Wi-Fi settingsRemoves all saved Wi-Fi networks and Bluetooth devicesStarting over, if you can re-enter every password
6. Set a static IPGives your phone an IP address yourselfOnly when nothing else works
7. Check for a bad app in safe modeTurns off downloaded apps for a whileA VPN or firewall app getting in the way
8. Update your phoneInstalls pending updates and checks the time settingPhones that haven't been updated

How to Fix the Obtaining IP Address Error on Android

Try these in order, starting with the easy ones, and save the static IP (Fix 6) until the others have failed.

Fix 1: Turn Wi-Fi and Airplane Mode Off and On

  1. Turn Wi-Fi off, wait a few seconds, and turn it on again.
  2. Turn on Airplane mode, wait about 10 seconds, then turn it off.
  3. If that doesn't help, press and hold the power button and tap "Restart".

Also, move closer to the router and try again.

Also Read: How to Fix Mobile Data Still Working After Turning It Off

Fix 2: Forget the Network and Connect Again

This clears the saved settings for that Wi-Fi network. Make sure you know the Wi-Fi password first, because you'll have to type it again.

  1. Open "Settings" → "Network & internet" → "Internet".
  2. Touch and hold the Wi-Fi network.
  3. Tap "Forget".
  4. Tap the network again and enter the password.

Fix 3: Restart Your Router

  1. Unplug the router (and the modem, if you have a separate one).
  2. Wait about 30 seconds and plug it back in.
  3. Wait another 30 seconds or so, until the lights are back to normal.

If other devices also can't connect, the problem is the router, not your phone.

Fix 4: Check Your Phone's MAC Address Setting

Here's something that wasn't a problem in 2016.

Since Android 10, your phone uses a randomized MAC address for each Wi-Fi network by default. It's a privacy feature, so networks can't track your phone as easily.

But some routers only let in devices they already know. If your router is set up like that, it may not recognise your phone's new MAC address and won't give it an IP address.

To use your phone's real MAC address for just this network:

  1. Open "Settings" → "Network & internet" → "Internet".
  2. Tap the Settings (gear) icon next to your Wi-Fi network.
  3. Find the MAC address setting and switch it from the randomized MAC to your phone's own (device) MAC.
  4. Connect again.

If it's your own router, you can also add the phone's new MAC address in the router's settings instead.

Fix 5: Reset Your Wi-Fi Settings

This removes all your saved Wi-Fi networks and Bluetooth devices, so keep your passwords handy.

On a Pixel phone:

  1. Open "Settings" → "System" → "Reset options".
  2. Tap "Reset Bluetooth & Wi-Fi".
  3. Tap "Reset settings".

On other phones, the name is a little different. Search for "reset" in Settings to find it.

Fix 6: Set a Static IP Address

This was the fix from my original post, and it still works. The idea is simple: if your router won't give your phone an IP address, you give it one yourself.

But please don't just copy the numbers from my 2016 post. They only work if your router uses the same address range as mine did.

Step 1: Find your router's address.

Look at the network details on another device that's connected to the same Wi-Fi, or check the sticker on your router. Common router addresses are 192.168.1.1 and 192.168.0.1.

Step 2: Enter a static IP on your phone.

  1. Open "Settings" → "Network & internet" → "Internet".

  2. Tap the Settings (gear) icon next to your Wi-Fi network, then tap the Edit (pencil) icon.

  3. Open "Advanced options".

  4. Change "IP settings" from "DHCP" to "Static".

  5. Fill in these fields:

    IP address: 192.168.1.128
    Gateway: 192.168.1.1
    Network prefix length: 24
    DNS 1: 8.8.8.8
    DNS 2: 8.8.4.4
    
  6. Tap "Save" and connect again.

Android Wi-Fi advanced options with IP settings set to Static
This screenshot is from 2016, but the "Advanced options" and "IP settings" fields work the same way.

If your router is 192.168.0.1, use 192.168.0.1 as the gateway and something like 192.168.0.128 as the IP address. The first three numbers must match your router, and the last one should be a number no other device is using.

8.8.8.8 and 8.8.4.4 are Google Public DNS. You can keep them.

Keep in mind: a static IP is a workaround, not a real fix.

It only applies to this one network. If another device ever gets the same IP address, both of them can lose their connection.

So if you can fix the router, that's always better.

Also Read: A Simple DNS Tweak to Speed Up Your Internet (Android & Windows)

Fix 7: Check for a Bad App in Safe Mode

Sometimes an app, like a VPN or a firewall, gets in the way.

Restart your phone in safe mode, which turns off downloaded apps for a while. If Wi-Fi works there, one of your apps is the problem.

Uninstall the most recent ones one by one. If Wi-Fi still fails in safe mode, the problem is the network.

Fix 8: Update Your Phone

Check for a system update in "Settings" → "System", and install any update that's waiting.

While you're at it, check that "Set time automatically" is turned on in "Settings" → "System" → "Date & time". Google lists it as one of its Wi-Fi fixes too.

Which Fix Should You Try First?

It depends on what's failing:

  • Only one phone can't connect: start with Fix 1 and Fix 2.
  • Every device on the network fails: restart the router (Fix 3).
  • Your router only lets in known devices: switch that network to your device MAC (Fix 4).
  • Nothing else works: reset your Wi-Fi settings (Fix 5), check for a bad app in safe mode (Fix 7) and update your phone (Fix 8). Use a static IP (Fix 6) last.

What to Watch Out For

  • Formatting won't fix it. It's a network problem, and you'd lose all your data.
  • A static IP is a workaround. It only applies to one network, so it can't replace fixing the router.

Final Thoughts

Start with the easy fixes: turn Wi-Fi and Airplane mode off and on, forget the network, and restart the router. If your router only allows known devices, switch that network to your phone's device MAC.

Use the static IP trick only when nothing else works. It's a workaround, and fixing the router is always the better long-term answer.

Menu names change between Android versions and phone brands. If a label doesn't match your screen, search Settings for the same word, such as "reset" or "MAC."

FAQs

Why does my Android phone say "Obtaining IP address" and never connect?

Your phone has joined the Wi-Fi network but hasn't received an IP address from the router. Start with turning Wi-Fi off and on, then forget the network and reconnect.

Will formatting my phone fix the Obtaining IP address error?

No. Formatting your phone isn't the fix for this error, and you'd lose all your data.

What does the randomized MAC setting have to do with this error?

Since Android 10, phones use a randomized MAC address for each Wi-Fi network by default. Some routers only let in known devices, so switching that network to your device MAC can fix it.

Should I use a static IP address to fix this error?

Only as a last resort, because a static IP only applies to one network. If another device gets the same address, both can lose their connection, so fixing the router is the better answer.

Still stuck? Tell me through the contact page.

Xaif (Huzaifa Dhapai) started TechVerge in 2015. He's a web developer and long-time Android enthusiast who writes about Android tricks, apps, Windows and the tech he uses every day.

Topics

Comments (2)

  1. Anas Khan

    Wifi Is Connected , But No Internet Connection!

    1. XaifAuthor

      It happens when your internet connection is too slow...

Comments are closed. Have a question about this article? Ask through the contact page.