A subway thief was struck and killed by a train in Manhattan early Thursday when he ran onto the tracks moments after snatching a straphanger’s cellphone, police sources told The Post.

The crook, whose identity was not immediately known, was hit by a No. 1 train at the Canal Street station around 4 a.m., sources said.

Before the fatal incident, the suspect was aboard the northbound train, where he swiped a cellphone from the hands of a 47-year-old man, according to sources.

Medics responded and the suspect was pronounced dead at the scene.

The incident delayed service on the 1 and 2 lines in both directions.