Automatic Bedtime Bell Alarm

Stop spam-clicking your bed at sunset to see if you can sleep yet. This ultra-simple redstone circuit uses an inverted daylight detector to ring a bell at the exact tick night falls and beds become usable. It is an essential, beginner-friendly quality-of-life addition for any survival base or village.

Locks & SecurityBeginnerJava Edition
Automatic Bedtime Bell Alarm video tutorial

Video: Automatic Bedtime Bell Alarm with a Daylight Sensor | Minecraft Redstone Guide by Crafted

How to build it

  1. Place the Daylight Detector

    Find a spot outside or under a glass roof with direct access to the sky and place down your daylight detector.

  2. Run the Redstone Dust Line

    Starting directly next to the daylight detector, place a straight line of 4 redstone dust moving away from it.

  3. Add the Redstone Repeater

    At the end of the 4-block redstone dust line, place a redstone repeater facing away from the dust. Leave it on its default 1-tick (no extra delay) setting.

  4. Attach the Bell and Set to Night Mode

    Place your bell directly in front of the repeater's output. Finally, right-click (or interact with) the daylight detector to toggle it into inverted night mode (the sensor pads will turn blue).

How it works

This circuit relies on signal-strength mechanics from the daylight detector:

  • When toggled to night mode (inverted), a daylight detector outputs a stronger redstone signal as the sky gets darker.
  • During the day, the signal output is 0. As the sun begins to set, the signal strength gradually ticks up from 1 to 3.
  • Because the redstone dust line is exactly 4 blocks long, signals of strength 1 through 3 decay before reaching the repeater.
  • At the exact moment the game allows players to sleep in a bed, the inverted detector's output reaches a signal strength of 4.
  • This 4th level of power reaches the end of the dust line and activates the redstone repeater, which boosts the signal and rings the bell once to alert you.

Tips & variations

  • Clear Sky Access: Make sure no opaque blocks are directly above the daylight detector, as blocked skylight alters the signal strength timing. Transparent blocks like glass are fine.
  • Common Mistake: Forgetting to invert the daylight detector! If left in standard daylight mode, the bell will ring early in the morning instead of at bedtime.
  • Louder Alarms: If a single chime isn't enough, you can branch the output after the repeater into a row of note blocks on different tick delays to create a custom bedtime melody.
  • Weather Behavior: Rain and thunderstorms darken the sky earlier, which increases the inverted detector's signal strength and rings the bell sooner—matching the fact that you can sleep earlier during storms.

Frequently asked questions

Why does the redstone line need to be exactly 4 blocks long?
An inverted daylight detector reaches a signal strength of 4 at the exact time of evening when Minecraft allows players to enter a bed. Using 4 redstone dust ensures the repeater only activates when that threshold is met.
How do I get a bell in Survival Minecraft?
Bells cannot be crafted. You can mine one from the center of nearly any generated village, or buy one from an Apprentice-level Armorer, Weaponsmith, or Toolsmith villager for 36 emeralds.
Can I hide this circuit underground?
Yes, as long as the daylight detector has a clear column of air or transparent blocks (like glass) directly above it leading to the open sky so it can read the skylight level accurately.

Components used

More alarm / intruder detector