
Dark patterns are website or app designs that push users into choices they would not otherwise make, such as buying more, sharing more data or staying subscribed. In the EU and the UK, many dark patterns are now unlawful, so an online business that uses them risks enforcement action, refund claims and lost trust.
This guide explains what dark patterns are, which laws catch them, and how to check your own checkout, cookie banner and cancellation flow. It is written for founders, marketing teams and managers, not lawyers.
Dark patterns in plain English
Think of a shop assistant who hides the exit, shouts “only two left!” when the stockroom is full, and hands you a pen already resting on the “yes” box. Online, the same tricks are built into buttons, colours, timers and menus. That is a dark pattern.
The key idea is choice architecture: the way options are arranged on a screen. Good design helps people decide quickly. A dark pattern uses the same tools to steer people towards the outcome that benefits the business, even when it is not in the user’s interest.
Common examples include:
- False urgency: a countdown timer that resets, or a “sale ends tonight” banner that never ends.
- Confirmshaming: a decline button that reads “No thanks, I prefer paying full price”.
- Pre-ticked boxes: add-ons, insurance or marketing consent selected by default.
- Roach motel: one click to subscribe, but a phone call and three screens to cancel.
- Nagging: pop-ups that keep asking after the user has already said no.
- Visual interference: a bright “Accept all” button next to a grey, hard-to-see “Reject” link.
- Hidden costs: fees that appear only at the last step of checkout.
Why it matters for online businesses
Dark patterns are no longer just an ethics debate. Regulators in Europe and the United States have already taken action against interfaces that steer users, for example through misleading cookie consent screens. Consumer authorities also run coordinated “sweeps” that check many websites at once.
Regulators build these cases from evidence. Investigators review screenshots, user journeys, customer complaints and internal documents such as training materials and staff messages. A product team’s message saying “make the cancel button harder to find” can become evidence of intent.
There is also a commercial cost. A sale won through a trick often turns into a refund request, a chargeback or a bad review. Clean design is usually the cheaper long-term strategy.
How dark patterns are caught by the law
No single law covers every dark pattern. Instead, several rules overlap. Which one applies depends on what the design does: misleads a consumer, manipulates consent to data use, or distorts choices on a platform.
European Union: consumer law first
The main tool is the Unfair Commercial Practices Directive (2005/29/EC). Article 5 bans commercial practices that breach professional diligence and materially distort, or are likely to distort, the economic behaviour of the average consumer. Most misleading checkout and pricing tricks are tested against this rule.
The Directive also has a “blacklist” in Annex I of practices that are always unfair. Point 7 covers falsely stating that a product, or particular terms, will only be available for a very limited time to rush a decision. A fake countdown timer fits this description closely.
European Union: the Digital Services Act
Article 25 of the Digital Services Act (Regulation (EU) 2022/2065) deals directly with interface design. It says providers of online platforms must not design, organise or operate their interfaces in a way that deceives or manipulates users, or otherwise materially distorts their ability to make free and informed decisions.
Article 25(3) names three practices on which the European Commission may issue guidance: giving more prominence to certain choices, repeatedly asking users to choose after they have already chosen, and making termination harder than subscription. Recital 67 adds further examples, including default settings that are very difficult to change.
Two limits matter. First, Article 25 does not apply to practices already covered by the Unfair Commercial Practices Directive or the GDPR. Second, Article 19 excludes online platforms that qualify as micro or small enterprises from this part of the Act. For a simple web shop, consumer law and data protection law usually do the heavy lifting. For a marketplace or other digital platform, Article 25 adds a further layer.
Data protection: consent must be real
Under Article 4(11) of the GDPR, consent must be “freely given, specific, informed and unambiguous”. Article 7(3) adds that withdrawing consent must be as easy as giving it. A cookie banner with a one-click “Accept” and a hidden, multi-step “Reject” is hard to square with these rules.
UK businesses face similar consent questions under the UK GDPR and the PECR cookie rules. Our guide to UK cookie consent rules covers banner design in more detail.
AI-driven manipulation
Article 5(1)(a) of the EU AI Act (Regulation (EU) 2024/1689) prohibits AI systems that use subliminal, purposefully manipulative or deceptive techniques to materially distort behaviour in a way that causes, or is reasonably likely to cause, significant harm. Under Article 113, the prohibitions chapter has applied since 2 February 2025. A personalised pricing or persuasion engine should be checked against this line.
United Kingdom: the DMCC Act 2024
In the UK, the main rules are in Part 4, Chapter 1 of the Digital Markets, Competition and Consumers Act 2024 (the DMCC Act). At the time of writing, legislation.gov.uk shows most of this Chapter in force from 6 April 2025. Section 225 prohibits unfair commercial practices.
Section 226 treats information that is true but presented in a misleading way as a misleading action, and section 228 targets harassment, coercion or undue influence. Schedule 20 lists practices that are always unfair, including false limited-time claims (paragraph 7) and fake or concealed incentivised reviews (paragraph 13).
Dark patterns compared with fair design
| Design element | Dark pattern version | Fair version | Main legal risk |
|---|---|---|---|
| Countdown timer | Resets on every visit | Shows a real deadline | Consumer law blacklist (EU and UK) |
| Cookie banner | “Accept” bright, “Reject” hidden | Accept and Reject equally visible | GDPR / UK GDPR consent rules |
| Subscription | Cancel by phone only | Cancel online in a few clicks | DSA Art. 25 (platforms), consumer law |
| Checkout extras | Pre-ticked insurance | Optional add-on, unticked | Misleading or unfair practice |
| Reviews | Only 5-star reviews shown | Clear, honest review policy | DMCC Act Sch. 20 para 13 (UK) |
Practical examples
A Dubai online shop selling to customers in London. The shop shows “Only 3 left – offer ends in 10:00” on every product page, and the timer restarts on refresh. Because it targets UK consumers, a UK regulator can look at whether this is a false limited-time claim under the DMCC Act. The fix is simple: show stock and deadlines only when they are true.
A Tehran start-up running a subscription app for EU users. Sign-up takes one tap, but cancelling requires an email to support and a “retention call”. The app also re-asks users to enable data sharing every time they open it. Both features match practices named in Article 25(3) of the DSA, and the repeated prompt may also undermine valid consent under the GDPR. A one-step online cancellation button and a single, respected privacy choice remove most of the risk.
Dark patterns checklist for your website
- Are “accept” and “reject” options equally easy to see and click?
- Is every timer, stock count and “limited offer” message true?
- Are all add-ons unticked by default?
- Is the full price, including fees, shown before the final step?
- Can users cancel online as easily as they signed up?
- Do pop-ups stop once a user has said no?
- Is decline wording neutral, not shaming?
- Do you keep records of design decisions and A/B tests, showing user interests were considered?
Common mistakes
- Assuming small size means no risk. The DSA platform rule excludes micro and small platforms, but consumer and data protection law still apply.
- Copying a competitor’s checkout. A popular design is not automatically a lawful one.
- Fixing the banner but not the flow. Regulators look at the whole journey, from first click to cancellation.
- Letting A/B tests decide alone. A version that converts better can still be unfair.
- Leaving it to designers. Interface choices are legal choices too, so legal review should be part of the release process.
What to do next
- Walk through your sign-up, checkout and cancellation flows as a new customer and take screenshots.
- Run the checklist above and list every element that steers users.
- Update your website terms and e-commerce documents so they match what the interface actually does.
- Ask an e-commerce lawyer to review the flows against EU, UK and local rules before your next release.
- If you have a specific question, use our free online legal consultation form.
Frequently asked questions
Are dark patterns illegal?
Many are. In the EU and the UK, dark patterns that mislead consumers, pressure them unfairly or undermine valid consent can breach consumer protection law, data protection law and, for online platforms, Article 25 of the Digital Services Act.
Is a countdown timer a dark pattern?
Only if it is false. A real deadline is fine. A timer that resets or a “limited time” claim that is not true can fall within the blacklisted practices in both EU and UK consumer law.
Does the DSA dark patterns rule apply to my small online shop?
Article 25 applies only to online platforms, and Article 19 excludes micro and small platforms from that part of the Act. If Article 25 does not apply to you, consumer and data protection rules still do.
How can I make my cookie banner compliant?
Give “Accept” and “Reject” equal weight on the first screen, avoid pre-ticked boxes, explain purposes in plain language, and make it as easy to withdraw consent as to give it.
Sources
- Johanna Gunawan, Colin M. Gray, Cristiana Santos and Nataliia Bielova, “Leveraging interdisciplinary methods for evidence collection in enforcement: Dark patterns as a case study“, Internet Policy Review, 14(4), 2025. Open access article.
- Regulation (EU) 2022/2065 (Digital Services Act), Articles 19 and 25 and Recital 67.
- Directive 2005/29/EC (Unfair Commercial Practices Directive), Article 5 and Annex I.
- Regulation (EU) 2016/679 (GDPR), Articles 4(11) and 7.
- Regulation (EU) 2024/1689 (AI Act), Articles 5 and 113.
- Digital Markets, Competition and Consumers Act 2024, Part 4, Chapter 1 and Schedule 20.
Examples in this article are illustrative.
Insights & answers
Latest from PAD