A 25-year-old man has been charged with rape after a woman was allegedly sexually assaulted while jogging along a popular trail in Melbourne's north.

The woman, aged in her 20s, was allegedly grabbed from behind as she was jogging along the Merri Creek Trail in Coburg on Tuesday evening.

On Wednesday morning, police remained at the scene of an attack on a jogger on the Merri Creek trail in Coburg, which occurred on Tuesday night. Credit:Justin McManus

She managed to escape her attacker and fled to a nearby fast food outlet before being taken to hospital.

A Coburg man was arrested at 1.30am in Carlton in relation to the incident.