Can I buy property in Spain after Brexit? YES
There are no rules that restrict the purchase of property in Spain to only EU citizens.
In Spain, if you can pay the purchase price you can own the property.
Throughout the years, citizens from outside the EU borders like Norway or America have been buying property in Spain without any issue, and the fact that Britain will exit the EU will not change this rule, nor there will be a specific rule pointing out UK citizens.
Not only you are absolutely able to buy a house in Spain, but the Spanish government is always trying their best to encourage non-EU residents to purchase a property in Spain.
After Today, 31 January 2020 there will be a transition period until the end of 2020, while the UK and EU negotiate additional arrangements.The current rules on trade, travel, and business for the UK and EU will continue to apply during the transition period.You, your family or your business can take some actions now to prepare for 2021.
Visas and Residency
You must register as a Spanish resident if you want to stay in Spain for more than 3 months.You will get a green A4 certificate or credit card-sized piece of paper from Extranjeria or the police.
Residency after Brexit
If you become a resident in Spain before the implementation period ends on 31 December 2020, you will be able to stay.If you arrive in Spain before the end of the implementation period, you will be able to register as resident in Spain under the current rules, and will have your right to residence in Spain protected for as long as you remain a resident.
So a few things you will need to do:
register as a resident in Spain
register for healthcare as a resident in Spain
exchange your UK driving licence for a Spanish one