Travelling from Madrid to Barcelona by train in 2h 30m As there are direct trains available, you won't need to worry about making any changes along the way. Each day, there are around 16 trains running from Madrid Atocha station to Barcelona Sants station.