In the past Castlecomer had a busy railway line. Castlecomer railway station opened on 21 February 1921 with a passenger service between Castlecomer and Kilkenny. Funding for the Castlecomer line came from Captain Richard Henry (R.H.) Prior-Wandesforde and a War Office Grant, which was given to ease postwar unemployment. It closed for passenger traffic on 26 January 1931 and closed completely on 1 January 1963.