In 1892 a railway station was opened in the town of São Pedro; it belonged to the "Companhia União Sorocabana e Ytuana", which later served as a route for those who wanted to reach Águas de São Pedro. Between 1907 and 1919 it was part of the Sorocabana Railway, and until 1966 it belonged to the Sorocabana Railroad, part of the already defunct Piracicaba Line. The station was deactivated at the end of the 1960s, when the first paved roads were built in São Pedro and its enclave. Today, only one highway passes through the city, the SP-304, Rodovia Geraldo de Barros. It connects Águas de São Pedro with the cities of São Pedro ( northwest) and Piracicaba ( southeast). Due to the high volume of truck traffic, part of the road that passes through the urban area developed several potholes. In response to that problem, politicians of the municipality and the neighbouring cities pressured the state governor for the duplication of the highway. After the Department of Highways (DER) approved the project, the construction began on 22 August 2014, was finished and the state governor officially declared the work completed by inaugurating the last kilometer built on 16 March 2018.