{"id":34658,"date":"2025-06-04T15:09:46","date_gmt":"2025-06-04T15:09:46","guid":{"rendered":"https:\/\/valoracasa.es\/?p=34658"},"modified":"2026-11-03T12:21:14","modified_gmt":"2026-11-03T12:21:14","slug":"tax-on-selling-a-home","status":"publish","type":"post","link":"https:\/\/valoracasa.es\/en\/tributacion-de-venta-de-vivienda\/","title":{"rendered":"Tax on selling a home"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34910 size-full\" src=\"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png\" alt=\"Tax on selling a home\" width=\"824\" height=\"300\" srcset=\"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png 824w, https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion-300x109.png 300w, https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion-768x280.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/p>\n<h2 data-start=\"0\" data-end=\"81\"><strong data-start=\"0\" data-end=\"81\">Tax on selling a home in Spain: Everything you need to know<\/strong><\/h2>\n<p class=\"\" data-start=\"83\" data-end=\"473\">Selling a property in Spain has various tax implications that should be considered to avoid surprises when filing your tax return. In this article we look in depth at the <strong data-start=\"296\" data-end=\"335\">tax on selling a home<\/strong> and the most relevant taxes, how they're calculated and what tax considerations to bear in mind so you only pay what's necessary.<\/p>\n<h3 class=\"\" data-start=\"475\" data-end=\"533\">1. <strong data-start=\"482\" data-end=\"533\">What is the tax on selling a home?<\/strong><\/h3>\n<p class=\"\" data-start=\"535\" data-end=\"977\">The <strong data-start=\"538\" data-end=\"577\">tax on selling a home<\/strong> refers to the taxes an owner must pay when selling a property. There are different taxes depending on the type of home, how long it's been owned and other personal factors. The main tax is personal income tax (IRPF), but municipal capital gains tax and other levies also need to be considered.<\/p>\n<h3 class=\"\" data-start=\"979\" data-end=\"1044\">2. <strong data-start=\"986\" data-end=\"1044\">Personal Income Tax (IRPF)<\/strong><\/h3>\n<p class=\"\" data-start=\"1046\" data-end=\"1270\">One of the most important aspects of the <strong data-start=\"1088\" data-end=\"1127\">tax on selling a home<\/strong> is personal income tax (IRPF), which applies to the <strong data-start=\"1209\" data-end=\"1233\">capital gain<\/strong> made on selling a property.<\/p>\n<h4 class=\"\" data-start=\"1272\" data-end=\"1318\">How is the capital gain calculated?<\/h4>\n<p class=\"\" data-start=\"1320\" data-end=\"1668\">The capital gain is the difference between the sale price and the purchase price of the home. Certain extra costs can also be included in the calculation, such as notary fees, transfer taxes, estate agency fees and the cost of improvements made to the property.<\/p>\n<ol data-start=\"1670\" data-end=\"1975\">\n<li class=\"\" data-start=\"1670\" data-end=\"1838\">\n<p class=\"\" data-start=\"1673\" data-end=\"1838\"><strong data-start=\"1673\" data-end=\"1698\">Purchase price<\/strong>: Calculated by adding the property's purchase price and the costs of acquisition (notary, registry, transfer taxes).<\/p>\n<\/li>\n<li class=\"\" data-start=\"1839\" data-end=\"1975\">\n<p class=\"\" data-start=\"1842\" data-end=\"1975\"><strong data-start=\"1842\" data-end=\"1861\">Sale price<\/strong>: The price the property sells for, minus the costs of sale, such as estate agency fees.<\/p>\n<\/li>\n<\/ol>\n<h4 class=\"\" data-start=\"1977\" data-end=\"2020\">Tax according to the gain made<\/h4>\n<p class=\"\" data-start=\"2022\" data-end=\"2230\">The <strong data-start=\"2025\" data-end=\"2064\">tax on selling a home<\/strong> varies according to the capital gain made. If the property has been the seller's main residence, they may benefit from certain tax exemptions.<\/p>\n<ul data-start=\"2232\" data-end=\"2833\">\n<li class=\"\" data-start=\"2232\" data-end=\"2592\">\n<p class=\"\" data-start=\"2234\" data-end=\"2592\"><strong data-start=\"2234\" data-end=\"2255\">Main residence<\/strong>: If you sell your main residence and reinvest the gain in another main residence within two years, the tax can be reduced or even waived entirely. If not, the gain is taxed at between 19% and 23%, depending on its size.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2596\" data-end=\"2833\">\n<p class=\"\" data-start=\"2598\" data-end=\"2833\"><strong data-start=\"2598\" data-end=\"2622\">Not your main residence<\/strong>: If the property isn't considered your main residence, the <strong data-start=\"2678\" data-end=\"2717\">tax on selling a home<\/strong> doesn't have the same tax advantages, and the seller must pay tax on the capital gain made.<\/p>\n<\/li>\n<\/ul>\n<h3 class=\"\" data-start=\"2835\" data-end=\"2929\">3. <strong data-start=\"2842\" data-end=\"2929\">Tax on the Increase in Value of Urban Land (IIVTNU)<\/strong><\/h3>\n<p class=\"\" data-start=\"2931\" data-end=\"3212\">Another important tax in the <strong data-start=\"2969\" data-end=\"3008\">tax on selling a home<\/strong> is the <strong data-start=\"3015\" data-end=\"3050\">municipal capital gains tax<\/strong>. It's calculated according to the increase in value of the land the property stands on from the date of purchase to the date of sale.<\/p>\n<p class=\"\" data-start=\"3214\" data-end=\"3581\">The land's cadastral value affects the calculation, and it's important to bear in mind that how long the owner has held the property also plays a crucial role. The longer they've owned it, the greater the increase in value and therefore the amount of municipal capital gains tax payable.<\/p>\n<h4 class=\"\" data-start=\"3583\" data-end=\"3641\">Exemptions and reliefs on municipal capital gains tax<\/h4>\n<p class=\"\" data-start=\"3643\" data-end=\"3962\">You may not always have to pay municipal capital gains tax, as in some cases it's zero or reduced. In some municipalities, for example, there are reductions for those selling for less than they paid or for sales between close relatives.<\/p>\n<h3 class=\"\" data-start=\"3964\" data-end=\"4005\">4. <strong data-start=\"3971\" data-end=\"4005\">Withholding for non-residents<\/strong><\/h3>\n<p class=\"\" data-start=\"4007\" data-end=\"4409\">If the owner isn't tax resident in Spain, a withholding is applied to the property's sale price. This 3% withholding must be paid to the Tax Agency to ensure the tax obligations arising from the sale are met. The aim is to make sure non-residents comply with their tax obligations.<\/p>\n<h3 class=\"\" data-start=\"4411\" data-end=\"4454\">5. <strong data-start=\"4418\" data-end=\"4454\">Exemption for over-65s<\/strong><\/h3>\n<p class=\"\" data-start=\"4456\" data-end=\"4751\">For owners over 65, there's a full exemption from the <strong data-start=\"4542\" data-end=\"4581\">tax on selling a home<\/strong> if certain requirements are met. If the owner has sold their main residence and is over 65, the gain from the sale isn't subject to income tax.<\/p>\n<p class=\"\" data-start=\"4753\" data-end=\"4914\">In addition, if the money from the sale goes into a lifetime annuity or certain other investments, they may also qualify for a full income tax exemption.<\/p>\n<h3 class=\"\" data-start=\"4916\" data-end=\"4959\">6. <strong data-start=\"4923\" data-end=\"4959\">Reinvestment in a main residence<\/strong><\/h3>\n<p class=\"\" data-start=\"4961\" data-end=\"5333\">In some cases, if the owner reinvests the gain from selling the home in buying a new main residence, a <strong data-start=\"5137\" data-end=\"5150\">deduction<\/strong> o <strong data-start=\"5153\" data-end=\"5165\">exemption<\/strong> in the <strong data-start=\"5172\" data-end=\"5211\">tax on selling a home<\/strong>may apply. To benefit from it, the owner must buy a new home within two years.<\/p>\n<h3 class=\"\" data-start=\"5335\" data-end=\"5389\">7. <strong data-start=\"5342\" data-end=\"5389\">When is it a good idea to sell a home?<\/strong><\/h3>\n<p class=\"\" data-start=\"5391\" data-end=\"5877\">The decision to sell a property depends on many factors, and <strong data-start=\"5460\" data-end=\"5499\">tax on selling a home<\/strong> is just one of them. If you've owned it for many years and its value has risen significantly, you'll probably have to pay tax on the capital gain. However, in some cases selling can be a viable financial strategy if you reinvest the gain in a new property.<\/p>\n<p class=\"\" data-start=\"5879\" data-end=\"6043\">You should also consider the property market: if house prices are high, it may be a good time to sell.<\/p>\n<h3 class=\"\" data-start=\"6045\" data-end=\"6118\">8. <strong data-start=\"6052\" data-end=\"6118\">Tips to optimise the tax on selling a home<\/strong><\/h3>\n<p class=\"\" data-start=\"6120\" data-end=\"6306\">To optimise the <strong data-start=\"6138\" data-end=\"6177\">tax on selling a home<\/strong>, it's important to follow some tips that can reduce the tax impact of the transaction. These include:<\/p>\n<ul data-start=\"6308\" data-end=\"6671\">\n<li class=\"\" data-start=\"6308\" data-end=\"6435\">\n<p class=\"\" data-start=\"6310\" data-end=\"6435\">Making sure all the costs of buying, improving and selling the property are correctly accounted for.<\/p>\n<\/li>\n<li class=\"\" data-start=\"6436\" data-end=\"6549\">\n<p class=\"\" data-start=\"6438\" data-end=\"6549\">Considering selling the home once you've turned 65, if possible.<\/p>\n<\/li>\n<li class=\"\" data-start=\"6550\" data-end=\"6671\">\n<p class=\"\" data-start=\"6552\" data-end=\"6671\">If reinvesting, making sure you meet the deadlines for buying the new main residence.<\/p>\n<\/li>\n<\/ul>\n<h3 class=\"\" data-start=\"6673\" data-end=\"6744\">Conclusion: How should you manage the tax on selling a home?<\/h3>\n<p class=\"\" data-start=\"6746\" data-end=\"7098\">The <strong data-start=\"6749\" data-end=\"6788\">tax on selling a home<\/strong> is a complex process that needs careful management to avoid tax problems in the future. Knowing the taxes involved, the possible exemptions and deductions, and planning the sale properly are essential steps to comply with tax regulations efficiently.<\/p>\n<p class=\"\" data-start=\"7100\" data-end=\"7416\">If you're thinking of selling your home, it's important to have the support of experts in property taxation and real estate to make sure everything is handled correctly and optimally. With proper planning, you can maximise the profit from the sale and keep the tax burden to a minimum.<\/p>\n<p class=\"\" data-start=\"7423\" data-end=\"7700\"><strong data-start=\"7423\" data-end=\"7557\">If you need professional advice on the tax on selling a home, don't hesitate to get in touch.<\/strong> Our team includes tax experts and property advisors who will guide you through the whole process efficiently and transparently.<\/p>","protected":false},"excerpt":{"rendered":"<p>La tributaci\u00f3n de la venta de vivienda en Espa\u00f1a: Todo lo que necesitas saber Vender una propiedad en Espa\u00f1a tiene diversas implicaciones [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":34910,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[176],"tags":[1185],"class_list":["post-34658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-valoracasa","tag-impuestos-y-gastos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tributaci\u00f3n de venta de vivienda - Inmobiliaria Malaga Valoracasa<\/title>\n<meta name=\"description\" content=\"La tributaci\u00f3n de la venta de vivienda es un proceso complejo que debe gestionarse con cuidado para evitar problemas fiscales\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/valoracasa.es\/en\/tax-on-selling-a-home\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tributaci\u00f3n de venta de vivienda - Inmobiliaria Malaga Valoracasa\" \/>\n<meta property=\"og:description\" content=\"La tributaci\u00f3n de la venta de vivienda es un proceso complejo que debe gestionarse con cuidado para evitar problemas fiscales\" \/>\n<meta property=\"og:url\" content=\"https:\/\/valoracasa.es\/en\/tax-on-selling-a-home\/\" \/>\n<meta property=\"og:site_name\" content=\"Inmobiliaria Malaga Valoracasa\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Valoracasamalaga\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-04T15:09:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-03T12:21:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png\" \/>\n\t<meta property=\"og:image:width\" content=\"824\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Juan Rosado\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Valoracasa\" \/>\n<meta name=\"twitter:site\" content=\"@Valoracasa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Rosado\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tax on selling a home - Estate Agents M\u00e1laga Valoracasa","description":"Tax on the sale of a home is a complex process that must be handled carefully to avoid tax problems","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/valoracasa.es\/en\/tax-on-selling-a-home\/","og_locale":"en_GB","og_type":"article","og_title":"Tributaci\u00f3n de venta de vivienda - Inmobiliaria Malaga Valoracasa","og_description":"La tributaci\u00f3n de la venta de vivienda es un proceso complejo que debe gestionarse con cuidado para evitar problemas fiscales","og_url":"https:\/\/valoracasa.es\/en\/tax-on-selling-a-home\/","og_site_name":"Inmobiliaria Malaga Valoracasa","article_publisher":"https:\/\/www.facebook.com\/Valoracasamalaga\/","article_published_time":"2025-06-04T15:09:46+00:00","article_modified_time":"2026-11-03T12:21:14+00:00","og_image":[{"width":824,"height":300,"url":"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png","type":"image\/png"}],"author":"Juan Rosado","twitter_card":"summary_large_image","twitter_creator":"@Valoracasa","twitter_site":"@Valoracasa","twitter_misc":{"Written by":"Juan Rosado","Estimated reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#article","isPartOf":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/"},"author":{"name":"Juan Rosado","@id":"https:\/\/valoracasa.es\/#\/schema\/person\/f9e89715b6a864d25db070eadc610597"},"headline":"Tributaci\u00f3n de venta de vivienda","datePublished":"2025-06-04T15:09:46+00:00","dateModified":"2026-11-03T12:21:14+00:00","mainEntityOfPage":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/"},"wordCount":1313,"publisher":{"@id":"https:\/\/valoracasa.es\/#organization"},"image":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#primaryimage"},"thumbnailUrl":"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png","keywords":["Impuestos y gastos"],"articleSection":["Blog"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/","url":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/","name":"Tax on selling a home - Estate Agents M\u00e1laga Valoracasa","isPartOf":{"@id":"https:\/\/valoracasa.es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#primaryimage"},"image":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#primaryimage"},"thumbnailUrl":"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png","datePublished":"2025-06-04T15:09:46+00:00","dateModified":"2026-11-03T12:21:14+00:00","description":"Tax on the sale of a home is a complex process that must be handled carefully to avoid tax problems","breadcrumb":{"@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#primaryimage","url":"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png","contentUrl":"https:\/\/valoracasa.es\/wp-content\/uploads\/2025\/05\/tributacion.png","width":824,"height":300,"caption":"Tributaci\u00f3n de venta de vivienda"},{"@type":"BreadcrumbList","@id":"https:\/\/valoracasa.es\/tributacion-de-venta-de-vivienda\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inmobiliaria M\u00e1laga Valoracasa","item":"https:\/\/valoracasa.es\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/valoracasa.es\/category\/blog-valoracasa\/"},{"@type":"ListItem","position":3,"name":"Tributaci\u00f3n de venta de vivienda"}]},{"@type":"WebSite","@id":"https:\/\/valoracasa.es\/#website","url":"https:\/\/valoracasa.es\/","name":"Valoracasa Estate Agents M\u00e1laga","description":"Inmobiliaria en M\u00e1laga. Venta, Compra y Alquiler de Viviendas","publisher":{"@id":"https:\/\/valoracasa.es\/#organization"},"alternateName":"Inmobiliaria Malaga Valoracasa","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/valoracasa.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/valoracasa.es\/#organization","name":"Valoracasa Estate Agents M\u00e1laga","alternateName":"Inmobiliaria Malaga Valoracasa","url":"https:\/\/valoracasa.es\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/valoracasa.es\/#\/schema\/logo\/image\/","url":"https:\/\/valoracasa.es\/wp-content\/uploads\/2022\/03\/logo-web-valoracasa.jpg","contentUrl":"https:\/\/valoracasa.es\/wp-content\/uploads\/2022\/03\/logo-web-valoracasa.jpg","width":200,"height":59,"caption":"Inmobiliaria Malaga Valoracasa"},"image":{"@id":"https:\/\/valoracasa.es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Valoracasamalaga\/","https:\/\/x.com\/Valoracasa","https:\/\/www.instagram.com\/valoracasamalaga\/","https:\/\/www.linkedin.com\/company\/valoracasa","https:\/\/pin.it\/fJaLr3W","https:\/\/www.youtube.com\/channel\/UCaFpo11thQQkCzVQOAbWjTQ"]},{"@type":"Person","@id":"https:\/\/valoracasa.es\/#\/schema\/person\/f9e89715b6a864d25db070eadc610597","name":"Juan Rosado","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/valoracasa.es\/wp-content\/uploads\/2026\/11\/firma-Juan-Rosado.jpg","url":"https:\/\/valoracasa.es\/wp-content\/uploads\/2026\/11\/firma-Juan-Rosado.jpg","contentUrl":"https:\/\/valoracasa.es\/wp-content\/uploads\/2026\/11\/firma-Juan-Rosado.jpg","caption":"Juan Rosado"},"description":"Juan Rosado Segado is the CEO of Valoracasa and a property advisor in M\u00e1laga with more than 15 years of experience in the sector. He has advised hundreds of owners and buyers on sales, valuations, inheritances and mortgage financing in the province of M\u00e1laga. In this blog he shares practical guides on property valuation, property taxation, planning permits and tips for selling or renting with peace of mind.","sameAs":["https:\/\/valoracasa.es\/","https:\/\/es.linkedin.com\/in\/juan-rosado-segado-2ab3b6243"],"url":"https:\/\/valoracasa.es\/en\/author\/jrosado-valoracasa\/"}]}},"_links":{"self":[{"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/posts\/34658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/comments?post=34658"}],"version-history":[{"count":7,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/posts\/34658\/revisions"}],"predecessor-version":[{"id":35505,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/posts\/34658\/revisions\/35505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/media\/34910"}],"wp:attachment":[{"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/media?parent=34658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/categories?post=34658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/valoracasa.es\/en\/wp-json\/wp\/v2\/tags?post=34658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}