Turkey is in NATO and has the second-largest army in the NATO so it's considered safe.
Willingness to Fight Index
You gotta make sure your investment doesn't get blown up by a Russian missile

)
4-years price index of 3+1 flats (USD) in Izmir:
View attachment 43196
Izmir is the 3rd biggest city in Turkey. 3+1 flat prices only increased 0.84% in value in 4 years but increased 41.42% in 2 years. You gotta wait for the right time to buy. To me, it doesn't look like a good time to buy right now. But make your own research. I'm not a
real estate expert. You can check the prices yourself on
this website.
Also, you can buy a new and modern flat in Izmir for around $75-100k. It's also possible to find flats for $25-30k. This is good if you don't have a lot of money to invest but you still want to invest it.
Earthquakes:
Turkey has one of the most active fault lines in the world. You have to make sure that the property you're buying is not too old and built safe, without using cheap materials and built on a solid ground.
List of notable earthquakes in Turkey
It is common for the first floor of the apartments to be used as shops in Turkey.
In 2020 Izmir Earthquake, a building collapsed because of a brainless store owner, who cut the columns in his store, to make more room. You gotta make sure this is not happening in your apartment.
There are companies here that test the stability of buildings. I'd recommend working with them. If you're buying a flat in a stable apartment, I guess you shouldn't be worried about earthquakes. Also you can buy earthquake insurances.
42% of Turkish people rent their homes, I guess it wouldn't be so hard to rent your property.
Eviction process
This is Turkey, not US. Eviction laws are in favor of the tenant. If your tenant doesn't pay the rent, it can take months to get him/her evicted. You should think twice before renting your flat to someone and make sure they have a stable source of income or pay 3-6 months in advance.
Expenses when you sell your property
If you sell a property that you bought in the last 5 years, you have to pay an income tax if you made any profit but I don't know if this applies to foreign investors or not
Also, this is what I found online
"The sale of the house takes place at the title deed offices. Here, the transfer of title takes place between the buyer and the owner of the house. At this point, a total of 4% fee is deducted from the buyer and the seller, 2% each. In addition, an additional 385 TL revolving fund fee is charged to this price."
Overall, I think if you buy the right property at the right time, there is not a lot of reasons to not to do it.
Also, if you buy a $400,000 property in Turkey, you get a right to get Turkish citizenship lol.
I hope this helps.