Balenyà is a municipality of 3,840 people (2020). It is in the province of Barcelona in the autonomous community of Catalonia in Spain.