The villagers had been housed in emergency accommodation, the Noticias de Navarra newspaper reported on the basis of information from the local authorities.
The situation was reported to be worse amid changing wind directions in the Sierra del Perdón mountain range and in Gallipienzo, some 20 kilometres south of the provincial capital of Pamplona.
The situation was reported to be improving gradually, as the recent heatwave passed, and temperatures fell below 30 degrees Celsius.
The economic consequences for the thinly populated region were significant.
Heatwaves were becoming more frequent and more intense in Spain, as well as earlier in the year.
Montoro in Andalusia in the south posted a record high of 47.4 degrees Celsius in August last year.