A piston is a block that pushes or pulls other blocks when powered by redstone
A piston in Minecraft is a mechanical block that extends and retracts when you send it a redstone signal. When powered, the piston head pushes up to 12 blocks in front of it away from the piston. A sticky piston does the same thing but also pulls one block back when it retracts. Pistons are the foundation of most redstone contraptions — doors, elevators, sorting systems, and hidden passages all rely on them.
You craft a regular piston from wood planks, cobblestone, iron ingots, and redstone dust. A sticky piston uses the same recipe but adds a slimeball. Both types work the same way mechanically; the difference is whether they grab a block on the way back.
Key Takeaways
- A regular piston pushes blocks away when powered and leaves them there; a sticky piston pulls one block back when it retracts.
- You need wood planks, cobblestone, iron ingots, and redstone dust to craft a piston; add a slimeball for a sticky piston.
- Pistons respond to redstone signals from adjacent redstone dust, repeaters, comparators, or other powered blocks.
- Pistons cannot push obsidian, bedrock, end portal frames, or other immovable blocks, and they cannot push more than 12 blocks in a row.
Crafting a regular piston
Open your crafting table and arrange the materials in this pattern: place three wood planks across the top row, then cobblestone, iron ingot, and redstone dust in the middle row from left to right, and cobblestone, iron ingot, and cobblestone in the bottom row. The piston appears in the result slot. You can use any type of wood plank — oak, birch, spruce, jungle, acacia, dark oak, mangrove, or cherry all work the same.
If you do not have redstone dust yet, you need to mine redstone ore underground (usually below Y-level 16) and smelt it in a furnace, or find it in the Nether. Cobblestone comes from mining stone with a pickaxe. Iron ingots require mining iron ore and smelting it. All three materials are common enough that you should have them if you have built anything with redstone before.
Crafting a sticky piston
Craft a regular piston first, then place it in the center of a crafting table with a slimeball directly above it. The result is a sticky piston. Slimeballs come from slimes, which spawn in swamps at night or in slime chunks underground. If you have not found a slime chunk, the easiest route is to wait for rain in a swamp biome — slimes spawn more often there during rain.
Alternatively, you can find slimeballs in the Nether by killing magma cubes, which are the Nether equivalent of slimes. They drop slimeballs when killed and are more common than finding slimes in the Overworld.
Powering a piston with redstone
A piston activates when redstone power reaches it from an adjacent block. The most direct way is to place redstone dust next to the piston — when the dust is powered (glowing red), the piston extends. You can power the redstone dust by placing a lever, button, or redstone torch next to it, or by running it from a repeater or comparator.
The piston extends in the direction of its face — the side with the texture that looks like a piston head. If you place a piston facing north and power it, it pushes blocks to the north. The piston retracts when the redstone signal stops. If you use a sticky piston, it pulls the block directly in front of it back one space as it retracts.
What pistons can and cannot move
Pistons can push most blocks: dirt, stone, wood, glass, sand, gravel, and nearly everything else. They cannot push obsidian, bedrock, end portal frames, dragon egg, reinforced deepslate, or any block that contains liquid (water or lava). They also cannot push moving pistons or blocks that are already being pushed by another piston.
A single piston can push up to 12 blocks in a line. If you try to push 13 blocks, the piston extends but the blocks do not move. Sticky pistons pull only one block back — they cannot pull multiple blocks the way they push them.
Building a simple piston door
Place two pistons side by side, both facing outward (away from each other). In front of each piston, place a wooden door. Run redstone dust from both pistons to a single lever. When you flip the lever, both pistons extend and push the doors open. When you flip it again, they retract and the doors close.
For a more complex door, use sticky pistons and place blocks in front of them instead of doors. This lets you create a wall that slides out of the way. You can also use repeaters to delay one piston relative to the other, so they move at different times and create a more interesting effect.
Common piston problems and fixes
If your piston is not moving, check that the redstone signal is actually reaching it. Redstone dust must be adjacent to the piston — it does not work diagonally. If you are using a repeater or comparator, make sure it is facing the right direction and that it has power coming into it.
If blocks are not moving the way you expect, remember that pistons push in the direction they face, not the direction the redstone comes from. Also check that you are not trying to push an immovable block like obsidian or bedrock. If a piston is trying to push more than 12 blocks, it will not move any of them — you need to reduce the number of blocks in front of it or use multiple pistons.
Frequently Asked Questions
What is the difference between a piston and a sticky piston?
A regular piston pushes blocks away when powered. A sticky piston does the same thing but also pulls one block back toward itself when it retracts. Use sticky pistons when you want blocks to return to their original position, and regular pistons when you want blocks to stay where they are pushed.
Can a piston push another piston?
No. Pistons cannot push other pistons, whether they are powered or not. If you need to move a piston, you have to break it and place it somewhere else. However, you can use pistons to push blocks that are in front of other pistons, creating a chain reaction.
How far can a piston push blocks?
A piston can push up to 12 blocks in a straight line. If there are 13 or more blocks in front of it, the piston extends but nothing moves. Sticky pistons pull only one block back, regardless of how many blocks they pushed.
Do I need redstone dust right next to the piston?
Yes. Redstone dust must be placed on a block adjacent to the piston — directly next to it on any side. Redstone does not work diagonally. You can also power a piston by placing a powered block next to it, like a redstone lamp or a block with a repeater on it.
Can pistons push liquids?
No. Pistons cannot push blocks that contain water or lava. If a piston tries to push a block with liquid in it, the piston extends but the block does not move. This is why pistons are not useful for moving water or lava — you need other methods like flowing water or bucket placement.