Skip to main content

Hover over a link to another article to get more details. If you have ideas for how we can improve this page, let us know in the discussion.

Unpublishing a GitHub Pages site

You can unpublish your GitHub Pages site so that the site is no longer available.

Who can use this feature

People with admin or maintainer permissions for a repository can unpublish a GitHub Pages site.

GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see "GitHub’s products."

When you unpublish your site, the site will no longer be available. Any existing repository settings or content will not be affected.

  1. On, navigate to the main page of the repository.
  2. Under GitHub Pages, next to the Your site is live at message, click .
  3. In the menu that appears, select Unpublish site. Screenshot of GitHub Pages settings showing the URL of a live Pages site. Under the horizontal kebab icon to the right, the "Unpublish site" dropdown option is outlined in dark orange.