Two men were fatally shot in unrelated incidents early Thursday, police said.

The first shots rang out just after 12:30 a.m. in front of a building on 168th Street between Amsterdam and Audubon avenues in Washington Heights, police said.

Officers responding to a 911 call found a 27-year-old man with a gunshot wound to the torso, cops said.

The second shooting came just over an hour later, around 1:45 a.m., in a residence at the corner of Clarendon Road and East 54th Street in Flatbush, police said.

Responding to an assault in progress there, cops found a 39-year-old man unconscious and unresponsive with multiple gunshot wounds, cops said.

The victims were taken to New York-Presbyterian/Columbia University Medical Center and Kings County Hospital, respectively, where they were pronounced dead.

No arrests have been made in either killing.