Note: While our most popular guides have been translated into Spanish, some guides are only available in English.

Page passwords

You can hide individual pages behind passwords in page settings to prevent them from being publicly accessible. This is a great way to keep some pages on your site public while reserving other content for specific visitors.

Password-protected pages display a lock icon next to their titles in the pages panel.

Everyone uses the same password to access a password-protected page. It isn't possible to create unique passwords for different people.

Tip: To give other people editing permissions for your site, invite them as contributors.

Before you begin

  • Passwords are case-sensitive and must be 30 characters or fewer.
  • For security reasons, never use your Squarespace account password as a page password.
  • Contributors with viewer permissions still need the password to access password-protected pages.
  • When typing a password, you'll see a series of dots instead of text, like •••••••••••••. This may appear longer than your actual password.
  • You can't add page passwords to pages in a member area.
  • You can also hide your entire site behind a password. For more options for hiding your content, visit Controlling who can see your site's pages.

Set a page password

To set a page password:

  1. In the Home menu, click Pages.
  2. In the Pages panel, click a page to protect with a password.
  3. Click the to the right of the page's title to open page settings.
  4. Scroll down to Password and enter a password in the field.
  5. Click Save.

After you've saved your password, a lock icon displays next to the page title in the pages panel.

To prevent visitors from stumbling onto a locked page, hide the pages from your navigation menus by moving them into the Not linked section.

Test your password

Open the page in a private browser window to test how it looks to visitors. At the lock screen, enter the page password, then press Enter or click the arrow to access the page.

The gray lock screen pictured below displays by default. Use the lock screen panel to customize the design.


After visitors enter a page password, the session will expire after four hours and prompt them to re-enter the password. It isn't possible to "log out" of a session.

Change or remove the password

To change or remove the password:

  1. In the Home menu, click Pages.
  2. In the Pages panel, click the page with the password.
  3. Click the Settings icon next to the page's title to open page settings.
  4. Scroll down to Password.
  5. Enter a new password, or remove the password by highlighting the text and pressing Delete.
  6. Click Save.

Passwords and search engines

To hide a new page while you're building it, we recommend setting a password before you add any content. This tells search engines not to index the page at all.

If you're hiding an existing page, setting a password only prevents search engines from indexing it further. This means that search engines may have already indexed this page, and this content could appear in search results.

After you add a page password, the page won't be accessible to search engines. It will eventually stop appearing in search results.

Setting a page password for collection pages also prevents search engines from indexing its individual collection items.

Note: If you upload a file to a page before setting a password, the file may continue to be indexed after setting the password. To protect files from indexing, remove them and re-upload after the page password is set.

Collection pages

When you password-protect a collection page, such as blog pages, events pages, portfolio pages, or store pages, it also password-protects the page's individual collection items.

You can still display items from password-protected collection pages on other pages using summary blocks and archive blocks, but visitors won't be able to click through to see the item without the password.

It's not possible to password-protect collection items individually or to apply different passwords to different items.

Index pages (version 7.0)

You can password-protect the main index in its page settings.

Whether a password-protected sub-page displays in the index depends on the index style. For more information, visit Index pages in version 7.0.


Troubleshooting page password issues

For page passwords:

  • If visitors are prompted to enter a password after you remove a page password, check if your homepage has a site-wide password, and disable it.
  • Some password managers or browser extensions (like LastPass) can cause passwords to auto-fill in your page settings. If this is happening, disable the extension before editing your page password.
  • If you paste the password text into the field from elsewhere, it may retain some text formatting that will cause it to be incorrect. We recommend pasting as plain text or typing the password manually.
Was this article helpful?
196 out of 569 found this helpful