How to fix "Failed to login: Invalid session" in Minecraft

Why Minecraft says "Failed to login: Invalid session" and how to fix it: restart the launcher, sign in again for a fresh token, the server-side online-mode check, and what to do if it keeps coming back.

  • 1:14 video
  • English captions & transcript
  • 20 October 2026

Transcript

The full narration, chapter by chapter. Click a time to play the video from there.

Intro

Getting "Failed to login: Invalid session" in Minecraft? It's almost always a stale login, and it clears in seconds. Here's how.

What it means

The error means Microsoft couldn't verify your login token. Usually, the token simply expired in the background.

Restart the launcher

First, fully close Minecraft and the launcher, not just the game window. Reopen the launcher, and let it sign you back in. Then rejoin the server.

Sign in again

Still failing? In the launcher, sign out of your Microsoft account, and sign back in. That gives you a fresh token.

Every player?

If every player gets the error at once, it's the server. Keep online mode set to true, it checks every account. Turning it off lets anyone join under any name. And on a locked-down VPS, make sure the server can reach the login servers.

Still coming back?

Keeps coming back? Turn off your VPN or proxy, add the launcher to your antivirus or firewall exceptions, and check that your computer's clock is correct. And if the Minecraft services are down, just wait.

Recap

Quick recap: restart the launcher, sign in again, and keep online mode on. More Minecraft fixes at esagames.ro.

More video tutorials

  • 1:09
    Minecraft

    Best Minecraft modpacks to host in 2026

    The Minecraft modpacks worth hosting in 2026 and the RAM each needs: All The Mods 10, RLCraft, Create packs, Vault Hunters, Pixelmon, Better MC and Prominence, plus the RAM rule of thumb by mod count.

  • 1:02
    Minecraft

    Fix "Outdated server" / "Outdated client" in Minecraft

    What "Outdated server" and "Outdated client" mean, how to create a launcher installation with the server's exact version, ViaVersion and ViaBackwards for server owners, and why modded servers need the exact same modpack.

  • 1:01
    Minecraft

    Fix Minecraft "You need to agree to the EULA"

    Why a new Minecraft server stops on its first start and the one-line fix: change eula=false to eula=true in eula.txt (or flip the panel EULA toggle), plus what to do when eula.txt is missing or will not save.

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.