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
A man who helped officers apprehend a suspected drug dealer by sticking out his foot and tripping him has been hailed a "legend" by police.
Sarah Bartlett was surprised when she received an anonymous card containing £100 as a reward for doing an "amazing job" as a mum
A cat who prowls a station on the hunt for mice has been promoted to become the official pest control manager.