Minecraft Dungeons 2 is finally here, but some players are facing login and startup problems. One of the common issues is Minecraft Dungeons 2 Error Code 0064, which can appear with a login failed message and stop the game from launching properly.
There is no single guaranteed fix for this error. However, several troubleshooting methods can help you get back into the game. Here are the solutions you should try, starting with the easiest ones.
Repair the Minecraft Launcher
A problem with the Minecraft Launcher can sometimes affect the game’s startup or account authentication. Repairing the launcher is a good first step.
Open Windows Search and type Minecraft Launcher. Right-click the app and select App Settings. Scroll down and choose Terminate to close it completely. Then click Repair and wait for Windows to finish.
After the repair is complete, open the launcher again and start Minecraft Dungeons 2. Check if Error Code 0064 has disappeared.
Check Your Date, Time, and Time Zone
Incorrect Windows time settings can cause problems with online authentication. Make sure your computer is using the correct date, time, and time zone.
Search for Change the date and time in Windows Settings. Turn on Set time automatically and select the correct time zone. Then scroll down and click Sync now.
Restart Minecraft Launcher after the clock has synchronized and try launching the game again.
Sign Out and Sign Back Into Microsoft Account
The error can also be related to an authentication session. Open Minecraft Launcher and click your Microsoft account profile.
Select Log Out, then sign back in using the same Microsoft account connected to your game. Launch Minecraft Dungeons 2 again and check whether the login failed message is gone.
Update Xbox App and Xbox Game Bar

If you are using Xbox Game Pass or Xbox services, outdated Xbox components may cause authentication problems.
Open the Microsoft Store and check for updates for the Xbox app and Xbox Game Bar. Install any available updates and restart your PC before launching the game.
| Fix | Difficulty | When to Try |
|---|---|---|
| Repair Launcher | Easy | First |
| Sync Date & Time | Easy | Early |
| Re-login to Microsoft Account | Easy | Early |
| Update Xbox Components | Easy | If using Xbox services |
| Link Steam and Xbox Account | Medium | Steam players |
| Reinstall Game | High | Last resort |
Check Your Xbox and Steam Accounts
Make sure the Xbox app is signed in with the same Microsoft account connected to your game. Steam players should also check that their Steam account is correctly linked with their Xbox or Microsoft account.
Another important point is to avoid running Minecraft Dungeons 2 as administrator. Changing the way the game starts can sometimes interfere with Steam authentication and account linking.
Reinstall Minecraft Dungeons 2
If none of the earlier solutions work, reinstalling the game is the final option. Open Windows Search and select Add or Remove Programs. Find Minecraft Dungeons 2, click the three-dot menu, and select Uninstall.
Once the game is removed, open Minecraft Launcher and install it again. A fresh installation can remove corrupted or incorrectly installed files that may be causing Error Code 0064.
Final Thoughts

Minecraft Dungeons 2 Error Code 0064 can be frustrating, especially when you are ready to jump into the game. Start with simple fixes such as repairing the launcher, synchronizing Windows time, and signing back into your Microsoft account. If you use Steam or Xbox services, also check your account connections and updates.
