A Sydney police officer has been treated for burns after shooting himself with a Taser stun gun.

Police were called to a nightclub brawl on Elizabeth Street, near Martin Place, at about 3.40am on Sunday.

They say a Taser stun gun was used in an attempt to subdue a 27-year-old man after he resisted arrest.

The officer Tasered himself in the struggle, injuring his arm.

The policeman was treated at the scene by paramedics before being taken to St Vincent's Hospital where he received treatment for minor burns.