Privacy

What Is Consent in Data Privacy? GDPR, CCPA and How It Works

Consent is your clear, freely given yes to a specific use of your data. Here is what makes it valid under GDPR and CCPA, and what does not count.

Cysoro Security TeamPublished · 9 min read
Allow analytics?RejectAcceptYour choice, recorded PRIVACY Consentin privacy A clear yes — or it is not consent.
Quick answer

Consent in data privacy is a person's freely given, specific, informed and unambiguous agreement, shown by a clear affirmative action, to the processing of their personal data for a stated purpose. Under the GDPR it is one of six lawful bases for processing, and it must be as easy to withdraw as it was to give. Silence, pre-ticked boxes and inactivity do not count as consent.

Key takeaways

  • Valid consent must be freely given, specific, informed and unambiguous, shown by a clear affirmative action.
  • Consent is only one of six lawful bases under the GDPR — much processing runs on contract or legitimate interests instead.
  • The CCPA mostly uses opt-out, while the GDPR requires opt-in; the CPRA moves California closer to the GDPR standard.

Every cookie banner, newsletter checkbox and app permission screen is asking you the same question: may we use your data? The answer you give — or do not give — is called consent, and privacy law treats it as a legal act with strict rules, not a polite formality.

Consent in data privacy is a person's freely given, specific, informed and unambiguous agreement, shown by a clear affirmative action, to the processing of their personal data for a stated purpose.

The GDPR defines consent in Article 4(11) as "any freely given, specific, informed and unambiguous indication of the data subject's wishes by which he or she, by a statement or by a clear affirmative action, signifies agreement to the processing of personal data relating to him or her." That definition is the standard most privacy programs design to, and the UK ICO repeats the same four elements in its guidance.

Three ideas sit inside that definition. First, consent is permission for a purpose, not a blanket yes to everything a company might do. Second, it must be given by an action — ticking an unticked box, clicking "I agree" for that purpose, or changing a setting. Third, the person giving it must understand what they are agreeing to. A vague "we may use your data to improve our services" does not meet that bar.

Consent is also personal. It belongs to the individual whose data is involved, and it can be withdrawn. That is what separates consent from a contract term you cannot negotiate.

You can read the definition in the official GDPR text on EUR-Lex.

What makes consent valid? The four elements

Valid consent has four elements, and all four must be present. If one fails, the consent is not valid and the processing that relies on it is unlawful.

Four elements of valid consent 1Freely givena real choice,no penalty for no 2Specificone purposeat a time 3Informedwho collects it,why, and for how long 4Unambiguousa clear affirmativeaction, not silence All four must hold. If one fails, the consent is invalid.
The four elements of valid consent under the GDPR. Illustration by Cysoro.

Freely given

You must have a genuine choice, and refusing must not cost you. The GDPR says consent is not freely given if a service is made conditional on consent to processing it does not need. A power imbalance also matters: an employer asking staff to consent to monitoring faces a harder test than a shop asking a customer.

Specific

Consent must be given for each purpose separately. Bundling marketing, analytics and sharing with partners into one checkbox fails this test. Granular options — one switch per purpose — are the practical fix, and the request must be clearly distinguishable from other matters, in clear and plain language.

Informed

Before you agree, you must know the identity of the controller, the purposes of processing, and any third parties who will rely on the consent. That information must be given in plain language, before the choice, not buried in a privacy policy you would need an hour to read.

Unambiguous

There must be no doubt that you agreed. A clear affirmative action — ticking an unticked box, clicking a button for that purpose — counts. Silence, pre-ticked boxes and inactivity do not. The GDPR's Recital 32 states this directly, and the Court of Justice applied it in Planet49 (C-673/17, 1 October 2019), ruling a pre-ticked checkbox invalid.

Consent comes in several forms, and the law treats them very differently. Knowing which one you are looking at tells you whether it is valid at all.

TypeHow it worksValid under GDPR?
Explicit consentA clear, express statement of agreementYes — required for sensitive data
Opt-in consentYou actively agree before processingYes — the GDPR standard
Implied consentAgreement inferred from your actionsUsually no for GDPR consent
Opt-out consentProcessing starts until you objectNo as GDPR consent; used under CCPA
Pre-ticked boxAgreement assumed unless you untickNo — ruled invalid in Planet49

