Railroads in the United States have avoided electrification, lagging behind much of the rest of the world. Consequently, American railroads are some of the largest consumers of diesel. In 2018, they used 4.2 billion gallons of diesel, second only to the US military.