Bad login and Invalid session
Session error when logging in: outdated launcher session, a second login with the same account, cache, and what the player should check.
Updated September 28, 2026
Bad login
Invalid session (Try restarting your game and the launcher)
The client sent a session that the server did not accept.
If you are getting this error as a player rather than on your own server — see the breakdown of .
Causes on the player's side
- Stale session. The launcher has been open for a long time: restart the launcher and the game, and log out and back into your account if needed.
- Second login with the same account. The session was hijacked by another client.
- Microsoft password change: the old session is no longer valid.
- Broken launcher: third-party launcher builds often break the session.
Causes on the server side
- Proxy network without forwarding: the backend tries to verify the session itself — IP forwarding.
- online-mode mismatch between the proxy and the backend.
- Mojang outage — Authentication servers are down.
How to pinpoint it quickly
If only one player gets the error while everyone else can join, it is their client. If everyone gets it, look at the server side.
On offline servers
With online-mode=false, the session is not verified at all and this error never appears. Instead, password authentication is used.
Minecraft hostingYour server runs while you are offlineCreate server
