Why We Keep Going Back to Things We Know Are Bad for Us
Knowing something is harmful and stopping it are two entirely different problems. A deep look at the psychology of repeated behaviors — habit loops, emotional regulation, intermittent reinforcement, and why shame rarely helps.


It’s 1:30 AM. You know exactly how you’re going to feel when your alarm goes off at 7:00 AM. You can clearly visualize the exhaustion, the brain fog, the irritation at your past self. You explicitly told yourself—perhaps even swore a solemn oath—that tonight would be different. Tonight, you would be asleep by 11:30.
And yet, here you are. The blue light of your phone illuminates your face in the dark bedroom as you swipe up, endlessly scrolling short-form videos. Or perhaps you're clicking through a Wikipedia rabbit hole about the history of standardized shipping containers. The specifics don't matter. What matters is the profound, baffling disconnect between what you know you should do and what you are actually doing.
This is the fundamental human paradox: we are exceptionally good at acquiring intellectual knowledge about what is good and bad for us, and exceptionally bad at translating that knowledge into consistent behavior.
If you've ever checked social media when you planned not to, procrastinated on something deeply important to you, returned to an unhealthy routine the second you felt stressed, or found yourself repeatedly checking someone's profile knowing it would only bring you pain—you are intimately familiar with this gap.
The standard cultural narrative explains this gap with a moral failing: you just lack discipline. If you had more willpower, more grit, more character, you wouldn't keep going back to behaviors you know are detrimental. This explanation is not only unhelpful, it is scientifically inaccurate and psychologically damaging. Knowing better and behaving differently are two completely separate neurological and psychological problems.
To stop fighting ourselves, we have to look under the hood of human behavior. We have to examine the biological, emotional, and environmental machinery that drives us back to the familiar, even when the familiar is harmful.
The Dictatorship of the Immediate
At the core of the knowledge-behavior gap is a fundamental mismatch between how our brains evolved and the modern environments we inhabit. We are wired to heavily discount the future in favor of the present.
When you are deciding whether to close Netflix and go to sleep, or whether to finally open that intimidating project document, your brain is running a cost-benefit analysis. However, it is not weighing the immediate comfort of watching another episode against the abstract, future benefit of feeling rested tomorrow. It is weighing an immediate, guaranteed reward against an abstract concept.
The immediate reward always has an outsized influence. Evolutionary psychologists suggest this made perfect sense for our ancestors, whose survival often depended on taking advantage of immediate resources (food, shelter, safety) rather than banking on a highly uncertain future.
Today, this wiring works against us. The relief of procrastinating on that important work is felt right now. The anxiety about the looming deadline is pushed into the future—someone else's problem (Future You). By the time Future You inherits the problem, the cycle repeats.
“We are not rational creatures who occasionally experience emotion. We are emotional creatures who occasionally rationalize.”
Intellectual knowledge—"I will regret this tomorrow"—is a weak cognitive signal compared to the booming, visceral signal of immediate relief or immediate gratification. You cannot out-think an immediate neurochemical reward just by knowing it's a bad idea in the long term.
The Architecture of the Habit Loop
When we repeat a behavior enough times, it ceases to be a conscious decision and gets outsourced to older, more primitive parts of the brain (specifically, the basal ganglia). This is a biological efficiency mechanism. If we had to consciously process every tiny action we took, our brains would exhaust themselves before breakfast.
As Charles Duhigg popularized in his work on habits, these automatic routines operate in a three-part loop: Cue, Routine, and Reward.
The Cue is the trigger. It could be a time of day, an emotional state (boredom, stress), a location, or a preceding event. The Routine is the behavior itself—picking up the phone, biting your nails, pacing. The Reward is the payoff—distraction, a momentary hit of dopamine, a brief escape from physical tension.
Consider the habit of checking social media when you planned to work. The cue isn't a conscious desire to see what your acquaintances are doing. The cue is often a subtle feeling of friction or mild anxiety when facing a difficult task. The brain recognizes the friction, triggers the learned routine (open a new tab, type 't-w-i-t...'), and receives the reward (distraction, novelty, a break from the hard cognitive labor).
Once a loop is established, the behavior is executed almost entirely outside of conscious awareness. You "know" you shouldn't be scrolling, but by the time your conscious mind catches up and registers what's happening, your thumb has already swiped three times. The behavior isn't driven by a lack of knowledge; it's driven by an automated neurological script executing on cue.
Behavior as Emotional Regulation
Perhaps the most misunderstood aspect of why we return to behaviors we know are bad for us is the role of emotional regulation. We rarely view our self-sabotaging actions as coping mechanisms, but that is precisely what they usually are.
When you are overwhelmed, stressed, or lonely, your nervous system is in a heightened state of arousal. It is seeking equilibrium. It wants to feel safe and regulated.
Over time, you have learned that certain behaviors reliably alter your internal state, even if only temporarily. Endlessly scrolling short-form content numbs the brain, acting as a digital anesthetic against anxiety. Staying up way too late (often called "revenge bedtime procrastination") might be the only time in your day when no one is asking anything of you—a desperate grab for autonomy and control when your daytime hours feel dictated by others.
Avoiding an important task isn't about laziness; it is an incredibly effective (in the short term) way to alleviate the anxiety associated with that task. The avoidance is the relief.
When you try to stop doing the "bad" thing using only willpower and intellectual knowledge, you are effectively taking away your nervous system's pacifier without offering a replacement. You know the pacifier is dirty and you're too old for it, but without it, the underlying distress spikes. Inevitably, when the stress becomes too acute, you will reach for whatever mechanism you know works to bring the temperature down, regardless of the long-term consequences.
The Devil We Know: Familiarity and Learned Patterns
There is a strange comfort in the predictable, even when the predictable is painful. The human brain is an anticipation machine; its primary job is to predict what is going to happen next so it can prepare the organism to survive.
Because of this, the brain strongly prefers familiar patterns over uncertain ones. Uncertainty registers as a threat.
If you have a pattern of returning to an unhealthy routine when stressed, or returning to a toxic dynamic because it's what you're used to, it's partly because your nervous system knows the script. You know exactly how the bad behavior will play out. You know the precise flavor of guilt and regret you will feel afterward. There are no surprises.
Trying a new, healthier behavior represents an unknown. It requires cognitive effort, and its success is not guaranteed. In moments of high stress or depletion, the brain will default to the most deeply grooved neural pathway, choosing the familiar negative outcome over the uncertain positive one.
Depletion and the Illusion of Willpower
We rely far too heavily on the concept of willpower to govern our choices. Research into ego depletion—the idea that self-control or willpower draws upon a limited pool of mental resources that can be used up—has shown how fragile conscious restraint really is.
Every time you make a decision, suppress an emotion, or force yourself to focus on a difficult task, you are expending cognitive energy. By the end of a demanding workday, your prefrontal cortex—the part of the brain responsible for executive function, future planning, and overriding impulses—is functionally exhausted.
This is why you are far more likely to engage in behaviors you "know" are bad for you at 9:00 PM than at 9:00 AM. Your intellectual knowledge hasn't changed. You know the exact same facts about nutrition, sleep, and digital hygiene in the evening as you did in the morning. What has changed is your capacity to use that knowledge to override your impulses.
When the executive system is depleted, the older, habit-driven parts of the brain take the wheel. And they will always drive you toward the easiest, most familiar, most immediately rewarding behaviors.
Intermittent Reinforcement: The Casino in Your Pocket
Sometimes, we keep going back to something not just because it's a habit, but because the delivery of the reward is unpredictable. In psychology, this is known as a variable ratio schedule of reinforcement, and it is the most powerful way to condition behavior.
If you put a rat in a cage with a lever, and pressing the lever gives the rat a pellet of food every single time, the rat will press the lever when it is hungry, and ignore it when it is full. But if pressing the lever gives the rat a pellet randomly—sometimes it takes one press, sometimes ten, sometimes fifty—the rat will become obsessed, pressing the lever frantically, entirely ignoring whether it is hungry or not.
This is the exact mechanism behind slot machines. It is also the precise architecture of modern digital platforms.
When you check a specific profile repeatedly, or pull down to refresh a feed, you don't know what you're going to get. Most of the time, it's nothing interesting. But occasionally, you get a hit—a funny video, a validating comment, a piece of shocking news. That unpredictability hyper-activates the dopamine system.
You "know" you shouldn't be checking. You "know" you're wasting time. But your dopamine system isn't listening to your intellect; it is hooked on the unpredictable schedule of reinforcement. You keep going back because the brain is chasing the phantom possibility of a reward.
The Trap of the Shame Cycle
Perhaps the most insidious reason we continue doing things we know are bad for us is the emotional fallout of the behavior itself. We often believe that if we just beat ourselves up enough, if we feel enough shame and guilt about our actions, it will motivate us to change.
In reality, shame is one of the most reliable drivers of destructive behavior.
Consider the cycle: You procrastinate on important work. You realize you've wasted the day, and you feel a profound sense of shame, inadequacy, and anxiety about the impending deadline. Because shame is a highly distressing emotional state, your nervous system immediately seeks relief from it.
And where do you typically find immediate relief from distress? In the very coping mechanisms you are ashamed of. You feel bad about endlessly scrolling, which makes you feel anxious and inadequate, so to numb that anxiety, you continue scrolling.
Shame does not serve as a deterrent; it acts as a trigger. It creates the precise negative emotional state that your bad habits are designed to soothe. You cannot shame yourself into better behavior, because the shame feeds the loop.
Bridging the Gap: Moving from Knowledge to Change
If knowing better doesn't lead to doing better, and if relying on willpower and shame is a trap, how do we actually change our behavior? How do we stop going back to the things we know are bad for us?
The answer lies in shifting our approach from moral judgment to systemic design. We have to treat ourselves like complicated biological systems rather than malfunctioning robots who just need to "try harder." Here are practical, compassionate strategies to bridge the intention-behavior gap.
1. Decouple Behavior from Character
The first and most crucial step is to stop interpreting your unwanted behaviors as evidence that you are weak, lazy, or broken. Recognize that your brain is doing exactly what millions of years of evolution trained it to do: seek immediate rewards, conserve energy through habits, and regulate distress through familiar mechanisms. Observe your behavior with curiosity, like a scientist, rather than with the gavel of a judge.
2. Identify the True Cue and the True Reward
You cannot change a habit if you don't understand the loop. When you find yourself engaging in a behavior you want to stop, trace it backward.
What just happened? Were you feeling a specific emotion (loneliness, boredom, the anxiety of a blank page)? What time of day was it? What was your environment? That is your cue.
Then, honestly assess the reward. What did the behavior actually do for you in that specific moment? Did it numb you? Did it provide a fleeting sense of connection? Did it offer an escape from a difficult decision?
3. Engineer Your Environment (Increase Friction)
Willpower is for amateurs; environment design is for professionals. If you know that relying on self-control at 11:00 PM is a losing battle, you have to engineer your environment during the day when your executive function is strong.
The concept is simple: increase the friction (the difficulty) of doing the unwanted behavior, and decrease the friction of the desired behavior.
- If you want to stop scrolling in bed, do not bring the phone into the bedroom. Buy a physical alarm clock. The friction of having to get out of bed and walk to the living room to scroll is often enough to break the automatic loop.
- If you want to stop checking a specific website, use a site blocker. Make it technically difficult to access.
- If you want to read more and watch less TV, unplug the TV and put the book on your pillow.
Do not trust your future self to make the right choice in the moment. Constrain your future self's options.
4. Replace, Do Not Suppress
Nature abhors a vacuum, and so does the brain. You cannot simply extinguish a habit loop; you must overwrite it. If an unwanted behavior is serving as an emotional pacifier, you cannot just take it away. You must provide an alternative.
If your cue is the stress of a difficult work task, and your routine is checking social media, and your reward is a brief mental break, you need a new routine that delivers the same reward.
When the stress cue hits, what else can you do to get a mental break? Could you step outside for two minutes? Could you do a quick breathing exercise? Could you get a glass of water? The replacement behavior must be easy, accessible, and genuinely address the underlying need (the reward).
5. Practice Delay, Not Denial
Telling yourself "I can never do this again" triggers feelings of deprivation and rebellion. A much more effective strategy is to practice delaying the behavior. This is known as "surfing the urge."
When you feel the intense, immediate craving to engage in the unwanted behavior, tell yourself: "I can do this, but I have to wait ten minutes."
Often, cravings are like waves. They build in intensity, peak, and then wash away. By forcing a ten-minute gap between the cue and the routine, you allow the intense neurochemical wave to crest and recede. You give your prefrontal cortex time to come back online and participate in the decision. By the time ten minutes have passed, the automaticity is broken, and you often find the urge has significantly diminished.
6. Lower the Stakes to Build Momentum
We often fail to change because we try to change everything at once. We want to go from staying up until 2 AM to waking up at 5 AM for a morning run. This radical shock to the system is almost guaranteed to fail.
Instead, shrink the desired behavior until it is so small it feels ridiculous to fail. Make it absurdly easy. Instead of committing to working on a project for three hours, commit to opening the document and typing one single sentence. The goal is not the output; the goal is establishing the neurological pathway of starting. Once you cross the threshold of starting, momentum often takes over.
Conclusion: The End of the Battle
You keep going back to things you know are bad for you because your brain is functioning exactly as it was designed to function in a world of immediate rewards, stress, and depletion.
Knowing better is merely the prerequisite. It is the map, not the journey. To actually behave differently, you have to stop relying on brute-force willpower and moral judgments. You must learn the language of your own nervous system, respect the power of your environment, and dismantle your habits with curiosity rather than contempt.
You are not fundamentally broken because you struggle with this. You are fundamentally human. And the moment you stop fighting yourself and start designing systems that support you, you take the first real step toward closing the gap between the person you are and the person you intend to be.


