When trying to open the Facebook app on an iOS device (or even sometimes on Facebook), you may see the following cryptic error that says “‘Login error: An unexpected error has occured. Please try logging in again.”. In this guide we will teach you how to fix this.
Facebook Login Error: An unexpected error
The major problem with this Facebook login error is that it doesn’t give any information. There are no error codes or any tips that you can do yourself to see if it goes away.

Luckily, we have a list of possible fixes that can work. Some users report that a simple reinstallation of the Facebook app fixes it, while others have to take more drastic measures.
Here’s a complete list of fixes that you can try.
Fix for Facebook Login Error
Change from Wifi to mobile data
Some users have reported that a simple switch from Wifi to mobile data fixed it. All you need to do is turn off your Wifi and switch on mobile data.
Try logging in again and see if the error goes away.
Restarting your device
Smart phones are computers that are performing numerouos tasks all the time. Sometimes a bug occurs seemingly out of nowhere and a simple restart of the device can be enough to fix it.
Restarting your device allows it to start functioning normally. Then try logging into the app again and see if you’re able to login normally.
Updating the Facebook app
Another reason you might be facing the error is because of an outdated version of your Facebook app.
Open the App store on your device and see if there any updates available for Facebook. If there are, install them and see if you can login now.
Clear data & cached data from App settings
To clear data from the App settings, do the following:
Go to Settings > Apps > Manage apps > Facebook > Clear data > Clear all data
Then, go back to Settings and open About phone > Storage > Cached data > Clear cached data
Try logging into the app now and it should work.
Reinstalling the Facebook app
Simply uninstall the app and then reinstall it from the App store. Sometimes the installation gets corrupted and the best way to fix it is with a clean installation.
Updating your iOS version
Maybe it’s not the app that’s being problematic, but rather the iOS version.
To update your iOS version, open Settings > General > Software update.
If there’s an update available, download it through Wifi so you don’t use up all your data.
After that, restart your phone and try logging in to Facebook.
Reset network settings
There’s a chance that your network settings have become corrupted and that’s why you can’t login.
To do that, open Settings > General > Reset > Reset Network settings
This will remove all your Wifi passwords and remove data settings as well. It’s inconvenient to try this but if nothing above has helped yet, this might work.
Reset privacy and location settings
Your location settings might be the culprit if nothing else has helped yet.
To reset them, got to Settings > General > Reset > Reset Location & Privacy
Keep in mind that all apps that use your location will need to granted access again.
Factory reset without backup – the last option
The reason we’ve kept this solution at the very end is obvious. No one likes to restart their phone from the beginning because it’s a hassle.
This may be a tough situation to digest, but most users have reported that a factory reset without backup is the only solution that worked for them.
Use iCloud to back up everything including contacts, photos, and everything else. Just in case, make a backup on your laptop as well.
You might want to read about the iCloud signing in issue if you can’t seem to login to your iCloud account.
Factory reset iPhone to fix Facebook Login error
- Connect your iPhone to a Mac or PC and open iTunes.
- Follow the on-screen steps to connect your device with either a passcode or by pressing ‘Trust this computer’.
- Select your device once it appears on your screen
- Click Restore
- Confirm the restoration
Once you perform the factory reset, everything should be back to normal.
Which of these solutions worked for you? Let us know in the comments below!

I love understanding how different technologies work and explaining them to people. From tech guides to opinions, everything is interesting to me. Other than that, I enjoy writing about various science-related topics and conversing with people.
My facebook app login problm pleas reset my fb app
Please fix my Facebook error
Hello sir my Facebook login error an unexpected error occurred
Yeah, not doing all that to fix facebooks problem.
लॉगिन त्रुटि: एक अप्रत्याशित त्रुटि हुई है। फिर से लॉग इन करने का प्रयास करें।
इस समस्या को हल करने का प्रयास करें और मेरे एफ बी एप्प को रीसेट करें।
I can’t login to my Facebook on my app it’s giving me a unexpected login but I can login on my safari that’s weird
I tried all the steps but issue has not fix yet
Same issue all the step i follow but not fix yet let me know
tried all the steps nothing works r
I have this same issue reported to Facebook n nothing has been fixed even tried get apple to help me n nothing
Tried all the steps to fix and i’m still getting the same error
My facebook app login problm pleas reset my fb app
I’m tryin all of that things and nothing happen what should i do tell me someone ????♂️
It says unexpected error. Everytime to log into my Facebook on the app. It won’t let me. I’ve done all the steps it says and it won’t do anything.
Can you help me? I’m having the same issue.
I followed all the steps explained in this post, but Still facing the same issue, if you have more information please mention so that i can login to Facebook account via application.
I have tried everything, my last option was to factory reset my phone and at the end of the day I couldn’t even access my original facebook account. I then had to make a new one only then could I use facebook. Facebook is probably never going to fix this issue unless it happens to someone with a lot of influence like an actor or politician.
Did all Of these things and nothing worked
Solanki, your account has been locked
We’ve seen unusual activity on your account. This may mean that someone has used your account without your knowledge.
Account locked on January 25, 2022
To protect you, your profile is not visible to people on Facebook and you can’t use your account.
We’ll take you through some steps to unlock your account