Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-207896

Authentication issue while trying to play on servers with a Microsoft account



    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.4, 20w49a
    • None
    • Community Consensus
    • Networking
    • Very Important


      Mojang Notice

      This issue is likely caused by using illegal or incompatible software, which are known to corrupt your hosts list by redirecting any Mojang authentification server address to their own illicit servers. To fix this, you need to remove any non-official software, then you need to fix your affected hosts file by doing the following:

      On Windows
      1. Go to the Start Menu and locate notepad. Right click notepad and select Run as Administrator
      2. Press Ctrl and O on your keyboard, then enter %SystemRoot%\System32\drivers\etc\hosts as the "File name" and press "Open"
      3. Remove every line mentioning "Mojang" and hit save (Ctrl+S). (Example: https://imgur.com/qBb9vZA)
      On Linux and possibly MacOS

      Your user needs to be a sudoer (have administrative privileges), otherwise you need to log as the superuser if you know the password or ask assistance to your system administrator.

      1. Open a terminal application (search for terminal in your application launcher).
      2. Type sudo nano /etc/hosts
      3. Remove any line containing "Mojang" then save the hosts file.

      You should now be able to play Minecraft again, please never use any illegal tools or accounts.

      It is highly recommended to sign in and change your password.

      If your hosts file does not contain any line mentioning a Mojang server or you are still experiencing this issue, please contact 💬 Community Support. Please don't post comments here if you don't have any new insights to share, this is not a support forum.

      You can also check MCL-5546 for more detailed instructions on how to properly uninstall incompatible software.



      Hi, I recently bought minecraft java edition after december 7th, which was when new players had to log in with microsoft accounts rather than create mojang accounts. I did this but I am missing the following features:

      SERVERS - I can't join any multiplayer server. When I try, it shows the error message 'failed to log in: the authentication servers are currently down for maintenance.'