The Trent, Ancholme and Grimsby Railway was a railway line in north Lincolnshire which commenced at an end on junction with the South Yorkshire Railway where that railway crossed the River Trent near the village of Gunhouse. This was known as Gunhouse Junction but the village has become known as "Gunness". The line ran for about 14 miles (22.5 km) through Frodingham to Wrawby Junction near Barnetby and included railway stations at Appleby, and Elsham. The line also included two branches to Gunness and Gunhouse Wharf on the River Trent. The line was opened on 1 October 1866.