Opportunity Attacks 5e: What Triggers Them and How to Avoid Them

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.

Chibi orc swinging a club at a rogue running out of reach

The opportunity attack rule (2014 PHB)

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

SituationProvokes?
Walking out of an enemy’s reachYes
Dashing out of reachYes, Dash only adds movement
Moving from one square to another while staying within reachNo
Taking the Disengage action firstNo
Teleporting away (misty step, dimension door)No
Being shoved, pulled or pushed by someone elseNo
Being knocked back by thunderwave or eldritch blast with Repelling BlastNo
Standing up from proneNo
Casting a spell or shooting a bow while adjacentNo (though a ranged attack has disadvantage)
Moving out of reach of an enemy that can’t see youNo
Moving out of reach of an incapacitated enemyNo, 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


Feats and features that change opportunity attacks

FeatureWhat it does (2014)
SentinelA 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 MasterCreatures provoke when they enter your reach while you wield a qualifying polearm, such as a glaive, halberd or pike.
War CasterInstead of a melee attack, cast a spell with a casting time of 1 action that targets only the provoking creature.
MobileWhen 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.

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


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

As an Amazon Associate we earn from qualifying purchases, at no extra cost to you. More about this.

← All articles

Free: Class Quick Reference

All 12 Player's Handbook classes on one printable page each: levels 1 to 5, subclasses, a standard array and the mistakes new players make. Leave your email and the 12-page PDF is yours, plus the occasional new guide.