Skip to main content
← All Guides
Redstone · Contraption · Java & Bedrock

How to Make an Automatic Gate

An automatic gate opens the moment you step on a hidden plate and shuts itself a second later on a redstone timer. No lever, no waiting.

GATE CLOSEDDETECTED · OPENAUTO-CLOSING
a plate senses you it shuts on a timer
Stand on the hidden plate and the gate opens by itself; a redstone delay holds it a moment, then it closes behind you. Plates on both sides let it open whichever way you come.

What you need

Pressure plates (the trigger)
Sticky pistons for the gate
Redstone to wire it up
A repeater for the delay

Sense, hold, then close

The whole build is three beats: a trigger senses you, the gate opensand a timer shuts it behind you. The plate only pulses while you stand on it, so the trick is the delay: run that pulse through a repeater or a short comparator loop to keep the gate open a beat longer than your stride. Put a plate on each side and it works coming and going.

Quick answers

What is an automatic gate in Minecraft?

It is a gate or door that opens on its own when you get close and shuts again a moment later, with no lever to flip. A hidden trigger detects you, opens the gate, and a redstone timer closes it behind you.

How do you make a gate open automatically?

Put a pressure plate on the path and wire it to the pistons or fence gates. Standing on the plate powers the gate open. Place a plate on each side so it opens whether you walk in or out, and tuck them where only your path crosses them.

How do you make a gate close by itself?

The plate only sends a short pulse, so the gate would snap shut the instant you step off. Feed the signal through a repeater or a comparator loop to stretch it into a couple of seconds, so the gate stays open long enough to walk through, then closes.

What is the best trigger for an automatic gate?

Pressure plates are simplest. For a cleaner look use a hidden plate just off the path, a tripwire across the doorway, or a sculk sensor that hears your steps. Each one powers the same gate circuit, so pick whichever hides best in your build.

How do I stop mobs or animals opening it?

Wooden plates fire for any entity, including mobs and dropped items, so light the area to stop spawns and keep animals fenced away from the plate. If you want it player-only, place the trigger where mobs cannot path, or swap to a button or lever you operate yourself.

Does an automatic gate work on Bedrock?

Yes. Plates, pistons and repeaters all behave the same way, though redstone timing differs a little between editions, so you may need to adjust the repeater delay so the gate holds open for the right amount of time.
Database →
Plates & pistons
Look up pressure plates, sticky pistons and what each one triggers.
Guide →
Use a redstone repeater
The delay that holds the gate open before it auto-closes.

Opening for you and not for everything else

A pressure plate opens for mobs too

Stone plates answer to players and mobs alike, and wooden plates answer to dropped items as well. On a base wall that means a gate that lets a wandering skeleton in, which is why plates belong on inside doors and not on the perimeter.

Sculk sensors and target blocks are pickier

A calibrated sculk sensor tuned to one vibration, or a target block that answers a thrown snowball, opens for something a mob will not do. That turns an automatic gate into one that stays shut for everything except a deliberate action.

Close it on a timer, not on a second trigger

A gate that waits for you to press something again gets left open. A repeater chain or a hopper clock that closes it after a few seconds costs almost nothing and removes the failure mode entirely.

Blocks and items in this guide

Sticky Piston in MinecraftSticky PistonSculk Sensor in MinecraftSculk SensorComparator in MinecraftComparatorRedstone in MinecraftRedstoneRepeater in MinecraftRepeaterSnowball in MinecraftSnowballHopper in MinecraftHopperPiston in MinecraftPiston

All 8 of these are named in the guide above, starting with Sticky Piston. Look them up in the item database.

More guides on this site

Guides that go with this one

How to Make an Automatic Shulker Loader in MinecraftAn automatic shulker loader fills a shulker box, swaps it out when full, and loads the next. Here is what you...How to Use a Target Block in MinecraftA target block fires a redstone signal when a projectile hits it, stronger near the centre. Here is how...How to Use an Observer in MinecraftAn observer watches the block in front of it and fires a short redstone pulse out the back when that block...How to Make an Auto Crafter Farm in MinecraftWire a farm into the 1.21 Crafter so raw items are crafted into products and stored on their own. Here is...How to Use a Redstone Torch in MinecraftA redstone torch is an always-on power source that flips off when its block is powered, the basic NOT gate....How to Make a Cobblestone Generator in MinecraftA cobblestone generator makes endless cobblestone where lava meets water. Here is what you need, how the...

Related tools & databases

Tool
Crafting Recipes
Visual crafting grid for every recipe in the game.
Database
Item Database
Every item with its stats, IDs, recipes and uses.
Tool
Minecraft Tools
Calculators and generators for servers and players.
Guides
More Farms & Redstone guides
Auto farms, contraptions and every redstone component explained.