Every behavior, whether helpful or harmful, happens for a reason. Applied behavior analysis (ABA) identifies four core functions that explain why any person does what they do: attention, escape, access to tangibles, and automatic reinforcement (sometimes called sensory stimulation). Understanding which function drives a specific behavior is the first step toward changing it, because two behaviors that look identical on the surface can serve completely different purposes.
Attention
Some behaviors exist purely to get a reaction from other people. A child might shout in class, throw objects, or act silly because any response from an adult or peer, even a negative one, is reinforcing. This is the part that trips people up: attention-maintained behavior doesn’t require positive attention. A teacher’s reprimand, a parent’s frustrated sigh, or even just eye contact can be enough. A student who yells during a lesson may be doing it specifically to hear the teacher call out their name or to pull the teacher’s focus away from the rest of the group.
Attention-seeking behavior also includes more subtle forms. A child who repeatedly asks the same question, tugs on a caregiver’s sleeve, or makes noises during quiet time may be doing so because in the past, those actions reliably produced social interaction. The behavior persists because it works.
Escape
Escape behaviors happen when a person acts in a way that ends or delays something unpleasant. The “something unpleasant” can be a difficult task, a boring activity, a loud environment, a social situation, or really any demand that feels overwhelming. A child who throws a worksheet on the floor and gets sent to the hallway has successfully escaped the assignment, which makes the same behavior more likely next time a hard task appears.
There’s a meaningful distinction between escape and avoidance, though both fall under this function. Escape means the unpleasant situation is already happening, and the behavior ends it. Avoidance means the person has learned to predict the unpleasant situation and acts before it starts. A child who complains of a stomachache every Monday morning before school may be avoiding the week’s demands entirely. Both patterns are maintained by the same mechanism: the relief of getting away from something aversive.
Common triggers include academic tasks that feel too hard, transitions between activities, social interactions that cause anxiety, and environments with too much noise or stimulation.
Access to Tangibles
This function covers any behavior aimed at getting a specific item, activity, or privilege. The classic example is a child in a grocery store who screams until a parent hands over a candy bar. The screaming worked, so the child is more likely to scream again the next time they want something.
Tangible-maintained behaviors aren’t limited to objects, though. A child might tantrum to get screen time, to keep playing at the park instead of leaving, or to gain access to a preferred activity like swimming or video games. The key feature is that the behavior is directed at obtaining something concrete. You can usually identify this function by noticing whether the behavior starts right after access to something is denied or restricted.
Automatic Reinforcement
Some behaviors aren’t directed at other people or external rewards at all. They happen because they feel good internally or because they reduce an unpleasant sensation. This function is sometimes called sensory stimulation, and it’s the only one of the four that doesn’t require another person to be involved.
Automatic reinforcement works in two directions. On the positive side, a behavior can produce a pleasurable sensation: rocking, hand flapping, spinning, humming, or hair twirling all generate sensory input that the person finds rewarding. These behaviors tend to show up most when a person is alone or unoccupied, which is one of the clearest signs that the function is automatic rather than social. Everyday examples that most people can relate to include listening to music, doodling during a meeting, or adding sugar to coffee.
On the negative side, a behavior can remove something unpleasant. Scratching an itch, rubbing a sore muscle, or head-banging that temporarily dulls the pain of an ear infection all fall into this category. In more serious cases, self-injurious behavior may persist because it produces a sensory experience that overrides or distracts from internal discomfort.
How to Identify the Function
Figuring out which function maintains a behavior requires looking at what happens immediately before and after it. Three questions help narrow things down:
- What was happening right before the behavior? If a demand was placed, escape is likely. If attention shifted away, the attention function is a strong candidate. If a preferred item was removed, tangible access is the probable driver.
- What happened right after? If someone responded socially, the behavior may be attention-maintained. If the task went away, it’s likely escape. If the child got what they wanted, tangible.
- Does the behavior happen when the person is alone? If it occurs just as often with no one around, automatic reinforcement is the most likely function.
A single behavior can also serve different functions at different times. A child who hits might do it during homework to escape the task, but do the same thing at dinner to get a parent’s attention. This is why the context matters more than the behavior itself.
What Changes Once You Know the Function
Identifying the function shapes the entire approach to addressing the behavior. Strategies that work for one function can backfire for another. Giving attention to a child whose behavior is escape-maintained, for example, won’t reduce the behavior because attention isn’t what’s driving it.
For attention-maintained behavior, the most effective approaches involve providing attention on a schedule so the person doesn’t need to act out to get it. Changing seating arrangements to increase proximity to an adult, or offering a preferred activity when one-on-one attention isn’t available, can reduce the motivation behind the behavior.
For escape-maintained behavior, strategies focus on making the demand more manageable. This might look like adjusting task difficulty, offering choices about the order of activities, building in frequent breaks, or shortening the task. The goal is to reduce the aversiveness of the situation so the person no longer needs to escape it.
For tangible-maintained behavior, increasing access to preferred items throughout the day and teaching an appropriate way to request them can replace the problem behavior. If a child learns that asking politely gets the same result as screaming, and screaming no longer works, the screaming fades.
For automatically reinforced behavior, the approach involves finding alternative activities that provide the same type of sensory input. If a child rocks for vestibular stimulation, access to a swing or rocking chair can serve the same purpose. If the behavior is tactile, providing textured objects to manipulate may reduce the need for the original behavior. Enriching the environment with stimulating activities also helps by reducing boredom, which is a common trigger.
The core principle across all four functions is the same: teach a replacement behavior that meets the same need. When a person has a more effective and appropriate way to get attention, escape discomfort, access what they want, or meet sensory needs, the problem behavior loses its purpose.

