A restriction code is one of the administrative limitations applied to foreigners entering Türkiye. These codes may constitute a “entry ban” that prevents the person from entering the country, or indicate a record in the system that marks the person’s status as a “warning” or “risky.”
The G-87 code is defined by the phrase “persons who pose a danger in terms of general security.” In other words, this code is imposed in cases where the foreigner is assessed as a risk to Türkiye’s general security.
This code may result in an indefinite ban on the foreigner’s entry into Türkiye or lead to deportation.
Legal Basis
The G-87 code may particularly arise in the following types of situations:
In practice, there are criticisms that sometimes codes are imposed based on mere suspicion without a concrete basis. However, if a code has been imposed on the basis of suspicion, a lawsuit should be filed for annulment of the restriction code, and the person’s situation should be set out in detail before the court.
Procedure for Imposing the Code
Below is a summary of the possible effects of the G-87 code on the individual:
Area of Impact |
Description |
Entry Ban |
The person cannot enter Türkiye; they are turned back at border gates. |
Deportation |
If the foreigner is currently in Türkiye when the code is imposed, deportation procedures may be applied. |
Residence and Visa Procedures |
A person with the code is automatically rejected in residence permit or visa applications. |
Possibility of an Annotated Visa |
For certain humanitarian or special reasons, an “annotated visa” may be granted without lifting the code; however, this is extremely limited and in practice almost nonexistent. |
Legal Rights |
If the code is unlawful, there is a right to apply to the administrative court and to lodge an objection. |
In summary, for a foreigner to whom the G-87 code is applied, the country is effectively closed to entry, resulting in many losses of rights.
Lifting the G-87 code is basically possible in two ways: administrative objection and annulment action.
1. Administrative Objection
Disadvantage: If the objection is rejected, there is a risk of missing the litigation deadline. Moreover, an administrative objection generally does not completely eliminate the code.
2. Annulment Action (Administrative Court)
Timeframes and Challenges
1. What is the G-87 Restriction Code?
Answer:
The G-87 restriction code is an entry ban code imposed on “persons who pose a danger in terms of general security.”
This code is an administrative measure that prevents the foreigner’s entry into Türkiye on grounds of public security.
It is applied pursuant to Articles 9 and 54 of the Law on Foreigners and International Protection (LFIP) No. 6458.
2. To Whom Is the G-87 Restriction Code Imposed?
Answer:
This code is generally imposed on those who are assessed as posing a risk to national security, public order, or social peace.
Concrete examples include:
3. What Happens When the G-87 Restriction Code Is Imposed?
Answer:
4. Is the G-87 Restriction Code Time-Limited?
Answer:
In most cases, it is applied indefinitely.
The administration does not limit this code to a specific time. However, if it is not lifted through objection or litigation, the code remains in force permanently.
In some special cases (for example, an entry ban of 1–5 years), it may also be imposed for a fixed term; this is explicitly stated in the decision. The specified durations may be extended by the relevant authority.
5. What Is the Legal Basis of the G-87 Code?
Answer:
According to these provisions, an entry ban (restriction code) may be imposed on foreigners assessed as posing a risk to public security.
6. Who Decides on the G-87 Restriction Code?
Answer:
The decision is generally taken by the following authorities:
7. What If the Basis for the G-87 Code Is Flawed?
Answer:
If the code is not based on concrete evidence or an official security risk, the person may have the code lifted through administrative objection or an annulment action.
Courts consider codes imposed solely on “suspicion” or “abstract assessments” to be unlawful.
8. How Can I Learn Whether I Have a G-87 Restriction Code?
Answer:
A foreigner may learn of the code’s existence through the following:
9. How Is Objection Made to the G-87 Code?
Answer:
An objection may be filed within 60 days from the notification or learning of the code.
The objection petition may be submitted to:
The petition should clearly explain why the code is unjust and include any evidence (clean criminal record, letters of good conduct, invitation letters, etc.).
10. What Can Be Done If the Objection Is Unsuccessful?
Answer:
If the objection is rejected, the person may file an annulment action before the administrative court. The period for filing the lawsuit is 60 days from the notification of the rejection.
The lawsuit petition may include a request for a stay of execution, allowing the court to temporarily suspend enforcement of the code before the case is concluded.
11. How Long Does It Take to Lift the G-87 Code?
Answer:
12. Is an Attorney Necessary to Lift the G-87 Code?
Answer:
Although not a legal obligation, since the justification for the code often relies on “confidential intelligence information,” it is recommended to seek assistance from a professional immigration law attorney. The attorney can access the administrative file, review the grounds, and prepare an appropriate defense.
13. Who Can Lift the G-87 Code?
Answer:
14. What Documents Are Required to Lift the G-87 Code?
Answer:
The following documents may be attached to the objection or lawsuit petition:
15. Where Is the Lawsuit Filed Against the G-87 Code?
Answer:
The lawsuit is filed with the court in the place where the administrative authority that issued the act is located.
16. What Are the Costs of Filing a Lawsuit Against the G-87 Code?
Answer:
Costs vary depending on the case, attorney’s fee, and court fees. On average:
17. Does the Existence of the G-87 Code Affect Other Rights in Türkiye?
Answer:
Yes. The code prevents many processes such as residence, work permit, citizenship, and family reunification in Türkiye.
Moreover, transactions related to assets or investments in Türkiye may also be disrupted.
18. Can the G-87 Code Be Reimposed After It Has Been Lifted?
Answer:
Yes, but only if there is a new concrete justification.
Reimposing the code for the same reasons would amount to misuse of discretionary power by the administration and may be subject to litigation.
19. What Should Be Done If the G-87 Code Was Imposed by Mistake?
Answer:
Sometimes the code may be imposed due to a system error or confusion with a person of a similar name. In this case:
If the administration detects the error, it will make the correction promptly. In practice, encountering a mistakenly imposed restriction code is rare.
20. I Learned I Have a G-87 Code, But I Cannot Return to My Country. What Can I Do?
Answer:
If returning to the person’s own country would pose a life-threatening risk, an international protection (asylum) application may be made.
In this case, a deportation decision is not enforced, and the process moves to a different status.
Article 55 of Law No. 6458 regulates this protection.
21. How Long Do I Have to Wait to Lift the G-87 Code?
Answer:
There is no waiting period.
As soon as the code is notified or learned, an objection or lawsuit can be filed immediately.
Passing time generally results against, not in favor of, the person.
22. When Can I Enter Türkiye After the G-87 Code Is Lifted?
Answer:
23. What Is the Rate of Lifting the G-87 Code?
Answer:
Each case depends on its own circumstances; however, in practice, more than 60% of codes imposed based on lack of evidence or abstract grounds are annulled by the courts.
The likelihood of a decision in favor of persons without a concrete security threat is quite high.
24. Can a Foreigner with a G-87 Code Make a Transit Passage Through Türkiye?
Answer:
No. If the code is active, even transit passage through a Turkish airport is not possible.
Even if the person is going to another country, they are not accepted on the flight because they cannot enter Turkish territory.
25. Is the G-87 Code Visible to Other Countries?
Answer:
The G-87 code is visible only in the internal databases of the Republic of Türkiye (Migration Management, Police, Civil Registry).
However, in some cases, it may be shared with other national authorities within the scope of Interpol or joint security information sharing.
26. Can a Person with a G-87 Code Sell or Transfer Property in Türkiye?
Answer:
If the person is not currently in Türkiye, they can carry out a property sale or transfer through a broad power of attorney granted to an attorney.
However, entry into Türkiye is not possible due to the code; transactions must be carried out through a proxy.
27. What Kind of Evidence Does the Court Look For When Lifting the G-87 Code?
Answer:
The court examines the following:
If these elements are absent, the court annuls the administrative act.
28. What Is the Most Effective Way to Lift the G-87 Code?
Answer:
In practice, the most effective method is to initiate both an administrative objection and an annulment action simultaneously.
When these two routes are pursued together, the likelihood of lifting the code increases.
Also, obtaining a stay of execution decision reduces the person’s grievance in a short time.
29. Does Lifting the G-87 Code Make It Easier for the Foreigner to Obtain a Visa?
Answer:
Yes. After the code is lifted, since there is no longer a “risky person” record in the system, the likelihood of the person’s visa application, residence permit, or investment process being concluded positively increases.
30. Can a Foreigner with a G-87 Code Reunite with Their Family in Türkiye?
Answer:
No. While the code is active, entry into Türkiye is not possible; therefore, the right to family reunification cannot be exercised.
However, after the code is lifted, an application for a family reunification visa may be made.