Vallirana is a municipality situated in the Baix Llobregat comarca within the province of Barcelona in the Catalonia region of Spain. It is located in close proximity to the city of Barcelona.
The town is positioned at the foot of the Serra d'Ordal and is located near the Llobregat river.