HomeSituationsCross-Border Tax & Private WealthSelling a German GmbH Months After Relocating to Portugal: Founder Exit Tax and Treaty Risk

Selling a German GmbH Months After Relocating to Portugal: Founder Exit Tax and Treaty Risk

When a founder relocates from Germany to Portugal shortly before selling a substantial shareholding in a German GmbH, two countries' tax rules – and the Germany–Portugal double tax treaty – interact in ways that cannot be resolved simply by counting days in a new country. The timing of the letter of intent, the share purchase agreement, and economic ownership transfer all matter, as do German exit-tax provisions that may crystallise a charge at the moment of departure rather than at closing. This article maps the legal fork, the realistic routes available, and the evidence a founder must assemble before signing.

The Recognisable Problem

A founder has built an industrial software (SaaS) business through a German Gesellschaft mit beschränkter Haftung (GmbH). Negotiations with a strategic buyer begin while the founder is resident in Germany; months later – but before the share purchase agreement (SPA) is signed – the founder relocates with family to Portugal. The draft SPA arrives, and two advisers give conflicting views on where the personal gain from the sale is taxable. One says Portugal; the other says Germany. Neither explains why they disagree.

This scenario is more common than it may appear. Cross-border founder exits have multiplied as European mobility has increased, and the interaction between German domestic tax rules, Portuguese domestic tax rules, and the bilateral treaty creates genuine legal uncertainty – not merely a question of which adviser is correct.

What Is Really at Stake

On a disposal of 68 % of a GmbH for €14 million, the difference in tax treatment between Germany and Portugal is commercially material. Under German domestic law, gains from the disposal of a shareholding of at least 1 % in a corporation are subject to the Teileinkünfteverfahren (partial-income method), by which 60 % of the gain is taxed at the individual's progressive income-tax rate, with an effective combined federal and solidarity surcharge rate that can exceed 28 % on the taxable portion. Beyond the rate question, Germany operates an exit tax under § 6 of the Außensteuergesetz (AStG – Foreign Tax Act): when a shareholder who held at least 1 % of a corporation at any point in the preceding five years ceases to be subject to unlimited German tax liability, a deemed disposal of the shares at fair market value is triggered. That charge crystallises at the point of departure – not at the later closing of a commercial sale.

Portugal's tax treatment of capital gains on the disposal of shares has its own complexity. Under the Código do Imposto sobre o Rendimento das Pessoas Singulares (CIRS – Personal Income Tax Code), gains from the disposal of shares are generally taxed as Category G income. The rate applicable and any exemptions depend on the taxpayer's residential status category and the period of holding. Portugal's former Non-Habitual Resident (NHR) regime, which provided preferential rates and exemptions, was substantially amended by the Orçamento do Estado para 2024 (State Budget for 2024, Law No. 24-D/2022 as amended by Law No. 82/2023). The NHR regime was replaced from 1 January 2024 by the Incentivo Fiscal à Investigação Científica e Inovação (IFICI) regime; however, transitional provisions allow individuals who were already tax resident in Portugal by 31 December 2023 and who had applied (or who registered their residence in Portugal by 31 March 2024 and subsequently applied) to still access the former NHR benefits for the remainder of their ten-year window. Whether the founder in this scenario qualifies for NHR transitional treatment – and what the precise rate consequence would be for share-disposal gains – depends on the exact registration date and the application timeline, and must be assessed against the transitional rules as enacted.

The practical stakes are therefore: a potential double charge (Germany under AStG exit tax, Portugal under CIRS on the same economic gain), the risk that treaty relief fails if the residency change is disregarded as abusive, and the risk that escrow or warranty claims post-closing are structured without awareness of an outstanding tax dispute with the German Finanzamt.

The Legal Fork: Applicable Law, Treaty Allocation, and Key Branches

German Exit Tax Under § 6 AStG

