# If a spellcaster moves toward an enemy and touches them to make a spell attack, then moves away, does it provoke an opportunity attack? [duplicate]

If a spellcaster wants to move 10 feet toward a monster, touch it for a spell attack, and then move back 10 feet, does the monster get an opportunity attack when the magic user moves back?

Or can the magic user only move back 5 feet without incurring an opportunity attack?

I thought about the Disengage action, but it uses one's entire action.

Yes, the monster gets an opportunity attack; as with any character attempting a similar kind of advance -> act -> retreat.

As for the 5 foot move part of your question: that is an earlier edition rule and no longer appears in 5th edition. So you provoke an opportunity attack as soon as you leave the creature's reach; and in most cases 5 foot is just beyond reach.

And yes, the Disengage action would be required to avoid an opportunity attack, but typically defeats the purpose because it takes up the action that would be used to to cast the spell in the first place.

However, many classes do gain abilities at higher levels that enable them to advance -> act -> retreat without provoking an opportunity attack. As an example, Wizards have the level 2 spell Misty Step.

teleport (which doesn't provoke an opportunity attack) to an unoccupied space up to 30 feet that you can see.

This spell is cast as a bonus action. But it does have the restriction that your attack spell must be a cantrip with a casting time of 1 action.

• So dig a little deeper into what your class can do.
• Or consider taking low levels in another class (E.g. Level 2 Monk can spend ki points to disengage as a bonus action.)
• And take a look at what feats can help you. (E.g. The Mobile feat is applicable because it doesn't differentiate whether the melee attack is a weapon or spell attack.)

In the right "critical moment" advance -> act -> retreat can have spectacular benefits. However, do bear in mind that trying too hard to avoid the opportunity attack in that situation will be "expensive": In the sense that it often takes the place of abilities that are more cohesive with the rest of your class. And it may use up resources such as: bonus action for a round, spell slots; which might have been put to better use in another way.

Side Notes

A few things things to bear in mind:

• If a creature has already used its reaction for the round, it is (in most cases) unable to make an opportunity attack.
• If a creature has in some way been incapacitated, it is unable to use actions/reactions and so cannot make opportunity attacks.
• If a creature has disadvantage on attack rolls, you're more likely to retreat safely even if it does take an opportunity attack.
• A bit of teamwork can also help: An ally can use an attack action to shove an enemy (or even shove you) out of its reach.
• You can avoid provoking an opportunity attack by taking the Disengage action. You also don't provoke an opportunity attack when you teleport or when someone or something moves you without using your movement, action, or reaction. For example, you don't provoke an opportunity attack if an explosion hurls you out of a foe's reach or if gravity causes you to fall past an enemy. Basic. Rules. Aug 20, 2020 at 19:42
• @Markus I don't see how your comment adds anything not already covered in the post? .... Your 1st sentence is covered in para 3. The rest of your comment is covered in some detail in the middle.; plus last sentence might not specifically mention "explosions or gravity" but it covers involuntary movement. Aug 21, 2020 at 0:38

If you leave a hostile creature's reach during your move, you provoke an opportunity attack…

—PH page 191

If your target's reach is only 5 ft, then yes moving away will provoke an opportunity attack. Usually. For example, the cantrip shocking grasp robs its target of its reaction, so it can't make opportunity attacks. But that's the exception, not the rule.

As you pointed out, you may use the disengage action to not provoke opportunity attacks with your movement, but that is an action for magic-using classes. Both monks and rogues get a feature at 2nd level that allows you to spend a bonus action to disengage.

Yes, your movement provokes opportunity attacks. Unless you use a spell or feature that either prevents your target from using reactions or allows you to use a bonus action to disengage, you will provoke when you move out of their reach.

• Well.. ""You also don’t provoke an opportunity Attack when you Teleport or when someone or something moves you without using your Movement, action, or reaction." Not true Aug 20, 2020 at 19:41