Home » How-To » Gaming » How to Fix “Failed to login: Invalid session (try restarting your game)” in Minecraft

How to Fix “Failed to login: Invalid session (try restarting your game)” in Minecraft

Are you getting a “Failed to login: Invalid session” error in Minecraft?

Here is the second part of the error, “Try restarting your game”.

The error happens when you try to connect to a Minecraft server.

You could be using the official launcher or the TLauncher.

In this guide, you’ll learn how to fix “Failed to login: Invalid session (try restarting your game)” in Minecraft or TLauncher.

What causes an invalid session in Minecraft?

Failed to login: Invalid session (try restarting your game)

There are two main causes for an invalid session in Minecraft.

Firstly, you might have started two instances of Minecraft and the old session ID is invalidated.

Secondly, you might be using a cracked version of the game (e.g. TLauncher).

Most Minecraft servers do not allow cracked players to enter them.

How to fix “Failed to login: Invalid session (try restarting your game)” in Minecraft

To fix “Failed to login: Invalid session (try restarting your game)” in Minecraft, you need to quit the game, close the launcher, and reopen it.

If you’re a server owner, you need to set “online-mode” to “false” in your server’s properties.

If you’re playing a cracked version of Minecraft, you need to join a server that allows cracked versions or doesn’t check for licenses.

General fix:

  • Quit the game/server > close the launcher > reopen the launcher > join the game/server.

Fix for server owners:

  1. Open the server.properties file > Online-Mode > set to “False”.
  2. Save the file and restart your server.

Fix for cracked players (TLauncher):

  1. Log in using the Minecraft/Mojang license in the “Accounts” menu item.
  2. Join a server that allows cracked versions/does not check for licenses.

Further reading

How to Add User to Group in LuckPerms

Top 7 Minecraft Servers With Guns

45+ Free Minecraft Accounts

Tags

About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 8+ years of experience in Social Media Marketing and 4+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan who hosts The Joe Rogan Experience (arguably the most popular podcast in the world), in the This Past Weekend podcast by Theo Von.

In his free time, Lim plays multiple games like Genshin Impact, League of Legends, Counter-Strike, Hearthstone, RuneScape, and many others. He creates guides, walkthroughs, solutions, and more on games that he plays to help other players with their progression.