Explicit consent is the highest standard. It is required for special categories of data such as health, biometric and political data, and it needs an express statement, not merely an action that implies agreement. Opt-in consent is the ordinary GDPR standard: you say yes first, then processing starts.

Implied consent is agreement inferred from what you do, such as continuing to browse a site. It is not enough where the GDPR requires consent, because it is not unambiguous. Opt-out consent is the opposite model: processing begins and you must act to stop it. That is the default under the CCPA, not the GDPR.

Consent is not the same as a preference. A preference is a choice about experience — which channels, topics or frequency you want — and can be edited freely. Consent is a legal permission for a purpose, and it needs evidence: who agreed, to what, when, and on the basis of which notice text.

Under the GDPR, consent is one lawful basis among six, not the only way to process data lawfully. Article 6 lists consent, contract, legal obligation, vital interests, public task and legitimate interests.

That matters more than most people realise. Logging in, preventing fraud and fulfilling an order usually run on contract or legitimate interests, not consent. A website that asks you to consent to processing that is actually needed to deliver the service is using the wrong basis, and the consent may be invalid because it was not freely given.

Article 7 adds four conditions on top of the definition. The controller must be able to demonstrate that consent was given. A consent request inside a document covering other matters must be clearly distinguishable, in clear and plain language. You can withdraw consent at any time, and it must be as easy to withdraw as to give. And consent is not freely given if a service is conditional on consent to processing it does not need.

Article 8 sets the age for a child's own consent to online services at 16, which member states may lower to no less than 13. Below that age, a parent or guardian must give consent. For sensitive data, Article 9 requires explicit consent as well as a lawful basis under Article 6.

For a small business, the practical rule is simple: use consent only where no other basis fits — typically marketing and optional analytics — and record every consent with its purpose, the notice text shown, the time, and where it was captured.

California works mostly the other way round. The CCPA does not define consent in the GDPR sense and does not generally require active consent before collecting data. Instead it gives consumers the right to opt out of the sale or sharing of their personal information.

The CPRA, which amended the CCPA, tightens that picture. It defines consent in terms closely aligned with the GDPR: a freely given, specific, informed and unambiguous indication of the consumer's wishes, by a statement or a clear affirmative action, for a narrowly defined particular purpose. It also says that acceptance of a terms of use or privacy policy is not sufficient, that hovering over, muting, pausing or closing content does not constitute consent, and that agreement obtained through dark patterns is not consent.

Consent is required under the CCPA/CPRA in specific situations: the sale or sharing of a consumer's data after they have opted out, the sale or sharing of data belonging to consumers under 16 (where a parent or guardian must opt in for under-13s), and the use of sensitive personal information beyond what is necessary to provide the service. In those cases the business must get an active opt-in.

California also requires businesses to treat opt-out preference signals, such as Global Privacy Control, as valid requests. So a Californian who turns on that browser signal has opted out, whether or not they clicked anything on your site. TermsFeed explains the CCPA consent rules in detail.

GDPR vs CCPA consent: what is the difference?

The two laws start from opposite defaults, and that shapes every banner and form you design.

GDPR (EU/UK)CCPA/CPRA (California)
DefaultOpt-in: agree firstOpt-out: object to stop it
DefinitionFreely given, specific, informed, unambiguousSimilar definition under CPRA
When neededWhen consent is the lawful basis chosenMainly for selling/sharing and under-16s
Pre-ticked boxesInvalidNot valid consent
WithdrawalAs easy as giving itOpt-out honoured; opt-in can be withdrawn
Children16, or 13–15 by member stateUnder 16 must opt in

If you serve both Europe and California, design to the stricter standard: opt-in, granular, and easy to withdraw. A banner that satisfies the GDPR will usually satisfy the CCPA too, while the reverse is not true. You can check what your own browser already reveals with our free what-is-my-IP tool, which shows the address and network details sites can see before you consent to anything.

Withdrawing consent must be as easy as giving it. That is a legal requirement under the GDPR, not a design nicety, and it is where many consent banners fail in practice.

Look for a preference centre, a settings page, or an unsubscribe link in the email itself. A reputable site will let you turn off marketing or analytics in one or two clicks, without making you email support or create an account. If withdrawing takes a phone call while giving took one click, the process is not compliant.

