Piston

A piston is a redstone mechanism block that extends its wooden head by one block when powered, pushing up to 12 movable blocks and any entities in its path. Unlike a sticky piston, a standard piston only pushes blocks forward and leaves them in place when it loses power and retracts.

Pistons & MovementIntermediatePiston mechanicsQuasi-connectivityBlock update detector (BUD)Zero-tick

How Pistons Work

When a piston receives a redstone signal, its wooden head extends one block forward. During extension, it pushes up to 12 movable blocks in a line, as well as any entities standing in the way. If an entity has nowhere to go, the pushed block moves into the entity's space; if the block is solid and reaches the entity's eye level, it causes suffocation damage.

When the redstone signal turns off, the piston head retracts back into the base. A regular piston leaves all pushed blocks in their new positions, whereas a sticky piston pulls back the single block directly in front of its head.

While blocks are actively moving, the game temporarily replaces them with a technical block entity known as a moving_piston (historically Block 36). This transient state is non-solid and transparent, meaning light briefly passes through moving opaque blocks and moving light sources momentarily go dark.

Placement and Powering Rules

Pistons are always placed with their wooden head facing toward the player, in any of the cardinal directions (north, east, south, west, up, down). Because a piston is treated as a transparent block, a redstone repeater cannot push power through it to adjacent components.

You can activate a piston in several ways:

  • Redstone dust: A line of redstone wire pointing directly into the piston.
  • Adjacent powered block: Any strongly or weakly powered solid block touching the piston.
  • Power components: A redstone torch, observer, or block of redstone placed directly adjacent to any face except the wooden head.
  • Quasi-connectivity (BUD): A piston can be powered by any powered block one space diagonally above it, or above its directly adjacent space. However, the piston will not actually extend or retract from this diagonal power until it receives an adjacent block update.

Note that an upward-facing piston cannot be powered by a block directly above its head unless it is already extended. In some setups, a redstone torch attached directly to a piston will turn off when the piston itself becomes powered, a behavior known as soft inversion.

Push Limits, Slime Blocks & Exceptions

A piston refuses to extend if any rule is violated:

  • There are more than 12 blocks to move in total.
  • An immovable block is in the push path.
  • The push would force a block into the Void or above the top of the map.

Blocks that attach to surfaces generally pop off and drop as items when moved. An exception is rails: rails can be pushed or pulled intact as long as they land on top of a stationary solid block face (or if both the rail and its support block are moved simultaneously on parallel extended pistons), and they re-orient themselves upon landing.

When a piston pushes a slime block or honey block, any movable blocks touching the slime or honey block are carried along with it and can push other blocks in front of them. Every block grabbed this way counts toward the 12-block push limit. Slime blocks also bounce displaced entities in the direction the piston is facing. Two major exceptions apply:

  • Glazed terracotta can be pushed directly by a piston, but does not move when adjacent slime or honey blocks slide past it.
  • Slime blocks and honey blocks do not stick to each other, allowing separate moving groups to slide past one another without exceeding the 12-block limit.

Common Redstone Circuits

  • Block Update Detectors (BUDs): Using quasi-connectivity, a piston can be held in a primed state where it is powered diagonally from above without knowing it. When a block updates next to the piston, it immediately extends or retracts to trigger a circuit.
  • Block Dropping (Short Pulses): If a sticky piston receives a sufficiently short redstone pulse, it finishes extending early and retracts without pulling its block back, effectively "dropping" the block one space forward. If given another short pulse with no block directly in front of it, it can pull back the block that is 1 block away.
  • Flying Machines: While a single piston cannot move itself using a slime-block hook, multiple pistons paired with observers and slime or honey blocks can push and pull each other to form self-propelled contraptions.
  • Observer Clocks: Powering a piston with an observer can create a rapid redstone clock when arranged so the piston's movement triggers the observer.

Tips & Common Mistakes

  • Stuck upward pistons: If you place a block of redstone directly on top of an upward-facing piston and power the piston from the side or back, it extends and then refuses to retract when you turn the input off. That happens because the block of redstone is now occupying the quasi-connectivity space above the piston.
  • Snagging floor blocks: When building with slime or honey blocks on the ground, remember that they grab all adjacent movable blocks underneath or beside them. Use immovable blocks or glazed terracotta along floors and walls so you don't accidentally exceed the 12-block limit.
  • Gravity block breaking: Rapidly toggling a piston on and off underneath a gravity-affected block like sand or gravel can eventually break the block into an item resource. Gravel broken this way never drops flint.
  • Sticky pistons only stick during retraction: A sticky piston does not hold onto a block while sitting idle. A block in front of a sticky piston head can be pushed sideways by another piston, and horizontal sticky pistons cannot hold falling blocks against gravity.

Frequently asked questions

How many blocks can a piston push at once?
A piston can move at most 12 blocks at once. This limit includes both blocks directly in front of the piston head and any extra blocks carried along by slime blocks or honey blocks. If the requirement is not met, the piston does not extend.
Why won't my piston retract after turning off the redstone?
The piston is likely still being powered through quasi-connectivity by a powered block one space diagonally above it or in the activated space above it. Remove or unpower that upper block, then cause a block update next to the piston so it retracts.
What blocks don't stick to slime blocks when pushed by a piston?
Glazed terracotta does not move with adjacent slime or honey blocks when they slide past it. In addition, honey blocks do not stick to slime blocks, and immobile blocks are ignored by sliding slime blocks.
Can a normal piston pull slime blocks?
No. A regular non-sticky piston only pushes blocks forward and cannot pull slime blocks back when retracting. To pull a slime block (and any blocks attached to it), you must use a sticky piston.

Related components