esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

Cheating: how dark patterns trick users

Some screens are built to push people into choices they did not mean to make. Learn the common tricks, why they work, and how to avoid them.

In short

Cheating, or dark patterns, means screens built to push people into choices they did not mean to make, and you can avoid them with honest design.

4 min readFree

What you will learn

This lesson is about cheating in design. Here, cheating means building a screen that works against the person using it. You will learn what these tricks look like, why they work, and how to avoid them in your own projects.

Key words

Dark pattern
A screen trick that pushes a user toward a choice they did not plan to make. Also called a deceptive pattern.
Deceptive design
Design that misleads people on purpose. Many experts now prefer this name.
Confirmshaming
Wording that makes a user feel guilty for saying no.
Subscription
A plan that keeps charging you on a schedule until you cancel it.

What counts as cheating?

A dark pattern is a design that misleads users into choices that go against their own interests. Businesses use these tricks to win money, attention, or personal data that people would not hand over freely. The Decision Lab describes dark patterns as misleading design techniques that trick users into decisions they did not intend to make.

UX designer Harry Brignull gave the idea its name in 2010. Many regulators and designers now say deceptive design, because that name makes the intent to mislead easier to see.

Where did the idea come from?

Brignull described these screens as interfaces built with an understanding of human psychology, so that people do things they did not intend. Later researchers sorted the tricks into five strategies: nagging, obstruction, sneaking, interface interference, and forced action. Forced action makes you agree to something before you can continue.

What are the common tricks?

  • Hard to leave

    The FTC found that some companies make it hard to cancel a subscription or a charge. The exit path can be hidden, long, or packed with extra offers you must click past.

  • Hidden costs

    Key terms and extra fees can sit in small print. A free trial may quietly turn into a paid plan if the user forgets to cancel in time.

  • Guilt wording

    Confirmshaming uses words that make saying no feel bad. A decline button might suggest the user is foolish or cheap for refusing.

Why are tricks stacked?

Designers often mix several tricks in one flow. The FTC staff report notes that these patterns cause more harm when they are used together than when used alone. Many tricks also work on how people decide, using shortcuts and pressure to decide right away. That is why a careful reader can still get caught.

Check your own design

  1. 1

    Ask who wins

    Ask whether the user gains as much as the business does. If only the business gains, the screen needs a closer look.

  2. 2

    Test the exit

    Try to cancel, decline, or leave. Count the steps and the words you must read. Leaving should be about as easy as joining.

  3. 3

    Read as a user

    Read every button label out loud. Check that nothing shames the user, and that the important costs appear before the user commits.

Tip

Honest persuasion gives people clear facts and a simple way to say no. If a choice is hard to undo, show that clearly before the user agrees.

Try it: count the steps

This made-up example compares the steps to join a service with the steps to leave it. The numbers are invented for practice, but the pattern is real: a tricky design often makes leaving much longer than joining.

Python
signup_steps = ["open page", "click Join", "confirm"]
cancel_steps = ["open page", "menu", "account", "settings", "scroll", "offers", "decline", "confirm cancel"]
print("Sign up:", len(signup_steps), "steps")
print("Cancel:", len(cancel_steps), "steps")

Output

Sign up: 3 steps
Cancel: 8 steps

Quick check

Quick check

Which of these is a dark pattern?

The key idea

Good design helps people reach their own goals. Dark patterns serve the business at the user's cost. Your job is to make the honest choice the easy one. A helpful screen gives people the facts, a clear way out, and no pressure to act before they are ready.

Sources

How is this lesson?

Last updated on 17 November 2026

Learn with me

Every lesson is free. I add new ones as I learn. Have a question, or want help with your own work? Book a short call.