The New South Wales Opposition has uncovered details of thousands of dollars in taxi fares between Sydney and the Hunter the government has been forced to pay due to cancelled trains.

Labor has obtained documents under Freedom of Information detailing how much the Baird Government is paying to transport passengers left stranded due to late, cancelled or overcrowded trains.

The Opposition's Transport spokesman Ryan Park said since coming to office, the government has spent more than $188,000 on taxi fares.

He said $48,000 has been spent in the past year alone.

Mr Park said in one case it would have been cheaper to book a flight, with a taxi ride from Hornsby to East Maitland costing almost $1,300.

Other examples included a trip from Hamilton to Hornsby costing $862, a trip from Cardiff to Sydney Airport costing $724, and Maitland to Scone costing $502.

He said train cancellations across the rail network have jumped by 23 per cent in the last year.

"This is a ridiculous waste of money: close to $1000 a week on taxi fares because train cancellations are skyrocketing under the Baird Government."

"Year after year we see train cancellations skyrocket - and now we see the Government pouring almost $200,000 into taxi fares instead of rail maintenance.

"It's just obscene."

But a spokesman for the Transport Minister, Andrew Constance said it is disingenuous for Labor to call providing customer service a waste of money.

"The former Labor government spent more than $170,000 dollars on taxis for its customers during its last term in office," he said.