Detect Evil and Good

1st-Level Divination
Casting Time: Action
Range: Self
Components: VS
Duration: (C) 10 minutes

Effect. For the duration, you know if there is an aberration, celestial, elemental, fey, fiend, or undead within 30 feet of you, as well as where the creature is located. Similarly, you know if there is a place or object within 30 feet of you that has been magically consecrated or desecrated.
Special. 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.
At Higher Levels.
  • 3rd or 4th level: The duration is 1 hour.
  • 5th or 6th level: The duration is 8 hours.
  • 7th or 8th level: The duration is 8 hours, but the range within which you can sense things is expanded to be within 100 feet of you.
  • 9th level or higher: The range within which you can sense things is expanded to be within 300 feet of you.

Source: PHB 231, SRD

Changelog