Monday, March 2, 2026
#vivienda #comprarcasa #mercadoinmo

What costs does selling an apartment incur?

Selling an apartment involves tax, notary, agency and technical expenses; planning a budget and advisory helps avoid surprises and facilitates a more efficient and secure sale.

What costs does selling an apartment incur?

The sale of a home involves a series of costs that can significantly affect the final amount the seller receives. In a real estate process, it is not enough to set a sale price and wait for the transaction to close: it is essential to anticipate and plan the expenses that each stage entails. Below we break down, in a structured and up-to-date way, the main costs that typically arise when selling an apartment in Spain, as well as recommendations to manage them efficiently.

This article is intended for buyers and sellers who want to have a clear and practical view of what to spend and when to do it, with an emphasis on transparency and process optimization. Although figures may vary depending on the autonomous community, the municipality, and the particulars of each transaction, the concepts listed below cover most common scenarios.

1) Fiscal and tax costs

When selling a home, several tax obligations may arise, mainly dependent on the property situation (primary residence, second home, habitual residence, etc.) and the amount of capital gain. Below are the most relevant components:

  • Capital gain (IRPF): When a dwelling is sold for a price higher than its acquisition price, a capital gain is generated that must be included in the income tax return. The tax rate depends on the tax base and the current rate in each bracket. In some circumstances, exemptions or reductions exist, especially if the home is the habitual residence and is reinvested in another habitual residence, among other conditions provided by current regulations.
  • Municipal capital gain (Tax on the Increase in Value of Urban Land): This municipal tax taxes the increase in land value from acquisition to sale. It is a frequent expense for the seller, and its amount varies according to the municipality and the cadastral value. On some occasions, the parties agree to share this expense, but the typical regulation is that it is paid by the transferor (seller). It is essential to inform yourself at the corresponding town hall and with the gestoría to calculate the exact amount and avoid surprises.
  • Taxes depending on whether the dwelling is new or second-hand: If the dwelling is new, the operation is subject to VAT (21% generally) and to the corresponding duties for deeds and documents, while for second-hand homes the transfer is subject to the Transfer Tax (ITP) instead of VAT. In these cases, it is up to the buyer, not the seller, to handle and settle the ITP, unless otherwise agreed in the deed. Still, it is advisable for the seller to know the implications to inform the buyer correctly and avoid misunderstandings.

2) Costs of the transaction in the deed and registry

Regardless of whether the home is new or second-hand, the sale involves a series of administrative and notarial costs that are settled at the time of the public deed and its inscription in the property registry. The most common items are:

  • Notary: Fees for the deed of sale and, if applicable, for the signing of the preceding document (if any). The cost depends on the property's value, the complexity of the transaction, and the autonomous community. It is an inevitable expense in any transfer.
  • Property Registry: Fee for recording the transfer in the register. Its amount varies according to the registry office and the values declared in the deed. It is advisable to verify whether the inscription is made in the buyer's name or, if applicable, whether there are issues that could affect the closing date.
  • Management or advisory service: Services to manage documentation, tax filings, registrations, and dealings with the Administration. This cost can be included as an additional expense if not borne by the buyer. It is usually particularly relevant in complex operations or when multiple services are used (financing, changes of ownership, etc.).
  • Energy certificate: Mandatory requirement for selling homes, irrespective of their condition. The certificate must be valid and helps the buyer understand the property's energy efficiency. The cost will depend on the certifier and the certificate's age.
  • Other documents and administrative expenses: Debt certificates, community reports, certificate of charges and encumbrances, municipal taxes paid by debt issuers, etc. Occasionally, technical or appraisal reports are required to complete the deed, and there may be minor charges associated with obtaining additional documentation.

3) Real estate agency fees

In many transactions, part of the marketing and negotiation work is carried out by a real estate agency. The agency fees are usually agreed between the seller and the agency and can vary according to the market, the complexity of the sale, and the level of services offered (valuation assistance, marketing, scheduling visits, preparing documentation, negotiating, support at signing). Typically, the percentage is applied to the sale price and is paid at the deed or, in some cases, upfront via a private agreement. It is crucial to put in writing in the exclusivity or mandate contract which services are covered and when they are settled, to avoid disputes later.

4) Appraisal, report, and other technical reports

Before or during the sale, the seller may need or be required to obtain technical reports or valuations to support the market price or to meet the buyer's financing requirements. Among these costs you typically find:

  • Valuation or appraisal of the dwelling: A report prepared by a licensed appraiser to certify the property's market value. It is common for the bank to require it if the buyer needs financing, though it can also be useful to set a realistic price in the advertisement.
  • Urban planning and charges report: In certain areas, a report may be required to confirm that the dwelling is up to date in terms of urban planning and charges or encumbrances. This type of report provides legal security for the transaction.
  • Certifications and regulatory compliance: Energy efficiency certificate, occupancy certifications, ITE (Technical Building Inspection) where applicable, among others. These documents help speed up the transaction and avoid delays at signing.

5) Recurring costs and considerations worth anticipating

In addition to the costs directly associated with the deed, there are other outlays that may appear less obviously but are worth planning for to avoid surprises at closing:

  • Costs of cancellation or settlement of charges: If the home has outstanding debts or a mortgage, it may be necessary to cancel charges in the deed or the buyer may take over the mortgage. In some cases, the seller must cover the mortgage cancellation or agree to its subrogation and settlement beforehand.
  • Compensation for rent or other agreements: If the home is rented or there are occupancy agreements after closing, expenses or compensation may arise for the seller or the buyer.
  • Moving and readiness costs: Although not legal expenses, many sellers perform small repairs or improvements to optimize the sale (painting, fixing minor faults, professional cleaning). These outlays can help speed up the sale and obtain a more favorable price, but should be included in the financial planning of the operation.

6) How to optimize and avoid surprises

Financial planning is key to avoiding surprises and maximizing the profitability of the operation. Some practical recommendations are:

  • Early review of the tax situation: Consult with a tax advisor to estimate potential tax burden (IRPF on capital gains) and exemptions you could access. This allows planning more clearly the net result of the sale.
  • Detailed expense budget: Create a list of expected costs (notary, registry, management, taxes, agency, appraisal, certifications) and allocate a margin for unforeseen items. A clear budget facilitates negotiations with the buyer and prevents cash flow gaps.
  • Professional advice: Have a team of professionals (real estate agent, tax advisor, gestoría, notary) coordinating the different tasks to minimize time and errors.
  • Transparency and up-to-date documentation: Having complete and updated documentation reduces delays in signing and registration. This includes previous deeds, cadastral data, energy certificates, and any document proving ownership and absence of hidden encumbrances.

Conclusion

Selling an apartment entails a series of costs that, if well managed, should not become an obstacle to closing a successful transaction. Knowing and anticipating fiscal, notarial, registral, agency, and technical costs, as well as preparing a realistic budget, facilitates decision-making and protects the financial performance of the transaction. At our real estate agency, we accompany sellers and buyers at every step of the process: initial appraisal, negotiation, coordination of procedures, and advisory to minimize costs without compromising legal safety and the traceability of the operation. If you need a detailed estimate of your apartment’s sale costs, do not hesitate to contact our team of experts to receive a personalized budget tailored to your specific situation.

Ultimately, a planned sale, with professional advice and up-to-date documentation, not only facilitates closing but also usually results in a clearer sale price and a smoother transaction for all parties involved.