Buying a property in Spain through a foreign company: what to check
Alejandro Alonso · Aristea Legal · Lawyer registered with the Murcia Bar Association, no. 5494
Clarity. Judgement. Approachability.
You want to buy a property in Spain in the name of a company incorporated abroad. The price is agreed and the money is in another country. Before signing, though, you need to be clear about who can represent the company, which documents the Spanish Tax Agency requires and how the payment will be made.
The situation
In this typical case, a buyer pays a deposit and then asks for the property to be conveyed to a company incorporated outside Spain. While the purchase is being prepared, questions arise about the company's Spanish tax number (NIF), the powers of the person who will sign and the documents the bank will ask for.
Preparing the purchase means reviewing the company's articles of association, documenting the change of buyer and coordinating the notary, the Tax Agency and the banks. Obtaining a tax number is only one part of that work.
What the law says
Article 9.11 of the Spanish Civil Code provides that a company's capacity and representation are governed by the law of its nationality. That is why its articles of association and the powers of the person signing must be reviewed. The company's objects describe the activities it is allowed to carry out.
Article 10.1 of the Civil Code, in turn, subjects ownership of real estate to the law of the place where the property is located: Spanish law.
Article 23.1 of the Regulation approved by Royal Decree 1065/2007 requires entities that will carry out transactions with tax effects in Spain to apply for a NIF. That number does not replace the review of who can represent the company.
Articles 4 and 6 of Law 10/2010 on the prevention of money laundering govern the identification of the beneficial owner and the monitoring of transactions, including the source of funds. The beneficial owner is the individual who ultimately owns or controls the company.
If the seller is not resident in Spain and sells without a permanent establishment (that is, without operating through a fixed place of business in Spain), the general rule is that the buyer must withhold and pay 3 % of the price to the Tax Agency. This is laid down in Article 25.2 of the consolidated Non-Resident Income Tax Act (Royal Legislative Decree 5/2004) and Article 14.1 of its Regulation (Royal Decree 1776/2004). It does not depend on the seller's passport: proof of tax residence can change the treatment.
Options that usually arise
- Review the company before committing the payment. If the articles of association contain limits, a shareholders' resolution or an amendment may be needed. The answer depends on the applicable foreign law.
- Document who is buying and what happens to the deposit. If you paid the deposit personally, it must be made clear how that amount is credited to the company's purchase, and the necessary consents must be obtained.
- Prepare the payment with both banks. Confirm the account holder, source of funds, limits, payee and type of transfer. If you contribute personal funds, document their transfer to the company.
- Agree how the price is split. Separate the balance, withholdings, costs and authorised payments to third parties. If anyone proposes handing over money before signing, its safekeeping and return must be clearly agreed.
Deadlines you should not miss
Completion: the date agreed in the contract applies (Article 1091 of the Civil Code). A pending formality does not automatically extend that date.
Withholding for a non-resident seller: Article 14.3 of Royal Decree 1776/2004 gives one month from the sale to file and pay the withholding using form 211. It is a one-month period, not thirty working days.
Municipal capital gains tax (plusvalía municipal): for a sale, Article 110.2.a of the consolidated Local Finance Act (Royal Legislative Decree 2/2004) sets thirty working days from the sale. Saturdays, Sundays and public holidays are excluded (Article 30.2 of Law 39/2015). Check whether the town hall uses a declaration or a self-assessment system.
Purchase taxes follow their own timetable depending on the tax and the autonomous region.
Documents you should have ready
- ID and NIE of the person signing on behalf of the company, and the company's NIF. Article 254.2 of the Mortgage Act requires the tax numbers of everyone appearing before the notary and of the entities they represent in order to register the purchase.
- Articles of association, a certificate from the company registry and the appointment or a valid power of attorney.
- Information on the beneficial owner.
- Any translations and legalisations (apostilles) required.
- Reservation agreement, proof of the deposit and any later agreements.
- The seller's title deed and up-to-date Land Registry information.
- Bank certificates and evidence of the source of funds.
- Payment schedule, certificates of outstanding debts and the property's documents.
Frequently asked questions
Does having a NIF mean the company can already sign?
Not on its own. The company's existence, capacity and representation must also be proven, and the transaction documents reviewed.
Is 3 % always withheld when the seller is a foreigner?
No. What matters is the seller's tax residence. Article 14.2.a of Royal Decree 1776/2004 provides an exception when the seller proves, with a tax certificate, that they are subject to Spanish Personal Income Tax or Corporation Tax.
Does the municipal capital gains tax only affect the seller?
If the seller is an individual not resident in Spain, the buyer acts as the substitute taxpayer and is answerable to the tax authority. This is provided in Article 106.2 of Royal Legislative Decree 2/2004.
Every case is different. If you are in a similar situation, message me on WhatsApp at +34 622 011 513 and we will look at it. Consultations in English.
This article is general information and does not replace advice on your specific case. Reviewed in October 2026.
Sources (Spanish Official Gazette, BOE)
- Civil Code: Articles 9.11, 10.1 and 1091
- Royal Decree 1065/2007: Article 23.1 of its Regulation
- Law 10/2010: Articles 4 and 6
- Royal Decree 1776/2004: Articles 14.1, 14.2.a and 14.3 of its Regulation
- Royal Legislative Decree 5/2004 (Non-Resident Income Tax Act): Article 25.2
- Mortgage Act: Article 254.2
- Royal Legislative Decree 2/2004: Articles 106.2, 109.1.a and 110.2.a
- Law 39/2015: Article 30.2