Create Account

How to Delete Your GitHub Account

Posted on 20/11/26 02:05 pm

Delete GitHub in Settings › Account › Delete your account. Transfer or delete repositories and organisations you own first. Deletion is permanent.

Steps

  1. Sign in and open Settings.
  2. Choose Account.
  3. Scroll to Delete your account.
  4. Type the confirmation text and your password.

Before deleting

ItemWhat to do
RepositoriesTransfer or archive ones others use
Organisations you ownAdd another owner or delete them
Sponsorships and Marketplace appsCancel them
Copilot or paid plansCancel first

Your username

After deletion, your username becomes available to others after a period. Old links to your repositories will break.

Contributions

Commits you made to other people's repositories stay in their history, but are no longer linked to a profile.

Locked out instead? See GitHub account recovery.

Other options

If you just want a fresh start, you can rename your account, make repositories private, or archive old projects instead of deleting everything. Renaming keeps your history and redirects some old links for a while. Deleting is final and cannot be reversed by GitHub support.

Data export

GitHub lets you request an export of your account data from Settings › Account. It includes repositories metadata and more. Clone repositories you want to keep locally, since the export may not include every file you need.

Organisation members

If you belong to organisations, leaving them is automatic with deletion, but check that no projects depend on your personal account for access tokens, deploy keys or bots.

Revoke personal access tokens before deleting, so no automation keeps trying to use them.

Packages and pages

Packages you published to GitHub Packages and sites on GitHub Pages under your account stop working after deletion. If people rely on them, transfer the repositories to another account or organisation first, and update links in documentation. Package names may become available to others after deletion, which could confuse users, so consider publishing a notice before you go.

Sign out of GitHub on every device and revoke SSH keys from servers you used.

Transfer repositories first

Repositories you own are deleted with the account. Transfer important ones to another user or organisation from each repository's settings, so collaborators do not lose access to code and issues.

FAQ

How do I delete my GitHub account?

Settings › Account › Delete your account.

What happens to my commits?

They stay in other repositories without a profile link.

Can someone take my GitHub username?

After a period, yes.

Related: GitHub recovery · GitHub suspended · delete Discord.

Back to Blog

Recent Posts