← Home

E-Commerce & Smart Contracts

Dark Patterns: What Online Businesses Must Avoid

← All Articles
Dark Patterns: What Online Businesses Must Avoid

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:

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 elementDark pattern versionFair versionMain legal risk
Countdown timerResets on every visitShows a real deadlineConsumer law blacklist (EU and UK)
Cookie banner“Accept” bright, “Reject” hiddenAccept and Reject equally visibleGDPR / UK GDPR consent rules
SubscriptionCancel by phone onlyCancel online in a few clicksDSA Art. 25 (platforms), consumer law
Checkout extrasPre-ticked insuranceOptional add-on, untickedMisleading or unfair practice
ReviewsOnly 5-star reviews shownClear, honest review policyDMCC 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

Common mistakes

What to do next

  1. Walk through your sign-up, checkout and cancellation flows as a new customer and take screenshots.
  2. Run the checklist above and list every element that steers users.
  3. Update your website terms and e-commerce documents so they match what the interface actually does.
  4. Ask an e-commerce lawyer to review the flows against EU, UK and local rules before your next release.
  5. 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

Examples in this article are illustrative.

Have a question about Iranian law?

Tell us about your matter and we will respond, in plain English, with practical next steps.

Request a Consultation

The information on this page is provided for general educational purposes only and does not constitute legal advice or create a lawyer-client relationship. Please contact us for advice on your specific matter.