Judge Aslı Kahraman sustained serious injuries when Muhammet Çağatay Kılıçaslan, a prosecutor and Kahraman's alleged ex-partner, opened fire inside the courthouse, according to the domestic press.
A female judge was shot inside an Istanbul courthouse on Tuesday by a public prosecutor who was prevented from firing his gun a second time by a day-release prisoner serving tea, Turkish media reported.
The incident took place at the appeals courthouse on the Asian side of Istanbul at around 1 pm local time (12 pm CET), the DHA news agency said.
Judge Aslı Kahraman sustained serious injuries when Muhammet Çağatay Kılıçaslan, reportedly her former partner, opened fire, hitting her in the groin, the Sözcü newspaper reported.
He was about to fire again but was stopped by a man who was serving tea, a convict out on day release who was working at the court, both sources said.
Kahraman received first aid at the scene before being rushed to hospital, where she was said to be in stable condition.
Kılıçaslan was arrested and was due to appear at Istanbul's main courthouse later on Tuesday, Sözcü said.
The incident drew sharp condemnation from the We Will Stop Femicides platform.
"A female judge was shot with a firearm by her (ex-partner), a prosecutor, in full view of everyone at the Istanbul Kartal Anatolian Courthouse, the very place where perpetrators should be punished," the platform said in a statement on X.
"Women can be shot with firearms even inside courthouses."
Turkey does not collate official figures on femicides, leaving the job to women's organisations which collect data on murders and other suspicious deaths from press reports.
Figures compiled by We Will Stop Femicides show that in 2025, 294 women were killed by men and 297 women were found dead under suspicious circumstances.
Of that number, just over 35% were killed by their husbands, while 57% were killed with firearms.
Rights groups say the deaths classed as suspicious or as suicide in Turkey has risen since Ankara withdrew from an international convention on violence against women in 2021.
That agreement, known as the Istanbul Convention, requires countries to set up laws aimed at preventing and prosecuting violence against women.