The man, aged 29 from Chorley, Lancashire, was injured near Stafford Railway Station today and had to be airlifted to Queen Elizabeth Hospital in Birmingham.
His injuries are not thought to be life-threatening.
Police and the ambulance service were both sent to the incident.
The power at the railway station was switched off for some time while emergency services dealt with the situation.
Trains travelling through Stafford were delayed by the incident. The power was back on by around 9.50am, although there were still delays to some services.
British Transport Police (BTP) spokesman Brian Price said: “Officers from BTP were called to the railway line near to Stafford rail station at 8.41am after a report that a member of rail staff was involved in an accident.
“Medics from the ambulance service and a fire service crew also attended and located a member of rail staff who had suffered burns after apparently coming into contact with electricity from the overhead power lines.
“BTP officers are currently at the scene working to establish the full circumstances but at this stage the man's injuries appear to have been the result of an accident. The Rail Accident Investigation Branch (RAIB) has been informed.”