In Germany, profits from selling a rental property are exempt from capital gains tax if the property is held for at least 10 years from the contract signing date. For self-use properties, the exemption applies after living in the property for two full calendar years.
