There is currently one railway in Niger, built between 2014 and 2016 between Niamey and Dosso by the French Bolloré conglomerate.
The objective was to connect Niamey to the rail network in Benin and thus to the coast.
But competing commercial interests by several parties resulted in endless litigation and the connection to Benin never materialized.
After several years of neglect the tracks are already damaged to such an extent in some places, that they have become unusable.
Media related to Train stations in Niger at Wikimedia Commons