Skip to main content

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.

    Drop down menu to unpublish site