San Francisco Fire Department crews had to rescue the man from the top of the train.
Firefighters say the man has minor injuries. He was taken to a trauma center to be checked out.
Firefighters say they aren't sure why the man was on top of the train.