Common RS NOR Latches

An RS NOR latch is a fundamental redstone memory circuit that remembers which of two inputs (Set or Reset) was triggered last. By pairing two inverting redstone torches or using a movable redstone block, you can turn a momentary button press into a permanent on or off state. These circuits are essential for combination locks, railway switching, and dual-button lighting or trap systems.

Memory CircuitsBeginnerJava Edition
Common RS NOR Latches video tutorial

Video: Minecraft 1.7.4 Redstone Basics vol 2 - RS Nor latches by Romedy Peters

How to build it

  1. Design 1: Classic Dust RS NOR Loop

    Place two solid blocks spaced apart with a redstone torch attached to the side of each block. Run redstone dust from the output of each torch directly into the solid block holding the opposite torch, then place buttons on the two blocks as your Set and Reset inputs.

  2. Design 2: Flat 2x3 Repeater Latch

    To shrink the flat latch into a 2x3 footprint that is only 1 block tall, place two solid blocks diagonal to one another and attach a redstone torch to each so they face opposite directions. Place a redstone repeater in front of each torch running directly into the other solid block, and place your input buttons on the two blocks.

  3. Design 3: Vertical 1-Wide Torch Latch (Base)

    For a 1-wide vertical design, place a solid block on the ground with a redstone torch on its side. Place a second solid block so that the first torch powers it, and attach a second redstone torch to the top of this new block.

  4. Design 3: Vertical 1-Wide Torch Latch (Feedback)

    Place a solid block above the first torch and put a piece of redstone dust related to the second torch's output so that it powers the block holding the first torch. You can now attach input buttons to the blocks holding the torches and read the output from either the torches or the redstone dust.

  5. Design 4: 1-Wide Tileable Piston Latch (Torch Tower)

    To build the 1-wide tileable combination-lock latch, place a bottom solid block with a redstone torch directly on top of it. Place a second solid block above that top torch, and attach a second redstone torch to the front side of this upper block.

  6. Design 4: Add the Sticky Piston and Redstone Block

    Attach a sticky piston facing straight down onto the side of the upper redstone torch. Stick a Block of Redstone onto the face of the downward-facing sticky piston.

  7. Design 4: Install the Feedback Repeater

    In the gap beneath the upper structure, place a redstone repeater facing back into the bottom solid block so that when the sticky piston extends, the Block of Redstone lands directly behind the repeater and powers it.

  8. Design 4: Connect Inputs and Outputs

    Place one input button on the bottom block (to extend the piston downward) and your reset input on the top block (to retract the piston upward). Take your primary output from behind the Block of Redstone, or place an optional third redstone torch on top of the upper block to carry an inverted output upward while keeping the top block free for a reset line.

How it works

All RS NOR latches rely on torch inversion: when a solid block is powered by a button, dust, or repeater, any redstone torch attached to that block turns off.

  • Dual-Torch Latches (Designs 1–3): Two torches are wired in a feedback loop so that Torch A powers the block holding Torch B, and Torch B is wired to power the block holding Torch A. Only one torch can be on at a time. Because the active torch keeps the opposite torch turned off, the circuit stays locked in that state indefinitely. Pressing a button on the block of the active torch forces it off, allowing the opposite torch to turn on and lock the circuit into the reverse state.
  • 1-Wide Tileable Piston Latch (Design 4): In its resting state, the bottom torch is on, which turns off the upper block's side torch and keeps the sticky piston retracted. When you pulse the bottom block, the bottom torch turns off briefly, letting the upper side torch turn on and push the Block of Redstone downward. In the down position, the redstone block powers the repeater pointing back into the bottom block, permanently locking the bottom torch off. Pulsing the top block directly turns off the upper side torch, retracting the piston and breaking the repeater feedback loop to reset the latch.

Tips & variations

  • Under-Floor Wiring: Design 2 (the 2x3 repeater latch) is only 1 block tall, making it ideal for hiding inside a 1-block crawlspace beneath your base floors.
  • Combination Locks with Built-in AND Gate: Design 3 (the vertical 1-wide torch latch) can be stacked side-by-side with a 1-block gap between slices. By running a shared redstone line across the top torches, the array naturally acts as a built-in AND gate for combination locks.
  • True 1-Wide Tileability: Design 4 uses no open redstone dust, meaning you can pack slices directly against each other with zero space in between without adjacent lanes cross-powering one another.
  • Keep the Reset Block Accessible: On Design 4, if you take an output from the top of the circuit, place a redstone torch on top of the upper block rather than covering the block itself so you can still run a master reset line into the upper blocks.

Frequently asked questions

What is the difference between an RS NOR latch and a T Flip-Flop?
An RS NOR latch uses two separate inputs—one button dedicated to turning the output ON (Set) and a second button dedicated to turning it OFF (Reset). A T Flip-Flop toggles the output back and forth using only a single button input.
Which RS NOR latch is best for a combination lock?
If you can leave a 1-block gap between levers or buttons, the 1-wide vertical torch latch (Design 3) is great because it is silent and easy to wire into an AND gate. If your buttons are placed directly next to each other with no gap, use the 1-wide tileable sticky piston and redstone block latch (Design 4).
Why won't my 1-wide tileable piston latch reset?
Make sure your reset button or reset line powers the upper solid block holding the side redstone torch. If that upper block is blocked off or never receives power, the side torch will remain on and keep the redstone block pushed down into the feedback repeater.

Components used

More rs latch