This video shows crews fighting the rising flames in Port de Vilomara, in the province of Barcelona.
Local emergency services said the fire, which had spread to over 1,200 hectares (2,965 acres), led to the evacuation of local residents.
Two planes and six helicopters assisted with the containment efforts.
Temperatures had risen to over 40C in the area, increasing with it the risk of wildfires.
Click here to sign up for our newsletters.