The failure, in one sentence
A password-protected Shopify storefront returns the password page for every storefront URL, including /sitemap.xml. When Google Search Console (or Bing Webmaster) tries to fetch the sitemap, it receives the HTML password gate instead of the XML sitemap. GSC reports 'Couldn't fetch' or 'Sitemap could not be read' and the indexing pipeline stalls. The same applies to every storefront resource — product pages, collection pages, blog posts. None of them are crawlable while the password is active.
Why sitemap submission fails on a passworded store
When the storefront password is enabled, Shopify intercepts every request to a non-admin URL and returns the password gate HTML instead of the underlying resource. The sitemap.xml endpoint is no exception. Google's sitemap fetcher hits /sitemap.xml, receives HTML (not XML), fails the content-type check, and reports the fetch as failed. The same intercept blocks Google's URL Inspection live test, the IndexNow protocol, Bing's bingbot, AI crawlers like GPTBot and ClaudeBot, and any first-party SEO auditing tool that doesn't bypass the password (most don't).
The fix — disable the password, then submit
Open Online Store > Preferences. Scroll to the Restrict storefront access section. Disable the password. Save. The storefront is now public. Wait 5-10 minutes for Shopify's edge cache to clear, then re-submit the sitemap in Google Search Console (Indexing > Sitemaps > the URL) and click 'Validate fix'. GSC re-fetches; the sitemap reads successfully; the URL count appears within minutes. The same flow applies to Bing Webmaster Tools.
Partial launches and visitor-only passwords
Two real cases motivate keeping the password on partially. (1) Pre-launch development on the production domain — the store is technically live but the team wants to keep it private until the announcement. (2) Wholesale-only stores that don't want public traffic but do want SEO visibility on a public catalog. Shopify's single-password mechanism does not handle either case well. Workarounds: development theme + draft theme (visible only on a preview URL while live theme stays password-protected); locked-but-visible Shopify Plus stores using third-party access control; private B2B catalogs using a separate domain or Shopify Plus B2B features.
The five-minute diagnostic
Five checks confirm whether the password is the cause. (1) In a private/incognito browser window, visit yourstore.com — if you see the password gate, the password is on. (2) Visit yourstore.com/sitemap.xml in the same private window. If it returns HTML instead of XML, password is the cause. (3) Check Online Store > Preferences > Restrict storefront access. The password toggle is the source of truth. (4) GSC > Sitemaps panel — re-submit and watch the 'Last read' timestamp update. (5) GSC > URL Inspection > Live Test the homepage. If Live Test shows 'Page cannot be reached', the password is still on.