Pharmacy sales: requirements, licences, taxes and employees in a secure transfer

By Juan Madridejos Velasco and Luis Alberto Álvarez Moreno, Notaries of Barcelona and partners of the Notary in Barcelona J&LA Notarios.

Buying or selling a pharmacy is not just any ordinary sale. The pharmacy combines a healthcare dimension — due to its public interest function — with an economic and business dimension, which gives it significant asset value.

For this reason, its transfer requires a more complex formal process than the usual business sale, as four requirements must be met: administrative authorisation, notarial control, fiscal transparency and respect for labour rights.

In this article we analyse, based on case law and notarial practice, the keys to a secure pharmacy transfer, both for the seller and the buyer.

1. Legal specialities of the sale of a pharmacy

1.1. Dual nature: health-related and patrimonial

Pharmacy offices are private healthcare establishments of public interest, according to article 1 of the Law 16/1997, on the Regulation of Pharmacy Office Services.

Although they belong to individual pharmacists, their operation is subject to administrative authorisation and to the health planning of each autonomous community.

This dual nature explains why the transfer of a pharmacy is not governed by the simple commercial rules of business sale, but requires a mixed procedure, in which administrative, civil, tax and labour law converge.

Thus, the Supreme Court, in its Judgment 259/2013, of 30 April, emphasised that the pharmacy, although its ownership is highly personal, has an economic value susceptible to transfer, as it integrates an asset set formed by the health authorisation, the clientele, the furniture and the goodwill.

1.2. Administrative authorisation and health licence

Any pharmacy transfer requires prior authorisation from the competent Health Department and the Official College of Pharmacists.

In Catalonia, this is established by Law 31/1991, of 13 December, and Decree 40/1992, which regulate pharmaceutical organisation.
The buyer must be a registered pharmacist, meet the legal requirements for professional practice and obtain the authorisation for change of ownership.

The health licence cannot be freely transferred: it is personal in nature and can only be transferred with express authorisation.

Therefore, the sales contract usually includes a suspensive condition, with its effectiveness subject to administrative approval.

Case law and notarial doctrine agree that the licence, although an administrative right, has patrimonial value and forms part of the business assets. In the words of the Supreme Court, “the administrative authorisation is not community property, but its economic value can be”.

2. The notarial deed of sale of pharmacy

2.1. Role of the Notary and structure of the contract

The Notary plays a decisive role in the transfer of pharmacies.
They must verify the ownership, the validity of the licence, the capacity of the parties and the legality of the transaction, ensuring compliance with health, civil and tax regulations.

The pharmacy sale deed usually includes:

  • Identification of buyer and seller (both registered pharmacists).
  • Reference to the health authorisation and professional association certificate.
  • Description of the establishment (address, licence number, inventory).
  • Price and payment method, with identification of the means in accordance with Law 36/2006 on fraud prevention.
  • Inventory of stock valued separately.
  • Labour subrogation clause.
  • Declaration of being up to date with tax and labour obligations.
  • Warnings about taxes (VAT, ITP and AJD).

The Notary must expressly warn that, although the sale is not of real estate, the deed is subject to AJD as it is registrable in the Registry of Movable Property, according to the Supreme Court Judgments 1607/2020 and 1608/2020, both dated 26 November.

2.2. The lease of the premises and the subrogation

If the premises where the pharmacy is located are rented, the buyer can take over the contract with the landlord's consent, in accordance with article 32 of the Urban Leases Act (LAU).

In some cases, the health Administration requires proof of the right to use the premises (ownership or lease with the right of transfer).

The notarial deed must expressly reflect this continuity in the right to occupy the premises.

3. The employees of the pharmacy in the sale and purchase

3.1. Business succession and labour subrogation

The transfer of a pharmacy involves a business succession, in accordance with article 44 of the Workers' Statute.

This means that the buyer automatically takes over the employment contracts, maintaining the seniority, salary, and conditions of the employees.

The buyer inherits the labour rights and obligations of the previous owner, so the dismissal of workers without cause would be unfair.

Employees who are pregnant, on maternity leave, or working reduced hours are especially protected.

3.2. Agreements and negotiation of labour liabilities

In practice, during the negotiation, the so-called labour liabilities are analysed: seniority, severance payments and wage costs.
According to Asefarma, there are two common scenarios:

  1. Pharmacy free of staff: the seller dismisses the team beforehand, assuming the severance payments and settlements.
  2. Pharmacy with subrogation: the buyer accepts the staff, deducting from the price the cost of possible severance payments.

The subrogation clause must be included in the deed, with the nominal list of workers and their conditions.

The seller must prove that the payroll, extra payments and holidays are settled up to the date of the transfer.

3.3. Strategic value of personnel

The pharmacy team is not just a cost: it is an asset.

Their knowledge of the clientele, management software, and internal procedures can be decisive for the continuity of the business.

As Gómez Córdoba highlights, retaining part of the team facilitates the transition and preserves customer trust.

4. Taxation of the purchase and sale of pharmacies

4.1. VAT, ITP and AJD

The total transfer of a pharmacy (licence, goodwill, stock and lease) is not subject to VAT, according to article 7.1.a) of the VAT Law (37/1992).

