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
Serge Pauwels took overall victory in the Tour de Yorkshire after winning Sunday's final stage into Fox Valley near Sheffield
Police have been forced to close down motocross event near Sedgefield after one rider was killed and another seriously injured.
A woman hit by police gunfire during a counter-terrorism operation has been arrested after being released from hospital.