A 29-year-old man has been charged after he allegedly vandalised Premier Colin Barnett's electorate office.

Several windows at the Cottesloe office were smashed this afternoon and the word "egomaniac" was written on the door.

It is believed he was angry over the State Government's shark kill policy.

The man has been released on bail and will appear in court at a later date.