How to get a stay in Turkey

Foreign nationals who come to Turkey on a visa or who are exempted from a Turkish visa are allowed to stay for a maximum of 30, 60 or 90 days from the date of entry. Foreigners wishing to stay longer than this time are required to apply for residency in Turkey.

The documents required to complete the application through the Internet to obtain residence in Turkey
Photo: Photo must be taken within the last 6 months. The image must be identical to the rest of the photos that will be provided with the other documents required with your residence application.
Passport with photo translated into Turkish and certified by notary Noter. Your passport must be valid for at least 60 days after the expiry date of the residence permit
A copy of your visa page for the last entry to Turkey.
Prove that you have financial resources to stay in the country for as long as you need $ 500 per month or the equivalent in another currency. This proof must be presented in the form of a statement from your Turkish bank.
Print the form that you have filled out from the Internet at https://e-ikamet.goc.gov.tr/.
Choose the extension request, if you are doing a STRP, FRP or Student Residence Permit (SRP), or choose the first application for all other cases.
Choose the type of residence permit you need. (Long-term residence permits are only available, if you have a "blue card").
Fill in all the details (fields marked with red are mandatory, and black fields are optional).
In the next step, all documents you have prepared will be asked.
Choose the right time and date for you.
You'll see a confirmation screen for your order. You will be given a reference number for the order. You should keep this number and print it if possible. You must also click the "Residence Permit Application" link.
Prepare a copy of all required documents. These copies must be ready with you when you go to your appointment, depending on your request if you renew or offer for the first time a Turkish residence.
Health insurance issued by Turkey. You can get health insurance in Turkey throughout the period you wish to stay in Turkey.
A documented address. This request is also due to the new law of April 2014. Therefore, you must have a copy of the contract between you and the owner. This version needs to be documented by Noter Notary as well. If you are a chartered tenant and not the owner directly, you have to go with your roommate either to your Notary Public or your chosen office or to the local department of souls to register yourself and get a document proving your address.
Visit Göç İdaresi Genel Müdürlüğü with the required documents.
Your order will be evaluated. If there are any missing documents you will be given 30 days to submit these documents and complete your residence permit application. At the end of the 30 days if no missing documents are submitted, your residence application will be canceled, which will result in a fine.
If your order is accepted you will get a confirmation. Your residence permit will be sent by Turkish PTT to your address in Turkey within 90 days.
A message will be sent to you via PTT with your ID. You can continue delivery status with this number.
If your residence permit application is denied, DGMM will contact you.
Once you have issued your permit on the online system, you can stay legally in Turkey.
Renewal of residence permit in Turkey
Follow the first steps (for first time applicants) and then:

Send the application by mail or courier to the Directorate General of Immigration (Göç İdaresi Genel Müdürlüğü) in your city. And wait for the reply.