Skip to main content
Actionable Guides
•7 min read

How to Delete Your GitHub Account and Data (2026)

Delete a GitHub account, export data first, resolve organization ownership, and understand what happens to repositories, comments, forks, and clones.

Rahul Kandoriya
Written byRahul Kandoriya·Last updated October 11, 2026
GitHub Octocat figurine in front of a laptop showing a profile page
Coverage scope: The OfflistMe catalog currently records 1,000+data brokers. Paid access lets you select data brokers at once; you review and send or submit the generated requests, while provider eligibility and outcomes remain outside OfflistMe's control.

Deleting a GitHub personal account is irreversible. GitHub's own documentation says it "cannot restore your content" once the account is deleted, and that repositories, private forks, wikis, issues, pull requests, and GitHub Pages sites owned by the account are deleted along with it. Read GitHub's account-deletion instructions.

This guide separates account deletion from exporting your data, from organization ownership you may still hold, and from content you have contributed to other people's repositories. They have different scopes, and a GitHub request cannot erase a fork, clone, mirror, or copy that already exists outside GitHub's systems.

Last reviewed: October 11, 2026. GitHub can change interface labels and request routes; use the linked first-party pages as the final authority before acting.

What to do before deleting GitHub

  1. Export your account data if you need a record. GitHub's data-export instructions say to open Settings → Account, find Export account data, and select Start export or New export. GitHub emails a download link to your primary email address; the archive is a `.tar.gz` file and the download link expires after seven days by default.
  2. Back up repositories separately. GitHub's deletion page tells users to make a copy of repositories, private forks, wikis, issues, and pull requests before deleting, since the account-data export and a full repository backup are not the same thing.
  3. Resolve organization ownership. GitHub's personal account reference says that if you are the only owner of an organization, you must transfer ownership to someone else or delete the organization first; if there are other owners, you must remove yourself from the organization before your personal account can be deleted.
  4. Review GitHub Sponsors and billing. GitHub says billing ends immediately on deletion. If you sponsor other accounts or receive sponsorships, review and cancel or transfer those separately through GitHub's current Sponsors settings before deleting, since the deletion documentation does not describe an automatic wind-down for that relationship.
  5. Decide what to do about comments and contributions on other people's repositories. GitHub says issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted; they become associated with the "ghost" user. Edit or delete those yourself before you delete the account if their removal matters to you.

Export a copy of your GitHub data

  1. Open GitHub and sign in.
  2. Click your profile picture in the upper-right corner and select Settings.
  3. Open Account in the left sidebar.
  4. Under Export account data, select Start export (or New export if you have exported before).
  5. Wait for GitHub's email with the download link, then follow it and re-enter your password if prompted.

GitHub's documentation says the export contains the repository and profile metadata GitHub stores from your account's activity, packaged as a `tar.gz` file; the download link expires after seven days by default. It does not replace a full repository clone if you need the actual code and version history preserved.

Request Drafting

Tired of dealing with data exposure?

Choose relevant provider workflows, review the generated drafts in your browser, and send or submit each request yourself. Matching, eligibility, and provider requirements still need checking.

Request Removal Now
FREE
Free for selected workflows · No opt-out profile stored · No card needed

Delete your GitHub account

  1. Open GitHub and sign in.
  2. Click your profile picture and select Settings.
  3. Open Account in the left sidebar.
  4. Scroll to the Delete account section and select Delete your account.
  5. In the confirmation dialog, enter your username or email in the first field.
  6. Type the confirmation phrase GitHub displays in the second field.
  7. Confirm the deletion.
GitHub opt-out page, captured by OfflistMe on Oct 31, 2026
GitHub’s opt-out page at docs.github.com/en/account-and-profile/how-tos/account-management/deleting-your-personal-account, as captured by OfflistMe on Oct 31, 2026. Page content belongs to GitHub; forms change, so follow the live page if it differs. Tap the image to open it full size.

GitHub's reference documentation says your username becomes available for anyone else to use after 90 days. Treat that as a separate fact from account recovery: GitHub's deletion page does not describe a recovery path for the deleted account itself.

Can you delete GitHub and keep your repositories?

Not if the repositories are still owned by the personal account. GitHub says repositories, private forks, wikis, issues, pull requests, and GitHub Pages sites owned by the account are deleted when the account is deleted. Back up anything you need and resolve repository ownership before confirming deletion. A clone, fork, or mirror that another person or service already holds is a separate copy and is not controlled by the account-deletion action.

