SameSite tells the browser whether to attach a cookie to a request that comes from another site. Strict never sends it cross-site, Lax sends it only on top-level navigations that use a safe method such as GET, and None always sends it. Chromium and Firefox reject SameSite=None without Secure; WebKit stored it in my test.
Table of Contents
Set-Cookie syntax for SameSite
The attribute goes in the Set-Cookie header. The first line follows the RFC 6265bis example with SameSite=Lax added; the second is the MDN form for cross-site cookies:
Set-Cookie: SID=31d4d96e407aad42; SameSite=Lax; Secure; HttpOnly; Path=/
Set-Cookie: widget=1; SameSite=None; Secure
MDN describes None as “Send the cookie with both cross-site and same-site requests. The Secure attribute must also be set when using this value.” RFC 6265bis makes it a storage rule: “If the cookie’s “same-site-flag” is “None”, abort this algorithm and ignore the cookie entirely unless the cookie’s secure-only-flag is true.” That is step 19 of section 5.7.
What Chrome does with a missing SameSite attribute
Chrome treats a cookie with no SameSite attribute as SameSite=Lax. Chromium’s SameSite timeline says enforcement began rolling out with Chrome 80 in February 2020, and that the #same-site-by-default-cookies and #cookies-without-same-site-must-be-secure flags were removed from chrome://flags as of Chrome 91 “as the behavior is now enabled by default”. There is nothing to toggle.
The default is a little looser than an explicit Lax. MDN: “In this more permissive version, cookies are also included in POST requests, as long as they were set no more than two minutes before the request was made.” The Chromium FAQ calls this Lax+POST mitigation “purely a temporary solution and will be removed in the future”, and on 16 October 2026 the main branch still defines kLaxAllowUnsafeMaxAge = base::Minutes(2). In Chromium 153 I set five cookies and sent a cross-site form POST at three ages. k_strict is set with SameSite=Strict, k_lax with SameSite=Lax, k_default with no SameSite, k_none with SameSite=None and no Secure, and k_none_secure with SameSite=None; Secure. The server saw:
REQ t0s-post POST https://a.hw.localhost Sec-Fetch-Site:cross-site COOKIE:k_default=v; k_none_secure=v
(actual elapsed since set: 1 s)
REQ t70s-post POST https://a.hw.localhost Sec-Fetch-Site:cross-site COOKIE:k_default=v; k_none_secure=v
(actual elapsed since set: 71 s)
REQ t140s-post POST https://a.hw.localhost Sec-Fetch-Site:cross-site COOKIE:k_none_secure=v
(actual elapsed since set: 140 s)
k_default has no SameSite attribute. It was sent at 1 and 71 seconds and withheld at 140. k_lax was absent from all three. Set SameSite explicitly and the window closes.
Fix the Chrome SameSite warnings in DevTools
Chrome reports cookie problems in the DevTools Issues tab. I logged the cookie issues that Chromium 153 raised over the DevTools protocol, for a SameSite=None cookie without Secure and for the unset cookie on cross-site requests:
ISSUE cookie=k_none op=SetCookie request=https://a.hw.localhost:18443/set exclude=["ExcludeSameSiteNoneInsecure"] warn=["WarnSameSiteNoneInsecure"]
ISSUE cookie=k_default op=ReadCookie request=https://a.hw.localhost:18443/echo exclude=["ExcludeSameSiteUnspecifiedTreatedAsLax"] warn=["WarnSameSiteUnspecifiedCrossSiteContext"]
ISSUE cookie=k_default op=ReadCookie request=https://a.hw.localhost:18443/echo exclude=[] warn=["WarnSameSiteUnspecifiedLaxAllowUnsafe"]
In the devtools-frontend source (main branch, read on 16 October 2026), the first code maps to the article “Mark cross-site cookies as Secure to allow setting them in cross-site contexts”: “Cookies marked with SameSite=None must also be marked with Secure to allow setting them in a cross-site context.” The other two map to “Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute”, which says the cookie “defaults to SameSite=Lax“. Both articles give the same two fixes, worded here after the first:
- Specify
SameSite=NoneandSecureif the cookie should be sent in cross-site requests. Only cookies sent over HTTPS may useSecure. - Specify
SameSite=StrictorSameSite=Laxif the cookie should not be sent in cross-site requests.
SameSite results in Chromium, Firefox and WebKit
On 16 October 2026 I ran one test in Chromium 153.0.8010.12, Firefox 150.0.2 and WebKit 26.4 through Playwright. A local HTTPS server set five cookies on a.hw.localhost. A page on x.other.localhost, a different site, then loaded an image from a.hw.localhost, followed a link to it and submitted a form to it. Each cell says whether the cookie reached the server in the Cookie header.
| Cookie | Chromium 153 | Firefox 150 | WebKit 26.4 |
|---|---|---|---|
| No SameSite attribute | image: withheld; link GET: sent; form POST: sent (withheld at 140 s) | image: sent; link GET: sent; form POST: sent | image: withheld*; link GET: sent; form POST: sent |
SameSite=Lax |
image: withheld; link GET: sent; form POST: withheld | image: withheld; link GET: sent; form POST: withheld | image: withheld*; link GET: sent; form POST: withheld |
SameSite=Strict |
withheld in all three | withheld in all three | withheld in all three |
SameSite=None; Secure |
image: sent; link GET: sent; form POST: sent | image: sent; link GET: sent; form POST: sent | image: withheld*; link GET: sent; form POST: sent |
SameSite=None without Secure |
rejected when set, never sent | rejected when set, never sent | stored; image: withheld*; link GET: sent; form POST: sent |
Only Strict is withheld from the link click in all three engines, so a Strict session cookie is missing when someone arrives from a search result or an email link.
*WebKit withheld every cookie on the cross-site image, including SameSite=None; Secure, which SameSite alone would allow. WebKit’s own post says “Cookies for cross-site resources are now blocked by default across the board”, so that request does not isolate SameSite.
Chromium is the only one of the three that applies a Lax default. Firefox and WebKit also sent the attribute-less cookie on the POST at about 70 and 140 seconds. Firefox’s main-branch source sets network.cookie.sameSite.laxByDefault to false and network.cookie.sameSite.noneRequiresSecure to true, which matches what I saw, and Playwright’s Firefox profile pins laxByDefault to false. WebKit stored None without Secure and did not apply that rule.
Same site means registrable domain plus scheme
“Site” is the scheme plus the registrable domain, not the origin. A navigation from b.hw.localhost to a.hw.localhost carried the Strict cookie in Chromium and Firefox, because both share the registrable domain hw.localhost. Any subdomain of your domain is same-site, including one you hand to a third-party service. WebKit reported those two names as cross-site, so that cell is not measurable here.
Scheme is where the engines split. A top-level navigation from https://a.hw.localhost to http://a.hw.localhost, the same host, withheld the Strict cookie in Chromium. Firefox and WebKit sent it. web.dev says Chrome treats http://website.example and https://website.example as cross-site to each other, and Firefox’s source enables network.cookie.sameSite.schemeful only on Nightly builds. Mixed http and https in staging can behave differently from production in Chrome.
On 4 November 2026 the IETF datatracker lists RFC 6265bis as draft-ietf-httpbis-rfc6265bis-22, dated 1 December 2025, with the IESG state “RFC Ed Queue” and the RFC Editor status “blocked: Final Approval Pending”. The RFC Editor queue lists it as received on 2 December 2025 with the assignment “blocked”. It has no RFC number yet.
Where third-party cookies stand in 2026
Third-party cookies still work in Chrome. On 22 April 2025 Google dropped the planned standalone choice prompt: “we’ve made the decision to maintain our current approach to offering users third-party cookie choice in Chrome”. The same post says users choose in Privacy and Security Settings and that Incognito mode “already blocks third-party cookies by default”. On 17 October 2025 Google retired most of the Privacy Sandbox, including Topics, Protected Audience, Attribution Reporting and IP Protection. Safari has blocked cross-site cookies since March 2020. For Firefox, MDN says State Partitioning is on by default from Firefox 103, which gives each site its own storage instead of blocking. That is why SameSite=None; Secure is still worth setting correctly.
Tested on macOS, not on other browsers
I ran everything above on macOS 26.6 on an Apple M3 Max with Playwright’s Chromium 153.0.8010.12, Firefox 150.0.2 and WebKit 26.4, over HTTPS to .localhost names with a self-signed certificate. Playwright’s Firefox profile allows all third-party cookies, so Total Cookie Protection was not exercised. The WebKit build is Playwright’s, not Safari. Not tested: Safari itself, Edge, Brave, Chrome on iOS, Android WebView, Incognito, CHIPS and Partitioned cookies, redirects, iframes, fetch with credentials, plain-http hosts, and pre-2020 browsers. For per-framework syntax in PHP, Express, Spring and .NET, see setting SameSite cookie attributes.