A Manhattan straphanger fell into the path of an oncoming train Friday afternoon — and miraculously survived with minor injuries, cops and fire officials said.

The unidentified victim was on the platform waiting for the southbound 2/3 train at 125th Street in Harlem just before 1 p.m. when he accidentally fell onto the tracks, police said. He was seen “wobbling” right before he fell, cops said.

It’s not clear how he escaped major injury, including whether he might have landed in the well next to the tracks or climbed there as the train bore down.

He was transported to NYC Health and Hospitals/Harlem, where he is being treated for minor cuts to the back of his head and on his legs, police said.

Train services were delayed on the southbound 2/3 lines but resumed to normal at 2:17 p.m., making all regular stops, according to an MTA official.