Alarm

1st-level abjuration (ritual) · D&D 5e (SRD)

2024 rules (SRD 5.2.1)

Casting Time: 1 minute
Range: 30 feet
Components: V, S, M (a bell and silver wire)
Duration: 8 hours

You set an alarm against intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot Cube. Until the spell ends, an alarm alerts you whenever a creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is audible or mental:

Audible Alarm

The alarm produces the sound of a handbell for 10 seconds within 60 feet of the warded area.

Mental Alarm

You are alerted by a mental ping if you are within 1 mile of the warded area. This ping awakens you if you're asleep.

2014 rules (SRD 5.1)

Casting Time: 1 minute
Range: 30 feet
Components: V, S, M (a tiny bell and a piece of fine silver wire)
Duration: 8 hours

You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible.

A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.

An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet.