# Detect Magic
*1st-level, Divination (ritual)*
- **Casting time:** 1 action unless cast as a ritual
- **Range:** Self (30-feet sphere)
- **Components:** V, S
- **Duration:** Concentration, up to 10 minute
For the duration, you sense the presence of magical effects within 30 feet of yourself. If you sense such effects, you can take the [Magic](actions.md#Magic) action to see a faint aura around any visible creature or object in the area that bears the magic, and if an effect was created by a spell, you learn the spell's "school of magic".
The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead.
**Classes**: [Bard](list-spells-classes-bard.md); [Bard](list-spells-classes-bard.md); [Cleric](list-spells-classes-cleric.md); [Cleric](list-spells-classes-cleric.md); [Druid](list-spells-classes-druid.md); [Druid](list-spells-classes-druid.md); [Paladin](list-spells-classes-paladin.md); [Paladin](list-spells-classes-paladin.md); [Ranger](list-spells-classes-ranger.md); [Ranger](list-spells-classes-ranger.md); [Sorcerer](list-spells-classes-sorcerer.md); [Sorcerer](list-spells-classes-sorcerer.md); [Warlock](list-spells-classes-warlock.md); [Wizard](list-spells-classes-wizard.md); [Wizard](list-spells-classes-wizard.md); [Rogue (Arcane Trickster)](list-spells-classes-rogue-xphb-arcane-trickster-xphb.md); [Bard (College of Lore)](list-spells-classes-bard-xphb-college-of-lore-xphb.md); [Wizard (Diviner)](list-spells-classes-wizard-xphb-diviner-xphb.md); [Fighter (Eldritch Knight)](list-spells-classes-fighter-xphb-eldritch-knight-xphb.md)
*Source: Player's Handbook (2024) p. 262. Available in the Free Rules (2024)*