Selling a property with a mortgage: Repay or substitute collateral?
How to organise mortgage repayment, check termination rights and calculate the sale proceeds available to you.
01Selling a property with an outstanding mortgage: What to clarify first
Selling does not automatically terminate your loan agreement. The key questions are how the bank will release its security and what payments this requires. Typically, part of the purchase price is paid directly to the mortgage lender. Only the balance is available to you.
Separate three issues:
- Sale completion: On what conditions will the bank release its land charge?
- Financing: Will the loan be repaid, continued or taken over by the buyer?
- Tax: Is any capital gain taxable, and how should financing costs be treated?
The available sale proceeds are neither your taxable gain nor the return on your investment to date.
02When you can repay the loan early
Selling as a legitimate interest
For a consumer mortgage loan with a fixed borrowing rate, section 500(2) of the German Civil Code (BGB) permits early repayment where the borrower has a legitimate interest. Selling the financed property can establish that interest.
Section 490(2) BGB separately governs early termination of certain fixed-rate loans secured against property. It has its own requirements: in particular, six months must have passed since the loan was received in full, and a notice period of generally three months applies. These requirements must not automatically be applied to repayment under section 500 BGB.
The applicable rules depend, among other things, on the type of agreement and when it was concluded. A private landlord may also qualify as a consumer; letting a property does not determine this status on its own.
Termination without an early repayment charge
Under section 489(1), no. 2 BGB, you can terminate a fixed-rate loan ten years after receiving it in full, subject to six months’ notice. The property’s purchase date is not the relevant date.
If a new agreement on the borrowing rate or repayment timing was reached after the funds were received, the date of that agreement replaces the receipt date for this purpose. Renewing the loan terms can therefore move the starting date.
Other possibilities include:
- End of the fixed-rate period: Repayment without compensation is possible subject to the statutory and contractual requirements. In particular, check the notice period and any follow-on agreement already concluded.
- Variable interest rate: Section 489(2) BGB generally provides a right to terminate with three months’ notice.
- Contractual overpayments: Payments within agreed overpayment allowances are possible under the relevant contractual terms.
The ten-year rule for the loan and the ten-year tax period for selling property are two separate rules.
03Early repayment charges: More than an interest-rate gap
Early repayment may cause the bank a compensable loss of interest. Section 502 BGB governs early repayment compensation for consumer loans. A simple calculation based on the outstanding balance, interest-rate difference and remaining term is insufficient.
Relevant factors include:
- the outstanding balance and exact repayment date;
- the remaining protected fixed-rate period, taking termination rights into account;
- agreed instalments, overpayment rights and any rights to change the repayment rate;
- the permitted calculation method and appropriate reinvestment rates;
- savings in risk and administration costs.
Rising reinvestment rates can reduce or eliminate the loss of interest. However, the current rate for a new mortgage is not automatically the appropriate benchmark.
For consumer mortgage agreements concluded on or after 21 March 2016, section 502(2) BGB can exclude a claim, particularly where information about the agreement’s term, termination rights or the calculation of compensation is insufficient. Whether a clause is actually inadequate, and which rules apply, requires examination of the individual agreement.
Request a clear written redemption statement. Remaining contractual overpayment rights must be reflected in the loss calculation; actually making an overpayment immediately before selling is not generally required for this purpose.

04Worked example: How much of the purchase price remains?
The following model shows only how the sale price is allocated. All amounts are assumptions, not market figures or fee quotations. The outstanding balance is treated as a given figure; the early repayment charge is not derived from a loan repayment schedule.
| Item | Assumption or result |
|---|---|
| Sale price | €245,000.00 |
| Seller’s estate agency costs: assumed at 3.57% | −€8,746.50 |
| Outstanding balance on the repayment date | −€106,781.00 |
| Assumed early repayment charge | −€4,230.00 |
| Assumed costs of cancelling the land charge | −€230.00 |
| Remaining proceeds before tax | €125,012.50 |
The calculation is: €245,000.00 − €8,746.50 − €106,781.00 − €4,230.00 − €230.00 = €125,012.50.
Other seller’s costs are assumed to be zero in this model. For your own decision, add items such as additional document costs, agreed works and any bridging finance. Actual notarial and land registry fees depend on the statutory fee rules and the specific transaction.
If the assumed early repayment charge disappeared entirely and everything else remained unchanged, the available proceeds would rise to €129,242.50. This is a comparison calculation, not a statement about your rights against the bank.
05Four options compared
| Option | What happens? | What needs checking? |
|---|---|---|
| Repayment | The bank receives the redemption amount from the purchase price. | Compensation, release conditions and remaining liquidity |
| Collateral substitution | The loan continues, with another property serving as security. | Equivalent security, timing and costs |
| Waiting | The sale is postponed. | Notice periods, ongoing costs, price risks and letting risks |
| Transfer of the debt | The buyer takes over the loan with the bank’s approval. | The buyer’s creditworthiness, contractual terms and your release from liability |
Waiting is not automatically cheaper. Compare any potential saving in compensation with ongoing payments, maintenance and the risks of selling later.
A transfer of the debt requires the bank’s approval under section 415 BGB. Make sure the agreement expressly releases you from personal liability for the loan. A payment arrangement with the buyer alone is not enough.
06Collateral substitution: Retaining favourable finance
Collateral substitution, known in Germany as a Pfandtausch, replaces the existing loan security with another property. The loan can continue on its existing terms. The bank needs to assess the replacement security; the new property’s purchase price alone does not establish equivalence.
However, the decision is not entirely at the bank’s unrestricted discretion. Under case law, a borrower may be entitled to substitute collateral in narrowly defined circumstances: in particular, where the replacement security is at least equivalent, the bank suffers no disadvantages and the borrower covers the costs incurred. Whether these conditions are met must be assessed individually.
How to compare collateral substitution and repayment
For the same period and financing requirement, compare:
- the early repayment charge actually payable on redemption;
- interest, repayment schedules and outstanding balances under the existing loan and replacement financing;
- additional costs for valuation, establishing security and releasing it;
- any costs of bridging a timing gap.
If the bank requests a substitution fee, ask it to explain the basis and amount. Not every requested fee is automatically payable. Compare notarial and land registry costs based on the actual process; they need not be identical under both options.
Important: Obtain a binding arrangement for releasing the old security and establishing the new security before signing the notarised contracts. If the sale and purchase do not coincide, bridging finance may be needed.
07Tax: Consider the sale and subsequent letting separately
When the sale gain may be taxable
For a privately held rental property, a sale within ten years of acquisition generally falls within section 23 of the German Income Tax Act (EStG). The relevant dates are normally those of the binding contractual agreements, usually the notarised purchase contracts. Exceptions, such as qualifying owner-occupation, require separate assessment.
A sale after more than ten years generally falls outside this taxation of private disposals. Different rules apply to business assets or commercial property trading. Further details are explained in the guide to the German property holding period for tax purposes.
How early repayment compensation is treated
An early repayment charge caused by the sale is generally not deductible against rental income. Where the sale is a taxable private disposal, it may reduce the taxable gain as a disposal cost.
With collateral substitution, the new land charge does not determine whether subsequent loan interest is deductible. What matters is the economic connection with income generation and the traceable use of the funds. Investing the proceeds in another rental property may establish a new connection if the relevant conditions are met. Obtain tax advice on the arrangement beforehand and document the payment flows.

