Companhia Paulista de Trens Metropolitanos (CPTM) (English: São Paulo Metropolitan Train Company) is a commuter rail company owned by the São Paulo State Secretariat for Metropolitan Transports. It was created in 1992 from several railroads that already existed in Greater São Paulo, Brazil.
Part of the Greater São Paulo rail network, CPTM has 92 stations in six lines, with a total length of 258.4 kilometres (160.6 mi). It is one of the busiest rail networks in the world, carrying over 2 million passengers a day.
These railways were eventually incorporated into the state-owned Rede Ferroviária Federal (RFFSA) in 1957 and Ferrovia Paulista S.A. (FEPASA) 1971. Finally, in 1992 the urban sections of RFFSA and FEPASA merged, forming CPTM.