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
Some say it's white and gold and others claim it's blue and black. So why do we see things differently?
New figures show that heart disease and dementia are the leading cause of deaths for people in England and Wales in 2013.
The Duke of Cambridge said he also wanted to be a policeman when he was a little boy.