Factorio is a game where production efficiency directly depends on the quality of logistics. In the early stages, conveyors and manipulators are sufficient, but as the plant grows, the only solution is trains. They can travel vast distances, delivering tons of ore, coal and plastics faster than any other transport system.

However, simply laying the rails is not enough. Without properly setting up signals and schedules, your network will turn into a chaos of stopped trains and endless traffic jams. In this guide, we'll walk you through how to design a scalable network, set up smart schedules, and avoid common beginner mistakes that often lead to catastrophic delays.

Before moving on to complex patterns, it is necessary to understand the basic logic of movement. The train in Factorio is not controlled by the player, but by predetermined rules. Your task is to create an infrastructure that will itself regulate the flow of goods. This requires planning and understanding how things work railway signals and schedule conditions.

Track design and construction

The foundation of any railway system is properly designed tracks. Chaotic laying of rails “wherever it will work” will sooner or later lead to a dead end. Start by creating highways that connect the main production clusters. It is important to lay it down right away double trackso that trains do not block each other when traveling in opposite directions.

When constructing turns and intersections, always use a radius large enough for the longest trains you plan to run. If the locomotive can't negotiate a turn, it will stop and block the entire line. The optimal train length in Factorio is often determined by the formula 1 locomotive + 4 cars + 1 locomotive, although longer trains are used for heavy loads.

  • 🚆 Use double track highways for the main directions of movement.
  • 📐 Leave a sufficient radius on turns for long trains.
  • 🚧 Avoid crossing paths at sharp angles without signaling.
  • 🛤️ Plan space for future station expansions in advance.

Particular attention should be paid to the joining of paths. An incorrect connection can create blind spots where the train gets stuck. Always check that the path is continuous and has no breaks. For complex components, it is better to use ready-made circuits or modular solutions that are easy to copy.

📊 Which train length is most convenient for you?
1 locomotive + 4 cars
2 locomotives + 6 cars
4 locomotives + 16 cars
Only short trains

Railway signal system

Signals are the “brains” of your railroad. Without them, trains will collide head-on or create endless traffic jams. There are two types of signals in Factorio: regular (block signals) and chain signals (chain signals). Understanding the difference between the two is critical to automation.

Regular signals divide the path into blocks. A train can only enter a block if it is empty. Chain signals look ahead and prohibit entry if the block or signal following them is also closed. This prevents a situation where a train gets stuck at an intersection, blocking the movement of others.

⚠️ Attention: Never place a chain signal at the end of a section of track if there is no continuation or intersection behind it. The train may not move, considering the track to be blocked.

The rule for placing signals is: place them after each element that may be occupied (arrows, intersections, stations). On straight sections, long sections do not need to be signaled if there is no oncoming traffic, but for double-track mainlines, signals are needed regularly so that trains can overtake each other on passing tracks.

Visual indications help you quickly diagnose problems. Red color means the block is occupied. Yellow (flashing) on ​​a chain signal indicates that the path ahead is clear, but the next signal is closed. Green - the path is clear. Watching these colors in real time is the best way to learn.

Signal type Where to put Operating principle
Regular After intersections, before stations Allows entry if the block is free
Chain Before intersections, before merges Denies entry if there is no exit ahead
Mixed At difficult junctions Combines properties of both types
End In dead ends (rarely) Limits train length

Setting up stations and schedules

A station is a point where a train stops to load or unload. To automate the process, you need to configure it correctly schedule. In the train interface, you add stops and set conditions for moving to the next one.

The most important condition is “Full cargo inventory” for loading stations and “Empty cargo inventory” for unloading stations. A timer, such as "Wait 5 seconds", is also often used to give the handlers time to complete the operation before sending.

☑️Schedule setup

Done: 0 / 5

For efficient network operation, use the same station names. If you have three coal mines, name the stations "Coal Station". The train will choose an empty station with the same name, which distributes the load. If all stations with the same name are occupied by other trains, the train will wait.

