Melbourne firefighters have used their hose to rescue a pet peacock that had been trapped up a tree in Prahran for five days.

Metropolitan Fire Brigade crew spotted the bird high in a tree on Irving Avenue on their way back from responding to another incident on Tuesday, and stopped to help out.

Prahran resident Dianne Mariuz said the runaway peacock had been in the tree since Friday.

“I called a wildlife rescue however they were not able to find a solution, or a peacock wrangler,” she said.