Dispel Magic

Level & School
3rd-level abjuration
Casting Time
Action
Range
120 feet
Components
V, S
Duration
Instantaneous
Classes
Bard, Cleric, Druid, Paladin, Ranger, Sorcerer, Warlock, Wizard

Choose one creature, object, or magical effect within range. Any ongoing spell of level 3 or lower on the target ends. For each ongoing spell of level 4 or higher on the target, make an ability check using your spellcasting ability (DC 10 plus that spell's level). On a successful check, the spell ends.

Using a Higher-Level Spell Slot. You automatically end a spell on the target if the spell's level is equal to or less than the level of the spell slot you use.

Level & School
3rd-level abjuration
Casting Time
Action
Range
120 feet
Components
V, S
Duration
Instantaneous
Classes
Bard, Cleric, Druid, Paladin, Sorcerer, Warlock, Wizard

Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, the spell ends.

Using a Higher-Level Spell Slot. When you cast this spell using a spell slot of 4th level or higher, you automatically end the effects of a spell on the target if the spell's level is equal to or less than the level of the spell slot you used.

Dispel Magic 5.5e 2024 vs. 5e 2014 edition differences

The 2024 version states "ongoing spell" instead of just "spell," clarifying it affects active spells. It adds "ranger" to classes. The automatic end effect now applies to spells of level equal to or less than the spell slot level, removing the previous wording about "effects of a spell."