An armed police officer receiving psychiatric treatment has barricaded himself into a room at an Istanbul hospital and attempted to commit suicide, causing panic, a hospital official said.

Earlier, Turkish media reports claimed the man had taken doctors and other staff hostage at Cerrahpasa hospital in the city

Zekayi Kutlubay, the hospital's chief doctor, said all staff has been evacuated from the psychiatry unit and the police officer was alone.

He said police negotiators are trying to persuade the man not to kill himself

"He is alone in the room," Mr Kutlubay told reporters outside of the hospital. "There is no hostage crisis ... God willing, we will convince him."

Mr Kutlubay said the officer had been receiving psychiatric treatment for the past two years and the police force had confiscated his gun.

"The gun is not his, but unfortunately he has a gun with him," the doctor said.

Turkey is on edge following a spate of deadly attacks, including an armed assault at an Istanbul nightclub during a New Year's celebration that killed 39 people.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.