Detect Magic

SpellPHBp. 2312014SRD
Level
1 · Divination
Casting time
1 action
Range
Self
Components
V, S
Duration
Concentration, up to 10 minutes

For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any.

The spell can penetrate most barriers, but it is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.

Raw data
{
  "srd": true,
  "meta": {
    "ritual": true
  },
  "name": "Detect Magic",
  "page": 231,
  "time": [
    {
      "unit": "action",
      "number": 1
    }
  ],
  "feats": [
    {
      "name": "Aberrant Dragonmark",
      "source": "EFA"
    },
    {
      "name": "Boon of Siberys",
      "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": "Firbolg",
      "source": "MPMM"
    },
    {
      "name": "Firbolg",
      "source": "VGM"
    },
    {
      "name": "Half-Elf (Variant; Mark of Detection)",
      "source": "ERLW",
      "baseName": "Half-Elf",
      "baseSource": "PHB"
    }
  ],
  "range": {
    "type": "point",
    "distance": {
      "type": "self"
    }
  },
  "__prop": "spell",
  "school": "D",
  "source": "PHB",
  "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": "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": "PHB"
      },
      {
        "name": "Cleric",
        "source": "PHB"
      },
      {
        "name": "Druid",
        "source": "PHB"
      },
      {
        "name": "Paladin",
        "source": "PHB"
      },
      {
        "name": "Ranger",
        "source": "PHB"
      },
      {
        "name": "Sorcerer",
        "source": "PHB"
      },
      {
        "name": "Wizard",
        "source": "PHB"
      },
      {
        "name": "Artificer",
        "source": "TCE"
      }
    ]
  },
  "entries": [
    "For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its {@book school of magic|PHB|10|The Schools of Magic}, if any.",
    "The spell can penetrate most barriers, but it is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt."
  ],
  "rewards": [
    {
      "name": "Kruphix's Devotee",
      "source": "MOT"
    }
  ],
  "duration": [
    {
      "type": "timed",
      "duration": {
        "type": "minute",
        "amount": 10
      },
      "concentration": true
    }
  ],
  "_tmpFeats": [],
  "_tmpRaces": [],
  "_tmpGroups": [],
  "basicRules": true,
  "components": {
    "s": true,
    "v": true
  },
  "_tmpClasses": {},
  "reprintedAs": [
    "Detect Magic|XPHB"
  ],
  "_isMutEntity": true,
  "otherSources": [
    {
      "page": 52,
      "source": "RMR"
    }
  ],
  "_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": [
    "AitFR-THP",
    "BGDIA",
    "CM",
    "CoS",
    "CRCotN",
    "DC",
    "DIP",
    "DoSI",
    "DSotDQ",
    "EFR",
    "FS",
    "GoS",
    "HFStCM",
    "IDRotF",
    "IMR",
    "JttRC",
    "KftGV",
    "LK",
    "LMoP",
    "OotA",
    "OoW",
    "PaBTSO",
    "PotA",
    "QftIS",
    "RMBRE",
    "RoT",
    "RtG",
    "SCC-ARiR",
    "SCC-TMM",
    "SDW",
    "SjA",
    "SKT",
    "TftYP-AtG",
    "TftYP-DiT",
    "TftYP-THSoT",
    "TftYP-ToH",
    "TftYP-TSC",
    "TftYP-WPM",
    "ToA",
    "ToFW",
    "TTP",
    "VEoR",
    "VNotEE",
    "WBtW",
    "WDH",
    "WDMM",
    "XMtS"
  ],
  "_tmpOptionalfeatures": []
}