A man was found dead outside a townhouse after falling from a building in New York City's Upper West Side early on Sunday, police said.

The wife of the unidentified 45-year-old man said her husband had told her he was going to the roof to open a window because they were locked out of their apartment, police told Daily Mail Online.

He was later found face down at 1.20am by a 21-year-old man outside the townhouse located on W 88 Street near Columbus Avenue.

An unidentified 45-year-old man was found dead early Sunday outside a townhouse in New York City's Upper West Side (pictured), police said. While some news reports say the man jumped to his death, police told Daily Mail Online they are still investigating the circumstances surrounding his death

Officials said emergency responders arrived at the scene but were unable to save the man, according to the New York Daily News.

While some news reports say the man jumped to his death, police told Daily Mail Online they are still investigating the circumstances surrounding the man's death.