You can apply for a long-term residence permit if you:
1. have resided in Turkey minimum for eight years uninterruptedly.
2. have a valid health insurance.
3. are a pensioner in your country or you are over the age of 45 years and you have had an insurance for over 3600 days (but in this case you have to reach a pensioner age).
How can a foreigner become a pensioner in Turkey:
1. If you are already a pensioner, you need to confirm this status via your consulate.
2. Or work for 20 years as any other Turkish resident and when you are 60 years old, you get A Turkish pension.
3. Or pay for an insurance for over 3600 days and wait when you turn 60 years old.