Firefighters have doused a fire in the top-floor flat of an East Perth apartment block.

More than 20 firefighters attended the fire which broke out on the fifth floor of a block of units on Wickham Street just before lunchtime on Monday.

The street has been cordoned off.

Julia Theunissen who lives next door to the torched unit said she was just getting into her car when she heard the alarms.