Section 6 of the AStG provides that if an individual who has been subject to unlimited income tax liability in Germany for at least ten years within the preceding twelve years ceases to be a German tax resident, a deemed disposal of shares held in a corporation occurs at market value at the date the unlimited liability ends. The charge applies where the individual held – directly or indirectly – at least 1 % of the corporation at any point in the five years preceding the deemed disposal. For EU/EEA relocations, German law historically provided for deferral of the exit tax in instalments, but this deferral mechanism was significantly revised following decisions of the European Court of Justice and subsequent German legislative amendments. As at the date of this article, the applicable rules are those in force under the AStG as amended, and the specific deferral conditions for EU-resident departing shareholders must be verified against the current statutory text.

The critical point is that the exit tax charge is not deferred until a commercial sale: it crystallises when the founder leaves Germany. If the commercial sale then completes in Portugal, there are two separate taxable events (deemed disposal on departure, and actual disposal on closing), which may interact with the treaty in complex ways.

The Germany–Portugal Double Tax Treaty

Germany and Portugal have a bilateral Convention for the Avoidance of Double Taxation (the "Treaty"), signed on 15 July 1980 and in force with amendments. Article 13 of the Treaty allocates taxing rights over capital gains. The allocation of gains from the disposal of shares in a company depends on the specific wording of Article 13 applicable in the period of disposal, and in particular whether a provision equivalent to Article 13(4) of the OECD Model Convention (the real-property-rich company rule) applies. Where the Treaty does not reserve an exclusive right to Germany, gains may be taxable only in the country of residence at the time of disposal.

The key treaty question is therefore: in which country was the founder resident on the date(s) legally relevant to the gain? This connects directly to the timing of LOI, SPA execution, and economic transfer of ownership. If German domestic law treats the exit tax charge as arising on the date of departure (before the SPA is signed), and the Treaty treats the actual disposal as occurring on the later SPA closing date, there are potentially two separate chargeable events with different treaty analyses.

Portuguese Residency: The Substance Requirement

Under Article 16 of the CIRS, an individual becomes a Portuguese tax resident if they are present in Portugal for more than 183 days (whether consecutive or not) in a twelve-month period beginning or ending in the relevant tax year, or – if they spend fewer days – if they have habitual residence in Portugal on 31 December of the relevant year. The day-count test is not the only route: habitual residence (the concept of residência habitual) requires a genuine centre of personal and professional life. Portuguese tax authority (Autoridade Tributária e Aduaneira, AT) guidance and domestic case law focus on factors such as the location of the family home, schooling of children, banking relationships, and professional activity.

A founder who obtains a Portuguese tax identification number (NIF) and registers a Portuguese address but whose family, professional network, banking, and business activity remained substantially in Germany during the critical period faces a genuine risk that Portuguese residency will not be recognised for the period in question – or that Germany will contest the departure date and claim that unlimited tax liability continued.

Anti-Abuse and Pre-Existing Obligations

Both German and Portuguese law contain general anti-avoidance provisions. Under German law, § 42 of the Abgabenordnung (AO – Fiscal Code) provides that arrangements lacking economic substance beyond their tax effect may be disregarded. If German tax authorities determine that the relocation was implemented primarily to avoid exit tax or German capital-gains tax, and that the LOI or effective agreement to sell was concluded while the founder was German-resident, there is a material risk that the departure will be treated as not interrupting German tax liability for the purpose of this transaction. The existence of a binding LOI, an exclusivity arrangement, a term sheet signed in Germany, or board minutes approving the sale before the departure date are all evidence that could be used in such an analysis.

Portugal similarly contains a general anti-abuse rule under Article 38 of the Lei Geral Tributária (LGT). Although the risk of Portuguese anti-abuse challenge in this direction is lower (Portugal would typically benefit from the founder being resident here), the structure of the transaction and any earn-out provisions may affect how Portugal taxes deferred consideration.

Realistic Routes and Trade-Offs