Withdrawal takes effect from that point forward. It does not make the processing that happened while consent was valid unlawful, but the company must stop the processing that relied on that consent, and must tell any third parties it shared your data with, where practical. If a company keeps emailing you after a clear withdrawal, keep the evidence and complain to your data protection authority.

For businesses, the fix is mechanical: store each consent as a record with the person, purpose, notice version, timestamp and capture point, and enforce it in every downstream system. A consent that lives only in a cookie banner and never reaches your email tool is not enforced at all.

Bad consent is easy to recognise once you know the patterns. Watch for these in banners and forms you meet — and remove them from your own.

Five patterns that make consent invalid 1Pre-ticked boxesagreement assumed — ruled invalid in Planet49 2Bundled purposesone checkbox for marketing, analytics and sharing 3Hidden or missing rejectaccept in one click, reject buried three screens deep 4Pay or consentaccess only if you agree to tracking — rarely freely given 5Vague wording"to improve our services" hides the real purpose
Dark patterns that invalidate consent. Illustration by Cysoro.
  • Pre-ticked boxes. The choice is made for you. Invalid under the GDPR.
  • Bundled purposes. One yes covers marketing, analytics and data sharing. Not specific.
  • Hidden reject. "Accept all" is a bright button; "Reject" is grey text three screens deep. Not freely given.
  • Consent walls. No access unless you agree to tracking the service does not need. The ICO's consent-or-pay work treats this as a real risk to freely given consent.
  • Vague wording. If you cannot tell what you agreed to, you were not informed.

If you run a website, audit your own banner against this list. The fix is usually simple: unticked boxes, one switch per purpose, a reject button as visible as accept, and plain-language purposes. Our small business cybersecurity checklist covers privacy basics alongside backups and device security.

The bottom line

Consent is a clear, specific yes — freely given, informed, and easy to take back. Anything less is not consent under the GDPR, and California's CPRA now uses a closely matching definition.

As a user, say yes only to purposes you understand, and use the reject button without guilt. As a business, ask for consent only where you need it, record it properly, and honour withdrawal everywhere your data flows. You can start by seeing what your connection already exposes with our free WebRTC leak test.

Frequently asked questions

What is consent in data privacy in simple terms?

It is your clear yes to a specific use of your personal data. A company must tell you what it will collect and why, and you must actively agree. Simply visiting a website does not count as consent.

What are the four elements of valid GDPR consent?

Consent must be freely given, specific, informed and unambiguous. Freely given means a real choice with no penalty for refusing. Specific means one purpose at a time. Informed means you know who is collecting data and why. Unambiguous means a clear affirmative action.

Does a pre-ticked box count as consent?

No. Under the GDPR, silence, pre-ticked boxes and inactivity do not constitute consent. The Court of Justice confirmed this in the Planet49 case in 2019, ruling a pre-ticked checkbox invalid.

Can I withdraw consent?

Yes. Under the GDPR you can withdraw consent at any time, and it must be as easy to withdraw as it was to give. Withdrawing consent does not make the earlier processing unlawful, but the company must stop processing based on that consent.

Is consent required for all data processing under the GDPR?

No. Consent is only one of six lawful bases in Article 6 of the GDPR. Processing can also be lawful because it is needed for a contract, a legal obligation, vital interests, a public task, or legitimate interests.

What is the difference between GDPR consent and CCPA consent?

The GDPR generally requires opt-in consent before processing that relies on consent. The CCPA mostly uses an opt-out model: businesses can collect data until you ask them to stop, except for selling data and for consumers under 16, where opt-in is required.

What is explicit consent?

Explicit consent is a higher standard used for sensitive data, such as health or biometric data, and for some transfers. It requires a clear, express statement of agreement, not just an action that implies agreement.

Do children need parental consent for data processing?

Under the GDPR, a child can give their own consent to online services at 16, and member states may lower that age to no less than 13. Below that age, a parent or guardian must consent on the child's behalf.

Sources

  1. EUR-Lex — Regulation (EU) 2016/679 (GDPR)
  2. ICO — What are the conditions for processing?
  3. TermsFeed — Consent Under the CCPA (CPRA)
  4. Mineos — Types of Consent Under GDPR, CCPA and CPRA
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the text of GDPR Regulation (EU) 2016/679, ICO guidance and the CCPA/CPRA consent rules.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free