The woman was taken to hospital under police guard with life-threatening injuries.
A pram could be seen at the scene near the tracks as dozens of paramedics, police and firefighters responded to the incident.
The Belgrave line between Upper Ferntree Gully and Belgrave was suspended for more than 13 hours with buses replacing trains following the incident.
A police spokeswoman said the investigation into the incident was ongoing.
Looking for support? It's available
• Call or text 1737 any time for support from a trained counsellor
• Call PlunketLine 24/7 on 0800 933 922
• Depression helpline: Freephone 0800 111 757
• Healthline: 0800 611 116 (available 24 hours, 7 days a week and free to callers throughout New Zealand, including from a mobile phone)
• Lifeline: 0800 543 35
• Samaritans: 0800 726 666