To expand on this point, and a similar system in Finland called asumisoikeus:
Municipalities have a pool of housing units. The tenants do not buy the house itself, they buy a right to live in that house, which usually costs about 10% of the price of the house, reimbursed when they move out. They also pay a rent that takes care of the energies and depreciation of the house. Socio-economic status is taken into account when figuring out who's eligible
Now, there are some criticisms of the system, mainly that the rents aren't that much lower than commercial properties. However, it does keep house prices in check. 100m^2 (~1100 sqft) house in the capital region is about 9 years of average take-home income - or 5 years for a couple
In the BRF system, you literally do not "buy the place you live in", you instead buy the right to live there. The actual ownership of the property is with the BRF.
The word is "bostadsrättsförening" [1] which roughly translates to "living rights association" or something (Wikipedia uses "housing cooperative" so I guess that's the best).
The word "förening" is hard to translate, the closest seems to be "voluntary association" [1], it is a formal collection of people with some common purpose (like managing a house). There are legally various types with varying requirements, and so on.
Edit: spelling, more linkage.
It would have been a massive financial burden and personal inconvenience if I had to buy/sell every one of those times.
I swear some of the policies people on here come up with are so poorly thought out.
We ended up paying the same price for relatively similar flats, but in BCN that's much harder to achieve, and they are older and need renovation - and there are thousands of AirBnB slumlords buying up everything.
So yeah, the price increases have been a problem (and hit me badly combined with the interest rate increases) but it's still better than most of Western Europe.
Heavy taxation on NPD (non-primary domicile) housing solves this by itself. It's just that convincing people this is in their best interest will take a lot of effort - not to mention that there's a fairly ubiquitous problem of local politicians being in the pockets of property developers in the areas where these problems are at their worst.
People still believe that their home is a good investment, without any thought given to who's going to buy it from them later or where that person will be getting the financing.
It's helped a lot here.
I don't think that social housing is a good solution. It's a complete disaster here in Sweden, with 12+ year waiting times, and massive inequality between those who have those rent-fixed privileged first hand contracts and those stuck in the unregulated wild west of second hand renting. Often resulting in the working poor effectively subsidising wealthier, older people to keep their very cheap flats in the city centre, etc.