A man miraculously escaped serious injury when he was hit by an eight-metre tree in Hawthorn.

The man was walking on a path near Glenferrie railway station when he was hit by the falling tree about 11am today.

Paramedic Jesse Hallas said the 23-year-old was found lying on the ground.

"We were told that he was walking along a path when the tree fell without warning," she said.

"It wasn't a small tree either. It was probably about 30 centimetres in diameter and eight to nine metres high."