What a piston does and why you need one

A piston is a block in Minecraft that pushes or pulls other blocks when powered by redstone. When you send a redstone signal to a piston, its arm extends one block forward and shoves whatever is in front of it. Sticky pistons pull blocks back when the signal stops. Pistons are the foundation of any contraption that moves things — doors, elevators, hidden staircases, or farms that harvest crops automatically.

You build pistons because they let you move blocks that normally stay still. Without pistons, your base is static. With them, you can create mechanisms that respond to buttons, levers, or sensors. A single piston can push up to 12 blocks in a line, though some blocks (like obsidian or bedrock) cannot be moved at all.

Key Takeaways

  • Pistons require three wooden planks, four cobblestone, one iron ingot, and one redstone dust, crafted in a specific pattern on a crafting table.
  • Sticky pistons are made by adding slime balls to regular pistons and pull blocks back when the redstone signal stops.
  • Pistons must be powered by redstone — a lever, button, redstone dust line, or repeater connected to the piston block itself.
  • Some blocks cannot be pushed or pulled, including obsidian, bedrock, end portal frames, and chests with items inside.
  • The piston arm extends when powered and retracts when the signal ends, so timing and redstone placement determine how your contraption works.

Gathering materials for a regular piston

To craft a piston, you need five items: three wooden planks, four cobblestone blocks, one iron ingot, and one redstone dust. Wooden planks come from any wood log — chop a tree and place the log in your crafting grid to turn it into four planks. Cobblestone is mined with a pickaxe from stone blocks anywhere underground or on the surface. Iron ingots require smelting iron ore in a furnace with any fuel (coal, wood, or charcoal).

Redstone dust is found only underground, usually below Y-level 16 (in newer versions, check your coordinates). Mine redstone ore with an iron pickaxe or better, and it drops redstone dust. You only need one dust per piston, so a single ore block is enough. If you are building multiple pistons, gather extra redstone since you will also need it to power them.

Crafting the piston on a crafting table

Place your crafting table and open it. The piston recipe uses a specific pattern: the three wooden planks form the top row, the four cobblestone blocks form a square around the middle, and the iron ingot and redstone dust go in the bottom row. Here is the exact layout:

PlankPlankPlank
CobblestoneIron IngotCobblestone
CobblestoneRedstone DustCobblestone

Click the result slot and drag the piston into your inventory. One crafting session makes one piston. If you need multiple pistons, repeat the recipe for each one.

Making a sticky piston

A sticky piston pulls blocks back toward itself when the redstone signal stops, while a regular piston only pushes. To make a sticky piston, place a regular piston in the center of a crafting table and surround it with one slime ball. Slime balls drop from slimes, which spawn in swamps at night or in slime chunks underground (specific chunks that generate slimes regardless of light level).

The slime ball can go in any of the eight surrounding slots — the pattern does not matter as long as the piston is in the middle and at least one slime ball is touching it. You get one sticky piston per slime ball, so if you have three slime balls, you can make three sticky pistons from three regular pistons.

Powering a piston with redstone

A piston does nothing until it receives a redstone signal. The signal must reach the piston block itself — you can connect redstone dust directly to any face of the piston, or place a lever, button, or redstone repeater on the piston block. When the piston receives power, its arm extends instantly and pushes the block in front of it.

Redstone dust is a line of power that travels up to 15 blocks from a power source. Place dust on the ground leading from a lever to your piston, and when you flip the lever, the signal travels down the dust and triggers the piston. A button works the same way but only sends a signal for half a second. A redstone repeater delays the signal by one tick (0.1 seconds) per repeater, which is useful for timing multiple pistons to move in sequence.

Test your setup by placing a single block in front of the piston, then activating the power source. The piston arm should extend and push the block one space forward. When you turn off the power, the arm retracts. If the piston does not move, check that the redstone dust or lever is actually touching the piston block.

Blocks that pistons cannot move

Not every block in Minecraft can be pushed or pulled. Obsidian, bedrock, end portal frames, and dragon egg blocks are immovable — a piston will not extend if one of these blocks is directly in front of it. Chests, furnaces, and other containers cannot be moved if they contain items, though empty ones can be pushed. Liquids (water and lava) flow around pistons instead of being pushed.

Pistons also cannot push more than 12 blocks in a line. If you try to push 13 blocks at once, the piston extends but nothing moves. This limit exists to prevent lag from massive contraptions. If you need to move more blocks, use multiple pistons or break the movement into smaller steps.

Building a simple piston door

A basic piston door uses two pistons side by side to open and close an entrance. Place two pistons facing each other horizontally, with a one-block gap between them. Put a wooden block in front of each piston. Connect both pistons to the same redstone signal — a lever works well. When you flip the lever, both pistons extend at the same time and push their blocks outward, opening the gap. Flip it again and the blocks retract, closing the door.

For a more complex door, add a third piston above the gap pointing downward, with a block attached. This piston is powered by a separate redstone line that activates a tick or two after the side pistons, so it lowers a block to seal the top. Timing is controlled by redstone repeaters placed between the power source and the third piston.

Frequently Asked Questions

Can a piston push a player or mob?

No. Pistons push blocks only, not living creatures. A player or mob in the piston's path will not be moved, and the piston will not extend if a mob is blocking it. This is why pistons are safe to use in player areas — they cannot trap or hurt anyone.

What happens if a piston tries to push into a wall?

The piston extends but the block does not move. If the block in front of the piston is immovable (like obsidian) or if there is no space for the block to go, the piston arm still comes out, but nothing shifts. The piston does not break or malfunction.

How do I make a piston retract faster?

Pistons retract at a fixed speed when the redstone signal stops. You cannot speed up the retraction itself, but you can use a button instead of a lever — the button turns off automatically after half a second, so the piston retracts sooner. Repeaters can also be used to time when the signal ends.

Do I need a sticky piston for everything?

No. Regular pistons are fine for pushing blocks away. Use sticky pistons only when you need to pull blocks back toward the piston, like retracting a platform or closing a door that was pushed open. For most simple contraptions, regular pistons are enough.

Can pistons move redstone dust or repeaters?

Yes. Redstone dust and repeaters are blocks and can be pushed or pulled like any other movable block. However, moving them breaks the redstone circuit, so the signal stops flowing. This is rarely useful but can be part of advanced contraptions that disable themselves.