# How to Archive Github Repository

> To archive a GitHub repository, navigate to the desired repository, open the Settings tab, scroll to the Danger Zone, and click Archive this repository. Next, review the warning, type the repository name to confirm, and select I understand, archive this repository to make the repository read-only.

Canonical: https://livedemo.ai/tutorials/how-to-archive-github-repository/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2f80d673bd5aa8e61ca0/preview?step=1

## Steps

1. Navigate to your desired repository.
2. Click on the 'Settings' tab. You’ll find it near the right side of the page, below the repository’s name.
3. Scroll to the bottom of the settings page until you reach the 'Danger Zone' section.
4. Click on 'Archive this repository'.
5. GitHub will prompt you with a warning message explaining that archiving the repository makes it read-only.
6. Type the repository name as confirmation when prompted and click 'I understand, archive this repository'.
7. Once archived, the repository becomes read-only. You cannot push changes, create issues, pull requests, or update the repository until it is unarchived.
