Compact Delay Timer

A delay timer (or pulse extender) lets a quick button press keep a door or contraption powered for as long as you want before automatically shutting off. This hopper-clock-based design lets you easily adjust the duration simply by changing the number of items inside the hoppers. It is great for adventure maps, gravel doors, or hidden base entrances that need to stay open long enough for you to walk through.

ClocksIntermediateJava Edition
Compact Delay Timer video tutorial

Video: Minecraft redstone Tutorial: Compact Delay Timer by Rocket43

How to build it

  1. Build the Button Input & T-Flip-Flop

    Place a solid block with a button on it, and run a redstone repeater out of the back of that block. Dig a one-block hole in front of the repeater and place a sticky piston facing up with a solid block on top of it.

  2. Add the Latching Piston

    Place a second repeater coming out of the block sitting on the upward piston (leave it on its default 1-tick delay). In front of that repeater, place a horizontal sticky piston facing away from the repeater with a block of redstone attached to its face.

  3. Set Up the Hopper Pair

    Leave a one-block gap past the redstone block's resting spot and place two hoppers facing directly into each other. Shift-click when placing the second hopper and break any temporary helper hopper so the nozzles connect in a closed loop.

  4. Place Comparators and Pistons

    Place a redstone comparator facing outward from each of the two hoppers, reading their contents into a solid block placed in front of each comparator. Put a piece of redstone dust on top of both blocks, then place two sticky pistons facing each other above/next to the hoppers with a single block of redstone between them so they can push it back and forth.

  5. Wire the Reset Torch Tower

    Extend a line of four solid blocks out to the side of the hopper clock and place a repeater running into a block with a redstone torch on top. Leave a one-block gap, place two more blocks with torches and redstone dust to invert and carry the signal across the top.

  6. Connect the Reset Line to the Latch

    Run a trail of redstone dust from the torch line back toward the input section and place a repeater running into the block over the upward-facing sticky piston. Place a redstone torch on the side to link the reset pulse so that when the hopper finishes transferring items, it toggles the input piston back.

  7. Load Items to Set the Delay

    Open one of the hoppers and place a stack of random filler items inside. The more items you add, the longer the timer will stay active after you press the button.

  8. Connect and Invert Your Door Output

    Run a redstone dust line from the timer's active side out to your door or mechanism. If you want the door to stay open while the timer runs and close when it finishes (or vice versa), invert the line using a block with a redstone torch on the side listening to the opposite hopper.

How it works

This circuit combines a piston toggle latch with an Etho-style hopper clock to create a long, adjustable pulse extender:

  • Triggering the Timer: Pressing the button sends a short pulse through the first repeater into the block above the vertical sticky piston. On Java Edition, a 1-tick pulse causes the sticky piston to spit out or pull back its block, toggling power to the second repeater and pushing the first Block of Redstone to start the cycle.
  • Hopper Transfer Phase: One of the two hoppers is locked by a Block of Redstone while the other is free to push items into it. As long as items remain in the draining hopper, its Redstone Comparator outputs a signal into the adjacent block and redstone dust, holding the corresponding sticky piston extended.
  • Automatic Reset: Once the last item transfers to the second hopper, the comparator turns off and the opposite comparator turns on, shifting the central redstone block. This change sends a pulse through the side repeater and redstone torch inverter line back to the input latch, resetting the first redstone block and closing your door.

Tips & variations

  • Adjusting the Time: Hoppers transfer items at roughly 2.5 items per second (0.4 seconds per item). Add more items for a longer open-door window, or remove items for a quick delay.
  • Signal Inversion: If your door opens when it should close, move the output torch or tap the signal from the opposite side of the hopper clock as shown at the end of the build.
  • Remote Button Placement: You do not need to keep the button directly on the circuit; simply replace the button with a redstone dust line leading from a button mounted next to your doorway.
  • Java vs. Bedrock Note: The vertical sticky piston with a block on top relies on Java Edition's 1-tick block-dropping behavior to act as a compact T-flip-flop. In Bedrock Edition, sticky pistons do not drop their blocks on a 1-tick pulse, so you will need a standard dropper/hopper T-flip-flop for the input latch.

Frequently asked questions

How do I change how long the door stays open?
Simply add or remove items inside the two hoppers. Every item adds roughly 0.4 seconds (8 redstone ticks) to the delay timer.
Why is my door open by default and closing when I press the button?
Your output signal needs to be inverted. Place a solid block in your output redstone line with a redstone torch on the far side, or connect your output wire to the opposite side of the hopper timer.
What can I connect this delay timer to besides a regular door?
You can hook the output wire up to piston doors, gravel/sand doors in adventure maps, trapdoors, or lighting systems that you want to turn off automatically after a set time.

Components used

More long delay timer