In Short

This "structuring" is relatively simple, but most people are unaware of it:

In Detail: Second Move Away after 6 Years

First of all, the exit tax is defined as follows:

[...] a natural person who has been subject to unlimited tax liability in Germany for at least seven years during the last 12 years, (i) transfers their residence or habitual abode abroad, [...]

Put simply, you are covered by the exit tax if you have been taxable in Germany for at least 7 years within the last 12 years. So, can you "mathematically" structure the exit tax by simply ensuring that at a certain point in time you were not taxable in Germany for 7 years within the last 12 years?

The answer is: Yes.

And here is how it works:

First of all, the fact is that you can have the exit tax refunded if you return to Germany within 7 years. These 7 years can even be extended by 5 years to a total of 12 years. And if you manage to get the tax office to defer the exit tax, you don't have to pay it at all, but only pay the annual deferral interest (which can still be quite high). So: You can move away for up to 12 years.

Assuming you move away for 11 years, have the exit tax deferred, and the deferred exit tax is refunded upon your return - now you have only paid the deferral interest so far. Now you move away again immediately. The big question is now: Do you even fulfill the criteria for the exit tax at this point in time, i.e., upon your second departure? I.e., were you subject to unlimited tax liability in Germany for at least 7 years within the last 12 years?

And the answer to that is obviously "no", since you were only subject to unlimited tax liability in Germany for 1 year in the last 12 years! So you do not fall under the exit tax at all.

The whole thing can of course be optimized if one knows that one would have to be subject to unlimited tax liability for less than 7 years in 12 "rolling" years in order not to fall under the exit tax. 12 minus 7 would be 5, so one would have to move away for at least 5 (probably better 6) years, then return, then move away again.

So:

An open question would still be exactly how the return and the second departure in the 6th year would have to take place. More precisely, the question would be whether you would, for example, have to live in Germany again for at least half a year in order to actually become tax resident there, or whether it is "only" sufficient to deregister abroad and register again in Germany (registration at the citizens' office, renting an apartment, etc.), which could realistically be done with a stay of 1-2 months. It could also depend on the double taxation agreement between your "departure country" and Germany.

Summary: No Exit Tax upon Second Departure after 6 Years

As always, it depends quite a bit on your individual circumstances: