An upstate shopper made a horrifying discovery as she loaded up groceries from a supermarket — a dead body in the back of her pickup truck, according to police.

The unidentified woman was at Tops Market in Lockport, near Rochester, Friday morning when she made the disturbing find, the Niagara County Sheriff’s Office said in a release.

“She opened the tailgate of her truck to place groceries and noticed the deceased male inside the bed,” police said.

“She had no idea who it was,” Sheriff James Voutour told the Lockport Union-Sun & Journal.

Authorities had not identified the dead man as of Friday and were still investigating whether his death was an accident or crime, the sheriff told the paper.

Fingerprints and facial recognition will be used to try to identify the man, who was described as possibly Hispanic, in his 40s or 50s, about 5 feet 8, 180 pounds, and wearing jeans and a light-colored shirt.

With Post wires