Don't forget about priorities. If you have a critical station, such as supplying reactors with uranium, you can set up a separate schedule or use a logistics network to control access. But to get started, a simple scheme is enough: Loading -> Unloading -> Loading.

Logistics and flow management

When there are a lot of trains, the simple “load-unload” scheme ceases to work effectively. Trains begin to stand idle, waiting for a station to become free, or, conversely, the stations are empty. This is where it comes to the rescue reservation logistics and dispatching.

One method is to use “depots” or “parking lots.” These are waiting stations where empty trains go if all workstations are occupied. The transition condition in the schedule looks like “No path” or “Inventory full” with a transition to the waiting station.

A more advanced method is to use a logistics network and circuit signals. You can disconnect stations from the network if the warehouse is full of resources, or redirect flows depending on the needs of the factory. This requires configuration constant combinators and wires, but gives complete control.

  • 🛑 Use depot stations to wait for free tracks.
  • 📡 Apply logistics signals to shut down overcrowded stations.
  • 🔄 Create circular routes to distribute resources evenly.
  • ⚖️ Balance train lengths depending on capacity.
💡

Use the same names for stations of the same type (for example, "Iron Plate") so that trains automatically select an empty platform, preventing queues.

Optimization and elimination of traffic jams

Even a perfectly designed network can experience performance issues over time. Traffic jams (deadlocks) is a situation where trains block each other in a deadlock, and neither one can move. Most often this happens at intersections.

To avoid traffic jams, follow the rule: “Don’t block the intersection if you can’t get out.” This is why chain signals are needed before entering the intersection. If the exit is occupied, the train will not enter the intersection, leaving the track clear for other directions.

It is also important to monitor the station capacity. If one unloading station takes in 1,000 plastics per minute, but the conveyors only take out 500, the station will quickly fill up and trains will back up. Increase the number of manipulators or use load balancers (load balancers) at the input and output.

⚠️ Warning: Avoid merging two busy paths into one without first dividing them into lanes. This is guaranteed to create a bottleneck and stop movement.

Use the Train view to analyze problems. It shows routes, current status and delays. Red latency indicators will tell you exactly where the network is failing. Often the solution lies in adding a bypass or doubling the highway.

The secret to the perfect intersection

The ideal intersection in Factorio is built on the principle of “bridges”. A path going straight should not intersect with other paths at the same level. Use overpasses for main highways and run secondary routes underneath them. This completely eliminates conflicts in the main directions.

Security and infrastructure protection

In Factorio, enemies never sleep. Trains and rails are a tasty target for biters. If a train stops in the middle of a field due to an attack, it can block the entire line. Therefore perimeter protection required.

Build fences along paths, especially in dangerous areas. Install turrets and spotlights at stations and along highways. Tank cars following the train may get stuck in the textures or become a target, so it is better to rely on stationary defenses.

Don't forget about fire safety. Coal and oil trains can catch fire when attacked. A gap between the locomotive and the first cars with fuel (if possible in a modified game) or simply the presence of fire extinguishers within the radius of the stations will help localize the fire.

Plan paths so that they do not pass through enemy nests without protection. It is better to make a detour and build a safe corridor than to constantly repair rails and put out fires. Automation must be reliable.

💡

Track safety is just as important as track capacity. One burning locomotive can shut down half of your plant.

Frequently asked questions (FAQ)

Why is my train not moving even though the signals are green?

Check the schedule. The waiting condition may not have been met (for example, the cargo bay is not full or empty). Also make sure the train has fuel and is not in manual control mode.

How can I make the train choose an empty station?

Give all stations of the same type the same name. The train will automatically select the one that is free and not reserved by another train. If everyone is busy, he will wait.

What is a “chain signal” and why is it needed?

A chain signal (red triangle) prevents a train from entering the area unless there is a clear exit ahead. This prevents intersections from becoming blocked when a train gets stuck in the middle of an intersection.

How to increase the speed of a train?

The speed depends on the type of locomotive, the number of locomotives in the train, the weight of the cargo and the condition of the rails. Use more powerful locomotives (for example, electric or fuel with upgraded technologies) and reduce the number of turns.