Simple Redstone Alarm System

This toggleable redstone alarm system uses an invisible string over an observer floor to detect players walking through a doorway or security gate. A lever lets you arm or disarm the system—switching an optional beacon beam between green (safe) and red (armed) while sounding a rapid note block alarm whenever an intruder crosses.

Locks & SecurityBeginnerJava & Bedrock
Simple Redstone Alarm System video tutorial

Video: How to Build a Minecraft Alarm System- [Redstone Tutorial] by TrackKing25

How to build it

  1. Build the optional beacon base

    Place a 3x3 grid of mineral blocks (such as iron blocks) in the ground and set a Beacon in the center. If you do not have a beacon in survival, you can skip the beacon and its base—the alarm circuit will still work without it.

  2. Set up the glass and slime slider

    Sneak and place a Red Stained Glass block directly on top of the beacon, then place a Green Stained Glass block beside it. Attach a Slime Block next to the green glass and place a Sticky Piston facing the slime block so it can push and pull the glass over the beacon.

  3. Add the slime arm and redstone block

    Attach three more Slime Blocks to the first slime block to form an arm extending to the side. Place a Block of Redstone on the end of this slime structure so it moves back and forth whenever the sticky piston extends or retracts.

  4. Install the floor observers and obsidian

    In the floor in front of the beacon, place two Observers horizontally in a line, then dig underneath them and place two more Observers facing downward. Put two Obsidian blocks underneath those lower observers and one Obsidian block on top of the sticky piston so the slime structure cannot grab surrounding blocks.

  5. Wire the repeater and redstone line

    Next to the movable Block of Redstone, step down one block and place two building blocks leading back toward the floor observers. Place one Redstone Repeater on the end, a second Redstone Repeater set to 2 ticks, and connect the remaining blocks with Redstone Dust.

  6. Build the comparator pulse extender and alarm

    Behind the repeater, place a block up and build a small 2x3 platform of six blocks for a comparator loop. Place two Redstone Comparators facing opposite directions surrounded by Redstone Dust, then place an Observer watching the dust with a Note Block directly in front of its output.

  7. Add the arm/disarm lever

    Fill in the surrounding floor platform and place two solid building blocks near the sticky piston with a Lever attached. Flipping this lever powers the sticky piston, sliding the green or red glass over the beacon and moving the Block of Redstone into or out of position.

  8. Place the string trigger and doorway

    Cover the beacon hole with a transparent block so the beam can shine through, then place a piece of String across the floor in front of the observer. Build a doorframe or walls around the path so players must walk over the string.

How it works

This security circuit combines a hidden tripwire observer trigger with a piston-controlled gating mechanism:

  • Arming & Disarming (Slime Slider): Toggling the lever extends or retracts the sticky piston. Because the stained glass, 4 slime blocks, and the Block of Redstone are connected, switching the lever simultaneously changes the beacon color between green and red and slides the redstone block into or out of the circuit. Obsidian prevents the slime blocks from sticking to the floor or the piston housing.
  • Intruder Detection: A piece of string sits in front of the floor observer. When a player walks through the string, its state changes and the observer fires a short redstone pulse into the repeater and dust line.
  • Alarm Siren: When the system is armed (red), the movable Block of Redstone and repeater line allow the signal to reach the two-comparator decay loop (pulse extender). As the signal cycles and fades through the comparator loop, the final observer detects each state change and rapidly pulses the Note Block to create an alarm sound.

Tips & variations

  • No Beacon Required: If you are building this early in survival, you can omit the beacon and 3x3 mineral base entirely; the red and green glass above the floor still acts as a visual indicator for whether the alarm is armed.
  • Remote Control: You do not need to keep the lever right next to the gate. Run a redstone line from a hidden control room or security desk straight into the sticky piston to arm the door from afar.
  • Custom Alarm Pitch: Right-click the note block to tune the pitch, or place different blocks underneath the note block (such as gold for a bell chime or iron for a xylophone) to customize your security siren.
  • Use Non-Stick Blocks: Always use obsidian, glazed terracotta, or other immovable blocks around the slime block arm so the sticky piston does not hit the 12-block push limit.

Frequently asked questions

Does this alarm system work without a beacon?
Yes. The beacon only provides a colored light beam for visual effect. You can remove the beacon and the 3x3 mineral base and the string detector and note block alarm will still function normally.
Does this redstone alarm work on both Java and Bedrock Edition?
Yes, this build uses basic slime block movement, observers, and a comparator pulse extender that work in both Minecraft Java and Bedrock Editions (1.19+).
Why isn't my sticky piston moving the glass and redstone block?
Check that no regular floor blocks are touching the four slime blocks. Any adjacent blocks that aren't meant to move must be replaced with obsidian or another immovable block so the piston doesn't exceed its 12-block push limit.

Components used

More alarm / intruder detector