Virgin Trains is launching a partnership with taxi hailing firm Uber to allow passengers a "seamless" journey to and from a railway station.
Customers on the West Coast line will be able to book an Uber taxi to the station and when they arrive at their destination.
The train company said the aim was to encourage more people to leave their car at home.
Passengers booking a taxi will be eligible for 50% off their first Uber journey up to a maximum value of £10.
The link-up will start on Wednesday on trains between London Euston and Birmingham New Street, rolling out on other routes in the coming months.
Sarah Copley of Virgin Trains, said: "We know that tackling the first and final mile is critical to opening up rail travel to new customers.
"Our exciting new partnership with Uber is the next step in making this end-to-end journey easy and seamless for customers."
Fred Jones of Uber said: "In order to make it easy to leave your own car at home, we want door-to-door experiences to be as seamless and convenient as possible.
"This partnership with Virgin Trains is an exciting first step towards offering customers an easy way to combine train and car travel at the touch of a button."
Amanda Gearing, an official of the GMB union, said: "Virgin Trains teaming with Uber is not good news.
"The licensing of taxis sits with individual local authorities, who take account of many factors, including safety and size of the market.
"This partnership tramples over our local democracy and we've already heard councils raising issues about this.
"Concerns about commuters' safety and risks to the livelihood of many taxi drivers have been side-stepped to promote the interests of a public sector privateer and a company that refuses to give workers employment rights."