I know my GitHub username and password and still have access to the email address on the account, but I can no longer use the authenticator app that was configured for two-factor authentication. I also cannot find my recovery codes, so I am blocked at the 2FA prompt. I have already reviewed the available sign-in options and do not have another usable method. Is there an official account-recovery process for this situation? Could an existing signed-in browser session, SSH key, or saved Git credential help, or can GitHub verify ownership through the registered email address? I am only looking for legitimate recovery options, not a way to bypass the account's security.
3 Answers
First check whether you are still signed in anywhere—a browser, phone, or development machine. If you find an active session, use it to review your security settings, replace the authenticator method, and generate new recovery codes. Otherwise, follow GitHub's official account-recovery flow. Support generally will not remove 2FA just because someone can access the account email, since that would undermine the protection 2FA is meant to provide.
An SSH key or saved Git credential may still let you access repositories from a machine where it is already configured, but those credentials normally do not prove ownership through the web account-recovery process or let you reset 2FA. If you regain access, immediately add a working authenticator or security key and store the new recovery codes somewhere safe. In the future, consider an authenticator that supports encrypted backups or synchronization, while still keeping an offline copy of the recovery codes.
Contact GitHub through the official Support site rather than looking for a direct support email address. Choose the account-access or two-factor-authentication issue and provide the requested ownership details. Be aware that support may not be able to restore access if you have lost both the authenticator and all recovery methods; an email address alone is usually not treated as sufficient proof to disable 2FA.
That restriction is frustrating when it is your own account, but it is important. If support could reset MFA whenever someone controlled the email account, an attacker who took over that email could bypass the second factor on other services.

Thanks. I was hoping email verification or an existing SSH key might be enough, but I’ll check for an active session and use the official recovery process if I can’t find one.