Page passwords
false
Page passwords
Last updated October 16, 2026 18:02
Prevent visitors from accessing a specific page unless they have a password.
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's not possible to create unique passwords for different people.
Tip: To give people individual viewing or editing permissions for your site, invite them as contributors. To create gated content that only some visitors can access, add Member Sites to your site.
Watch a video
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, a series of dots will appear instead of text, like •••••••••••••. This may appear longer than your actual password.
- Visitors need to enter the password before their visit counts as a pageview in your site's traffic analytics.
- You can't add page passwords to pages in a member site.
- You can also hide your entire site behind a password. For more options for hiding your content, visit Controlling who can access your site's pages.
- If you’re on our Premium or Enterprise plan, you can also set up single sign-on to view your pages.
Set a page password
To set a page password:
- Open the Pages panel.
- In the Pages panel, hover over a page title and click
to open page settings. - Scroll down to Password and enter a password in the field.
- Click Save. 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 appears 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 expires after four hours and prompts them to re-enter the password. It's not possible to “log out” of a session.
Change or remove the password
To change or remove the password:
- Open the Pages panel.
- In the Pages panel, hover over the page title and click
to open page settings. - Scroll down to Password and click X to delete the password.
- Enter a new password.
- 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, calendar pages (or event pages on 7.0), 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 access 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. To learn more, 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 keep some text formatting that causes it to be incorrect. We recommend pasting it as plain text or typing the password manually.
Was this article helpful?
Yes No
562 out of 1265 found this helpful
Yes No
Page passwords
