MINECRAFT · ITEM

Rail
- Item
A block that forms tracks for minecarts; stackable up to 64 and mineable with any tool.
The Rail is just the start. Join the GameServersHub Discord for the full playbook on running your server. As of .
About
Rails are the foundation of any minecart transit system. You place them on the ground to create a path, then minecarts roll along them when powered or pushed. They connect automatically to adjacent rails and slope on hillsides.
Rails are cheap to mass-produce and break easily, so admins often use creative mode or commands to stock large rail networks quickly. They have no special pickup requirements and work on any block type that can support them.
Frequently Asked Questions
- What is the Rail?
- A block that forms tracks for minecarts; stackable up to 64 and mineable with any tool.
- When was the Rail data last updated?
- The Rail entry was last verified on GameServersCodex on June 29, 2026. We track the live Minecraft build, so the IDs and commands here reflect the current patch.
- What is the Rail used for?
- Rails are the foundation of any minecart transit system. You place them on the ground to create a path, then minecarts roll along them when powered or pushed. They connect automatically to adjacent rails and slope on hillsides.
- What items are related to the Rail?
- See the Related section at the bottom of this page for items commonly used alongside the Rail, or open Browse Games to explore the full Minecraft database.
- Which game is the Rail from?
- The Rail is from Minecraft. Every ID, code, and command on this page is specific to Minecraft and its current live build.
- Can I get the Rail without spawning it?
- Yes. The Rail can also be obtained through normal Minecraft progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
- What is the item id of the Rail?
- The item id of the Rail is minecraft:rail.
- What is the numerical id of the Rail?
- The numerical id of the Rail is 66.
- What is the give command of the Rail?
- The give command of the Rail is /give @p minecraft:rail 1.
- What is the stackable of the Rail?
- The stackable of the Rail is Yes.
- What is the max stack size of the Rail?
- The max stack size of the Rail is 64.
- What is the material of the Rail?
- The material of the Rail is Rock.
- What is the hardness of the Rail?
- The hardness of the Rail is 0.7.
- What is the diggable of the Rail?
- The diggable of the Rail is Yes.