The incident occurred when the bike-borne assailants opened fire on them at an electronics shop in Jamaluddin Afghani road in the city and fled after the incident, Express Tribune reported.
The two men were immediately rushed to the civil hospital but were declared dead on their arrival.
An investigation has been launched to identify the motive behind the attack.
On April 1, a man from the Hazara community was shot dead by unidentified miscreants in Quetta's Qandhari Bazar, while a second person suffered bullet wounds.
A police officer later said that the incident appeared to be an act of "targeted killing" against the community.
Hundreds of Hazaras in the Balochistan capital recently gathered together to protest against the targeted killings and the constant persecution of the community.
The Hazara community is targeted by miscreants because of their distinctive physical appearance and has been severely affected by sectarian terrorism in Balochistan in the last few years.
Last month, a report released by the Pakistan National Commission for Human Rights showed that 509 people from the community were killed, while 627 of them were wounded in different incidents of terrorism for the last five years in the Balochistan capital. (ANI)