Canada's two largest railways moved record quantities of grain in the second quarter after benefiting from another strong month in June.

Canadian National Railway said it is on pace for record shipments of grain this crop year after record movements of Canadian grain last month and the quarter as a whole contributed to its best performance in the first half-year.

The Montreal-based railway said it has moved 26.9 million tonnes so far this crop year that ends July 31, up from 26.5 million tonnes at the same point last year.

In addition, CN has moved more than one million tonnes of Canadian grain from the Prairies crop year to-date via container, contributing to CN's record pace of Canadian grain intermodal shipments.

CN Rail said it moved 15 million tonnes from January to June, 8.15 million tonnes in the second quarter and 2.7 million tonnes in June, its fourth consecutive monthly high.

The record shipments despite challenges earlier in the crop year demonstrate that the country's largest railway has been able to meet continued strong global demand for grain, said James Cairns, senior vice-president rail centric supply chain.

"CN's fourth consecutive record month of grain movement and record total tonnage crop-year-to-date demonstrates the continued positive impacts of CN's capital investments on increased network capacity and resiliency," he said in a news release.

Canadian Pacific Railway said it moved a record 8.41 million tonnes last quarter after shipping 2.76 million tonnes of grain and grain products in June.

The Calgary-based railway said it was the best three-month stretch since the 7.9 million tonnes moved in the fourth quarter and best June in six years when 2.4 million tonnes was moved.

"The collaborative relationships CP has built with its customers, combined with responsive rail service, have contributed to another quarter of record-breaking grain movements," said Joan Hardy, CP Rail's vice-president sales and marketing grain and fertilizers.

The country's railways have ramped up shipments of Western grain by using larger hopper cars and trains while customers have been investing in elevator networks to accommodate 8,500-foot trains.

CP Rail said its longer trains can carry in excess of 40 per cent more grain than the 7,000-foot train model when combined with the extra capacity of new hopper cars. More than 2,700 of these high-capacity cars are now in service. They can carry 15 per cent more volume and 10 per cent more weight compared with the older models.

This report by The Canadian Press was first published July 7, 2020.

Correction:

An earlier version said CN is on pace to move 26.9 million tonnes this year.