How to Delete a Repository in Github
- George Apostolov
How to Delete a Repository in Github: step-by-step guide
Navigate to the repository you want to delete.
On the repository page, click on the 'Settings' tab usually found at the top-right of the repository name.
Scroll all the way down to the 'Danger Zone' section.
In the 'Danger Zone', you’ll see an option labelled 'Delete this repository'. Click on it.
A pop-up will appear asking you to confirm the deletion and click 'I want to delete this repository'.
Click the 'I have read and understand these effects' button.
GitHub will prompt you to type the repository name to confirm that you really want to delete it.
Enter the exact name of the repository and click 'Delete this repository'.
Once you confirm, the repository, its issues, pull requests, and everything in it will be permanently deleted.
Quick answer: To delete a repository in GitHub, navigate to the repository settings, scroll to the Danger Zone, and click delete. Next, confirm the deletion by clicking the understanding button, entering the exact repository name, and completing the final delete prompt to permanently remove the repository and all of its contents.
About this GitHub tutorial
Permanently remove a GitHub repository by navigating to its settings, accessing the Danger Zone, confirming the name, and executing the deletion. This guide shows how to delete a Repository in Github in 9 steps, starting with "Navigate to the repository you want to delete" and finishing with "Once you confirm, the repository, its issues, pull requests, and everything in it will...". The interactive demo above is a click-through copy of the real GitHub interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to delete a Repository in Github?
9 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your GitHub data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under GitHub. Related guides: How to Delete Branch in Github, How to Deploy Github Pages and How to Download Artifacts from GitHub. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





