How opportunity attacks work in 5e (2024 rules)
Use this when a creature leaves your reach.“You can make an Opportunity Attack when a creature that you can see leaves your reach using its action, its Bonus Action, its Reaction, or one of its speeds.”
How to do it
When do you get an opportunity attack?
The attack is one melee attack with a weapon or an Unarmed Strike, and it happens just before the creature leaves. Your reach is 5 feet unless a rule says otherwise.
“To make the Opportunity Attack, take a Reaction to make one melee attack with a weapon or an Unarmed Strike against the provoking creature. The attack occurs right before the creature leaves your reach.”
“A creature has a reach of 5 feet unless a rule says otherwise.”
“The Opportunity Attack is a Reaction available to all creatures.”
Disengage stops it for the turn
If the creature took the Disengage action, its movement does not provoke Opportunity Attacks for the rest of the turn.
“If you take the Disengage action, your movement doesn’t provoke Opportunity Attacks for the rest of the current turn.”
Teleporting does not provoke one
Teleporting does not provoke an Opportunity Attack.
“This transportation doesn’t expend movement unless a rule tells you otherwise, and teleportation never provokes Opportunity Attacks.”
What can follow
Use it at your table
Gatherune’s D&D 2024 character sheets show the rules these steps cite as cards, in the SRD’s own words.