A man was in critical condition after he shot his ex-girlfriend, then turned the gun on himself in what police are calling an attempted murder-suicide, cops said Monday.

The tragic shooting happened Sunday at a salon on Grand Concourse near East 183rd Street in The Bronx where the ex-girlfriend works, police said.

Nigel Somerville, 20, walked into New You Beauty Salon around 8 p.m. intent on patching things up with Destiny Velez and getting back together, sources said.

When she refused him, Somerville allegedly pulled out a .25-caliber semi-automatic gun, shot 19-year-old Velez in the back, then shot himself in the head, cops and sources said.

Both were taken to St. Barnabas hospital, where Somerville was in critical condition while Velez remained stable, cops said.

Charges were pending Monday.