Minecraft invalid session: how to fix
The 'Invalid Session (Try restarting your game and the launcher)' error occurs when connecting to a Minecraft server running in online-mode without a verified Microsoft account.
Common causes
- Connecting to an official online-mode server using an offline profile.
- Expired session token due to long inactive launcher session.
- Attempting to join licensed servers without owning an official Minecraft account.
- Server configuration setting online-mode=true rejecting unverified user tokens.
How to fix
- Sign in with Microsoft account — Sign in with a licensed Microsoft account in SuperLauncher.
- Restart game and launcher — Restart both Minecraft and launcher to refresh your login session token.
- Play on offline-mode servers — If using an offline profile, play on multiplayer servers configured for offline-mode access.
- Set online-mode=false (Server Owners) — If you own the server, open
server.propertiesand setonline-mode=false. - Restart Minecraft server — Save
server.propertiesand restart the server to apply changes. - Check internet connection — Ensure your network firewall allows outgoing authentication connections.
If nothing helped
If nothing helped, please reach out to our support team at support@superlauncher.org or visit our Help Center.
Frequently Asked Questions
What causes the Invalid Session error in Minecraft?
It occurs when a server in online-mode verifies incoming connections against Microsoft auth servers and rejects unauthenticated or offline profiles.
How can I fix Invalid Session as a player?
Sign in with a licensed Microsoft account in the launcher, or connect to servers configured for offline play.
How can I fix Invalid Session on my own server?
Open server.properties in your server directory, change online-mode=true to online-mode=false, save the file, and restart the server.
Can restarting the launcher fix Invalid Session?
Yes, if you own a licensed account but your session token expired, restarting the launcher issues a fresh token.