SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedVehicles & ships

Electric Trains

by Degraine · for Factorio

Adds electric trains.

72KDownloads
2 mo agoLast updated
MITLicense
2.1Latest game version

About Electric Trains

From Factorio Mod Portal

Adds electric trains.

##Info Another attempt to bring electric traction to the game. This mod introduces electric locomotives that can be recharged at train stops by connecting to the power network, and supplemented by battery packs that can be charged in a recharging station that has a suspicious resemblance to an accumulator (very Batteries Not Included, I know).

This new type of locomotive can be mixed and matched with traditional locomotives, or you can use purely electric traction. When placed they will have a small amount of charge - enough to get to a nearby train stop and begin charging. Note that direct charging only works when the train is running on a schedule that takes it to a train stop, and make sure that you have electricity coverage over the locomotive.

The large internal buffer (250MJ) of electric locomotives can be supplemented by battery packs that hold 100MJ of energy each. If the locomotive has run through its internal charge and is drawing power from a battery pack when it arrives at a train stop, the battery pack will be fully drained and removed as charging commences. Battery packs can be stacked up to 10, increasing the range of the locomotive by 400%.

Advantages

  • There are no restrictions on where you place the locomotives in the train.
  • Electric locomotives are lighter and have higher acceleration and top speed compared to standard locomotives.
  • Charging at train stops means you can do away with fuel logistics entirely and rely on your power grid to keep your train network running.

Disadvantages

  • Electric locomotives have less total energy capacity compared to a vanilla locomotive, especially once you have access to rocket fuel.
  • Vanilla locomotives' performance improves with better fuels, whereas electric locomotives have fixed (though high) performance.
  • Recharging electric locomotives and battery packs creates a high demand on power supplies.

##Compatibility (For modders) If you want to take advantage of the system in this mod for charging a locomotive, you can register one by doing a couple of things:

  • Define a locomotive entity with the properties you want in your mod, as usual.
  • Define a fuel item with the energy capacity you want the locomotive to inherently possess. (Technically optional, but if you don't then what's the point?)
  • In your control.lua script, register the locomotive and its internal storage fuel item via the on_init() and on_configuration_changed() methods using this call: remote.call("electrictrains","register","locomotive-entity-name","fuel-item-name")

Eg, for this mod the remote call used in both methods would be: remote.call("electrictrains", "register", "deg-electric-locomotive", "deg-electric-locomotive-fuel-dummy")

My electric locomotives use the 'electrical' burner category, and should accept any fuel item (reusable or not) that matches, if you want to add one.

Highlights

From source data

Game versions

Built for Factorio 2.1.

Footprint

Rated a light load on a server.

License

Published under MIT.

Electric Trains on Nxeon

From our catalogue
One-click install
Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
Server side
Required on the server
Server load
light
Smallest plan we suggest
Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.4.9, released 2026-09-23

Run Electric Trains on a Factorio server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Factorio Mod Portal as “Mods”

Vehicles & ships

Cars, boats, aircraft, ships and other things to drive or fly.

Runs on your server

From source side support

Factorio Mod Portal lists Electric Trains as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Compatibility

Game
Factorio
Runs on
Serverrequired on the server
Game versions
2.1

Verified at the source

  • ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
  • ✓AuthorDegraine, as published on Factorio Mod Portal
  • ✓LicenseMITFree

Electric Trains, answered

Generated from the mod’s own source data.

Do my players need to install Electric Trains?

Factorio Mod Portal lists Electric Trains as required on the server. Check its Factorio Mod Portal page to see whether players need it too.

Is it free?

Yes. Electric Trains is free to download from Factorio Mod Portal. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Electric Trains on a Factorio server.

Deploy in about a minute from $2.99 a month, then add Electric Trains in one click.