Minecraft Wiki

Detector Rail

772pages on
this wiki
Add New Page
Comments0 Share
Detector Rail
Detector Rail
First Appearance Beta 1.5
Type of Block Non-solid Block
Tool Used Pickaxe Graphic
Data Values Hex: 1C
(Max 64)
Obeys Physics?
Cart on detector rail

Minecart on a Detector Rail activating the powered rails on either side and a piston

Detector Rails are a type of rail that acts like a pressure plate, therefore acting like rail-switches.

When any kind of Minecart is on top of the Detector Rail, it will generate a redstone signal. The signal will be transmitted to blocks that are adjacent to the detector (including Powered Rail) and redstone placed under the rail, like Pressure Plates.


Detector rails can be used for many things. One train station-like feature could be activating a Note Block to indicate that a minecart is approaching, or a note block in conjunction with a redstone torch to have a grade crossing signal. It is easiest to simply wire a series of 4-6 detector rails, one around every 20 blocks, to a note block and an inverter that powers a Redstone Torch. As the cart passes each detector rail, it will trigger the circuit for one flash of the torch and a chime, thus giving you 4-6 chimes before the cart reaches the crossing. Additionally, they can be used to create a one-way gate to a Powered Rail, with any carts coming the other way slowing down if not stopping completely. They also can be used to activate dispensers to create a minecart-friendly mob trap. They can also trigger the TNT in a Minecart with TNT, due to their ability to activate redstone.


  • When the detector rail was first added to Minecraft, it could not be placed next to any rail without the game crashing due to a bug.
  • If a detector rail was placed on a slope and the next rail had the opposite slope, the detector would only generate signals for occupied carts (like a stone pressure plate). This bug was fixed in update 1.6.
  • If a detector rail is on a slope with a powered rail adjacent to it on flat ground, the Detector will not activate it when a Minecart runs over it.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.