iPhone keeps forgetting my wifi network

iPhone 13, running iOS 16.4.1. My iPhone keeps "forgetting" to connect to my home wifi network. Several times a day, I'll pick up the phone and notice it's on the 5G network, but not the wifi network (which it should default to).


I go into Settings and see that, indeed, my home network is listed correctly in "My Networks":




When I touch it, it always prompts me to re-enter the password, as if it's forgotten it (but it's saved in my iCloud keychain):



When I enter the password, it connects properly and all is well.


I even go into the network to confirm that auto-join is on -- it is:



But hours later, or a day later, the entire cycle repeats itself. It "forgets" to connect.


I have tried:


Forgetting the network entirely, then re-connecting to it from scratch

Resetting my iPhone's network settings (and obviously, rebooting the iPhone)


Any other ideas? This is really bugging me on a daily basis.


Other wireless devices are not exhibiting this problem.

iPhone 13

Posted on Apr 28, 2023 5:44 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 12, 2024 10:17 AM

REQUEST: If this guide helps, please upvote for visibility and share any feedback or improvements. I'm happy to make updates if it's possible.


I've faced issues with Apple devices not remembering your WiFi password post-router change. Despite numerous tips on websites, YouTube videos, and from people like @Lawrence Finch here in the discussion boards, I couldn't find a clean step-by-step which generically walks someone through the process to fix this issue.


I discovered Mjanskid's response post (linked here) identifying iCloud Keychain sync issues as the culprit. After several attempts and re-reading a bunch of the community feedback, I've compiled a concise, step-by-step guide to tackle this common frustration.



Before You Get Started

Before diving in, a quick read-through is advisable. Key steps involve:

  • Identifying all devices synchronized with your Apple ID (an overlooked old MacBook Air was my snag).
  • Setting up a temporary WiFi network for devices without cellular data, ensuring they can synchronize without the main network.


Let's get started...


[1] Identify Devices Syncing with Your Apple ID:

This step is critical to make sure you have every device (i.e., iPhones, iPads, Macs) that could contribute to iCloud Keychain synchronization issues.


    • On iOS/iPadOS device: Open Settings, tap on [Your Name] at the top, then scroll down to see the list of devices connected to your Apple ID. Each device will be listed with its name and model.
    • On macOS: Open System Preferences, click Apple ID, and select Device Preferences or look at the sidebar where devices are listed under your Apple ID.



[2] Backup Your Devices (best practice): Ensure all your devices (iPhones, iPads, Macs) are backed up to either iCloud or your computer to safeguard your data.



[3] Disable iCloud Keychain on all devices using your Apple ID: Now that you've identified all devices using your Apple ID, proceed by disabling iCloud Keychain on each to prevent further synchronization issues during the process.


    • iOS/iPadOS Devices: Go to Settings > [Your Name] > iCloud > Keychain and toggle it off.
    • macOS Devices: Open System Preferences > Apple ID > iCloud and uncheck Keychain.



[4] Forget WiFi Network: This step removes saved network settings and passwords, preparing your devices for a fresh connection attempt.


    • iOS/iPadOS Devices:
      • Navigate to Settings > Wi-Fi, tap the "i" next to your network, and select Forget This Network.
      • Go back to Settings > General > Reset, tap on Reset Network Settings. You might need to enter your device's passcode to continue.
      • Confirm your decision to reset. Your device will automatically restart as part of this process, ensuring all network settings are cleared.
    • macOS Devices:
      • WiFi icon > Open Network Preferences > WiFi > Advanced, select your network, then, depending on the version of the OS, click either the (…) and select “Remove From List” or the minus (-) at the bottom of the list to “Forget It”, confirm and close network preferences.
      • Restart your Mac. Unlike iOS/iPadOS devices, which automatically restart upon resetting network settings, manually restarting your Mac ensures all changes are fully applied and any temporary network settings are cleared.



[5] Re-enable iCloud Keychain: Gradually turn iCloud Keychain back on, device by device, to ensure each syncs properly before moving to the next. Initially, avoid connecting devices to the original "bad/original" WiFi network during this process. *** Before Re-enabling iCloud Keychain: Connect each device to a guest network or temporarily rename your current network. This ensures devices without cellular data (like iPads and Macs) can synchronize with Apple servers.


    • iOS/iPadOS Devices: Go to Settings > [Your Name] > iCloud > Keychain and toggle iCloud Keychain on. Wait for the device to synchronize.
    • macOS Devices: Open System Preferences > Apple ID > iCloud and check Keychain. Allow time for syncing.


