Dota 2 Wiki
Spell Immunity

Default buff icon
Error sound

▶️ Magic shall not prevail!

Spell immunity (formerly known as magic immunity) is a modifier which prevents most spells to target the affected unit. This includes single-targeted, area of effect, passive and active abilities.

Spell immunity may be the main part of a spell, but it also is used as an extra layer of protection by some abilities (usually combined with invulnerability).


Visage under the effect of Black King Bar icon.png Black King Bar

Spell immunity is a status effect (also known as modifier). Most abilities in the game first check whether or not the unit has the spell immunity modifier on. If the modifier is present, single target abilities cannot target the unit at all, while area of effect abilities ignore the unit and already ongoing effects may stop affecting it. However, some abilities (and most ultimates) pierce spell immunity and can fully target and affect spell immune units.

Usually, a spell either fully pierces spell immunity, or it is fully blocked. However, there are a few exceptions to this rule. Whether or not a spell pierces spell immunity is noted down in the description boxes of each ability, right below the ability name.

When a unit turns spell immune while a projectile from an ability is already flying towards it, the projectile has no effect upon impact if the spell it originates from does not pierce spell immunity. The same applies to most, but not all delayed effects.

Spell immunity does not prevent regular attacks of any units. However, some attack modifiers do get blocked, but not all of them. Generally, all critical strikes, cleaves and most bashes pierce spell immunity.

Damage Interaction[]

Main Article: Damage Types

Spell immunity itself does not interact with damage at all. If an ability pierces spell immunity and has a damage component, its damage will still be applied normally, regardless of its damage type. Therefore, spell immunity only governs if an ability has any effect, not its damage types (nor its damage values).

A 0 damage instance is still registered and still may proc on-damage effect, unless it is flagged as HP Removal.

If an ability does not pierce spell immunity, it does not attempt to damage spell immune units either, regardless of the damage type. In order for an ability to damage spell immune units, it must be set to pierce spell immunity, or it must be already affecting it in case of buffs/debuffs.


Most sources of spell immunity also dispel the target upon getting applied, removing all buffs or debuffs a basic dispel can remove. The dispel applied by spell immunities is usually a basic dispel. However, not all of them apply a dispel, and some apply a strong dispel. A list of dispellable effects can be found here.

Since dispels only remove buffs from enemies and debuffs from allies, it is possible for units to turn spell immune without losing any buffs or debuffs, however, since spell immunity cannot be applied to enemies, it cannot be done in a regular match. In this case, most buffs/debuffs still apply their effects normally. Only a few of them are inactive while the unit is spell immune. This means that a damage-over time spell may still damage the unit. [1]


Spell Immunity Sources

Non-hero Units[]

Spell Immunity
Not disabled by Break.
Spell Immunity icon.png
This unit does not feel the effects from magical damage sources.
Modifiers [?]


  • Spell immunity is either gained through a passive ability, a status buff or a visual indicator.
  • With a status buff, it is possible for enemies to check the buff and Ping the remaining duration of the unit.
    • Some units' ability uses the other Spell Immunity old icon.png spell immunity icon.

Non-hero Units with Neutral Spell Immunity Granted

Spell immunity on allies[]

Every not-targeted spell, be it an area spell or a spell which affects self upon cast, pierces spell immunity for allies and self, with a very few exceptions listed below. All runes apply their effect on spell immune units.

Spell immunity on enemies[]

Spells interact very differently when facing spell immune enemies. Most of them cannot affect spell immune units, some of them can only affect them partially, and some fully pierce spell immunity.


  1. This was tested with Repel before the 7.00 gameplay patch, when it was able to target enemies.