Strathclyde Police said the firearms incident took place at Baird Street Police Station in Glasgow earlier today.
A statement from the force said: "We can confirm there was an incident at Baird Street Police Office where a firearm was discharged. This resulted in the death of a serving Strathclyde Police officer.
"A full investigation into the circumstances is currently under way and a report will be submitted to the procurator fiscal."
Officers from an independent force, Lothian and Borders Police, have been appointed to oversee the investigation.
More top news
The polls have now closed, and the first result is expected in an hour.
Liverpool mounted another stirring comeback at Anfield, beating Villarreal 3-0 to reach the UEFA Europa League Final
The former BHS director has written to committee chairs, telling them to run their inquiries in a 'fair' and 'responsible' way.