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

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

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)