GitHub deletion timelines

ActionCurrent first-party detailBoundary
Account deletionGitHub says it cannot restore content once deletedNo stated review or grace window is described on the deletion page itself.
Username releaseAvailable for anyone to use after 90 daysThis is a username-availability rule, not a data-retention or recovery timeline.
Data exportDownload link is emailed after the archive is prepared; link expires after 7 days by defaultRe-request a new export if the link expires before you download it.
Organization ownershipMust be resolved (transfer or delete, or leave if not sole owner) before personal-account deletionGitHub's documentation does not describe an automatic transfer.

What remains after account deletion?

GitHub's own account-deletion documentation states that repositories, private forks, wikis, issues, pull requests, and GitHub Pages sites owned by your account are deleted. It also states that issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted; they become associated with the "ghost" user. A commit already merged into someone else's history stays there too. Git's distributed design also means that anyone who already cloned, forked, or mirrored a repository holds an independent copy outside GitHub's control.

GitHub's Privacy Statement describes sharing personal information with service providers, affiliates, advertising networks, analytics providers, social networks, and other partners for stated purposes. It says that GitHub will not share data when it detects the Global Privacy Control signal and says “we do not sell your data” in that context; its California disclosures separately describe categories of data shared for marketing, advertising, and audience measurement. Those are distinct, scope-specific statements — do not treat them as a universal no-sharing or no-downstream-copy guarantee.

If your cleanup also includes a social account, see How to delete your Quora account for the platform's own deletion and privacy controls.

Privacy requests and contact routes

GitHub's current Privacy Statement lists privacy@github.com for general privacy inquiries and data-subject rights requests, and dpo@github.com for its Data Protection Officer. It also lists corporate addresses for GitHub, Inc. (San Francisco, California) and GitHub B.V. (Amsterdam, Netherlands). Use the current version of that page for the exact request process, since regional rights and required verification can differ by where you live.

These contact routes are separate from account deletion in the product interface. Use the in-product deletion flow for closing the account itself, and the privacy-request routes for a rights request that the interface does not otherwise expose.

Frequently asked questions

Can I recover a deleted GitHub account?

GitHub's account-deletion documentation says it cannot restore your content once the account is deleted and does not describe a recovery path. Export any data or back up any repositories you need before confirming deletion.

Does deleting my GitHub account delete my comments on other people's repositories?

No. GitHub's documentation says deleting your account removes content you own (repositories, forks of private repositories, wikis, issues, pull requests, and Pages), but issues and pull requests you've created and comments you've made in repositories owned by other users will not be deleted. They become associated with the "ghost" user.

How long until my GitHub username is available again?

GitHub's personal account reference says a deleted account's username becomes available for anyone to use after 90 days.

How long does a GitHub data export take?

GitHub does not publish a fixed preparation time on the export page in the material reviewed for this guide; it emails a download link once the archive is ready, and that link expires after seven days by default. Request a new export if the link expires first.

Do I need to leave my organizations before deleting my account?

Yes, if you are the sole owner of an organization, GitHub says you must transfer ownership or delete the organization first. If other owners exist, you must remove yourself from the organization before the personal account can be deleted.

Will deleting GitHub remove my code from forks or clones other people made?

No. Deleting your account addresses repositories and content you own on GitHub. It does not reach a fork, clone, or mirror that another person or service already created, since those are independent copies outside GitHub's systems.

Will deleting my GitHub account remove my data from data brokers?

No. GitHub's account and privacy tools apply to GitHub's own systems. Separate data brokers, people-search sites, and archives operate independent databases and have their own request processes.

Sources and review boundary

This guide uses GitHub's current account-deletion instructions, personal account reference, data-export instructions, and Privacy Statement, which is effective April 27, 2026. The sources are linked inline so readers can check the live provider instructions. OfflistMe does not claim to submit, monitor, or guarantee a GitHub request on the reader's behalf.

Related privacy guides

Follow the route that matches your next question. Each link stays within a documented topic cluster and points to a canonical content page.

Take back your privacy today

Review provider-specific routes, prepare your requests locally, and send or submit each one yourself.

Review Provider Routes

Free to review provider routes · Optional one-time unlock from $9.00 · No subscription