How to delete your GitHub account permanently

By · Sources last reviewed · What this means

How do I delete my GitHub account?

Go to Settings, then the Account section, and choose Delete your account. You must transfer or delete organisations you solely own first, and your username is released for anyone to claim.

The moment you confirm

Reversible: Nothing. Fully gone: Immediate; username released after 90 days.

Checked against docs.github.com

Forks of your repositories survive. Deleting your account removes your copy, but anyone who forked your code keeps theirs. Open source is designed this way — deletion is not a way to un-publish code that others have already taken.

Organisations block deletion, both ways

GitHub will not let you delete the account while you are still attached to an organisation, and there are two separate cases:

The second case is the one people miss. An organisation you joined years ago and forgot about will stop the deletion, and nothing on the delete screen explains why.

What actually disappears

Public container images with more than 5,000 downloads have their full NAMESPACE/IMAGE-NAME permanently retired as well, on the same reasoning as the repository namespaces — so the name cannot be claimed and used to serve something else.

Your username is released after 90 days

Not immediately, as often claimed. GitHub holds it for 90 days, after which anyone can register it — which breaks existing clone URLs and lets a stranger occupy your identity in old READMEs.

Popular projects are protected. If your namespace contained a public repo with an action listed on GitHub Marketplace, or one with more than 100 clones or more than 100 Actions runs in the week before deletion, GitHub permanently retires that owner-and-repo name combination. Nobody gets it, including you.

Issues and pull requests you opened on other people's repositories are not deleted — they are reassigned to the ghost user, because removing them would tear holes in project history.

Before you delete

  1. Clone everything you want to keep, including private repos and gists.
  2. Transfer organisations you solely own — GitHub blocks deletion otherwise.
  3. Check for repos others depend on and transfer them rather than deleting.
  4. Cancel paid plans and check GitHub Sponsors obligations.

Delete your account

  1. Go to Settings → Account.
  2. Choose Delete your account.
  3. Type your username and the confirmation phrase.
  4. Confirm.

Your email address is inside the commits, not just the account

Every commit you have ever pushed carries the author name and email you had configured at the time, and that data lives inside the git history rather than in your GitHub profile. Deleting your account does not rewrite it. Anyone who cloned or forked a repository you contributed to has a permanent local copy of your email address, and so does every mirror of that project.

This is the single most common reason people delete GitHub for privacy, and it is the one thing deletion does not fix. Git is designed so history is tamper-evident; that is the whole point of it, and it does not have an exception for regret.

What you can do instead, while you still have an account:

What breaks for other people

GitHub deletion is unusually likely to damage things that are not yours, because software depends on names resolving.

Transfer, do not delete, anything that others build on. Handing a repository to a maintainer or an organisation keeps every URL working and costs you nothing. Deleting a widely used repository to close your account is the most antisocial action available on this site, and it is entirely avoidable.

Steps checked against GitHub’s personal account reference.

Common questions

Do forks of my repositories disappear when I delete GitHub?

No. Forks belong to the accounts that made them and remain. Deleting your account removes your copy only.

Can someone take my GitHub username after I delete?

Yes. Usernames are released, which breaks existing links to your repos and lets someone else occupy your old identity.