Rubí is a municipality in Spain, in the province of Barcelona, in Catalonia. On 1 January 2025 it had 82,823 inhabitants according to the INE municipal register (padrón), over an area of about 33.4 km².
With about 2,480 inhabitants per km², it is one of the most densely populated areas in the country, part of a large metropolitan area. Of the 134 municipalities in the province of Barcelona with at least 5,000 inhabitants, it is number 11 by population.
As the crow flies it lies about 16 km north-west of Barcelona, the provincial capital. The nearest major city is Barcelona, about 20 km away.
Nearby, within a few dozen kilometres, are other destinations featured in our guides: Terrassa (7 km), Sabadell (9 km), Lifestyle (16 km), 10 things to see (17 km), Shopping (17 km).
To explore the area, use the map of neighbouring municipalities and the accommodation options in and around Rubí; all the municipalities in the province of Barcelona are listed on their own page.