That "Cannot Connect to App Store" pop-up is one of the most annoying things on iPhone. It keeps popping up even when Safari works fine. Here's how to stop it for good.
Step 1 – Sign out of the App Store (this is the fix)
Most people skip this. Don't. It forces a fresh connection. Here's what to do:
- Open Settings.
- Tap your name at the top. That's your Apple ID.
- Scroll down to Media & Purchases. Tap it.
- Tap Sign Out. Yes, sign out completely.
- A pop-up will ask if you want to sign out of all Apple services. Tap Sign Out again.
- Wait 30 seconds. No, you don't need to restart.
- Go back to Settings > your name > Media & Purchases.
- Tap Sign In. Enter your Apple ID and password. Use your App Store password, not device passcode.
After signing back in, open the App Store. You'll see it load immediately. No more error. This works on iOS 16, 17, and 18 beta.
Why this works
The error happens because the App Store's authentication token gets corrupted. It's like a key that's bent. Signing out deletes that bad token. Signing in creates a fresh one. There's no need to restart the phone or reset network settings. The token is stored in your Apple ID account, not in Wi-Fi settings. That's why turning Wi-Fi off and on never fixes it.
Other things to try – less common fixes
Check your date and time
If your iPhone's date or time is wrong, the App Store can't verify its security certificates. Go to Settings > General > Date & Time. Turn on Set Automatically. If it's already on, turn it off, wait 10 seconds, then turn it back on. You should see the time change slightly. That's fine.
Turn off VPN (if you have one)
VPNs can block App Store traffic. Go to Settings > General > VPN & Device Management. If you see a VPN profile, tap it and turn it off. Try the App Store again. If it works, the VPN was the problem. You can turn it back on later. Some VPNs just don't play nice with the App Store.
Change your DNS server
Your ISP's DNS might be slow or blocking Apple's servers. Go to Settings > Wi-Fi. Tap the blue (i) next to your network name. Scroll to Configure DNS. Tap Manual. Delete any existing entries. Add 8.8.8.8 and 8.8.4.4 (Google's DNS). Tap Save. This is a safe change that speeds up many connections.
Reset network settings (last resort)
If none of the above work, you can reset network settings. This wipes saved Wi-Fi passwords, Bluetooth pairings, and VPN profiles. Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. You'll need to re-enter Wi-Fi passwords after. I've seen this fix the error when nothing else worked.
How to prevent this from happening again
This error usually follows a failed iOS update or a bad VPN connection. To avoid it:
- Keep iOS updated – Apple fixes these bugs in newer versions. Go to Settings > General > Software Update every month or so.
- Don't sign in to the App Store over a VPN – If you use a VPN, turn it off before opening the App Store. Or use split-tunneling settings if your VPN supports it.
- Don't let your Apple ID get locked – If you enter the wrong password too many times, Apple locks the account. You'll get this error until you unlock it at iforgot.apple.com.
- Restart your iPhone once a week – I know it sounds old-school, but a quick restart clears temporary glitches. Hold the side button and volume button until you see the slider. It takes 30 seconds.
That's it. Signing out and back in fixes it almost every time. Try that first before messing with network settings or restoring your phone. You're welcome.