The opening of the Great Western Railway in 1841 led to a significant decline in the canal's traffic, even though the canal company lowered tariffs. In 1852 the railway company took over the canal's operation. In 1877 the canal recorded a deficit of £1,920 and never subsequently made any profit. The Somerset Coal Canal and Wilts and Berks Canal, which each supplied some of the trade to the Kennet and Avon, including freight from the Somerset coalfield, closed in 1904 and 1906 respectively. At Claverton various minor repairs were needed to the wheel and pump, and the wheel had to be levelled at regular intervals during the later part of the 19th and early 20th centuries. The 408 "green oak" teeth on the pitwheel also had to be replaced several times.