From Minecraft Wiki
Jump to: navigation, search
Rail corner.png


Non-Solid Block







Blast resistance





This block can be broken with any tool, but a pickaxe is the quickest




Yes (64)



First appearances

See History



Data value

dec: 66 hex: 42 bin: 1000010



Rails (also known as minecart tracks) are non-solid blocks that provide a path along which minecarts can travel.

Obtaining[edit | edit source]

Rails can be mined with anything, but pickaxes are the quickest.

Block Hardness Tool Breaking time[note 1]
Hand Wooden Stone Iron Diamond Golden Shears Sword

1.05 0.55 0.3 0.2 0.15 0.1
  1. Times are for unenchanted tools in seconds.

They also drop as items when:

  • the block beneath them falls, is moved, or removed
  • a liquid flows over them
  • a piston moves them into a space with no floor below them

Natural generation[edit | edit source]

Rails can be found naturally in abandoned mine shafts.

Rails can be found in 5.5% of chest minecarts in abandoned mine shafts, in stacks of 4–8.

Crafting[edit | edit source]

Ingredients Crafting recipe

Iron Ingot +


Behavior[edit | edit source]

If a track is placed next to an existing track, the two tracks will join automatically. If a track is placed perpendicular to an existing length of track, then the track connecting them will turn into a curve. However, destroying track will not cause remaining track to re-orient itself.

If a track leads up to a one-block high ledge, the piece placed up against the ledge will turn into a ramp if another track is placed on top of the ledge.

Minecarts that encounter a series of curved tracks in an alternating, zig-zag pattern will travel in a straight line at 45 degrees until the track straightens out or curves in the same direction twice (u-turn), but it will still lose speed as though it were going through a series of bends.

The curved section of a rail at T intersections can be powered by redstone circuits and their direction can change with switches provided there is no confusion about the 2 directions to switch to. Separate tracks laid adjacent but at the next level lower or higher can sometimes cause issues. Since there are no formal rail junctions, switched T intersections are the only method by which the player can have a track system that leads in more directions than back and forth. In rare cases, curved track sections will not change appearance when their direction is changed. If a track switching mechanism seems to be inexplicably broken, test it by running a cart on the track rather than by looking at how the track appears to be oriented. Redstone circuits will not affect normal track blocks or track ramps.

Rail collision[edit | edit source]

When a cart is traveling on a curve, it will momentarily lose collision prior to exiting the curve. Therefore, if a block is placed directly after the curve instead of a track piece, the cart will phase through it.

It should be noted that since minecarts travel diagonally on curves, it can miss the hole if it has enough speed, by skipping over it, if the hole is 1x1. This can be avoided by blocking the sides.

It is not recommended to use this method in rapid succession, as the cart will slow down a lot. Anyone sitting in the cart will likely be subject to suffocation.

South-east rule[edit | edit source]

Track intersections.png

At non-curve track intersections, minecarts will always travel south or east (as shown in the diagram to the left). This is commonly referred to as the south-east rule.

This rule also applies to T-intersections, and determines which way the curve from the intersection will face when unpowered.

Downhill rule[edit | edit source]

Downhill rule.png

At non-curve track intersections minecarts will always travel downhill if they can. This is known as the downhill rule and overrides the south-east rule.

Ramp clearance/one-way effect[edit | edit source]

2011-10-10 21.54.31.png

A block placed above the track at the downhill end of a ramp will prevent minecarts from traveling down the slope, but not up. In order for a minecart to move down a diagonal tunnel, there must be just as much clearance as a player needs to walk it.

Curve intersections[edit | edit source]

A diagram on how minecarts travel according to track curves.

If a straight track piece leads to a curve block and isn't attached to the curve, a minecart will run over the gap and continue to go straight over the curve. This is not applicable with other types of rails.

Notably, the minecart can exceed the normal 8 m/s speed limit while it jumps over the gap. For example, by placing intersections on every other block of a straight track, it is possible to travel at 10 m/s in a straight direction (but it will be a very uncomfortable ride).

Data values[edit | edit source]

Every rail has an ID name of minecraft:rail and stores its orientation in its block data. A rail also has a block state which is expected to replace the functionality of block data in a future version.

Block data[edit | edit source]

A rail's block data specifies the directions to which it connects.

Value Description
0 Straight rail connecting to the north and south.
1 Straight rail connecting to the east and west.
2 Sloped rail ascending to the east.
3 Sloped rail ascending to the west.
4 Sloped rail ascending to the north.
5 Sloped rail ascending to the south.
6 Curved rail connecting to the south and east.
7 Curved rail connecting to the south and west.
8 Curved rail connecting to the north and west.
9 Curved rail connecting to the north and east.

Block state[edit | edit source]

See also: Block states
Name Value Description


Specifies the rail's orientation by specifying the directions the rail connects to.

For example, a south_east rail is a curved rail which connects to the south and to the east.


Specifies that a rail is ascending towards the direction noted

For example, a ascending_west rail is a straight rail which goes upwards from the east to the south.

Video[edit | edit source]

History[edit | edit source]

Seecret Friday 1
Rails were introduced in the first "Seecret Friday Update" to Infdev.
Texture changed slightly.
1.6 Before this update, parallel tracks could be used to create minecart boosters.
Official release
1.0.0 Beta 1.9-pre1 Rails are destroyed by snowfall (bug).
Beta 1.9-pre4 Some rail behavior was affected following changing the south-west rule to south-east rule.
1.3.1 12w25a Rails can now be placed on upside-down slabs and stairs.
1.5 13w04a Mobs no longer walk over rails unless they are pursuing the player.
Pocket Edition Alpha
0.8.0 build 2 Added rails.
0.9.0 build 1 Rails now naturally spawn in abandoned mine shafts.
Console Edition
TU1 Added rails.

Issues[edit | edit source]

Issues relating to "Rail" are maintained on the issue tracker. Report issues there.

Trivia[edit | edit source]

  • When walking on a block that has a rail on top, you will hear the sound of the block you're walking on, but if you jump (while still walking), you will hear the sound of iron.
  • Rails are approximately 2-foot gauge (the gauge is the distance between the rails).

Gallery[edit | edit source]