Castelldefels is a municipality located in the Baix Llobregat comarca within the province of Barcelona in the Catalonia region of Spain. It serves as a suburban town situated within the Metropolitan Area of Barcelona.
The municipality has a population of 65,954 residents. It is positioned as part of the coastal urban landscape surrounding the regional capital.