A joint railway is a railway operating under the control of more than one railway company: those companies very often supplying the traction over the railway.
There are many examples of joint railway working in the United Kingdom. The more important ones included:
- Midland and Great Northern Joint Railway (M&GN): Midland Railway and Great Northern Railway (MR/GNR), latterly London and North Eastern Railway and London, Midland and Scottish Railway (LNER/LMS). This was the UK's biggest joint railway system at 183 miles (295 km) and operated with its own locomotives and rolling stock. The system stretched mainly east-west from Great Yarmouth via South Lynn to Bourne and Peterborough and thence via the parent companies' systems to Leicester and the Midlands and to London King's Cross. A north-south route ran from Norwich City to Cromer. The two routes crossed at Melton Constable, the joint railway's main engineering centre.
- Cheshire Lines Committee: Great Northern, Great Central and Midland Railways (GNR/GCR/MidR), 140 miles (230 km) operated with its own rolling stock.
- Great Northern and Great Eastern Joint Railway: the Great Northern and Great Eastern Railways. From Huntingdon and Spalding to Doncaster, with a branch to Ramsey. 123 miles (198 km)
- Somerset and Dorset Joint Railway: London and South Western Railway (LSWR) and Midland Railway. 101 miles (163 km) operated, with its own locomotives and rolling stock until 1930.
- East London Railway: the Great Eastern, London, Brighton and South Coast, South Eastern and Chatham, Metropolitan and District Railways (GER/LBSCR/SE&CR/MetR/District) 7 miles (11 km)
- Metropolitan and Great Central Joint Committee: the Metropolitan and Great Central Railways
- Manchester South Junction and Altrincham Railway: LNWR/GCR. 9 miles (14 km). Electrified in 1931
- Portpatrick and Wigtownshire Joint Railway: the Caledonian, Glasgow and South Western, London and North Western and Midland Railways. 82 miles (132 km) 
- Preston and Wyre Joint Railway: L&YR/LNWR. 45 miles (72 km)
- Great Western and Great Central Railways Joint Committee: the Great Western and Great Central Railways. 41 miles (66 km)
- Severn and Wye Joint Railway: Great Western Railway and Midland Railway. 39 miles (63 km)
- Shrewsbury and Hereford Railway: the Great Western and London and North Western Railways. 56 miles (90 km)
- Shrewsbury and Wellington Railway: the Great Western and London and North Western Railways. 10.5 miles (16.9 km)
- South Yorkshire Joint Railway: GCR/GNR/L&YR/MidR/NER. 20 miles (32 km)
- Furness and Midland Joint Railway: 9 1⁄2 miles (15.3 km) 
- Metropolitan and Metropolitan District Joint Committee: Metropolitan and Metropolitan District Railway, Mansion House to Aldgate on the Circle Line. 1 mile (1.6 km)
- Norfolk and Suffolk Joint Railway (N&S): the Midland and Great Northern and the Great Eastern Railway). There were two stretches of line: the most important ran along the East Anglian coast from Lowestoft to Yarmouth, while a much shorter stretch ran from Cromer to Mundesley on the North Norfolk coast. This line was a unique joint railway in that one of its parents was itself a joint railway.
- Axholme Joint Railway : North Eastern and Lancashire and Yorkshire Railways (NER/LYR) 27.5 miles (44.3 km)
- Forth Bridge Railway: the North British, Great Northern, North Eastern and Midland Railways. 2,765 yd (2,528 m)
- County Donegal Railways Joint Committee: the Northern Counties Committee and Great Northern Railway (Ireland). 111 miles (179 km) of 3 ft (914 mm) narrow gauge track in Northern Ireland and the Republic of Ireland, with its own locomotives and rolling stock.
"Joint railways" are called terminal railroads in the United States. Most true example of joint railways are in terminal areas, including union stations. Terminal railways are often co-owned by the railroads that connect with them. Among the more prominent joint operations were:
- Belt Railway of Chicago (BRC), the largest terminal switching railroad in the U.S., co-owned by all the "Big Six" American Class I railroads: Union Pacific Railroad, CSX Transportation, Norfolk Southern Railway, BNSF Railway, Canadian National Railway and Canadian Pacific Railway.
- Terminal Railroad Association of St. Louis (TRRA), with extensive operations in East St. Louis, Illinois and St. Louis, Missouri, and co-owned by all the Big Six except the Canadian Pacific.
- Conrail Shared Assets Operations (CSAO), the last corporate remnant of Conrail, which was formed from the remains of several bankrupt railroads in 1976; that company was split between CSX and Norfolk Southern, which formed CSAO in northern New Jersey, greater Philadelphia, Pennsylvania and greater Detroit, Michigan. Unlike the BRC and TRRA, CSAO uses crews and locomotives from its two parent companies, though the former Conrail paint scheme is still seen on numerous locomotives and freight cars that CSX and NS inherited.
- The Powder River basin joint line, co-owned by BNSF and Union Pacific to serve the area's numerous coal mines.
The concept of trackage rights is more common than joint railways in the United States. The railroad that owns the track permits trains from another railroad to use the line. The owner railroad normally charges a fee, but sometimes there is no charge because the arrangement results from a merger or sale of a line. For instance, when the Louisville and Nashville Railroad acquired the Monon Railroad a condition of the sale imposed by government regulators was a trackage rights arrangement over the southern part of the Monon for the Milwaukee Road, an agreement that was handed down to successive owners of the Milwaukee Road and finally the Indiana Rail Road.
Variations on trackage rights include "direction running" agreements between two railroads with parallel lines through an area, usually done to facilitate greater traffic volume. For instance, CSX and NS have a directional-running agreement between downtown Cincinnati, Ohio and nearby Hamilton, where northbound trains generally use NS trackage and southbound trains (with the exception of Amtrak's Cardinal) use CSX tracks. North of Hamilton, NS trains use CSX tracks on a traditional trackage-rights agreement for a two-mile (3 km) section.
- List of early British railway companies
- List of railway companies involved in the 1923 grouping
- Joint station (UK), Union station (USA)