What Is HSTS (and Should You Join the Preload List)?

Updated August 2026 · about a 6-minute read

HSTS — HTTP Strict Transport Security — is a single response header that tells browsers "only ever talk to this domain over HTTPS." It closes a real gap: without it, the very first request a browser makes can go over plain HTTP, where an attacker on the network can hijack or downgrade it (an "SSL-stripping" attack). Yet HSTS is missing on roughly 45% of sites.

The header

Strict-Transport-Security: max-age=63072000; includeSubDomains; preload

Roll it out safely

HSTS is sticky by design — once a browser has seen it, it enforces it for the whole max-age even if you change your mind. So ramp up:

  1. Serve everything over HTTPS first (redirect HTTP → HTTPS).
  2. Start with a short max-age, e.g. max-age=86400 (one day).
  3. Confirm nothing breaks, then raise to six months, then two years.
  4. Add includeSubDomains only after verifying every subdomain is HTTPS.

The HSTS preload list

Browsers ship with a built-in list of domains that are HTTPS-only from the very first visit — no initial HTTP request at all. To join, your header must include preload, use includeSubDomains, and a max-age of at least one year; then you submit the domain at hstspreload.org. Powerful, but hard to reverse — removal takes months to propagate through browser releases. Only preload a domain you are certain will be HTTPS-only indefinitely.

Verify it's actually set

Because HSTS lives in a response header, a proxy change or a deploy can silently drop it. HSTS is one of the security headers our free checker grades — including flagging a max-age that's too short to matter. Check yours below.

Check your site now — free, no signup

See your TLS certificate, security headers and DNS graded in seconds. Then let Perimeter watch it and email you the moment something breaks.

Open the full checker →