The Attention Trap: When Good Software Design Works Against the People Using It
What behavioral science reveals about engagement loops, digital habits, and the responsibility of developers.
The software that doesn't want you to leave
You open an app to check one thing: whether a package shipped, what time the game starts, a reply from a friend. You find it in seconds. Then a post below it catches your eye, and another below that, and when you next look at the clock twenty minutes have gone somewhere you never decided to send them.
Nothing malfunctioned. The feed did precisely what it was built, tuned and measured to do, and those twenty minutes were logged somewhere as a small engineering success.
Software can be excellent at meeting its engagement objectives while producing experiences that conflict with what its users wanted from their time. What happens when software succeeds at keeping us engaged but fails to respect our original intentions?
Engagement in itself is not the problem. Reading a long essay, learning a language or a video call with family are engagement too. The useful distinction is between engagement a person would endorse on reflection and engagement they drift into and later regret.
Public conversation tends to land on the individual. In a July 2026 segment of NPR's TED Radio Hour, journalist Nayeema Raza proposed that three pre-internet habits could help people slow down and break the screen cycle. Personal habits matter, but every habit plays out in an environment, and on a screen that environment is written by developers. This essay looks at that side of the glass.
The architecture of engagement
Almost every feature associated with compulsive use began as a fix for a real problem. Infinite scrolling removed the friction of pagination on small touchscreens. Autoplay spares someone watching a series from reaching for the remote. Notifications tell you a person needs you. Recommenders find the few relevant items among millions. Streaks help people keep up practice they chose.
What these features share is that they remove a decision point. A paginated list ends, and the end is a natural moment to ask whether you want more. Each convenience shortens the distance between continuing and never having decided at all.
Reviewing 43 papers, Monge Roffarello, Lukoff and De Russis catalogued eleven types of what they call attention-capture damaging patterns, infinite scroll and autoplay among them. They distinguish deceptive designs, which mislead, from seductive ones, which deceive no one and simply make continuing the path of least resistance. Most engagement features are of the second kind, which is why intent is a poor guide to their effects.
In a survey of 120 YouTube users, Lukoff and colleagues found that autoplay and recommendations primarily undermined people's sense of agency, while search and playlists supported it. That is self-reported perception, not measured harm, but it shows that one product can contain features that hand control to the user and features that quietly take it back.
Underneath the interface sits the objective function. A ranking model trained on watch time or click-through rate learns to serve whatever produces those signals. Kleinberg, Mullainathan and Raghavan formalized the difficulty in a theoretical model in which users have an impulsive in-the-moment self and a long-term self with different preferences, while the platform observes only behavior. In their model, raising engagement improves welfare along some directions of design change and lowers it along others, and engagement data alone cannot reveal which. It is a model rather than an empirical finding, but it names the core problem: behavioral data measures what people do, not what they wanted.
What behavioral science actually tells us
The science here is more interesting and less alarming than the popular version.
Habits. Wood and Rünger's review describes habits as responses that, through repetition in stable contexts, come to be triggered by cues rather than deliberate goals. They are an efficient default mode of action, with a curious side effect: people tend to infer from how often they do something that they must have intended it. Software that sits one tap away in every idle moment is well positioned to become such a cue.
Uncertain rewards. Since Skinner's operant conditioning research, psychologists have known that behavior rewarded intermittently tends to persist longer than behavior rewarded every time. A feed mixes things you care about with things you do not, in an unpredictable order, which is why HCI researchers, Rixen and colleagues among them, have discussed partial reinforcement as a plausible explanation for scrolling's pull. It is a plausible hypothesis built on an analogy to laboratory findings, not an established mechanism of feed use.
Dopamine and the word "reward." In 1997, Schultz, Dayan and Montague showed that the activity of dopamine neurons in monkeys matched a reward prediction error, the quantity at the heart of temporal-difference learning algorithms. That paper bridged machine learning and neuroscience, and it has been stretched far beyond what it shows. The signal it describes concerns learning, the updating of expectations, rather than pleasure, and nothing in those recordings establishes that every notification releases dopamine in your brain.
The shared vocabulary causes its own confusion. In a recommender trained with reinforcement learning, "reward" is a number an engineer chose, such as a click or seconds watched, and "learning" means updating parameters. In psychology and neuroscience, the same words describe how organisms' behavior and neural activity change with experience. The mathematics overlaps; the mechanisms differ. What genuinely connects them is the behavioral loop: the system learns what you respond to while you learn what the system delivers. Two learners, coupled through an interface.
Attention. The experimental evidence on interruptions is clearer. In a laboratory study, Stothart, Mitchum and Yehnert found that merely receiving a call or text notification, without answering it, impaired performance on an attention-demanding task. In a randomized field experiment with 237 smartphone users, Fitz and colleagues found that people whose notifications were batched three times a day felt more attentive, productive and in control, and reported better mood, than controls. Hourly batching did little, and no notifications at all brought more anxiety and fear of missing out. The lesson concerns timing and dose, not abolition.
Self-regulation. In an experience-sampling study of 205 adults, Hofmann, Vohs and Baumeister found that desires for media use, along with work, brought about the most self-control failure. A randomized experiment by Allcott, Gentzkow and Song offers stronger evidence. Temporarily paying people to use social media less reduced their use even after the payments stopped, consistent with habit formation, and letting people set limits on their own future use reduced it substantially, suggesting they wanted to use less than they did. Through their economic model, the authors estimate that self-control problems account for 31 percent of social media use: a model-based estimate, but resting on an experimental pattern that is hard to dismiss.
The trouble with "addiction." None of this licenses calling ordinary use an addiction. Reviewing the literature, Panova and Carbonell found insufficient support for smartphone addiction as a disorder and proposed "problematic use" instead. Kardefelt-Winther and colleagues warned that the behavioral-addiction label is being stretched until it pathologizes ordinary leisure.
"Screen time" deserves similar caution. Across three large datasets, Orben and Przybylski found that digital technology use explained at most 0.4 percent of the variation in adolescent well-being; Twenge, Haidt and colleagues contested that reading, and the debate remains open. Meanwhile, a meta-analysis by Parry and colleagues found that self-reported media use correlates only moderately with logged use, and problematic-use scales even more weakly. Total minutes is a blunt instrument. What people do, why, and whether it crowds out the rest of their lives tell us far more.
Why willpower is only part of the equation
If behavior were purely a matter of resolve, interface design would be irrelevant. The Fitz study is a quiet rebuttal: participants did not become more disciplined; their environment changed, and their experience changed with it.
A useful way to see this is to count actions. In a continuous feed, continuing costs nothing, while stopping requires a decision nothing in the interface prompts. In a batched design, continuing costs one deliberate action and stopping costs none. Neither forces anything; they differ in which choice is the default.
A field study by Rixen and colleagues shows how rarely the app itself provides the exit. Tracking 46 participants' social media sessions for a week, they found that most reasons for ending a session had nothing to do with the app: a waiting task, sleep, food, another person. Sessions spent mainly scrolling were rated less positively than those spent mainly posting or watching stories, though individual differences mattered far more than session content.
It is tempting to conclude that friction is the answer. The evidence is more modest. A large meta-analysis of choice-architecture interventions by Mertens and colleagues, subsequently corrected by its authors, reported an average effect, but a reanalysis by Maier and colleagues found no evidence of an overall effect after correcting for publication bias, a disagreement still unresolved. In HCI, Monge Roffarello and De Russis's meta-analysis of digital self-control tools reported a small-to-medium effect on reducing time spent, but noted that the evidence comes mostly from short experiments, often without control groups, that cannot show whether the change lasts. Friction is a design variable worth testing, not a cure.
Two ways to build a content feed
Imagine two versions of the same feed, showing the same posts in the same order. The content is identical. Only the shape of the experience differs.
In Version A, continuous scrolling, new posts appear automatically as the reader nears the bottom of the page. There is no page two, no final post, no visible edge. Reaching the end of what has loaded is never an event, because more has already arrived. The feed never asks whether you want to continue; continuing is simply what happens next. If the reader stops, the decision has to come entirely from them, made against the momentum of the interface.
In Version B, intentional continuation, the feed shows a limited batch of posts, perhaps ten, followed by a visible stopping point: a short note that the batch is finished, a count of how many posts have been seen so far, and an option to load more. Nothing prevents the reader from continuing. The next batch is a single tap away. But the end of the batch becomes a moment, and continuing becomes a choice rather than a default.
That is the essential difference. Version B does not force anyone to stop, impose a time limit or hide content. It restores the kind of decision point that a paginated list or the last page of a magazine once supplied without anyone noticing. In the terms of the previous section, it changes which action costs effort: in Version A, stopping requires initiative; in Version B, continuing does, if only slightly.
Both designs offer access to exactly the same information. What changes is the behavioral environment surrounding it, and the research reviewed above suggests that cues, defaults and stopping points shape behavior in ways that willpower alone does not explain.
This comparison is an illustration, not evidence. Nothing here shows that Version B improves well-being, reduces regret or changes long-term habits. Those are empirical questions, best answered by testing designs like these with real users and measuring the outcomes that matter to them.
Can we measure success differently?
Teams optimize what they measure. Time spent, session length and daily active users are cheap to collect, hard to dispute and tied to revenue. As the Kleinberg model makes explicit, they cannot distinguish a person who stayed because the product was valuable from one who stayed because leaving took effort.
Complementary signals get closer. Task completion asks whether someone who arrived to do something did it. Satisfaction and perceived control, gathered in brief in-product surveys, capture whether the time felt worthwhile. Notification usefulness shows in how often notifications are opened deliberately rather than dismissed or disabled. Voluntary return, sessions started without a prompt, separates a pull the user generates from one the system generates. Reported regret asks directly whether a session was time well spent.
None of these is easy. Surveys suffer from low response rates and selection bias, and regret is colored by mood. Users genuinely disagree: one person's relaxing evening of scrolling is another's lost one. And any metric that becomes a target can be gamed, a well-being metric included.
The practical approach is to treat these as guardrails, not replacements. When an experiment raises session length, check task completion and reported control in the same arms. A change that adds time while lowering perceived control is a different result from one that raises both, even if the headline dashboard cannot tell them apart.
The responsibility of developers
It would be convenient to blame engineers, and wrong. Developers usually implement requirements set elsewhere, under deadlines, against targets and business models they did not choose. Most infinite feeds were built by people trying to make a product feel smooth.
But engineering responsibility has never been limited to intent. We expect developers to consider security risks nobody asked about and accessibility needs missing from the ticket. An interface's behavioral consequences belong in the same category.
In practice that means asking a slightly different question in design review: not only what a feature makes possible, but what it makes easier, more automatic, or harder to interrupt. Engineers can flag metrics that reward behavior users would not endorse. Designers can make stopping points visible. Product managers can propose guardrails. Organizations, which set the incentives, carry the largest share, because individual conscience is a poor substitute for goals that don't penalize doing the right thing.
Designing for the freedom to leave
Engagement and autonomy are not opposites; the best software earns long sessions because people choose them. The problem begins when a system becomes better at keeping people than at serving them, and our metrics cannot tell the difference.
Behavioral science offers no villain here and no simple fix, only a quieter observation: people act within environments, and much of their environment is now made of code. Those who write it are deciding, whether they intend to or not, where the exits are and how easy they are to find.
If we can design software that makes people want to stay, can we also design software that respects their decision to leave?
References and Further Reading
- Allcott, H., Gentzkow, M., & Song, L. (2022). Digital addiction. American Economic Review, 112(7), 2424–2463. https://doi.org/10.1257/aer.20210867
- Fitz, N., Kushlev, K., Jagannathan, R., Lewis, T., Paliwal, D., & Ariely, D. (2019). Batching smartphone notifications can improve well-being. Computers in Human Behavior, 101, 84–94. https://doi.org/10.1016/j.chb.2019.07.016
- Hofmann, W., Vohs, K. D., & Baumeister, R. F. (2012). What people desire, feel conflicted about, and try to resist in everyday life. Psychological Science, 23, 582–588. https://doi.org/10.1177/0956797612437426
- Kardefelt-Winther, D., Heeren, A., Schimmenti, A., van Rooij, A., Maurage, P., Carras, M., Edman, J., Blaszczynski, A., Khazaal, Y., & Billieux, J. (2017). How can we conceptualize behavioural addiction without pathologizing common behaviours? Addiction, 112(10), 1709–1715. https://doi.org/10.1111/add.13763
- Kleinberg, J., Mullainathan, S., & Raghavan, M. (2024). The challenge of understanding what users want: Inconsistent preferences and engagement optimization. Management Science, 70(9), 6336–6355. https://doi.org/10.1287/mnsc.2022.03683
- Lukoff, K., Lyngs, U., Zade, H., Liao, J. V., Choi, J., Fan, K., Munson, S. A., & Hiniker, A. (2021). How the design of YouTube influences user sense of agency. Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems. https://doi.org/10.1145/3411764.3445467
- Maier, M., Bartoš, F., Stanley, T. D., Shanks, D. R., Harris, A. J. L., & Wagenmakers, E.-J. (2022). No evidence for nudging after adjusting for publication bias. Proceedings of the National Academy of Sciences, 119(31), e2200300119. https://doi.org/10.1073/pnas.2200300119
- Mertens, S., Herberz, M., Hahnel, U. J. J., & Brosch, T. (2022). The effectiveness of nudging: A meta-analysis of choice architecture interventions across behavioral domains. Proceedings of the National Academy of Sciences, 119, e2107346118. https://doi.org/10.1073/pnas.2107346118
- Mertens, S., Herberz, M., Hahnel, U. J. J., & Brosch, T. (2022). Correction for Mertens et al., The effectiveness of nudging: A meta-analysis of choice architecture interventions across behavioral domains. Proceedings of the National Academy of Sciences, 119(19), e2204059119. https://doi.org/10.1073/pnas.2204059119
- Monge Roffarello, A., & De Russis, L. (2023). Achieving digital wellbeing through digital self-control tools: A systematic review and meta-analysis. ACM Transactions on Computer-Human Interaction, 30(4), Article 53, 1–66. https://doi.org/10.1145/3571810
- Monge Roffarello, A., Lukoff, K., & De Russis, L. (2023). Defining and identifying attention capture deceptive designs in digital interfaces. Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 1–19. https://doi.org/10.1145/3544548.3580729
- NPR. (2026, July 24). Battling screen addiction with three simple habits [Audio segment, TED Radio Hour]. https://www.npr.org/2026/07/24/nx-s1-5887506/battling-screen-addiction-with-three-simple-habits
- Orben, A., & Przybylski, A. K. (2019). The association between adolescent well-being and digital technology use. Nature Human Behaviour, 3(2), 173–182. https://doi.org/10.1038/s41562-018-0506-1
- Orben, A., & Przybylski, A. K. (2020). Reply to: Underestimating digital media harm. Nature Human Behaviour, 4, 349–351. https://doi.org/10.1038/s41562-020-0840-y
- Panova, T., & Carbonell, X. (2018). Is smartphone addiction really an addiction? Journal of Behavioral Addictions, 7(2), 252–259. https://doi.org/10.1556/2006.7.2018.49
- Parry, D. A., Davidson, B. I., Sewall, C. J. R., Fisher, J. T., Mieczkowski, H., & Quintana, D. S. (2021). A systematic review and meta-analysis of discrepancies between logged and self-reported digital media use. Nature Human Behaviour, 5(11), 1535–1547. https://doi.org/10.1038/s41562-021-01117-5
- Rixen, J. O., Meinhardt, L.-M., Glöckler, M., Ziegenbein, M.-L., Schlothauer, A., Colley, M., Rukzio, E., & Gugenheimer, J. (2023). The loop and reasons to break it: Investigating infinite scrolling behaviour in social media applications and reasons to stop. Proceedings of the ACM on Human-Computer Interaction, 7(MHCI), Article 228. https://doi.org/10.1145/3604275
- Schultz, W., Dayan, P., & Montague, P. R. (1997). A neural substrate of prediction and reward. Science, 275, 1593–1599. https://doi.org/10.1126/science.275.5306.1593
- Stothart, C., Mitchum, A., & Yehnert, C. (2015). The attentional cost of receiving a cell phone notification. Journal of Experimental Psychology: Human Perception and Performance, 41(4), 893–897. https://doi.org/10.1037/xhp0000100
- Twenge, J. M., Haidt, J., Joiner, T. E., & Campbell, W. K. (2020). Underestimating digital media harm. Nature Human Behaviour, 4, 346–348. https://doi.org/10.1038/s41562-020-0839-4
- Wood, W., & Rünger, D. (2016). Psychology of habit. Annual Review of Psychology, 67, 289–314. https://doi.org/10.1146/annurev-psych-122414-033417
Top comments (0)