A man was fatally struck by a train in Manhattan on Friday morning, according to MTA officials and police sources.

The unidentified man was in the northbound N/R/W tunnel, about 100 feet away from the Fifth Avenue-59th Street station in Midtown, when he was struck by a W train just before 11 a.m., according to an officer on scene.

He was pronounced dead, the MTA said.

The MTA temporarily suspended N and W trains between 57th Street-Seventh Avenue and Queensboro Plaza, but service was beginning to resume by the early afternoon, the agency tweeted.

Straphanger Yair Rosenberg, a writer at Tablet Magazine, was going to catch the train to work when he discovered the station was cordoned off.

“I had been wondering when I came in why there were so many police cars and FDNY vehicles outside, but I didn’t realize it was related to the subway station,” he said. “And then they announced the station was closed and you should leave.”

It was not immediately clear how the man ended up on the tracks, but police said he did not appear to be the victim of a crime.