But in 251 of the 300 municipalities with data available for the same period (out of a total of 308 municipalities), houses were sold for prices well below the national median, according to a report by idealista. Of these, there are 193 municipalities where the prices of the houses transacted were less than 1,000 euros/m2 and 64 municipalities with prices lower than 500 euros/m2.

The 10 cheapest municipalities to buy a house are...

It is necessary to travel to the interior of the country to discover the cheapest municipalities to buy a house, where a property costs, on average, less than €30,000, as shown by data from the national statistics office.

Figueira de Castelo Rodrigo is the municipality in the country where it is possible to find the cheapest houses of all, having registered a median price of 143 euros/m2 between April 2022 and March 2023. In other words, a house of 100 m2 cost about of €14,300 in this municipality in the district of Guarda.

The second cheapest municipality to buy a house in Portugal is Sernancelhe, in the district of Viseu (201 euros/m2) and the third is Fornos de Algodres, in the district of Guarda (217 euros/m2).

The 10 cheapest municipalities to buy a house are distributed across the districts of Guarda (4 municipalities), Viseu (3), Castelo Branco (2) and Santarém (1), all in the interior of the country.

The 10 most expensive municipalities

As you would expect, it is in the country's large urban centres – districts of Lisbon, Faro and Porto – that you will find the most expensive municipalities to buy a house in Portugal. In first place is the country's capital, where houses were sold for the median price of 3,965 euros/m2 in the last year ending in March 2023.

Following is Cascais and Oeiras, also in the Lisbon district, where the prices of houses sold stood at 3,574 euros/m2 and 3,093 euros/m2 in that period, according to data from the Portuguese statistics office.

In this list, four Algarve municipalities follow: Loulé, Lagos, Aljezur and Vila do Bispo, where buying a house was more expensive in the last year than in Porto. It should be noted that the municipality of Porto appears in 8th place, with the median price of houses at 2,609 euros/m2.

At the bottom of the list of the 10 municipalities where buying a house is most expensive is Albufeira (2,586 euros/m2), in the Algarve, and Odivelas (2,448 euros/m2), in Lisbon.