
Baruery station was inaugurated in July 1875 by the E.F. Sorocabana railway company (Main Line), located close to where the Barueri-Mirim river flows into the Tietê, 30 km west of the provincial capital São Paulo. The railway line changed ownership several times: in 1892 to Cia. União Sorocabana e Ytuana, in 1907 to Sorocabana Railway, in 1919 back to E.F. Sorocabana, in 1971 to FEPASA, in 1994 to CPTM, and since 2022 it belongs to ViaMobilidade.
The village, which was supposedly a freguesia of the Vila of Parnahyba since 1809, grew rapidly after the railway connection and became a district in December 1918 and an independent município 30 years later.
A railway station post office had existed since June 1887, as reported by the Rio press:

The imperial postmark is BSP-0125a (image from the internet): a double circle with the inscription BARUERY at the top. The only specimen seen so far is red and was used on a D. Pedro issue of 1876.

Der Bahnhof Baruery wurde im Juli 1875 durch die Bahngesellschaft E.F. Sorocabana (Hauptlinie) eingeweiht und lag nah an der Mündung des Flusses Barueri-Mirim in den Tietê, 30 km westlich der Provinzhauptstadt São Paulo. Die Bahnlinie wechselte mehrmals den Besitz: 1892 zur Cia. União Sorocabana e Ytuana, 1907 zur Sorocabana Railway, 1919 zurück zu E.F. Sorocabana, 1971 zur FEPASA, 1994 zur CPTM, und seit 2022 gehört sie zur ViaMobilidade.
Der Ort, der angeblich seit 1809 eine Freguesia der Vila von Parnahyba war, wuchs nach der Bahnverbindung rasch und wurde im Dezember 1918 zum Distrikt und 30 Jahre später zum eigenständigen Município.
Ein Bahnhofspost am gab es seit Juni 1887, wie die Presse aus Rio berichtete:

Der kaiserliche Poststempel ist BSP-0125a (Abbildung aus dem Internet): ein Doppelkreis mit der Inschrift BARUERY oben. Das bisher einzig gesichtete Exemplar ist rot und wurde auf einer D. Pedro-Ausgabe von 1876 verwendet.