Detect Magic
1st-level · Divination · Ritual
Casting Time 1 action
Range 30 feet
Components V, S
Duration Up to 10 minutes (concentration)
Classes Artificer, Bard, Cleric, Druid, Herald, Sorcerer, Wizard
Until the spell ends, you automatically sense the presence of magic within range, and you can use an action to study the aura of a magic effect to learn its schools of magic (if any).
The spell penetrates most barriers but is blocked by 3 feet of wood or dirt, 1 foot of stone, 1 inch of common metal, or a thin sheet of lead.
At Higher Levels
When using a 2nd-level spell slot or higher, the spell no longer requires your concentration. When using a 3rd-level spell slot or higher, the duration increases to 1 hour. When using a 4th-level spell slot or higher, the duration increases to 8 hours.
Source: Level Up Advanced 5e · OGL/Open