A man fatally shot a woman before turning the weapon on himself in a grisly murder-suicide on Sunday night in a Downtown Brooklyn apartment building, sources said.

The 47-year-old man shot the woman, 44, in the head in an apartment at Clermont and Flushing Avenues in Brooklyn at around 11:45 p.m., according to law enforcement sources.

The man then turned the weapon on himself, and took a fatal gunshot wound to the head, the sources said.

Both were declared dead at the scene. Police recovered a firearm.

The identities of the deceased were not available on Sunday night.