It is also not subject to the Property Transfer Tax (ITP), as it is a business transaction (art. 7.5 of the TRITPAJD).

However, the Tax on Documented Legal Acts (AJD) is payable, as it is documented in a public deed and registered in the Register of Movable Property.

This was confirmed by STS 1607/2020 and 1608/2020, mentioned above, which declared it subject to AJD with a taxable base based on the declared value.

When the transfer is partial (for example, a quota or share), it may be subject to VAT and equivalence surcharge, according to the seller's tax regime.

4.2. Deductible expenses and amortisation

For the buyer:

  • The loan interest, notarial and registration expenses are deductible as financial expenses.
  • The goodwill can be amortised for tax purposes (art. 12.2 of the Corporate Tax Law).

For the seller:

  • Labour compensation arising from the transfer is a deductible expense.
  • Capital gains are taxed under the Personal Income Tax or Corporate Tax, depending on their tax regime.

In the case of a donation between pharmacist family members, a 95% reduction applies in the Inheritance and Donations Tax (art. 20.6 LISD), if the new holder maintains the activity for five years.

5. Licences and economic value of the establishment

5.1. Nature and transferability of the licence

The health licence is personal, but its economic value is part of the transferable assets.

This was recognised by the STS 259/2013 of 30 April , stating that the licence “forms part of the asset value of the pharmacy” and can be included in inheritances or marital settlements.

5.2. Transmission procedure and deadlines

The process of changing ownership requires:

  1. Application to the Department of Health.
  2. Proof of the buyer's qualifications and professional registration.
  3. Certificate from the College of Pharmacists.
  4. Submission of the public deed of sale.

In Catalonia, the resolution usually takes between three and six months. During this time, the sale may be held in notarial deposit until the transfer is formally authorised.

6. Community property and inheritances: economic value versus ownership

According to STS 469/2003 of 14 May, the ownership of the pharmacy belongs exclusively to the pharmacist, but the economic value generated during the marriage may be community property.
This means that, in a community property settlement or inheritance, the non-pharmacist spouse or heir cannot be the owner, but can receive the economic compensation equivalent to the patrimonial value.

This criterion, followed by the Directorate General of Legal Security and Public Faith, must be reflected in wills before a Notary or marriage agreements, to avoid succession conflicts.

7. Conclusion: a transmission that demands legal control and transparency

The purchase and sale of pharmacies is one of the most regulated operations in the healthcare and notarial fields.

It involves coordinating healthcare, tax, civil, and labour regulations, and ensuring the continuity of the public service.

The Notary plays an essential role in verifying the legality of the contract, advising on taxation, and warning of labour and administrative obligations.

Only through a well-structured public deed, with the corresponding healthcare authorisation and appropriate tax warnings, can a valid, secure, and sustainable transfer over time be ensured.

8. Notarial advice for a secure pharmacy sale

The transfer of a pharmacy requires more than just completing administrative procedures: it demands legal rigour, precision in contracts, and appropriate tax and labour planning.

From our notary office in Barcelona, we support buyers and sellers in all stages of the operation, from reviewing the deposit agreement and obtaining health authorisation to the notarial formalisation and tax settlement.

Discover more about the deposit agreement:

Our goal is for every sale to be carried out with full legal certainty and economic transparency, preserving the value of the business and the continuity of the pharmaceutical service.

If you are considering buying or selling a pharmacy in Barcelona or anywhere in Catalonia, consult our notary service for sales. We will guide you on the most appropriate legal structure, the applicable taxation, and the correct notarial formalisation of the transfer.

9. Specialities in processing pharmacy sales in Catalonia

In Catalonia, there are some specialities in the transfer of pharmacies, as the purchase and sale of pharmacies in Catalonia require payment of the regional AJD tax, settling it at the Generalitat de Catalunya's tax office. Likewise, the licence must be granted by the Generalitat de Catalunya.

JLA Notarios, both the Notaries and the team, specialise in the purchase and sale of pharmacies in Catalonia and will help you successfully complete your pharmacy purchase and sale in Barcelona and Catalonia, always complying with all applicable regulations, and providing the highest legal security for your procedure, along with the best notarial service.

Frequently Asked Questions about Pharmacy Transfers (FAQ)

Only registered pharmacists who obtain health authorisation.


It is subject to AJD, but exempt from VAT and ITP if the entire business is transferred.


They are automatically transferred with the same conditions (art. 44 ET).


Not the ownership, but its economic value, according to the Supreme Court.


Between three and six months, depending on the autonomous community and the administrative burden.


Your privacy is important to us

The JLA NOTARIOS CB website uses its own and third-party cookies for functional purposes (allowing web browsing), optimizing navigation and personalizing it according to your preferences, as well as to show you advertising based on your browsing profile. You can accept all cookies by clicking the "ACCEPT" button, reject unnecessary cookies by unchecking the option, or configure them again by clicking the "CUSTOMIZE COOKIES" option in the general menu.

x
Whatsapp icon of JLA Notarios Whatsapp direct access to the JLA Notaries contact page Mail