The Somerset and Dorset Joint Railway, also known as the S&D, SDJR or S&DJR, was an English railway line connecting Bath (in north-east Somerset) and Bournemouth (now in south-east Dorset but then in Hampshire), with a branch from Evercreech Junction to Burnham-on-Sea and Bridgwater. Strictly speaking, the main line ran from Bath Junction to Broadstone, as the line between Broadstone and Bournemouth was owned by the London and South Western Railway, while the line between Bath Junction and Bath was owned by the Midland Railway.