Factorio Train Signals Explained: Rail Signals, Chain Signals, and Deadlock Prevention

A rail signal "divides rails into blocks and allows locomotives to react to other locomotives, allowing multiple trains use the same rails without colliding" — but the regular rail signal and the rail chain signal enforce that rule differently, and mixing them up is the usual cause of a jammed rail network. This guide works from the wiki's own Rail signal, Rail chain signal, and Railway pages, quoting the source wherever its exact wording is the evidence. Where a page doesn't give a number or a rule, that gap is called out rather than guessed at.
Rail Signals: Blocks and the Four-Color State Machine
A regular rail signal splits connected track into blocks: "Blocks span all connected rails regardless of whether a train can actually travel between them." Placement has a direction — "Signals go on the right side of tracks and allow travel in that direction," and "an automatic train will not enter a block with signals only on the left side." For two-way track, "two signals directly opposite each other allow trains to travel in both directions through that point."
The signal cycles through four documented states. Green: "the monitored block is empty." Yellow: a train is approaching and "already has the approval to enter the following block" even though it can't stop before reaching it — the block is reserved, and "all other entrance signals of that block turn red." Red: "the monitored block is not empty or another signal monitoring it is yellow." Blinking: the signal isn't on a rail, or the block it monitors is also the block before it. Consequence: "when a signal is red, locomotives will stop before it" — always at the signal itself, never earlier.
Rail Chain Signals: Looking Ahead Before Committing to a Block

A chain signal does everything a regular signal does, plus one check: "a chain signal also looks ahead to exit signals of the next block. If the exit signal of the next block does not allow the train to pass, then the chain signal will stop the train." Documented exception: if a train's destination "can be reached from the chain signal without crossing any other signals," it skips that check — for scheduled stops and temporary stops alike.
Chain signals carry a fifth state regular signals don't have. Green: all exits free. Yellow: block reserved, other entrance signals turn red. Red: all exits occupied. Blue, unique to chain signals: "some but not all exits are free," so "trains may or may not stop, depending on their path." Because a chain signal stops a train before the block it protects, "a rail chain signal can be used to make locomotives stop earlier, as they will always mimic the signal of what is in front of them."
The Railway Page's Own Basic Signaling Rules

The Railway page restates the system as a short rule list: "There can only be one train in a block at any time. A train spanning multiple blocks occupies them all." "A red signal means that the following block is occupied by a train." "A yellow signal means that a train is approaching and already has the approval to enter the following block." Regular signals "reflect its state: green - free, yellow - reserved, red - occupied," while chain signals "reflect the state of the next signal(s)... blue - at least one of the paths is blocked, but not all." The page also warns that "driving a train manually ignores all signals."
On automated routing, the page documents one concrete number: trains set to Automatic "choose their destination stop and route on departure, and after waiting at a chain signal for five seconds," or raise a "No path" alert if no valid stop exists. The source doesn't document a general reaction-time figure for signal state changes beyond that specific five-second wait.
Why Chain Signals Prevent Crossing Jams and Bidirectional Deadlocks

The wiki names two failure modes chain signals solve. First, the crossing jam: "Double crossings are a common cause of train jams, as trains can stop in the middle of the crossing and block everything. It can even cause total deadlock, which require manual intervention to fix the problem." With chain signals, "the rails that don't cross are still separated, but trains won't stop in the middle of the crossing."
Second, the single-track deadlock: "bidirectional single track lines with occasional bypasses," where "a train can't enter the line because another train is in it, but that train in turn can't leave the line." The fix: "with chain signals, this problem can be totally avoided by preventing the train from going to the shared section unless it can exit it." Neither page gives a minimum block length or bypass-spacing number — undocumented here, and worth checking against your own layout.
Practical notes from the source
- Place signals on the right side of track in the train's direction of travel — a one-sided setup blocks automatic entry.
- Use a regular signal when a train only needs to stop at the signal; use a chain signal whenever it must confirm it can also leave the block ahead — crossings and single-track bypasses, by name.
- A blinking signal means it isn't on a rail or can't divide the block it's on, not a random glitch.
- Manual driving ignores every signal, so an automatic train can still hit a manually driven one.
Running your own Factorio server
Signal layouts that work fine solo can fall over once a second player adds a train — a chain signal placed one tile off often only shows up as a jam under real multiplayer traffic. A gamever Factorio server keeps the save running between sessions so your group can test a crossing or single-track loop under load, and scheduled backups mean a signal mistake doesn't cost you the map.
Conclusion
The rule set, quoted throughout: a rail signal's four states are green (empty), yellow (reserved), red (occupied or ahead signal is yellow), and blinking (off-rail or can't divide the block); a chain signal adds a fifth state, blue (some exits free, not all), plus checking the next block's exits before letting a train commit. The Railway page backs this up — "one train in a block at any time," red means occupied, yellow means reserved — and names chain signals as the fix for crossing jams and single-track deadlocks. Undocumented: minimum block length, signal spacing, or a general reaction-time figure beyond the five-second wait.
Ready to put these signal rules to work without losing a rail network to a bad session? Rent a Factorio server at gamever.io — scheduled backups, easy rollbacks, and a free trial with promo code WELCOME.