Route Core logic Key upside Key risk / limitation
Accept German exit tax; negotiate treaty credit in Portugal Treat § 6 AStG charge as triggered on departure; claim credit in Portugal for German tax paid, under Treaty Article on elimination of double taxation Commercially clean; avoids protracted dispute; credit mechanism may eliminate economic double taxation Credit may not fully cover the German charge if rates differ; timing mismatch between deemed disposal and actual sale proceeds may create cash-flow difficulties
Contest German residency end-date and argue Portugal-only taxation Gather evidence that habitual residence genuinely shifted before LOI; argue Treaty allocates gain to Portugal; resist § 6 AStG application If successful, Portuguese tax may be more favourable; avoids German exit-tax cash demand High evidentiary burden; risk of German tax authority dispute; LOI/term-sheet timing may undermine the argument; anti-abuse challenge under § 42 AO
Apply for EU deferral of German exit tax Use EU/EEA deferral provisions under current AStG for EU-resident departing shareholders; pay in instalments or upon actual disposal Improves cash-flow; aligns payment with receipt of sale proceeds; avoids immediate German demand Deferral conditions have changed following ECJ case law and legislative amendments; must verify current statutory position; interest may accrue; security may be required
Structure SPA escrow to cover contested tax Ring-fence a portion of sale proceeds in escrow pending resolution of tax position; include appropriate tax indemnity provisions in SPA Protects buyer; keeps deal on track; allows tax dispute to be resolved post-closing without unwinding the transaction Escrow reduces founder's immediate liquidity; quantum of escrow must be carefully negotiated; earn-out provisions complicate the tax analysis further

None of these routes can be recommended in isolation without a full review of the founder's departure timeline, the progression of transaction documents, and the current text of the AStG deferral rules as amended. These are analytical frameworks, not guaranteed outcomes.

Typical Mistakes and What Cannot Be Promised

Mistake 1 – Treating day-count as conclusive. Counting 183 days in Portugal is a necessary condition for automatic residency under the CIRS day-count test, but it is not sufficient to displace German tax claims if the founder's centre of life remained in Germany. German unlimited tax liability attaches to persons who have a Wohnsitz (domicile) or gewöhnlicher Aufenthalt (habitual abode) in Germany under § 1 of the Einkommensteuergesetz (EStG). Both concepts are fact-intensive and can persist beyond the physical departure date if family, home ownership, or professional obligations remain.

Mistake 2 – Assuming the NIF registration date fixes Portuguese residency. Obtaining a Portuguese NIF – the fiscal identification number issued by the AT – is an administrative step, not a legal determination of residency for tax purposes. The AT can and does challenge residency claims, particularly in high-value transactions.

Mistake 3 – Ignoring the LOI timeline. If a letter of intent, exclusivity agreement, or term sheet was signed or effective while the founder was German-resident, German tax authorities may argue that the economic substance of the disposal occurred before departure. The existence of board resolutions, valuation reports, or due-diligence access granted under German residency are all relevant evidence.

Mistake 4 – Backdating or reconstructing documents. It is impermissible to alter the date of any agreement, board minute, or correspondence after the fact. Any attempt to do so would constitute a legal and professional ethics violation and would, if discovered, seriously damage the founder's position in any tax dispute.

Mistake 5 – Treating earn-out as deferred sale consideration without tax analysis. If the €14 million consideration includes an earn-out payable over future periods, the tax treatment of deferred payments may differ from the upfront consideration, particularly if the founder's residency status changes again. Each payment milestone requires separate analysis.

What cannot be promised: No adviser can guarantee that Germany will accept the departure date as effective for exit-tax purposes, or that Portugal will recognise the founder's residency in time to apply treaty protection to the sale. The outcome of a potential German tax authority audit of the departure is not predictable. Any structure must be presented honestly to the buyer and reflected appropriately in the SPA.

Documents and Evidence Required

