|
| 1 | +--- |
| 2 | +title: Unlinking your email address from a locked account |
| 3 | +intro: 'You can remove the connection between your email address and a locked account. The email address is then available for you to link it to a new or existing account, maintaining your commit history.' |
| 4 | +redirect_from: |
| 5 | + - /early-access/account-and-profile/unlinking-your-email-address-from-a-locked-account |
| 6 | +versions: |
| 7 | + fpt: '*' |
| 8 | + ghec: '*' |
| 9 | +topics: |
| 10 | + - Accounts |
| 11 | + - 2FA |
| 12 | +shortTitle: Unlink your email |
| 13 | +--- |
| 14 | + |
| 15 | +{% note %} |
| 16 | + |
| 17 | +**Notes:** |
| 18 | + |
| 19 | +- Following these steps will not provide access to the locked account, but instead unlink the associated email address so it may be used for a different account. If you cannot regain access to the locked account, these steps will permanently break the link between the account and the linked email address. Before continuing with this article, be sure you have lost all access to your account. For more information, see "[Recovering your account if you lose your 2FA credentials](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials)." |
| 20 | + |
| 21 | +- If you recover access to your locked account, you can re-link an unlinked email address. For more information, see "[Adding an email address to your GitHub account](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account)." |
| 22 | + |
| 23 | +{% endnote %} |
| 24 | + |
| 25 | +## About unlinking your email address |
| 26 | + |
| 27 | +Since an email address can only be associated with a single {% data variables.product.prodname_dotcom %} account, unlinking your email address from a locked account allows you to link that email address to a new or existing account. Additionally, linking a previously used commit email address to a new account will connect your commit history to that account. Unless you have chosen to keep your email address private, your account's commit email address is the same as your account's primary email address. For more information, see "[Setting your commit email address](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address)." Be aware that nothing else associated with your locked account, including your repositories, permissions, and profile, will transfer to your new account. |
| 28 | + |
| 29 | +{% note %} |
| 30 | + |
| 31 | +**Note:** Backup email addresses are not associated with your commits. Unlinking a backup email address and linking the email address to a different account will not connect your commit history to that account. |
| 32 | + |
| 33 | +{% endnote %} |
| 34 | + |
| 35 | +## Unlinking your email address |
| 36 | + |
| 37 | +1. Navigate to [https://github.com/login](https://github.com/login). |
| 38 | +1. To prompt two-factor authentication, type your username and password, then click **Sign in**. |
| 39 | +1. On the "Two-factor authentication" screen, click **Use a recovery code or request a reset**. |
| 40 | + |
| 41 | +  |
| 42 | + |
| 43 | +1. On the "Two-factor recovery" screen, click **Try recovering your account**. |
| 44 | + |
| 45 | +  |
| 46 | + |
| 47 | + In the pop-up window that appears, click **I understand, get started**. |
| 48 | + |
| 49 | +  |
| 50 | + |
| 51 | +1. To send an email containing a one-time password to each email address associated with your account, click **Send one-time password**. |
| 52 | + |
| 53 | +  |
| 54 | + |
| 55 | +1. To verify your identity, type the one-time password from your email in the "One-time password" text field. |
| 56 | + |
| 57 | +  |
| 58 | + |
| 59 | + Click **Verify email address**. |
| 60 | + |
| 61 | +  |
| 62 | + |
| 63 | +1. To begin unlinking an email address from the locked account, click **Start unlinking email**. |
| 64 | + |
| 65 | +  |
| 66 | + |
| 67 | +1. On the "Unlink Email" screen, click **Continue**. |
| 68 | + |
| 69 | +  |
| 70 | + |
| 71 | +1. In the inbox of the email account you want to unlink, open the email with the subject "[{% data variables.product.company_short %}] Unlink this email." |
| 72 | + |
| 73 | + - Optionally, to unlink multiple email accounts, in the inbox of each account you want to unlink, open the email with the subject "[{% data variables.product.company_short %}] Unlink this email," then complete the following steps. |
| 74 | + |
| 75 | +1. In the email, click **Unlink this email**. |
| 76 | + |
| 77 | +  |
| 78 | + |
| 79 | +1. To finish unlinking your email, on {% data variables.product.prodname_dotcom_the_website %}, click **Unlink**. |
| 80 | + |
| 81 | +  |
| 82 | + |
| 83 | +1. Optionally, to create a new account and link your newly unlinked email, click **Create a new account**. |
| 84 | + |
| 85 | + {% note %} |
| 86 | + |
| 87 | + **Note:** You can also link your unlinked email to an existing {% data variables.product.prodname_dotcom %} account. For more information, see "[Adding an email address to your {% data variables.product.prodname_dotcom %} account](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/adding-an-email-address-to-your-github-account)." |
| 88 | + |
| 89 | + {% endnote %} |
| 90 | + |
| 91 | +  |
| 92 | + |
| 93 | +1. Optionally, if you have any form of payment set up on the locked account, contact [{% data variables.contact.github_support %}](https://support.github.com/contact) to cancel future payments. For example, you might have a paid subscription or sponsor developers through {% data variables.product.prodname_sponsors %}. If you are sponsored through {% data variables.product.prodname_sponsors %}, please mention this so that the team can help you migrate your sponsorships. |
0 commit comments