Seema, a resident of Nangloi in Delhi, took a train from New Delhi railway station to Hathras in Uttar Pradesh, sources said.
Seema gave birth to a child before the Ghaziabad railway station, they said adding the new born died soon after.
The issue was brought to the notice of Ghaziabad GRP, who took the woman to a nearby hospital, sources said.