After Each Device Syncs: Proceed to the next device, following the same steps, until all have iCloud Keychain enabled and synchronized.



[6] Reconnect to WiFi Network: After re-enabling iCloud Keychain, manually reconnect each device to your WiFi network using the password.

    • Enter the password manually on each device when prompted. Despite the convenience of automatic password sharing, it's advisable to manually enter the password on each device for this setup process.



[7] Test and Monitor: Keep an eye on your devices over the next few days to ensure the issue is truly resolved.



I hope this guide simplifies the iCloud Keychain synchronization fix for you as much as it did for me.

Similar questions

70 replies

Dec 1, 2023 1:02 PM in response to David Das

Conclusion: Latest iPhone 5 iOS caused of all my iPhone 14 Pro WiFi password forgetting problems.


I deleted, to the best of my ability, all memory of the two problematic WiFi networks from all six of my Apple devices, then disabled Keychain Sync on all six, and finally re-enabled Keychain Sync on all six. But I still had problems on the 14 Pro, so I executed an incremental debugging cycle...


I disabled Keychain Sync on ALL 6 of my Apple Devices and then re-enabled Keychain Sync one-by-one and tested every device's WiFi password memory before re-enabling the next device's Keychain Sync. In the following order:

  1. iPhone 14 Pro - re-enabled Keychain Sync and it retained all tested WiFi passwords
  2. iPhone 6s - same as above, both iPhones remembered all pwds
  3. iphone 5
    1. PROBLEM, as soon as I re-enabled Keychain Sync on this phone the 14 Pro stopped remembering certain WiFi passwords (forgot my ASUS router pwds, my Verizon router was never a problem)
    2. SOLUTION - disabled the iPhone 5 Keychain Sync permanently, 14 Pro started working normally again
  4. MacBook Air 11 (2015) - re-enable, all devices still work properly
  5. Mac Mini M1 (~2020) - re-enable, all devices still work properly
  6. iMac Intel (~2020) - re-enable all devices still work properly


Again, including an iPhone 5 era iOS in my Keychain Sync caused the problems with the iPhone 14 Pro.


-Jeff



Apr 28, 2023 5:52 PM in response to David Das

You have asked your question really well and supplied excellent supporting documentation (screenshots).


If that happened to me, here’s what I would check:


Based on this comment shown in your screenshot:


”You can also access this Wi-Fi network by bringing your iPhone near any iPhone, iPad, or Mac which has connected to this network and has you in their contacts.”


I would check Settings > Contacts > My Info and be certain it’s set correctly.

Jul 31, 2023 1:35 PM in response to Lawrence Finch

That is indeed the expected behavior, but I now have this problem as well. Across multiple routers in multiple locations that have had credentials that remained the same for weeks (some are routinely changed) to years (a few have not been changed in 5+ years). All of them asking for the password to known networks, still listed in "My Networks", but somehow that password is no longer stored, or the retrieval is being skipped. This on my iPhone 12 Pro since updating to iOS 16 (16.6 now) and also on my 2013 Mac Air which has not had is OS updated in several years. I can put the passwords in and connect just fine from there for a day, sometimes a much longer. Then, without any change to the device or my AppleID, a wifi password will suddenly no longer be remembered. Just now my work wifi network, which I use daily, is asking. It has been fine for a month, but now needs to the password again. Two days ago my home wifi network was the culprit, still in "My Networks" but asking for the password. Same routers being used with other apple phones, laptops, and appleTVs do not exhibit the behavior, only devices tied to my own Apple ID. However, nothing with my Apple ID has changed, nor have I received any notifications to my Apple ID email about any changes. Being that the problem seems (in my case) tied to devices with my Apple ID, l008com's assertion seems to be correct that it is a Keychain issue.

Aug 31, 2023 6:36 PM in response to David Das

Ah, the age-old tale of an iPhone with commitment issues—just can't stick to one WiFi network, can it? It's like your iPhone is out there, thinking, "Why settle for stable, at-home WiFi when I can latch onto the ever-fluctuating, wallet-draining 5G network?" Ah, the thrill of the unknown!


Jokes aside, I get that this is frustrating. There are a few things you could try:


1. **The Turn It Off and Turn It Back On Technique**: Let's start with the basics. Have you tried turning WiFi off and back on? While you're at it, go the extra mile and reboot your phone and router too. Yeah, it's the 'unplug it and plug it back in' of the digital age, but you'd be surprised how often it actually works.