Assembling the right evidence at the outset is essential, both for the tax analysis and for any subsequent dispute or audit. The following categories of document are required as a minimum:

  • Transaction documents: All versions of the LOI, term sheet, exclusivity agreements, board resolutions approving the sale process, valuation reports, non-disclosure agreements with the buyer, and all drafts and final versions of the SPA – each with their execution dates.
  • Cap table and corporate records: Current and historical GmbH cap table, shareholder register entries, any shareholders' agreement, and evidence of the founder's percentage holding at all relevant dates.
  • Residency evidence – Germany: Deregistration (Abmeldung) date from the German municipal register (Einwohnermeldeamt), date of departure, evidence of disposal or end of lease of German residential property, German bank account activity, German employer or consulting contracts.
  • Residency evidence – Portugal: NIF registration date, Portuguese address registration, lease or purchase contract for Portuguese property, school enrolment records for children, Portuguese bank account opening date, evidence of professional activity in Portugal.
  • Tax filings: German income-tax returns (Einkommensteuererklärungen) for the years immediately preceding departure, any exit-tax notifications filed with the German Finanzamt, and any Portuguese tax returns filed since arrival.
  • Payment structure: Details of consideration, payment milestones, earn-out mechanism, and any representations or warranties given to the buyer regarding the seller's tax position.
  • Travel records: Passport stamps, flight bookings, and hotel or accommodation records corroborating the physical departure date and subsequent presence in Portugal.

If you are at or approaching the signing stage and have not yet assembled this evidence, the priority is to do so before closing rather than after, when the ability to influence the documentary record is severely reduced.

If you would like to discuss how to structure the evidence-gathering process, you are welcome to reach out to the team at info@ferrazwhitmore.com or visit our contacts page to request a confidential Founder Exit Tax Timeline assessment.

Timeline and Cost Drivers

Key Legal Deadlines

The timeline is driven by four interdependent deadlines, each of which should be identified precisely from the transaction documents and applicable statutes:

  • German departure date and exit-tax filing: Under § 6 AStG, the deemed disposal occurs on the date unlimited German tax liability ceases. The founder's German income-tax return for the year of departure must report the exit-tax event. German income-tax returns are generally due by 31 July of the following year (or later with adviser representation). The Finanzamt may issue an assessment that becomes final unless challenged within the statutory appeal period under § 355 AO.
  • SPA signing and closing: The commercial transaction has its own timetable; conditions precedent, regulatory clearances, and earn-out trigger dates all affect when each tranche of consideration is received and taxable.
  • Portuguese tax year and residency registration: Portuguese residency is determined on a calendar-year basis. The deadline for registering as a tax resident for a given year and for filing income-tax returns (under CIRS, the IRS return) is set annually by the AT. For NHR transitional-regime applications, the deadline of 31 March 2024 (for individuals who had registered residency in Portugal by 31 December 2023) has already passed; whether any transitional benefit still applies requires verification of the founder's specific registration date.
  • Statute of limitations for tax assessments: Both Germany (under § 169–§ 171 AO) and Portugal (under Article 45 LGT) have limitation periods for tax assessments, but these are suspended or extended in cases of fraud, non-disclosure, or cross-border investigations. A founder should not assume that the question is settled simply because time passes without an assessment.

Cost Drivers

The cost of managing this situation – in advisory fees and potential tax exposure – is driven by several factors:

  • The strength or weakness of the residency evidence assembled before departure. Poor documentation means more advisory time reconstructing the factual record.
  • The extent to which the LOI and transaction process overlaps with the German residency period. The greater the overlap, the more complex the German exit-tax and anti-abuse analysis.
  • Whether the earn-out is structured as contingent consideration or a separate arrangement, as each structure has different tax consequences in both jurisdictions.
  • Whether the buyer requires tax representations and warranties in the SPA that expose the seller to post-closing claims if the tax position is later disputed.
  • The need to engage licensed local tax advisers in both Germany (a Steuerberater or Rechtsanwalt with tax expertise) and Portugal (a consultor fiscal or similar qualified adviser registered with the AT) alongside any coordinating advisory role. Ferraz & Whitmore does not hold independent right of audience before the German Finanzamt or Portuguese AT and works with appropriately licensed local professionals for formal filings and representations.

Decision Checklist

