Opportunity Attacks 5e: What Triggers Them and How to Avoid Them
1 April 2026
Printable: all 15 conditions, saving throws, actions, rests and cover on 7 illustrated cheat sheet pages. Get the PDF ($4.99)
Opportunity attacks are melee etiquette written into the rules: if you turn your back and walk away from a monster without being careful, it gets a free swing as you go. It’s the reason new players sometimes take a lethal hit just for moving, and the reason experienced players think about reach before they touch their miniature.
This guide covers the exact trigger, everything that doesn’t provoke, the feats that change it, a worked example and the 2024 differences. For reactions in general, see how reactions work.
The opportunity attack rule (2014 PHB)
- Trigger: a hostile creature that you can see moves out of your reach.
- Cost: your reaction. You get one per round, and it refreshes at the start of your turn.
- The attack: one melee attack against the provoking creature. Not the whole Attack action, so Extra Attack doesn’t apply.
- Timing: the attack happens right before the creature leaves your reach.
- Your choice: you don’t have to take it. You might save your reaction for shield, counterspell or a readied action.
Reach is normally 5 feet. A reach weapon like a glaive, halberd, pike or whip extends it to 10 feet, and some large monsters have 10 or 15 feet of reach.
What does and doesn’t provoke
| Situation | Provokes? |
|---|---|
| Walking out of an enemy’s reach | Yes |
| Dashing out of reach | Yes, Dash only adds movement |
| Moving from one square to another while staying within reach | No |
| Taking the Disengage action first | No |
| Teleporting away (misty step, dimension door) | No |
| Being shoved, pulled or pushed by someone else | No |
| Being knocked back by thunderwave or eldritch blast with Repelling Blast | No |
| Standing up from prone | No |
| Casting a spell or shooting a bow while adjacent | No (though a ranged attack has disadvantage) |
| Moving out of reach of an enemy that can’t see you | No |
| Moving out of reach of an incapacitated enemy | No, it can’t take reactions |
The key phrase in the rules is that a creature doesn’t provoke when “someone or something moves you without using your movement, action, or reaction.” That’s why shoving an enemy away from an ally is safe, and why grappling and dragging a creature doesn’t give its friends free hits against it.
How to leave melee safely
- Disengage as an action, or as a bonus action with a rogue’s Cunning Action or a monk’s Step of the Wind. See Dodge, Dash and Disengage.
- Teleport with misty step (a bonus action) and still use your action.
- Kill or disable the enemy first. Sometimes the safest exit is ending the threat this turn.
- Get pulled out. An ally can shove the enemy away, or carry you off on their turn.
- Spend the reaction first. If you know the enemy already used its reaction this round, it can’t make an opportunity attack.
Feats and features that change opportunity attacks
| Feature | What it does (2014) |
|---|---|
| Sentinel | A hit reduces the creature’s speed to 0 for the rest of the turn. Creatures provoke even if they Disengage. You can also use your reaction to attack a creature within 5 feet that attacks someone other than you. |
| Polearm Master | Creatures provoke when they enter your reach while you wield a qualifying polearm, such as a glaive, halberd or pike. |
| War Caster | Instead of a melee attack, cast a spell with a casting time of 1 action that targets only the provoking creature. |
| Mobile | When you make a melee attack against a creature, you don’t provoke from it for the rest of the turn, hit or miss. |
| Owl familiar (Flyby) | It doesn’t provoke when it flies out of an enemy’s reach. |
Rogues should also note: Sneak Attack is once per turn, so an opportunity attack on an enemy’s turn can carry its own Sneak Attack damage.
A worked example
A 5th-level fighter with Sentinel (longsword, +7 to hit, 1d8 + 4) is guarding a wizard. A hobgoblin (AC 18, speed 30) is next to the fighter and wants to reach the wizard 25 feet away.
- The hobgoblin moves away. It leaves the fighter’s reach, which provokes. The fighter uses their reaction and attacks right before it leaves. The fighter needs an 11 or higher on the die (11 + 7 = 18), a 50% chance.
- On a hit: 1d8 + 4 damage, and Sentinel sets the hobgoblin’s speed to 0. It’s stuck next to the fighter for the rest of its turn.
- If it had Disengaged instead: without Sentinel, the fighter couldn’t react. With Sentinel, it provokes anyway.
- Later that round: a goblin also runs past the fighter. The fighter’s reaction is already spent, so the goblin gets through untouched.
That last point is the most common thing tables forget: one reaction per round means one opportunity attack per round. If you’re the DM, tick off reactions as they’re used in the free initiative tracker, and the question “does it still have its reaction?” answers itself.
What changed in the 2024 rules
The trigger and the exceptions are essentially the same: you react when a creature you can see leaves your reach, the attack happens right before it leaves, and Disengage, teleportation and forced movement still don’t provoke. The 2024 text specifies that the attack is a melee attack with a weapon or an Unarmed Strike. Sentinel, Polearm Master and War Caster were rewritten, so check the 2024 feat text if you use them.
Common mistakes
- Using Extra Attack on an opportunity attack. It’s one attack.
- Taking two opportunity attacks in one round without a feature that allows it.
- Thinking Dash avoids them. Only Disengage, teleporting or forced movement does.
- Provoking from shoves. A creature you shove or push away doesn’t provoke from its allies.
- Moving within reach and calling it provoking. Circling an enemy is safe if you never leave its reach.
- Forgetting the enemy’s reach. A creature with a 10-foot reach gets the attack when you step from 10 feet to 15 feet away, not when you leave the adjacent square.
Related rules
-
Your reaction and everything that competes for it: reactions explained
-
Turn structure and timing: how D&D combat works
-
Shooting while an enemy is next to you: ranged attacks and thrown weapons
-
Reach, actions and conditions on one page for the DM: the online DM screen
-
Getting stuck in place instead: grappled condition and prone condition
Frequently asked questions
What triggers an opportunity attack in 5e?
A hostile creature you can see moving out of your reach. It has to leave your reach using its own movement, action or reaction. Moving around inside your reach doesn't count.
Do you provoke an opportunity attack when you are shoved or teleport?
No. Teleporting never provokes, and neither does being moved by someone or something else without using your own movement, action or reaction, such as a shove or thunderwave.
Can you make more than one opportunity attack per round?
Normally no. An opportunity attack uses your reaction, and you get one reaction per round. It comes back at the start of your next turn.
Does Extra Attack apply to opportunity attacks?
No. An opportunity attack is a single melee attack made with your reaction. Extra Attack only applies when you take the Attack action on your turn.
Can you Sneak Attack on an opportunity attack?
Yes, if the attack qualifies and you haven't used Sneak Attack yet that turn. Since the opportunity attack happens on another creature's turn, a rogue can often Sneak Attack twice in one round.
Does standing up from prone provoke an opportunity attack?
No. Standing up uses movement but doesn't move you out of anyone's reach. Crawling away out of reach would provoke.
Useful at the table
- Wet-erase battle mat Draw cover, terrain and reach in seconds.
- Painted miniatures Makes positioning, reach and flanking obvious at a glance.
- A good polyhedral dice set Every d4 to d20 you need, and a second set for advantage rolls.
As an Amazon Associate we earn from qualifying purchases, at no extra cost to you. More about this.