Spanish Stamp Duty on Notarial Deeds (AJD)
You sign, the bank pays. And the exemption you qualify for stops working for exactly that reason.

TL;DR
Actos Jurídicos Documentados is the third concept inside Spain's transfer and stamp tax, and it falls on the notarial document rather than the deal it records. One deed carries two charges: the fixed stamped-paper charge, a few cents per sheet, and the graduated charge, a percentage that arises only where the four conditions of article 31.2 are met at once. On a mortgage deed the base is not the loan but the whole secured liability, the taxpayer has been the lender since November 2018, and precisely because of that, personal exemptions stop applying.
The short answer
Actos Jurídicos Documentados taxes the document, not the deal inside it1. You pay for having an act recorded in a public deed.
And one deed carries two charges orders of magnitude apart: a few cents of stamped paper, which always arise, and a percentage on the base that appears only where four conditions are met at once5.
The tax is on the document, not on the purchase
Article 1 of the consolidated Act packs three concepts into one tax: transfers for consideration, corporate transactions, and documented legal acts1. The first two tax transactions. The third taxes paper.
Article 28 says it with the economy of an old statute: «Deeds, records and notarial attestations are liable, on the terms laid down in article 31»2. That is where this tax's most common misunderstanding comes from. The person paying thinks they are paying to buy something, when they are paying to have it recorded before a notary. Which is also why it can sit alongside VAT on the same transaction without any duplication: they are two different charges on two different things.
This page covers the notarial-documents branch, the one that shows up in a home purchase, a mortgage, a new-build declaration or a horizontal division. The tax's other two branches, commercial documents and administrative documents, have rules of their own and are not worked out the same way.
One deed, two charges
Article 27.2 splits notarial documents into «variable or fixed charges, according to whether the document formalised, granted or executed has as its object an amount or a valuable thing at any point during its term»2.
The fixed charge is the stamped paper. Article 31.1 sets it at «0.30 euros per sheet or 0.15 euros per folio, at the choice of the authorising officer», and adds that «plain copies shall not be liable to the tax»5. It arises simply because the deed is drawn up. That article has four versions and the latest has been in force since 1 January 2003: these figures have gone twenty-three years untouched.
The graduated charge is the percentage on the base, and it is the one that moves thousands of euros. Confusing the two has one concrete consequence: «no graduated charge» does not mean «nothing to pay», and a self-assessment that assumes the second is filed wrong.
The four conditions, and why a resale fails them
Article 31.2 requires four things at once for the graduated charge to arise5:
- a first copy of a deed or notarial record;
- an object that is an amount or a valuable thing;
- acts or contracts capable of registration at the Land, Commercial, Industrial Property or Movable Property registry;
- no liability to inheritance and gift tax, nor to the concepts in numbers 1 and 2 of article 1.
They are cumulative, so one failure is enough. And the fourth explains the question most people arrive with: a resale home purchase carries no graduated charge, because it is liable to number 1 of article 1, the transfer tax. It is not an exemption or a relief: it falls outside by construction. Nor does an inheritance deed, which already pays inheritance and gift tax.
A new build is the mirror case, and that is why it surprises people. The developer charges VAT, which is not on the exclusion list, so the new-build declaration does trigger the graduated charge on the declared value of the works, on top of the VAT.
On a mortgage the base is not the loan
This is the costliest mistake in the tax, and it sits in the second paragraph of article 30.1: «The taxable base for rights in rem by way of security and for deeds documenting secured loans shall consist of the amount of the obligation or capital secured, including the sums secured for interest, indemnities, penalties for breach or other analogous items»4.
That is the total mortgage liability, which in an ordinary deed sits well above the capital lent, because it adds ordinary interest, default interest and a provision for costs and expenses. Any calculation that multiplies the rate by the loan amount comes out short, and that is exactly the intuitive reading.
And where the deed does not state the figure, the statute does not estimate: it computes. The third paragraph of the same article provides that «if the amount secured is not expressly stated, the base shall be taken as the capital plus three years of interest»4.
Who pays, since November 2018
The general rule in article 29 is that the tax is paid by «the acquirer of the asset or right and, failing that, the persons who request or apply for the notarial documents, or those in whose interest they are issued»3.
Its second paragraph introduces the exception that changed the Spanish mortgage market: «Where the deed is one of loan secured by mortgage, the lender shall be considered the taxpayer»3. Royal Decree-Law 17/2018 of 8 November added it, with effect from the 10th7. Before that date the borrower paid, which is why two mortgages signed weeks apart carry such different bills.
The amendment moved the taxpayer and nothing else. The tax still arises, on the same base and at the same rate.
The consequence almost nobody spells out: the exemption switches off
This is the part the summaries leave out, and it comes from chaining three articles.
The second paragraph of article 45.II provides that «tax benefits and personal exemptions granted by this or other Acts in the variable-charge branch of notarial documents of the tax on documented legal acts shall not apply to transactions where the taxpayer is determined under the second paragraph of article 29 of the Consolidated Act, unless otherwise expressly provided»6.
And the second paragraph of article 29 is, precisely, the lender rule3.
So an exemption that depends on who you are, subsidised housing for instance, does not travel with a mortgage deed. Since 2018 the taxpayer on that charge is somebody else, so the borrower's personal exemption has nobody to attach to. It is a consequence of the same amendment that took the tax off the customer's bill, and it runs in the opposite direction to the one people assume.
What an exemption never reaches
The first paragraph of the same article 45.II is shorter and blunter: «Tax benefits shall not apply, in any case, to bills of exchange, to documents that replace them or perform a remittance function, nor to deeds, records or notarial attestations taxed under article 31, paragraph one»6.
You have to read the paragraph number to see what it says. Paragraph one of article 31 is the stamped paper5. So a wholly exempt deed still pays its cents per sheet. It is small money, and it is the kind of detail that gets a filing rejected.
Your region sets the rate
Article 31.2 refers to «the rate which, in accordance with Act 22/2009, has been approved by the Autonomous Region», and closes with a fallback: «Where the Autonomous Region has not approved the rate referred to in the preceding paragraph, 0.50 per 100 shall apply»5.
That 0.50% is neither an average nor our estimate: it is the figure the statute itself applies in the absence of a regional rule, and it is the value the calculator starts from. Most regions have approved higher rates, and many also run reduced rates for subsidised housing, for the buyer's age or for large families, each with its own income and price requirements. We do not publish those here: confirm them with your region's tax agency, which approves them and administers the tax. The Basque Country and Navarre have their own regimes and are outside this calculation.
The reference-value floor
This is the most recent change to the base article. The fourth paragraph of article 30.1, added by article 6.6 of Act 11/2021 with effect from 11 July 2021, provides that «where the taxable base is determined by reference to the value of immovable property, that value may not be lower than the one determined in accordance with article 10»48.
That value is the Catastro reference value, and it works as a floor: where it exceeds the value declared in the deed, the reference value governs. It only bites where the base is measured by the value of a property, so it does not touch the mortgage liability or the protest record's own base.
A worked example
A mortgage with 200,000 euros of capital whose deed declares a total liability of 252,000 euros, in a region with a 1.5% rate, with two sheets across the original and the first copy.
The base is 252,000 euros rather than 200,000, because article 30.1 requires the secured sums to be included4. The graduated charge is 3,780 euros against the 3,000 the bare capital would give: 780 euros the intuitive reading leaves on the table. The fixed charge is 0.60 euros, for a total of 3,780.60 euros.
Who pays. The lender3. And if the borrower claimed a personal exemption it would not help, because article 45.II disapplies it on this transaction6.
If the deed did not state the total liability, at a 3% nominal rate the base would be the capital plus three years of interest, 218,000 euros, and the graduated charge 3,2704.
Compare a new build of 200,000 euros in the same region: the base is the declared value, the graduated charge is 3,000 euros, the total 3,000.60 and the acquirer pays. The same purchase deed, if the home were a resale, would pay 0.60 euros of stamped paper and no graduated charge at all5.
Common mistakes
Multiplying the rate by the loan amount
The base of a deed documenting a mortgage-secured loan is the secured capital «including the sums secured for interest, indemnities, penalties for breach or other analogous items». That figure sits above the capital, so the intuitive calculation comes out short.
Reading «no graduated charge» as «nothing to pay»
The fixed stamped-paper charge arises simply because the deed is drawn up, and no exemption reaches it. It is cents, but a self-assessment that omits it is filed wrong.
Assuming the AJD on a mortgage is paid by whoever signs the loan
The lender has paid it since 10 November 2018, under the second paragraph of article 29 as amended by Royal Decree-Law 17/2018. Before that date the borrower paid, which is why bills differ so sharply depending on when the deed was signed.
Counting on a personal exemption in a mortgage deed
It does not apply. The second paragraph of article 45.II disapplies tax benefits and personal exemptions in the variable-charge branch on transactions whose taxpayer is determined under the second paragraph of article 29, which is the lender rule.
Looking for one single AJD rate for the whole of Spain
There is none. Each autonomous region approves its own, and the 0.50% in article 31.2 is the fallback the statute applies where a region never approved one. The Basque Country and Navarre also have their own regimes.
Frequently asked questions
What is AJD tax in Spain?
Who pays the AJD on a Spanish mortgage?
Do you pay AJD on a resale property in Spain?
What amount is AJD calculated on for a mortgage?
What is the AJD rate in Spain?
If I am exempt, do I pay no AJD at all?
Does a new build pay both VAT and AJD?
What about a deed with no stated amount, or a protest record?
Related reading & calculators
Sources
- 1.Consolidated Spanish Transfer and Stamp Tax Act (Royal Legislative Decree 1/1993), article 1: the three concepts of the tax, the third being documented legal acts · Boletín Oficial del Estado
- 2.Consolidated Transfer and Stamp Tax Act, articles 27 and 28: the fixed and variable charges on notarial documents, and which documents are liable · Boletín Oficial del Estado
- 3.Consolidated Transfer and Stamp Tax Act, article 29: the taxpayer, with the lender rule in its second paragraph · Boletín Oficial del Estado
- 4.Consolidated Transfer and Stamp Tax Act, article 30: the taxable base, the secured liability, the capital plus three years of interest, and the reference-value floor · Boletín Oficial del Estado
- 5.Consolidated Transfer and Stamp Tax Act, article 31: the 0.30 euro per sheet stamped paper and the four conditions of the graduated charge, with the 0.50 per 100 fallback rate · Boletín Oficial del Estado
- 6.Consolidated Transfer and Stamp Tax Act, article 45: the two paragraphs of section II that switch exemptions off, one for the stamped paper and one for the variable charge on a mortgage · Boletín Oficial del Estado
- 7.Royal Decree-Law 17/2018 of 8 November: the taxpayer on a mortgage-secured loan deed becomes the lender, with effect from 10 November 2018 · Boletín Oficial del Estado
- 8.Act 11/2021 of 9 July on measures to prevent and combat tax fraud: its article 6.6 adds the Catastro reference-value floor to the AJD base · Boletín Oficial del Estado
Author / Reviewed by
Author
Thorben Rasmus Idel
Co-founder & writer
Co-founder of Calculadora Capital and the writer behind the methodology on every calculator and article. An entrepreneur and active investor, Thorben founded Idel Versandhandel GmbH, an international trading company operating across 16 countries, and invests across stocks, ETFs and cryptocurrency. He writes the methodology and verifies the math behind each page, drawing on hands-on business and investing experience to keep the tools and explanations grounded in how money, markets and taxes actually work for everyday people in Spain.
Reviewed by
Nahar Geva
Co-founder & reviewer
Co-founder of Calculadora Capital and the independent reviewer behind every calculator and article. An entrepreneur and active investor, Nahar brings a data- and product-driven mindset together with hands-on experience in the markets, investing across stocks and ETFs as well as cryptocurrency and other digital assets, alongside broader personal finance and real estate. On each page Nahar reviews the methodology and double-checks the math and figures, pressure-testing how the tools and explanations hold up against the way money, markets and taxes actually work for everyday investors.
Published: Updated: Reviewed: