Simple Portcullis Castle Gate

A portcullis castle gate adds an authentic medieval entrance to any fortress or walled base. Unlike traditional designs that rely on messy falling sand or gravel, this Minecraft Bedrock 1.21 circuit uses synchronized vertical double piston extenders at the top and bottom to smoothly slide a fence gate two blocks up and down. It is expandable up to 15 blocks wide and up to 10 blocks tall.

Piston DoorsIntermediateBedrock Edition
Simple Portcullis Castle Gate video tutorial

Video: The SIMPLE CASTLE GATE! [Minecraft Bedrock 1.21] Tutorial by Tomco

How to build it

  1. Dig the Bottom Trench

    Dig a trench for your gate floor that is 2 blocks wide and as long as your desired gate width (up to 15 blocks), plus a 3x2 area on one end for the control circuit. The floor level will sit four blocks above the bottom of this trench.

  2. Place Bottom Double Piston Extenders

    Along the bottom row corresponding to your gate width, place two sticky pistons stacked vertically facing upwards for every column. Top each double piston stack with a solid floor-matching block.

  3. Wire the Back of the Bottom Pistons

    Behind the bottom sticky pistons, place a row of redstone dust along the floor. Place an observer facing upwards directly on top of each piece of redstone dust, then place a row of solid blocks on top of all those observers.

  4. Add the Front Slab Line

    On the opposite side of the bottom sticky pistons (or along the upper piston level), place a row of top slabs running the width of the gate and cover every slab with redstone dust.

  5. Build the Bottom Pulse Extender

    In the 3x2 side area, place a redstone repeater running into the slab dust line with a solid block behind it. Have a comparator read out of that block into another solid block, crouch-place a solid block directly on top of the comparator, and run redstone dust across these blocks. Finally, place an upward-facing observer underneath so it outputs into the dust on top of the comparator.

  6. Install the Input Sticky Piston

    Above the dust on the comparator, place a temporary pillar of three blocks, step one block to the side, and place a solid input block with a lever on it. Underneath that input block, attach a downward-facing sticky piston holding a downward-facing observer so that flicking the lever pushes the observer down to trigger the bottom circuit.

  7. Measure the Fence Gate Height

    On top of the solid floor blocks resting on your bottom pistons, stack a single test column of fences up to your desired gate height (up to 10 blocks tall).

  8. Install the Top Double Pistons

    At the top of your fence column, build out a temporary guide so you can place two regular pistons stacked vertically facing downwards directly above the fence line (leaving a 2-block gap above the fences when closed, or flush when pushed up). Repeat this two-high downward regular piston stack across the entire width of the gate.

  9. Wire the Top Piston Array

    Run a row of solid blocks across the very top of the upper downward-facing pistons and cover that entire row with redstone dust. Next to the lower downward-facing pistons, run a parallel row of top slabs with redstone dust on each slab.

  10. Add the Top Observer Trigger

    On the end of the top slab line closest to your lever side, break the first slab and replace it with a downward-facing observer sitting above the lower line, ensuring it detects the upper dust line and pulses the slab line.

  11. Connect the Vertical Torch Tower

    Starting directly on top of the input sticky piston from Step 6, alternate placing a redstone torch and a solid block vertically upwards until you reach the top redstone dust line. Connect the top of the torch tower into the top piston dust line using redstone dust and a repeater, making sure the top line's power state is opposite to the lever's state.

  12. Fill in the Gate Fences

    Fill in the remaining columns of fences across the entire width and height of the doorway. Flick the lever to test: one flick should retract the top pistons and fire the bottom double extenders to lift the gate 2 blocks; flicking it again will push the gate back down from the top.

How it works

This portcullis works without sand or gravel by dividing the work between two opposing double piston extenders:

  • Opening the Gate (Bottom Circuit): When you flick the lever ON, the input sticky piston pushes a downward-facing observer into the bottom circuit. This triggers a short comparator pulse loop that powers the bottom row of dust, the upward-facing observers, and the upper slab dust line in the exact sequence needed for a Bedrock double piston extension and full retraction. The bottom sticky pistons push the floor blocks—and the entire fence wall above them—up by two blocks, then retract back flush with the floor.
  • Closing the Gate (Top Circuit): While the gate is opening, the vertical redstone torch tower inverts the signal so the top circuit stays unpowered and retracted. When you flick the lever OFF, the input sticky piston retracts (doing nothing to the bottom circuit), and the torch tower turns ON at the top. The top dust line powers the upper regular pistons, while the downward-facing observer detects the change and pulses the lower regular pistons via the slab line, shoving the entire fence wall back down two blocks.

Tips & variations

  • Bedrock Exclusive: This specific observer and comparator timing relies on Minecraft Bedrock piston mechanics and will not work on Java Edition.
  • Maximum Dimensions: A single redstone line can reach 15 blocks before needing a repeater, so you can build the gate up to 15 blocks wide. Due to the 12-block piston push limit (accounting for the floor block and extended pistons), the fence section can be at most 10 blocks tall.
  • Custom Inputs: The downward-facing sticky piston near the comparator is your master input. You can wire a T Flip-Flop with buttons, pressure plates, or tripwire hooks directly into that sticky piston instead of using a lever.
  • Block Choice: The blocks directly above the bottom upward-facing observers and the blocks pushed under the fences must be solid full blocks (like stone, cobblestone, or grass), not glass or slabs, so they properly transmit redstone power.

Frequently asked questions

Why doesn't this castle gate require gravel or sand?
Because it uses synchronized double piston extenders on both the bottom and top. The bottom sticky pistons push the gate up 2 blocks and retract flush with the floor, and the top regular pistons push it back down 2 blocks.
How wide and tall can I make this portcullis?
You can expand the gate up to 15 blocks wide (the signal limit of a single redstone dust line) and make the fence section up to 10 blocks tall before hitting the piston push limit.
Does this castle gate work on Minecraft Java Edition?
No, this design is built specifically for Minecraft Bedrock 1.21 (Xbox, PlayStation, Switch, Windows, Mobile) and relies on Bedrock piston timing.
What if my top pistons fire at the same time as the bottom ones?
Your vertical redstone torch tower has the wrong polarity. The top redstone dust line must be OFF when the bottom circuit is opening the gate, and ON when closing. Add or remove one torch in the tower to invert the signal.

Components used

More bigger doors