Diagonal Rail
One tile, forty-five degrees, and suddenly your whole rail network exhales.
The Diagonal Rail is a single-tile track component in Factorio that bridges two straight rail segments meeting at a 45-degree angle. Where standard rails are locked to the cardinal grid, this piece lets a track cut across the diagonal, giving engineers a new geometric vocabulary for threading trains through tight factory footprints. It is a purely passive infrastructure tile: no power is drawn, no items are processed, and no signal or stop is embedded. Its entire purpose is geometric—turning what would otherwise be a long, circuitous jog of straight-and-corner pieces into a single clean diagonal stroke. In the hands of a seasoned player, a handful of diagonal rails can shave dozens of tiles off a loop, and in the hands of a truly obsessive one, an entire rail network can be re-imagined as a lattice of 45-degree intersections.
- Type
- Passive rail infrastructure (single tile)
- Function
- Connects two straight rail segments at a 45° angle
- Introduced
- Factorio 0.18 – Railways update
- Signal / Stop
- None built-in; must be placed on adjacent regular rail
- Power draw
- None (passive)
- Train speed through it
- Identical to straight rail
- Recipe material
- Crafted from rails
Lore & Background
On the grey, biter-scoured expanse of the player's alien world, every square metre of tilled earth is a resource. The Spaceman's machines sprawl outward in ever-widening rings of smog and clatter, and the rail network that stitches the rings together is the circulatory system of that industrial organism. For a long time the only geometry available was the rigid grid: east, west, north, south, and the 90-degree corner that joins them. Factories grew in blocky, almost architectural patterns, and a train that needed to shift one tile sideways had to trace a full three-tile jog. The Diagonal Rail changed the grammar of that sprawl. It is a small, unglamorous piece of steel and sleeper, yet it introduced a new word into the language of the track. Suddenly a loop could be a hexagon instead of a rectangle. A depot could tuck into the corner of a factory without a wasteful dead-end spur. The aesthetic of the world shifted from brutalist grid to something more organic, more like the branching veins of a circuit board seen under a microscope. Fans often describe the moment of first placing a diagonal rail as a quiet revelation—the same feeling as discovering a new chord in music. The world was the same world, the trains still clattered the same clatter, but the space between the machines suddenly felt *designed* rather than merely *filled*.
In Their Own Story
The night shift never really ended here; there was no sun to set over the iron plains, only the slow amber glow of a thousand furnaces and the rhythmic thud-thud-thud of a freight train rounding the outer loop. Kael leaned back in the operator's chair, watching the little green dots trace their endless circuit on the schematic. The loop had been a rectangle for three weeks—ugly, wasteful, eating up forty tiles of biter-habitat that could have been left alone. Tonight, the four diagonal rails went in. He placed them one by one, each a small satisfying click in the grid, and the rectangle shuddered into a hexagon. The train, mid-loop, simply *continued*, its wheels finding the new angle without a stutter, as if the track had always been this shape. The loop was eleven tiles shorter. Eleven tiles where the biters could dig their little mounds in peace. Kael sipped cold coffee, watched the green dot complete the new geometry, and felt the particular pride of a man who has made a machine look less like a machine and more like an idea.
Reader's Guide
The Diagonal Rail is not a machine in the processing sense; it is a track-geometry tile. It has no input or output slots, no power draw, and no internal buffer. Its sole function is to provide a continuous rail path between two straight-rail tiles that meet at a 45-degree angle, so that a train can travel diagonally across the grid in a single tile rather than a three-tile jog. Trains pass through a diagonal rail at exactly the same speed as through a straight rail tile. There is no speed penalty, no acceleration curve, and no extra friction. It behaves, kinematically, as if the track were straight. The critical quirk is that a diagonal rail cannot host a signal, a stop, or a switch. Those components exist only on regular (cardinal) rail tiles. If your design calls for a signal or a station, you must route the track onto a straight tile at the point where that logic is needed. In practice this means diagonal rails are best used as *connective tissue* between signalised straight sections, not as the backbone of a long run. Multiple diagonal rails can be chained end-to-end to create longer diagonal corridors, and they pair naturally with regular corners to form hexagonal or octagonal loops. They are unlocked together with the base Railways technology, so they are available from the moment you can lay your first track. When planning a layout, treat diagonal rails as the tool that lets you trade a small amount of track length for a large amount of spatial efficiency. A well-placed diagonal can eliminate an entire spur, reduce a loop's footprint by 20–30 percent, and—critically—give your factory the visual rhythm that separates a functional base from a beautiful one.
Did You Know?
- A diagonal rail occupies a single grid tile yet visually connects two rail segments that are on opposite corners of that tile, effectively 'folding' a three-tile jog into one.
- Because it carries no signal or stop, a train cannot be *stopped* on a diagonal rail; the nearest straight rail tile must handle all braking and signalling logic.
- Diagonal rails were a headline feature of the 0.18 'Railways' update, and their introduction prompted a wave of community map redesigns as players rebuilt entire networks to exploit the new 45-degree geometry.
- You can chain an arbitrary number of diagonal rails in a row to create a long diagonal corridor, but the track still alternates its 'facing' each tile, so the visual sleeper pattern shifts with every step.
More in Machines & Infrastructure
Elsewhere in the Factorio universe
Spotted an error? Know more?
This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record
