The Derby railway works comprised a number of British manufacturing facilities designing and building locomotives and rolling stock in Derby, England. The first of these was a group of three maintenance sheds opened around 1840 behind Derby station. This developed into a manufacturing facility called the Midland Railway Locomotive Works, known locally as "the loco" and in 1873 manufacturing was split into locomotive and rolling stock manufacture, with rolling stock work transferred to a new facility, Derby Carriage & Wagon Works.