Before signing the SPA or taking any further step, the founder should be in a position to answer each of the following questions on the basis of verified documentary evidence:

  • Departure date: On what exact date did the founder deregister from the German municipal register and cease to maintain a German Wohnsitz? Is this date supported by the Abmeldebescheinigung and consistent with property and utility records?
  • LOI timing: Was any letter of intent, exclusivity agreement, or term sheet executed, or any binding obligation to sell assumed, before the departure date? If so, what is the German tax authority's likely characterisation of the economic substance of the disposal?
  • Exit-tax applicability: Does § 6 AStG apply? Has the founder held at least 1 % of the GmbH at any point in the five years preceding departure? Was the founder subject to unlimited German income-tax liability for at least ten of the preceding twelve years?
  • EU deferral: Does the current AStG deferral mechanism for EU-resident departing shareholders apply, and if so, on what conditions? Has any exit-tax notification been filed with the Finanzamt?
  • Portuguese residency: Is the founder's Portuguese residency supportable on both the day-count and the habitual-residence test? Is there documentary evidence of family relocation, housing, schooling, and banking in Portugal?
  • NHR / IFICI status: Is the founder eligible for NHR transitional benefits or the new IFICI regime? What is the resulting Portuguese rate on the share-disposal gain? Has an application been filed?
  • Treaty analysis: Under Article 13 of the Germany–Portugal treaty, which country has taxing rights over the gain? Is there a real-property-rich company issue? How does the treaty interact with the German exit-tax deemed disposal?
  • Earn-out: Is deferred consideration structured as an earn-out, loan note, or separate covenant? Has the tax treatment of each payment tranche been analysed in both jurisdictions?
  • SPA provisions: Do the tax representations and warranties in the SPA expose the founder to claims if either Germany or Portugal later disputes the tax position? Is an escrow appropriate?
  • Local advisers engaged: Is a German Steuerberater formally engaged to advise on the exit-tax position and file or contest any German assessment? Is a Portuguese tax adviser formally engaged to advise on residency, the CIRS analysis, and any NHR/IFICI application?

Ferraz & Whitmore can assist in coordinating the initial interview, assembling the evidence chronology, mapping the cross-border issues, and identifying gaps before organising a comparative assessment of routes in collaboration with licensed local tax and legal professionals in both Germany and Portugal. To discuss your situation on a confidential basis, please contact us at info@ferrazwhitmore.com or visit our contacts page.

A Note on the Former NHR Regime and the IFICI Transition

Because the status of Portugal's NHR regime is frequently misunderstood in the context of founder exits, it is worth setting out the position clearly. The original NHR regime, introduced under Decree-Law No. 249/2009, provided certain categories of taxpayer with a ten-year window of preferential tax treatment on qualifying income, including exemptions or flat rates on specified foreign-source income. This regime was closed to new applicants from 1 January 2024 by Law No. 82/2023 (the Orçamento do Estado para 2024), which introduced the IFICI regime as its replacement, targeting researchers and qualified professionals in designated activities.

Transitional provisions allow individuals who registered as Portuguese tax residents on or before 31 December 2023 (and who met additional conditions, including applying by 31 March 2024 in certain cases) to continue to access the original NHR benefits for the remainder of their ten-year window. For a founder who relocated to Portugal in 2023 and registered timely, NHR transitional treatment may remain available. For a founder who relocated in 2024 or later, the IFICI regime applies if they meet its qualifying criteria, which differ substantially from the original NHR conditions.

The rate and exemption consequences for capital gains on share disposals under CIRS vary depending on which regime (if any) applies, and must be assessed against the specific statutory provisions in force. No assumption should be made that NHR treatment automatically exempts share-disposal gains: the precise category of income, source, and treaty interaction all matter.

Sources

Disclaimer: This article describes a model client situation for informational purposes only and does not constitute legal advice, nor does it reflect an actual Ferraz & Whitmore engagement or outcome. Legal routes are described as options, not guarantees. Applicable law, procedure and the right to provide a given service in each jurisdiction must be confirmed for any specific matter. Ferraz & Whitmore is an independent legal advisory firm based in Lisbon, Portugal; where local representation is required, it works with licensed local counsel. For advice on your situation, contact info@ferrazwhitmore.com.

Reviewed by
Legal Analyst · Real Estate & Mobility