How to Fix the LoL "An Unexpected Error Occurred During Login" Error
To fix the LoL unexpected login error, click X in the client before the error appears and choose to log out, or log out, close the Riot Client process in Task Manager and restart; changing DNS is a…
2 min read

In brief
AI summaryFix 1 for the League of Legends unexpected login error: log in, click the X button before the error appears, choose to log out and let LoL restart.
Fix 2 for the League of Legends unexpected login error: close the client with ALT + F4, log out, open Task Manager with CTRL + SHIFT + ESC, close the Riot Client process and restart the client.
As a last resort in July 2021, the article suggests changing DNS settings, described as a rumor, or repeating the second method, which it calls Riot Games' official method.
Contents3 sections
The League of Legends "unexpected error during login" warning popped up at an annoying moment and turned the time you set aside for playing into a dungeon? So how can we fix this error? In this article we will help you with two methods. Follow the steps.
Ways to Fix the League of Legends Login Error (2021)
Exit the Game Before the Error Appears
- Load the LoL client as usual and log in to your account.
- Before the error message appears, click the X button as if you were closing the game.
- When you click X, LoL will ask whether you want to exit the game or log out of your account.
- Then, click log out.
- LoL will restart, and this time it won't give the error.
Log Out and Close the Processes in Task Manager
- Launch the LoL client.
- Then close the client with ALT + F4 and click the log out button in settings.
- After logging out, open Task Manager with CTRL + SHIFT + ESC.
- In Task Manager, scroll down, find the Riot Client process and close it.
- After making sure you have closed everything, restart the client and try to connect.
As a last resort, we recommend changing your DNS settings; even though we think this is spoken of only as a rumor, it may work for you. If this doesn't work either and the error still isn't fixed, you can repeat our 2nd suggestion, which is the official method from Riot Games.


