Conditioned behavior is any response you weren’t born with but learned because one experience reliably came with another. A dog drools at the sound of a can opener. Your stomach turns at the smell of a food that once made you sick. The same basic learning runs through animals as simple as sea slugs and through people, which is why scientists treat it as one of the oldest forms of learning there is.
The Two Main Kinds of Conditioning
In classical (Pavlovian) conditioning, a cue that means nothing at first comes to trigger a response because it keeps arriving just before something that matters. Ivan Pavlov showed this with dogs that began to salivate at a sound that had been paired with food.1Springer Link / PubMed Central. A History and Overview of the Behavioral Neuroscience of Learning and Memory Even a sea slug learns it. A light touch to its siphon, paired with a strong tail shock, soon makes it pull back hard at the touch alone.2PubMed Central. Classical conditioning in a simple withdrawal reflex in Aplysia californica
Operant conditioning works on actions instead. An action becomes more likely when a reward follows it and less likely when something unpleasant follows. B.F. Skinner argued that what matters is mostly that the reward follows the action closely in time, whether or not the action truly caused it.3PubMed Central. Temporal contingency So a reward that just happens to land after a behavior can still strengthen it, which is one route to superstitious habits.
Everyday life mixes the two. A notification sound that makes your heart jump is signal learning, because the sound predicts news you did nothing to earn. Checking your phone again and again is consequence learning, because the checking is sometimes rewarded with a message. A dog sitting for a treat is consequence learning, while the same dog racing to the door at the jingle of the leash is signal learning. Cues usually set the stage, and rewards shape the action.
A simple test: does the response happen to you, or is it something you do to get a result? In signal learning the outcome arrives whether or not you act, as when the dentist’s drill sound comes before the pain regardless of what you do. In consequence learning, what you do changes what you get.
Conditioning isn’t limited to animals or deliberate training. Emotions, body reactions like nausea, and preferences can all be conditioned, not just visible actions.
Consequence learning has two ways to make an action more likely: adding something good, or removing something bad. Taking a painkiller and feeling the headache stop strengthens the pill-taking even though nothing pleasant was added. Unpleasant outcomes tend to reduce an action, but they teach only what not to do, not what to do instead, which is why rewarding an alternative usually works better than punishing the unwanted behavior. Rewards that come only some of the time can hold a behavior more stubbornly than rewards that come every time, part of why slot machines and phone checking are hard to stop.
How a Learned Response Actually Forms
Learning is strongest when the cue and the outcome happen close together, and the order matters, with the cue usually coming first. Rats with damage to the hippocampus, a memory area, could not learn when there was a gap between the cue and a shock, but learned normally once the gap was closed.4PubMed Central. Trace conditioning and the hippocampus: the importance of contiguity Yet those same rats did not learn when the cue and shock always started at exactly the same moment.4PubMed Central. Trace conditioning and the hippocampus: the importance of contiguity The brain needs the cue to come slightly ahead so it can serve as a warning.
The cues that work are the ones that come first, like the sound of a car door before a visitor arrives or the smell of cooking before dinner. A signal that shows up only after the event tends not to produce much anticipation.
A short gap is workable, but it asks more of the brain, since the cue has to be held in memory until the outcome arrives. The rat finding suggests that a memory area helps bridge that wait. Longer gaps usually weaken learning for ordinary cues, which is why a scolding hours after a pet’s misbehavior teaches the pet very little about the misbehavior. Taste-sickness learning is an exception, so the timing rule describes most learning, not all of it.
Timing isn’t the whole story. One of the most influential explanations says learning is driven by the gap between what you expected and what actually happened.5PubMed. The Rescorla-Wagner model, prediction error, and fear learning A big surprise produces a lot of learning, while an outcome you fully expected teaches almost nothing new.5PubMed. The Rescorla-Wagner model, prediction error, and fear learning A sudden, unexpected scare can create strong fear after one event because the surprise is huge.
The same kind of signal, pointing the other way, drives learning to fear less when an expected bad thing fails to happen.5PubMed. The Rescorla-Wagner model, prediction error, and fear learning In the brain, dopamine cells fire in a pattern that tracks the gap between expected and received reward, a finding repeated in mice, rats, and monkeys.6PubMed Central. Striatal circuits for reward learning and decision-making Those cells react not just to whether a reward arrives but to when it arrives, so a reward that comes early or late is itself a surprise.7PubMed Central. Temporal specificity of reward prediction errors signaled by putative dopamine neurons in rat VTA depends on ventral striatum
Familiar things are harder to condition. A cue you have met many times without anything happening is slower to become a learned signal later.8PubMed Central. Stimulus preexposure speeds or slows subsequent acquisition of associative learning depending on learning test procedures and response measure It has already been learned as meaningless, so the brain resists treating it as important. A room you know well is harder to link with a bad event than an unfamiliar one, which is one reason familiar caregivers and routines can soften a frightening medical visit.
Why Some Responses Form in a Single Experience
Getting sick after eating a food can make you dislike that food for years.9PubMed. A translational and multidisciplinary approach to studying the Garcia effect, a higher form of learning with deep evolutionary roots Taste aversion forms fast, lasts long, and is specific to the taste, which evolution favored because avoiding poison helps survival.9PubMed. A translational and multidisciplinary approach to studying the Garcia effect, a higher form of learning with deep evolutionary roots Learning about the body effects of food can happen in a single experience and rarely needs more than three to five, even when sickness comes hours after the meal.10PubMed. Behavioral regulation of the milieu interne in man and rat The brain appears to treat taste as the most likely suspect and links the two across the gap.
Not every pairing is equally easy: tastes link readily to sickness, sounds and sights to pain. This built-in readiness helps explain why some fears and dislikes feel instinctive even though they were learned.
You may recognize it in yourself. You might avoid a food for years even when you know it was the flu, not the meal, that made you sick. The aversion is tied to taste and smell more than to the place or plate. Cancer treatment or pregnancy nausea can create aversions to foods eaten nearby in time. Trying small amounts in a calm setting, with no sickness following, can slowly weaken the aversion.
This is also why people often blame the wrong food. The brain is making a fast best guess, not a careful investigation, and it tends to pick the food that was new, unusual, or strongly flavored.
Where Learning Happens in the Brain
Learning changes the connections between cells. In sea slugs, conditioning strengthens the connections between the cells that sense touch and the cells that make the body pull back.11PubMed Central. Classical conditioning of the Aplysia siphon-withdrawal reflex exhibits response specificity That strengthening relies on the same kind of connection-boosting process that supports memory in mammals.12PubMed. Mediation of classical conditioning in Aplysia californica by long-term potentiation of sensorimotor synapses Nerve cells talk across tiny gaps, and learning makes certain gaps pass signals more easily, so the same cue sets off the response more readily.
Fear learning depends on the amygdala, a small almond-shaped area deep in the brain, with one part forming the link and others switching on the body’s fear reaction.13PubMed Central. Fear conditioning and the basolateral amygdala That helps explain why the body can react before you have time to think.
Goal-directed actions and automatic habits run on separate, parallel pathways deep in the brain.14Current Opinion in Behavioral Sciences. Understanding the balance between goal-directed and habitual behavioral control A goal-directed action is done because you want the result, like making coffee because you want caffeine. A habit runs on cue even when you no longer want the result, like reaching for the coffee maker on a day off. Repetition in the same setting tends to move a behavior from the first kind to the second.
People can shift from a habit back to deliberate choice, and brain activity shifts between the two pathways when they do.15PubMed Central. Orbitofrontal and striatal circuits dynamically encode the shift between goal-directed and habitual actions Because the pathways are separate, breaking a habit often means making the action deliberate again. Habits tend to be triggered by a setting or time of day, which is why moving somewhere new can make old ones easier to drop.
Unlearning a Response and Why It Comes Back
Extinction is the fading of a learned response when the cue keeps appearing without its outcome. It works by adding a new “this is safe now” memory, with the front of the brain helping to hold the old fear in check.16PubMed Central. Prefrontal control of fear: more than just extinction The old link stays stored and can win out again under the right conditions. Three situations commonly bring a response back:
- The response returns in a different place from where it was unlearned.17PubMed Central. Explaining the Return of Fear with Revised Rescorla-Wagner Models
- The response returns simply with the passage of time.17PubMed Central. Explaining the Return of Fear with Revised Rescorla-Wagner Models
- The response returns after encountering the original bad event again.17PubMed Central. Explaining the Return of Fear with Revised Rescorla-Wagner Models
None of this is failure. When a returned response is practiced away again, it often fades faster than the first time, because the safety memory is already stored and only needs strengthening.
Place matters because extinction learning appears to attach strongly to the context where it happened. The safety memory says, in effect, that the cue is safe here, not everywhere. So practice facing the cue in several different places, keep practicing at intervals over time rather than all at once, and treat an occasional return as a cue for a brief refresher.
Memories are also briefly changeable. Recalling a memory makes it temporarily open to change before it is stored again.18PubMed Central. Memory retrieval, reconsolidation, and extinction: Exploring the boundary conditions of post-conditioning cue exposure In rats, a mild distraction during that window left them less fearful weeks later.19PubMed Central. Memory reconsolidation may be disrupted by a distractor stimulus presented during reactivation This is early research, not an established treatment for people.
Conditioning Behind Cravings and Drug Tolerance
Settings and rituals tied to drug use come to trigger responses that oppose the drug’s effects.20Current Directions in Psychological Science. Drug Tolerance, Drug Addiction, and Drug Anticipation Social drinkers given a fake drink showed body changes opposite to alcohol’s effects.21PubMed. Conditioned compensatory response to alcohol placebo in humans These learned responses help explain tolerance and withdrawal feelings, and cues often trigger relapse.20Current Directions in Psychological Science. Drug Tolerance, Drug Addiction, and Drug Anticipation
When a cue reliably comes before a drug, the body learns to prepare by pushing against the expected effect, such as shifting heart rate or body chemistry the opposite way. This is a learned response, not a decision, so a person doesn’t feel themselves doing it. The fake drink result suggests the cue alone triggered the bracing without any drug.
Because the bracing is triggered by the usual cues, it is strongest in the usual place. In an unfamiliar place the cues are missing and the body is less prepared, so the same dose can hit much harder. That is a recognized factor in some overdoses, though one among others.
For someone cutting back or quitting, cravings may spike in the bar, car, or room linked to past use even after weeks of success. Changing routines and avoiding strong cues early on reduces these triggers. Cue-triggered cravings fade with repeated exposure to the cue without use, following the same rules as other unlearning.
How Conditioning Is Used to Treat Fear and Anxiety
Exposure therapy means facing feared situations gradually while staying safe. It uses extinction to reduce fear, and it can also help people whose anxiety centers on fear of their own body sensations.22PubMed Central. Anxiety sensitivity and intolerance of uncertainty track distinct neurobehavioral dimensions of avoidance in anxiety-related disorders Pairing a feared cue with something pleasant can act like “rewarded” unlearning.23PubMed Central. Behavioral and neural processes in counterconditioning: past and future directions In people with PTSD and without it, adding this pairing to standard unlearning strengthened safety memories that held up after a day and a month.24PubMed Central. Augmenting extinction with counterconditioning strengthens and sustains neural safety representations in PTSD
In practice, a therapist builds a ladder from mildly uncomfortable to most feared situations. You stay with each step until the fear drops, then move up. Varying places and timing helps keep the fear from returning, and adding something pleasant, like music or a favorite treat, can strengthen the new learning.
Starting mild lets the person stay long enough for fear to drop, which provides the new learning that nothing bad follows. Jumping to the most feared situation risks overwhelming the person, who may flee and learn that escape was needed. Staying matters for the same reason: leaving at peak fear brings relief, and the brain may credit the leaving, not the situation, with making things safe.
For people who fear their own racing heart or dizziness, exposure can mean deliberately bringing on those sensations, such as by running up stairs, in a safe setting. The aim is for the sensations to become a cue that no longer predicts disaster.
Likes and dislikes can be conditioned too. Feelings stirred by one thing can be wrongly attached, without awareness, to something seen alongside it, shifting your attitude toward it.25PubMed Central. Evaluative Conditioning: The “How” Question Ads pairing products with pleasant scenes work partly through this kind of mix-up.
Why Some People Condition More Easily
Twin studies show genes explain roughly 35% to 45% of how strongly people learn and unlearn fears.26PubMed. A twin study of the genetics of fear conditioning Most of the difference still comes from experience, so how readily you learn fear is not fixed. In animal studies, stress or chemical exposure in grandparents changed how descendants responded to stress and threats.27PubMed Central. Epigenetic transgenerational inheritance of altered stress responses These inherited effects are shown in rats, not confirmed in people.28PubMed Central. Transgenerational Epigenetic Inheritance of Early-Life Stress from Grand-Dams Through Paternal Gametes: Impaired Social Cognition and Reduced Reactivity to Aversive Predictors in DAT-HET Rats
Two people can live through the same scary event and come away with very different fears. People differ in how strongly they react to a threat and how fast they recover, and those differences shape how deeply a fear is learned. What each person already knows, such as earlier experiences with similar events, also changes how surprising the event is.

