Castellbell i el Vilar is a municipality in the comarca o the Bages in Catalonie, Spain. It is situatit at the point whaur the Llobregat river crosses the Prelittoral Range. The railwey station serves baith the FGC line R5 atween Barcelona an Manresa an the RENFE line atween Barcelona an Zaragoza. The C-1411 road links the municipality wi Martorell an Manresa.