- Behavior Basics
What Is the Function of Behavior?
By Avianna Shull, BCBA · June 9, 2026 · 9 min read
If you take one concept away from behavioral science, make it this one. It is the difference between a strategy that works and a strategy that sounded good on the internet.
The core idea
Behavior is not random. It persists because it produces some result the person finds worth having. That result is what behavior analysts mean by the function of the behavior — the job it does.
This is not a theory about motivation or intent. Your child is not scheming. Most of this happens well below the level of conscious planning, in children and adults alike. You check your phone in a meeting because it occasionally produces something interesting, not because you decided to.
The practical consequence is large. If a behavior is doing a job, removing it without replacing it leaves the job undone — so the behavior comes back, or something else appears to do the same work. This is why plans that focus only on stopping a behavior so often disappoint.
The four common functions
Behavior analysts usually group functions into four broad categories.
1. Access to attention
The behavior reliably brings someone’s focus. Importantly, the attention does not have to be pleasant to work — being told off is still attention, and for a child who is short on interaction, it can be better than nothing.
Looks like: behavior that spikes when you are on the phone, feeding a baby, or talking to another adult.
2. Access to something tangible
The behavior produces an item or an activity — a snack, a tablet, staying at the park longer.
Looks like: behavior that starts when something is denied or removed, and stops the moment it is returned.
3. Escape or avoidance
The behavior gets a child out of something — a demand, a chore, a task that is hard, boring or uncomfortable.
Looks like: behavior concentrated around homework, getting dressed, bathtime, or particular subjects at school.
4. Sensory or automatic
The behavior produces a sensation the child finds regulating or enjoyable. It does not need another person at all, which is the giveaway.
Looks like: behavior that happens just as much alone as in company, and does not change much based on how others respond.
A behavior can serve more than one function, and the function can differ by setting. Hitting might get escape at school and attention at home. This is normal and it is one reason careful observation beats assumption.
Why the same behavior needs different plans
Take two children who both scream at bedtime. Identical behavior, on the surface.
For the first child, screaming brings a parent back into the room. Function: attention. A workable plan might involve plenty of connection built into the bedtime routine before lights out, plus brief, boring check-ins that are not contingent on screaming.
For the second child, screaming delays bedtime itself. Function: escape from the demand of going to sleep. Here, extra attention would make things worse. The plan looks more like a predictable routine, a clear sequence and following through on the bedtime itself.
Same behavior. Opposite strategies. Apply the wrong one and you do not merely fail — you actively strengthen the problem. This is the single best argument against generic behavior advice, including advice found on well-meaning websites.
How to spot the function at home
Parents can get a surprisingly good read on this with a simple structured notice. Behavior analysts call it ABC data: Antecedent (what came just before), Behavior (what your child did), Consequence (what happened right after).
You do not need a spreadsheet. A note on your phone for a week is often enough:
- Before: What was happening? Who was there? What had just been asked or removed?
- Behavior: What exactly did your child do? Describe it the way a camera would — “dropped to the floor and shouted” rather than “had a meltdown.”
- After: What did you and others do? What did your child get, or get out of?
Then look for repetition. Three useful questions:
- Does it happen mostly when attention is unavailable? → likely attention
- Does it happen mostly when something is denied or ended? → likely tangible
- Does it happen mostly when a demand is placed? → likely escape
- Does it happen just as much when nobody is around? → likely sensory
What to do once you know
Knowing the function points to three moves that work together.
- Prevent. Adjust what happens beforehand so the behavior is less likely to be needed. If a behavior gets escape from a hard task, make the task easier to start, shorten it or build in breaks before frustration hits.
- Teach a replacement that serves the same function. This is the heart of it. The replacement has to be easier and more reliable than the behavior it replaces, or your child will sensibly stick with what works. If screaming gets a break, teach asking for a break — and honour that request immediately and every time at first.
- Change what follows. Make sure the challenging behavior no longer produces the outcome as efficiently, while the replacement reliably does. Expect a temporary increase before improvement — the extinction burst described in the article on tantrums.
Skipping step two is the most common failure. Prevention plus consequences, with no new skill taught, tends to produce short-lived improvement followed by the return of the behavior or the arrival of a new one.
Where a parent’s guesswork runs out
Informal observation gets you a long way, and for a lot of everyday concerns it is enough. It has limits worth naming honestly.
Functions are not always obvious. Behaviors that serve multiple functions, behaviors that look identical but differ by setting, and behaviors involving aggression or safety usually warrant a formal assessment by a qualified professional. Guessing wrong on a serious behavior costs real time and can make things worse.
It is also genuinely hard to observe your own family objectively. You are not a neutral party — you are in the situation, usually tired, often the target. That is not a personal failing; it is a structural problem that an outside perspective solves.
Not Sure What Is Driving the Behavior?
That is a good reason to talk to someone. A free 30-minute consultation can often narrow it down considerably.
Keep reading
How to Handle Tantrums Without Making Them Worse
Tantrums · 8 min read — Function theory applied to the most common concern parents raise.
Why Does My Child Ignore Directions?
Parent Coaching · 7 min read — Six reasons instructions get ignored, and what to change.
