Under the contract, Siemens will deliver the components, which will be assembled in Karaj, Iran's fourth-largest city, Business Recorder reported early on Tuesday.
The deal was signed during an official visit of German Economy Minister Sigmar Gabriel to Tehran this week.
"As Iran seeks to modernize its railway infrastructure, Siemens is proud to support these ambitions with modern rail systems," Siemens management board member Siegfried Russwurm said in a statement.
The order came after Siemens in March signed an agreement with MAPNA under which MAPNA will acquire the technology to manufacture Siemens F-class gas turbines in Iran.