Spell resistance

Spell resistance is the equivalent of armor versus spells.

A caster level check (1d20 + caster level) must meet or beat your spell resistance or the spell has no effect, however, not all spells have to overcome spell resistance.