It was built for the Kilmarnock and Troon Railway, opened in 1812; the line was a horse drawn plateway (although locomotive traction was tried later). The first viaduct was closed in 1846 when the railway line was realigned to ease the sharp curve for locomotive operation, and a wooden bridge was built a little to the south to carry the realigned route. This was in turn replaced by a third structure further south again, which carries trains at the present day.