Shocking surveillance footage shows the deadly final moments before a Papa John’s pizza deliveryman was shot in the head in Harlem.

Jose Alvarado, 37, of Belmont Avenue in The Bronx, was found unconscious in front of the Amsterdam Avenue and West 145th Street restaurant where he was shot just before 10:30 p.m. Wednesday night, police said.

He was on his way back from making a delivery when a person walked up to him and fired the fatal shot, cops said.

Surveillance footage from a nearby storefront that was obtained by The Post shows the deadly encounter unfold.

In the video, Alvarado is seen in a red shirt riding up to the pizzeria on his bicycle and then standing on the sidewalk when he’s approached by two men — one wearing a black shirt and white bottoms, the other also wearing a black shirt — who had been standing nearby when Alvarado arrived.

Suddenly, Alvarado falls to the ground as people, including the two men who approached him, scatter.

He suffered a gunshot wound to the head and was rushed to Harlem Hospital, where he was pronounced dead.

Nothing was stolen from the victim.