A mother and child fell onto a tube track moments before a train arrived — only to escape by ducking underneath it.

The woman was walking along the platform at Baker Street underground station on Friday evening with her child in a buggy, according to British Transport Police.

She was looking up and did not realise where she was on the platform.

She accidentally pushed the wheels of the buggy over the edge and fell onto the tracks below, along with her young child.

The child’s father leapt onto the track to help but a train was rapidly approaching.

The family survived by jumping into a pit under the track as the train passed over them.

“Amazingly, none of them were seriously hurt,” a spokesperson for British Transport Police said.

A commuter who saw the fall tweeted to express her relief that the family were safe:

“Thankfully all unharmed,” she wrote.

“The driver is also ok and he did a superb job, along with a chap from the depot that was on his way to work.”