Pallejà is a municipality located in the Baix Llobregat comarca within the Catalonia region of Spain. The town is situated on the right bank of the Llobregat river and sits along the main N-II road.
The municipality is served by the main rail lines of the Llobregat corridor, with its station providing access to the FGC services R5/R50, R6, S4, and S8. Additionally, the town features Pallejà castle, a seventeenth-century structure built on the site of an older fortress that currently houses a library.