08How to organise the sale
- Identify contractual terms and deadlines: Gather the full disbursement date, subsequent agreements, the end of the fixed-rate period and overpayment rights.
- Obtain the bank’s calculation: Request the redemption amount for the planned payment date, compensation and release conditions in writing.
- Clarify alternatives: Assess collateral substitution, a later sale or a transfer of the debt before making binding commitments.
- Calculate liquidity: Deduct loan redemption, seller’s costs and potential taxes from the sale price, allowing for a reserve.
- Coordinate the notarial process: The notary obtains the necessary release documents. The purchase price is paid in accordance with the contractual payment conditions and instructions.
- Check the final statement: Review the bank’s statement, payments and completion of the agreed release of encumbrances.
If the purchase price does not cover the redemption amount and costs, you need additional funds or an agreement with the bank. Financing for the remaining debt is not guaranteed. Without an assured release, you cannot fulfil the promised removal of the relevant encumbrances.
When a rental property is sold, the tenancy generally continues. Preparation advice is available in Selling a tenanted flat.
09Conclusion: Clarify repayment and security before selling
An outstanding mortgage does not, in principle, prevent a sale. However, releasing the security, establishing reliable costs and maintaining sufficient liquidity are essential. Collateral substitution may preserve favourable finance, while waiting may allow you to use termination rights. Only a comparison using your actual contractual details will show which option makes financial sense.
10Free initial consultation
In a free initial consultation, you can discuss your sale and financing plans and structure the next steps for comparing repayment with collateral substitution. This does not replace individual legal or tax advice.
Arrange a free initial consultation
FAQFrequently asked questions
Can I sell my flat while the mortgage is still outstanding?
Yes. However, the sale does not automatically end the loan agreement. Usually, the bank is repaid from part of the purchase price and releases its land charge subject to specified conditions. Alternatively, collateral substitution or an approved transfer of the debt may be possible.
Do I always have to pay an early repayment charge when selling?
No. For example, no charge may be due following valid termination under section 489 BGB. The absence of a compensable interest loss or certain inadequate contractual information can also exclude a claim. Variable-rate loans generally require three months’ notice. The agreement, its conclusion date and the repayment date are decisive.
What is collateral substitution, and does the bank have to agree?
Collateral substitution keeps the loan in place while another property replaces the existing security. The bank assesses the replacement security. A right to substitution may exist in narrowly defined circumstances, particularly where the security is equivalent, the bank suffers no disadvantages and the borrower covers the costs incurred. Potential bank fees and notarial and land registry costs require separate examination.
When does the ten-year period for terminating the loan begin?
It generally starts when the loan has been received in full. After ten years, termination is possible with six months’ notice. A subsequent new agreement on the borrowing rate or repayment timing may move the starting point to the date of that agreement. The property’s purchase date is not decisive.
What happens if the sale price does not cover the outstanding loan?
You must cover the shortfall, including additional redemption costs, from your own funds or agree another solution with the bank. The bank is not obliged to grant an additional loan. Without an assured release of the land charge, the agreed removal of that encumbrance cannot be completed.
Can the buyer take over my mortgage?
A transfer of the debt is possible with the bank’s approval. The bank will assess the buyer’s creditworthiness and the contractual terms in particular. It is essential that you are expressly released from personal liability for the loan. An agreement between seller and buyer alone is not sufficient.
Is an early repayment charge tax-deductible when selling?
An early repayment charge caused by the sale is generally not deductible against rental income. If the sale is a taxable private disposal, it may reduce the taxable gain as a disposal cost.

Writes about Financing and calculations, Taxes and Care properties.
Michael combines his experience as a banker and former portfolio manager at a family office with his practice as a property investor himself. He writes about robust calculations, financing, risks and strategic portfolio building.
This guide does not replace tax or legal advice. All figures are example calculations with disclosed assumptions.



