When Dispel Magic 5e is used to end a spell of 4th level or higher, the caster must make a spellcasting ability check. This check is a d20 roll plus their spellcasting ability modifier (e.g., Intelligence for Wizards, Charisma for Sorcerers). The difficulty class (DC) is 10 + the spell’s level.