Detect Magic

SpellXPHBp. 2622024SRD
Level
1 · Divination
Casting time
1 action
Range
Self (30 feet sphere)
Components
V, S
Duration
Concentration, up to 10 minutes

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 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.

Raw data
{
  "meta": {
    "ritual": true
  },
  "name": "Detect Magic",
  "page": 262,
  "time": [
    {
      "unit": "action",
      "number": 1
    }
  ],
  "feats": [
    {
      "name": "Aberrant Dragonmark",
      "source": "EFA"
    },
    {
      "name": "Boon of Siberys",
      "source": "EFA"
    },
    {
      "name": "Mark of Detection",
      "source": "EFA"
    },
    {
      "name": "Aberrant Dragonmark",
      "source": "ERLW"
    },
    {
      "name": "Artificer Initiate",
      "source": "TCE"
    },
    {
      "name": "Fey Touched",
      "source": "TCE"
    },
    {
      "name": "Divinely Favored",
      "source": "DSotDQ"
    },
    {
      "name": "Drow High Magic",
      "source": "XGE"
    },
    {
      "name": "Fey-Touched",
      "source": "XPHB"
    },
    {
      "name": "Magic Initiate",
      "source": "XPHB"
    },
    {
      "name": "Ritual Caster",
      "source": "XPHB"
    },
    {
      "name": "Magic Initiate",
      "source": "PHB"
    },
    {
      "name": "Ritual Caster",
      "source": "PHB"
    },
    {
      "name": "Quicksmithing",
      "source": "PSK"
    },
    {
      "name": "Strixhaven Initiate",
      "source": "SCC"
    }
  ],
  "level": 1,
  "races": [
    {
      "name": "Elf",
      "source": "XPHB"
    },
    {
      "name": "Firbolg",
      "source": "MPMM"
    },
    {
      "name": "Firbolg",
      "source": "VGM"
    },
    {
      "name": "Half-Elf (Variant; Mark of Detection)",
      "source": "ERLW",
      "baseName": "Half-Elf",
      "baseSource": "PHB"
    }
  ],
  "range": {
    "type": "sphere",
    "distance": {
      "type": "feet",
      "amount": 30
    }
  },
  "srd52": true,
  "__prop": "spell",
  "school": "D",
  "source": "XPHB",
  "classes": {
    "fromSubclass": [
      {
        "class": {
          "name": "Bard",
          "source": "XPHB"
        },
        "subclass": {
          "name": "College of Lore",
          "source": "XPHB",
          "shortName": "Lore"
        }
      },
      {
        "class": {
          "name": "Cleric",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Arcana Domain",
          "source": "SCAG",
          "shortName": "Arcana"
        }
      },
      {
        "class": {
          "name": "Cleric",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Knowledge Domain",
          "source": "FRHoF",
          "shortName": "Knowledge"
        }
      },
      {
        "class": {
          "name": "Fighter",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Eldritch Knight",
          "source": "XPHB",
          "shortName": "Eldritch Knight"
        }
      },
      {
        "class": {
          "name": "Paladin",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Oath of the Watchers",
          "source": "TCE",
          "shortName": "Watchers"
        }
      },
      {
        "class": {
          "name": "Rogue",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Arcane Trickster",
          "source": "XPHB",
          "shortName": "Arcane Trickster"
        }
      },
      {
        "class": {
          "name": "Sorcerer",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Divine Soul",
          "source": "XGE",
          "shortName": "Divine Soul"
        }
      },
      {
        "class": {
          "name": "Wizard",
          "source": "XPHB"
        },
        "subclass": {
          "name": "Diviner",
          "source": "XPHB",
          "shortName": "Diviner"
        }
      },
      {
        "class": {
          "name": "Cleric",
          "source": "PHB"
        },
        "subclass": {
          "name": "Arcana Domain",
          "source": "SCAG",
          "shortName": "Arcana"
        }
      },
      {
        "class": {
          "name": "Fighter",
          "source": "PHB"
        },
        "subclass": {
          "name": "Eldritch Knight",
          "source": "PHB",
          "shortName": "Eldritch Knight"
        }
      },
      {
        "class": {
          "name": "Paladin",
          "source": "PHB"
        },
        "subclass": {
          "name": "Oath of the Watchers",
          "source": "TCE",
          "shortName": "Watchers"
        }
      },
      {
        "class": {
          "name": "Rogue",
          "source": "PHB"
        },
        "subclass": {
          "name": "Arcane Trickster",
          "source": "PHB",
          "shortName": "Arcane Trickster"
        }
      },
      {
        "class": {
          "name": "Sorcerer",
          "source": "PHB"
        },
        "subclass": {
          "name": "Divine Soul",
          "source": "XGE",
          "shortName": "Divine Soul"
        }
      }
    ],
    "fromClassList": [
      {
        "name": "Bard",
        "source": "XPHB"
      },
      {
        "name": "Cleric",
        "source": "XPHB"
      },
      {
        "name": "Druid",
        "source": "XPHB"
      },
      {
        "name": "Ranger",
        "source": "XPHB"
      },
      {
        "name": "Sorcerer",
        "source": "XPHB"
      },
      {
        "name": "Warlock",
        "source": "XPHB"
      },
      {
        "name": "Wizard",
        "source": "XPHB"
      },
      {
        "name": "Paladin",
        "source": "XPHB"
      },
      {
        "name": "Artificer",
        "source": "EFA"
      }
    ]
  },
  "entries": [
    "For the duration, you sense the presence of magical effects within 30 feet of yourself. If you sense such effects, you can take the {@action Magic|XPHB} 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 {@book school of magic|XPHB|7|Schools of Magic}.",
    "The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead."
  ],
  "rewards": [
    {
      "name": "Kruphix's Devotee",
      "source": "MOT"
    }
  ],
  "duration": [
    {
      "type": "timed",
      "duration": {
        "type": "minute",
        "amount": 10
      },
      "concentration": true
    }
  ],
  "_tmpFeats": [],
  "_tmpRaces": [],
  "_tmpGroups": [],
  "components": {
    "s": true,
    "v": true
  },
  "_tmpClasses": {},
  "_isMutEntity": true,
  "basicRules2024": true,
  "_tmpBackgrounds": [],
  "_tmpSourcesInit": true,
  "optionalfeatures": [
    {
      "name": "Book of Ancient Secrets",
      "source": "PHB",
      "featureType": [
        "EI"
      ]
    },
    {
      "name": "Eldritch Sight",
      "source": "PHB",
      "featureType": [
        "EI"
      ]
    },
    {
      "name": "Pact of the Tome",
      "source": "XPHB",
      "featureType": [
        "EI"
      ]
    }
  ],
  "referenceSources": [
    "DrDe-TDoN",
    "DrDe-TWoO",
    "UtHftLH"
  ],
  "_tmpOptionalfeatures": []
}