To fix “Failed to verify username” in Minecraft, close the game, sign out of Minecraft Launcher, then sign back in with the Microsoft account that owns Minecraft and reconnect. Start with this session refresh before changing network settings or reinstalling the launcher. These fixes cover Java Edition on supported Windows, macOS, and Linux systems, with Windows-specific steps labeled below.
The short version
- Refresh your sign-in: Log out of Minecraft Launcher and sign back into the account that owns the game.
- Close every instance: Exit all Minecraft and launcher windows before trying again.
- Check the account: Confirm your purchase belongs to the Microsoft account you are using.
- Follow the symptoms: Use network and launcher repairs only when connection or launcher problems remain.
| Fix or option | When it applies |
|---|---|
| Refresh launcher sign-in | First attempt, including after a Java profile name change |
| Close all instances and restart | The error remains after signing in again |
| Confirm game ownership | You may be using the wrong Microsoft account |
| Match Store and launcher accounts | Windows account or license mismatch |
| Sign into the Xbox app | General Windows sign-in trouble |
| Download the Xbox app | You need the app for the Windows sign-in check |
| Check service status | Widespread online failures |
| Use a compatible unmodified release | You use snapshots, mods, or third-party tools |
| Reinstall Minecraft Launcher | Broader Windows launcher problems persist |
| Download Minecraft Launcher | You need the installer for reinstallation |
| Restart the router and modem | A home-network problem persists |
| Improve or change the connection | Connectivity is poor or a managed network restricts games |
| Restore automatic addressing | Manual configuration caused trouble on a home network with DHCP |
| Flush the DNS cache | DNS-related connectivity trouble on Windows |
| Check security software blocking | A firewall, antivirus, VPN, or managed network blocks Minecraft |
| Review proxy rejection | A Paper server owner previously enabled the restriction |
| Correct authentication forwarding | You administer a Paper and Velocity network |
| Secure proxy backends | Backend authentication is handled by Velocity |
| Aternos Cracked option | Authentication bypass, not an account repair |
| Contact server or account support | The remaining problem needs operator or account help |
Refresh your session and close every instance
Close Minecraft before refreshing your account session. Logging out ends your current launcher sign-in. Open Minecraft Launcher, select the dropdown displaying your Gamertag at the top left, then select Log out.
Select Microsoft Login and sign in with the Microsoft account that owns Minecraft. Relaunch the game and try joining the server again. This is also the appropriate first step if the error started after you changed your Java profile name.
Sign in only through Microsoft’s own app or website, and never share a code, password, or remote access with someone who contacts you. If the Xbox sign-in screen displays the wrong account, select Sign in with a different account before continuing.
If the error remains, exit every Minecraft game window and every launcher window, including alternative launchers. Reopen the launcher, start Minecraft, and reconnect to the server. If that fails, restart your computer and try again.
Check the account that owns Minecraft
Find the email address that received your Minecraft purchase confirmation. Alternatively, sign into your Microsoft account website and check Order History for the purchase. Use that account in Minecraft Launcher when repeating the sign-in steps.
On Windows, check Microsoft Store if you also have an account or license mismatch. Your launcher should use the account that owns Minecraft or has the applicable PC Game Pass entitlement, and Microsoft Store should use the same account. If necessary, repeat the launcher logout and login steps with that account.
Signing out of Microsoft Store ends its current account session. Open Microsoft Store, select the profile icon, then select Sign Out. Select the blank profile icon and sign into the same account you use in the launcher.
For continuing general sign-in trouble on Windows, open the Xbox app and sign in with the Microsoft account that owns Minecraft. Check that the displayed Microsoft email and Xbox profile belong to the intended account, then open Minecraft and try signing in again. If you need the app, open the official Xbox PC app page and select DOWNLOAD THE APP; its listed requirement is Windows 10 or Windows 11, version 22H2 or higher.
Check for an online service outage
When online failures are widespread, check PlayFab Status and Xbox Live Status through Minecraft’s multiplayer troubleshooting help. If a relevant incident is reported, wait until the service recovers before reconnecting. This check is especially relevant to Realms and other Minecraft online services.
A healthy result on those dashboards does not establish that every Java session-authentication endpoint is working. If no relevant incident is listed and your refreshed sign-in still fails, continue with the release and connection checks.
Try a compatible release without modifications
Use the launcher's latest release selection instead of a snapshot or preview, and confirm that the server supports that release. These checks address compatibility rather than repairing an expired account session.
If you use mods or third-party tools, try reproducing the error in an unmodified Minecraft installation. If it happens only with a modification, contact that modification’s developer. If an unmodified installation also fails, continue with any relevant connection checks or contact the server’s staff.
Fix an underlying connection problem
Check whether ordinary websites also fail before moving into network repairs. If your connection is struggling, pause downloads and streaming, move closer to the router, or use Ethernet. If a school or workplace network restricts games, try a personal home network or ask the network administrator to investigate.
For an ongoing home-network problem, disconnect power from the router and modem and wait at least 30 seconds. Reconnect the modem first and wait for it to initialize, then reconnect the router. Once the connection is ready, try Minecraft again; if you have a combined modem and router, restart that single device.
If problems began after manual network configuration on a home network with DHCP, restore automatic addressing. On Windows 11, open Settings > Network & internet. For Wi-Fi, select Wi-Fi > Manage known networks, then select your network; for a wired connection, select Ethernet, then your connected network.
Automatic addressing replaces your manual IP and DNS configuration with settings obtained automatically. Beside IP assignment, select Edit, then under Edit IP settings, select Automatic (DHCP) and select Save. Retry Minecraft after the change.
For DNS-related connectivity problems on Windows 10 or Windows 11, search for Command Prompt, select Run as administrator, then select Yes. Type the following command and press Enter, then retry Minecraft.
ipconfig /flushdnsCheck your firewall, antivirus, or VPN settings if one of those products is blocking Minecraft. The controls depend on the security product, so investigate the block through its settings. Treat this as a conditional connection fix, not a reason to disable protection permanently.
For a Windows Firewall block, open Windows Security > Firewall & network protection > Allow an app through firewall, then select Change settings. Select Allow another app to specify the relevant installed Minecraft executable. Retry the connection after correcting the block.
Reinstall the launcher for broader launcher problems
Keep launcher reinstallation for persistent Windows launcher problems, particularly missing or damaged launcher dependencies. Minecraft recommends it for those issues. Complete the sign-in and account checks before taking this route.
Uninstalling removes Minecraft Launcher from your PC. On Windows 11, open Start > Settings > Apps > Installed apps, find Minecraft Launcher, select More, then select Uninstall.
Reinstall Minecraft Launcher through Microsoft Store or the official Minecraft download page, choosing the launcher for your operating system. Sign in again with the account that owns Minecraft, launch the game, and retry the server connection.
Review proxy rejection on your Paper server
If you administer a Paper server and previously enabled prevent-proxy-connections, inspect that setting in server.properties. It applies an ISP/AS comparison restriction that can reject a connection. Checking it is a conditional diagnostic based on the setting’s behavior, not a universal authentication fix.
Returning the setting to false removes that comparison restriction. Set prevent-proxy-connections=false, save the file, and restart the server. If you are joining someone else’s server, ask its operator to investigate instead.
Correct forwarding on your Velocity network
If you administer a Paper and Velocity network supporting Minecraft 1.13+ clients, check authentication forwarding. Keep authentication enabled at the public proxy and restrict backend access to the proxy before exposing the network. Players should connect through the proxy.
Use firewall rules to permit backend connections only from the proxy. If the proxy and backends run on the same privately controlled machine, set server-ip=127.0.0.1 in each backend’s server.properties, save, and restart. Point the corresponding server entries in velocity.toml to 127.0.0.1:<port>. This localhost configuration does not apply to separate machines or shared hosting. For separate machines under your control, use the backend firewall restriction instead; Paper notes that firewall rules and localhost binding are not viable on a shared host, where modern forwarding is secure only if the host has implemented proper protections.
In velocity.toml, set player-info-forwarding-mode="modern". Setting online-mode=false disables authentication on the backend. After restricting backend access, set online-mode=false in the Paper backend’s server.properties and settings.bungeecord=false in spigot.yml.
On modern Paper, open config/paper-global.yml and set proxies.velocity.enabled=true. Match proxies.velocity.secret to forwarding.secret, and match proxies.velocity.online-mode to the proxy’s online-mode. Restart after editing, keeping authentication enabled at the public proxy.
Get help for the remaining account or server problem
If the failure is confined to a third-party server, contact that server’s staff with the exact error message and the result of your fresh launcher sign-in. Server authentication or proxy settings may require the operator’s attention.
For account-access or purchase problems, use Microsoft Support through Minecraft’s account sign-in help. Choose this route when the remaining issue is accessing the account or establishing ownership of the game.
Frequently Asked Questions
Can switching on Cracked in Aternos fix username verification?
Enabling Cracked disables player authentication and permits username impersonation. It bypasses verification rather than repairing your account session, so it should not be used as the normal fix for a legitimate account’s failed verification.
Can using the same account on another computer affect troubleshooting?
Yes, avoid simultaneous use of a shared account on another computer while troubleshooting these session and username-verification errors. Keep that other session out of use while retrying.
Can migrating an old Mojang account still solve the problem?
Minecraft states that migration ended December 18, 2023, and migration assistance has ended. Use an existing Microsoft account with the required entitlement; an unmigrated account cannot now be repaired through the old migration process.
Should you report this error to the Minecraft bug tracker?
General authentication and connection problems are excluded from ordinary Minecraft bug reports. Use account support for access or purchase issues, or contact the server’s staff for a failure confined to their server.