2. **Forget This Network**: Go to your WiFi settings and tell your phone to "Forget This Network." After that, reconnect by entering your password. Yes, it's the equivalent of relationship therapy for your phone and WiFi, but sometimes a fresh start is what a relationship between your phone and router need needs.


3. **Network Reset**: This one's a bit more drastic, but it might just do the trick. Go to Settings > General > Reset > Reset Network Settings. Be warned: this will forget all WiFi networks and Bluetooth devices, so you'll have to get reacquainted.


4. **Update Drama**: Is your iPhone running the latest and greatest iOS? If not, this could be the tech universe's way of nudging you to hit that update button. Sometimes stability issues get sorted in those updates—along with a thousand new emojis you didn't ask for.


5. **Router Revisit**: If all else fails, maybe it's not your iPhone; maybe it's your router being the difficult one in the relationship. Check if its firmware is updated. Or maybe move your router move it to a central location for better coverage.


So go ahead, give one (or all) of these a whirl and see if your iPhone decides to finally make an honest WiFi connection out of your home network.

Feb 20, 2024 7:47 AM in response to Liver13

*** Update to Original Guide: Clearing Cache by Shutting Down Devices ***


During a call with Apple Support related to an issue with setting up an Apple TV after a software update, I received additional information to related to our iCloud Keychain synchronization issue.


To ensure a more comprehensive solution, it's crucial to fully shut down all devices after disabling iCloud Keychain and before re-enabling it. This step addresses what the tech described as an issue with cache-like memory that a simple restart will not clear consistently.


Revised Step between [4] and [5]:


After completing step [4] "Forget WiFi Network" and before moving to step [5] "Re-enable iCloud Keychain";


  • Shut down your devices completely
  • Power them off, and let them stay off for 1-2 minutes.
    • This pause allows the devices' cache memory, which can store conflicting information, to fully clear.


Please incorporate this additional step into your troubleshooting process. Click here for the original guide and complete instructions.


If the guide proves useful, please "up vote" the original post to make it easier for people to find and solve this issue more quickly.


Apr 28, 2023 5:49 PM in response to David Das

Hi there!


There is a few possible things that could be causing this. if you could please upload a picture of your router that would be nice. Also, you may be using a multi AP system that is improperly configured which may cause the iPhone to try and grab a different SSID. Also restart the device. Another thing it may be is that the wifi network is going out which may sometimes cause the iPhone to refuse to grab that signal.


Hope that helps,


Adin

May 13, 2023 11:20 AM in response to Lawrence Finch

I have used Wifi assist for years. the fact is the SSID Password is not available under information for the wifi network (should show under the Auto-Join switch). Even if the iphone "grabbed" a better connection, it should NOT EVER delete the password. I have passwords to wifi accounts I used months ago (and not since). Phone has grabbed both cell and wifi accounts since then but passwords exist. Something is going on in 16.4.1 causing the password not to be retained

Jun 17, 2023 3:41 AM in response to banana_575

Same problem, has been happening for about 1 month. Iphone 13 mini, IOS16.5. Macbook pro, IOS 10.15.7. It happens to multiple wifi networks at different locations which I frequent. Some homes, some restaurants. It doesn't happen everytime I leave and return but sometimes it happens even while I'm still there. Manually joining the network and adding the password works fine.


@apple: this is obviously not a problem w/ the various wifi networks. Once manually joined w/ the password everything works fine for a while. These wifi networks have all worked w/ out issue for years. They are managed by different entities (some me, some others) and other people I know who frequent some of the same areas don't have the same issues. Both iphone and macbook share the same icloud id and I have my keychain passwords saved there. I have tried removing the keychain entry when connected to the wifi network and that doesn't resolve the issue. When I am disconnected from a wifi network which I have previously used and w/ in range, the keychain entry for that network doesn't exist, so clearly this is an issue w/ the keychain entry being removed from the icloud keychain data. Obviously this similar problem is affecting other users so please take it seriously and put some effort into resolving it. If you contact me, I can provide detailed info and assist troubleshooting.

Jul 26, 2023 12:06 PM in response to Lawrence Finch

Clearly it's an IOS issue, now across V15 and 16 - though my one (of 4) wifi network passwords is no longer lost IMMEDIATELY after entering it, sometimes I do see the ********** password indicator in the dialog for INFO, but eventually it will disappear (like right now). All my other networks (including a recent Hotel location) clearly show the ******** every time. A corrupted Keychain is my hunch. Not sure I want to go thru the factory reset process to try to fix this right now.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone keeps forgetting my wifi network

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.