I have lent my own money to my company for years: when I sell it, how do I recover those shareholder loans, and do they count as debt that reduces the price?
A well-documented shareholder loan is recovered in full on a sale: it is deducted as debt from the share price and repaid to you at closing. The risk lies in not having it documented.
Author
Capittal Research
Equipo editorial M&A
Editorial review
Equipo M&A Capittal
Financial, tax and legal review
Updated
15 November 2026
Content reviewed as markets evolve

Quick answer
Capittal's view is that a well-documented shareholder loan is recovered in full on a sale: the buyer deducts it from enterprise value as debt, but repays it or buys it at face value at closing, so what you do not receive as share price you receive as repayment of the loan. The problem arises when there is no contract and no clear accounting treatment: then the buyer may treat it as equity and not pay it separately.
How does the buyer treat a shareholder loan in the price?
As financial debt. The share price is calculated by deducting net debt from enterprise value, and shareholder loans are part of that debt.
An example with round numbers:
- Agreed enterprise value: 10 million euros.
- Bank debt: 2 million. Cash: 1 million. Shareholder loan: 1.5 million.
- Share price: 10 − 2 + 1 − 1.5 = 7.5 million.
- Repayment of the loan at closing: 1.5 million.
- Total received by the shareholder: 9 million, the same as if the loan did not exist.
At closing one of two mechanisms is used: the buyer provides funds so the company repays the loan, or it buys the receivable from you at face value together with the shares. Economically it is neutral for you.
What happens if the loan is not properly documented?
The argument starts. In many SMEs, the shareholder's money sits mixed in the shareholder current account, with no contract, no term and no interest. In due diligence the question arises: is it a loan that must be repaid, or a contribution that is already part of equity?
The accounts largely answer it. If the amount was booked as a shareholder contribution, it is equity: it is not repaid separately and its value is already inside the share price. If it was booked as a debt to shareholders, it is a repayable liability.
Before going to market, document the outstanding loans in writing, with amount, term and interest rate, and reconcile the balance with the accounts. That way the figure is not negotiated in due diligence.
How is recovering the loan taxed?
Repayment of principal is not taxed: you are recovering your own money. Interest is taxed in your personal income tax as investment income in the savings base, and for the company it is a deductible expense within the limits of the Spanish Corporate Income Tax Act.
A loan between a shareholder and their company is a related-party transaction. Article 18 of the Corporate Income Tax Act requires it to be valued at market value, including the interest rate. An interest-free loan running for years is one of the first things a tax due diligence flags.
Should I capitalise the loan before selling?
Capitalising means converting the loan into share capital through a capital increase by set-off of receivables. The loan stops counting as debt and the share price rises by the same amount.
For tax purposes it is usually neutral: your acquisition cost of the shares increases by the amount capitalised, so the capital gain is similar to the one you would have by being repaid separately. Capittal's view is that capitalising just because you are selling is almost never worth it: it is cleaner to document the loan and agree its repayment at closing. Capitalisation makes sense in other contexts, such as strengthening the equity of a loss-making company.
What is the risk of leaving the loan outstanding after closing?
That your money comes to depend on a company you no longer control. Some buyers propose repaying the shareholder loan in instalments after closing to avoid funding so much at once.
The risk is concrete. If the company went into insolvency, Spanish insolvency law classes as subordinated the claims of persons especially related to the debtor, including shareholders with at least 10% of the capital of an unlisted company. Subordinated claims are paid last. If you accept deferral, treat it as a vendor loan: with security, acceleration and limits on the buyer's debt.
What is the next step if I am thinking of selling?
Check in the accounts how much you have put into the company and in which accounts it sits, separate what is a loan from what is a contribution, and document each outstanding loan. With that picture, the deal's net debt is clear from the first offer. This article is for guidance only and does not replace tax advice on your specific case; within the NRRO group we have tax and legal teams to review it.
Capittal Transacciones is an M&A mid-market boutique advising deals from 3 to 250 million euros from eight offices across Spain (Barcelona, Madrid, Girona, Lleida, Tarragona, Palma de Mallorca, Zaragoza and Valencia), part of the NRRO group. A partner leads your deal from start to finish and works with you directly. If you want to know what your business is worth today and what to prepare before selling it, request a free and confidential valuation.
Frequently asked questions
Common questions on this topic.
Does a shareholder loan reduce the price of my company?+
It reduces the share price, but not what you receive in total. The buyer deducts it from enterprise value as debt and, at closing, repays it or buys it at face value. What you do not receive as price, you receive as repayment of the loan.
What happens if the loan is not documented?+
The buyer may argue whether it is debt or equity. If it was booked as a shareholder contribution, it is part of the company's equity and is not repaid separately: it is part of the share price. Put a contract in place with amount, term and interest before going to market.
Is the repayment of the loan taxed?+
Repayment of principal is not taxed, because you are recovering your own money. Interest is taxed in your personal income tax as investment income in the savings base. As a related-party transaction, the interest rate should be at market level.
Should I capitalise the loan before selling?+
Almost never just to sell. Capitalisation raises the share price, but also your acquisition cost, so the taxable gain is similar. It is usually cleaner to document the loan and agree that it is repaid at closing.
What is the risk of leaving the loan outstanding after the sale?+
That it comes to depend on a company you no longer control. In insolvency, claims of shareholders holding at least 10% of an unlisted company are subordinated and paid last. That is why it should be repaid at closing.


