Functionality vendor · Stripe, Inc.

Stripe Cookies: List With Purpose and Retention

Last verified 2026-10-17 · Updated 2026-10-17

On this page
  1. Cookies Stripe sets
  2. Scripts, pixels, and endpoints
  3. Does Stripe need consent?
  4. How to add Stripe to a consent banner
  5. Who runs Stripe
  6. Stripe cookie FAQs
  7. Sources

Scripts, Pixels, and Endpoints Stripe Loads

Stripe loads 2 known scripts, pixels, and data endpoints. Each row gives the host to look for in the Network tab of Chrome DevTools or in a cookie scanner report.

TypeResourceHostWhat it does
ScriptStripe.jsjs.stripe.comStripe.js loads the Stripe payment elements and writes the __stripe_mid and __stripe_sid cookies unless advancedFraudSignals is false.
IframeStripe fraud signals frame (m-outer)js.stripe.comThe fraud signals frame of Stripe.js collects the signals that Stripe sends with the ID from the __stripe_mid cookie.

Who Runs Stripe

Stripe, Inc. runs Stripe from the United States. Stripe.js loads from js.stripe.com and collects fraud signals for Stripe on every page where your site loads Stripe.js, not only on the payment page.

Read how Stripe, Inc. handles the data in the Stripe privacy policy, and sign the Stripe Data Processing Agreement before you collect data from visitors in the EU or the UK. Both documents appear in the sources at the end of this page.

Stripe Cookie FAQs

Does Stripe need consent?

Yes, the Stripe cookies need consent in the EU and the UK, and need no prior opt-in in California. Firstly, the ePrivacy Directive requires consent before a site sets the functionality cookies of Stripe. Secondly, the UK PECR requires consent before a site sets the functionality cookies of Stripe. Thirdly, the CCPA sets no general opt-in requirement for the functionality cookies of Stripe, and the table gives the opt-out right of visitors. The consent section of this page gives the table for each law.

How long do Stripe cookies last?

The cookies of Stripe last from 30 minutes (1800 seconds) to 1 year (365 days). The __stripe_sid cookie lasts the shortest time, and the __stripe_mid cookie lasts longest. The retention column of the cookie list gives the lifetime of each cookie.

How do I block Stripe cookies?

Block the Stripe cookies by holding back Stripe.js until the visitor accepts functionality cookies. Tag Stripe.js with data-cookie-consent="functionality" in TermsFeed Free Cookie Consent, or add Stripe as a vendor in TermsFeed Privacy Consent. The page of the __stripe_mid cookie gives the full steps and the settings of Stripe.

Sources for the Stripe Cookies

The facts on this page come from the documentation Stripe publishes, checked on 2026-10-17. The list gives every source, so you check each fact yourself.