

What should foreigners do if a security code prevents them from entering Turkey in 2026? Learn how to identify the restriction, challenge an entry ban or security-based immigration measure, seek removal of an incorrect code, and protect family, residence and business rights.
A foreigner may arrive at a Turkish airport or land border believing that their passport and visa are valid, only to be told that a security-related restriction or code prevents entry into Turkey.
This can be particularly confusing when the foreigner has never been convicted of a crime, has never been deported from Turkey or previously held a valid Turkish residence or work permit.
The most important first step is to determine exactly what administrative measure exists.
A security-related restriction code, a formal entry ban, refusal of entry and a previous deportation decision are not necessarily the same thing.
Under Article 9 of Law No. 6458 on Foreigners and International Protection, Turkish authorities may impose an entry ban where a foreigner’s admission is considered objectionable for reasons of public order, public security or public health. The law also permits additional admission controls for public-order and public-security reasons.
Therefore, a foreigner facing a security code should not focus only on “deleting the code.” The complete administrative basis and consequences of the restriction should be investigated.
The expression “security code” is commonly used to describe a restriction or administrative record associated with public-order, public-security or national-security information concerning a foreigner.
The precise legal consequences depend on the individual record.
A security-related restriction may be connected with:
The existence of a code should therefore be distinguished from the administrative decisions that may be based on that information.
Yes.
Current Migration Management guidance states that foreigners banned from entering Turkey and foreigners considered undesirable for public-order or public-security reasons can be refused admission.
A security-related immigration record can therefore have serious practical consequences at passport control.
The foreigner may be:
However, the precise legal ground should be identified rather than relying solely on a verbal statement from border personnel.
Yes.
A previous deportation decision is not required for every entry ban.
Article 9 separately authorizes an entry ban where a foreigner’s entry is considered objectionable for public-order, public-security or public-health reasons. It separately provides for entry bans concerning foreigners who have been deported.
Therefore, a foreigner may potentially have:
A security-related entry ban without ever having been deported from Turkey.
This distinction is important when determining what must be challenged.
If the security issue is discovered during passport control, the foreigner should try to determine the exact administrative basis for refusal.
Important questions include:
Current Migration Management guidance confirms that border authorities can conduct a comprehensive examination where there are doubts concerning the conditions of entry. The authority describes this as an enhanced border check rather than administrative detention.
Any written document provided at the border should be retained.
A foreigner arriving from abroad who is refused admission because of a security restriction has not necessarily been “deported” in the legal sense.
Deportation or removal generally concerns a foreigner subject to removal proceedings under Articles 52–60 of Law No. 6458.
Refusal of entry concerns whether a person arriving at the border will be admitted into Turkey.
A security restriction may be relevant to either process, but the two procedures should not be confused.
Yes.
The absence of a criminal conviction does not automatically establish that no public-security immigration restriction can exist.
Immigration measures and criminal punishment operate under different legal frameworks.
However, this does not mean that authorities have unlimited discretion.
The Turkish Constitutional Court has emphasized in its case law concerning national-security-based immigration restrictions that judicial review must provide meaningful protection against arbitrariness. Although authorities are not necessarily required to establish a criminal conviction or disclose every confidential intelligence document, abstract assertions of a national-security threat are not sufficient by themselves; sufficiently serious information connected to the individual circumstances must support the measure and be capable of meaningful judicial scrutiny.
This distinction can become central in litigation.
Constitutional Court case law provides a useful illustration of how security-related immigration codes can operate.
In one published case, a Greek national attempting to enter Turkey through the Pazarkule land border was denied entry because a G-82 restriction code had been recorded against him in connection with suspected activity against national security.
This demonstrates that a restriction code can have a direct practical effect at the Turkish border.
However, the legality of any particular restriction must be evaluated according to the evidence and circumstances of that individual case.
Yes, potentially.
A security-related restriction may be disputed where, for example:
The correct legal strategy depends on what actually appears in the immigration records.
Foreigners with common names may encounter problems caused by identity confusion.
Relevant identifying information can include:
If mistaken identity is suspected, documentary evidence establishing the foreigner’s actual identity and travel history should be collected immediately.
A closed criminal investigation may be highly relevant.
For example, suppose a security restriction was connected with allegations that later resulted in a prosecutorial decision not to pursue charges.
That subsequent decision may undermine the factual assumptions supporting the immigration measure.
However, foreigners should not assume that the immigration restriction will automatically disappear when criminal proceedings end.
The relevant judgment or prosecutorial decision may need to be submitted to the immigration authorities or relied upon in administrative litigation.
An acquittal may likewise be important evidence.
The foreigner should obtain:
The central question is whether the factual foundation supporting the immigration restriction remains legally sustainable after the criminal proceedings have concluded.
Depending on the nature and basis of the restriction, an administrative application may potentially be made seeking reconsideration, correction or removal.
The application should not merely state:
“Please remove my security code because I need to enter Turkey.”
A stronger application should address:
The objective is to attack the underlying basis of the restriction.
Potentially, yes.
Article 9 provides that the competent authority may revoke an entry ban or permit the foreigner to enter Turkey for a specified period without completely removing the ban.
Therefore, depending on the case, the strategy may involve:
Removing the underlying restriction
and/or
Seeking revocation of the entry ban
and/or
Requesting permission to enter for a specified period.
These are not necessarily identical procedures.
Potentially.
Current Migration Management visa guidance states that a person who is banned from entering Turkey should apply through a Turkish foreign representation for an annotated visa application.
This can potentially become relevant where there is a legitimate reason to enter Turkey despite an existing restriction.
Approval is not automatic, and an annotated visa application should not be confused with cancellation of the underlying restriction.
Depending on the circumstances, the foreigner may have important reasons such as:
These circumstances do not automatically override a national-security or public-security restriction.
They may nevertheless be legally relevant to the proportionality and individual assessment of the measure.
Marriage to a Turkish citizen does not automatically cancel a security-related immigration restriction.
However, family life can become highly relevant.
The Constitutional Court has emphasized that where foreigners have strong family ties in Turkey, authorities and courts must appropriately balance the public interest underlying removal or an entry restriction against the individual’s right to respect for family life.
Therefore, evidence concerning:
may become important depending on the case.
The existence of Turkish citizen children does not automatically delete the restriction.
However, family-life considerations and the individual circumstances of children may substantially affect the legal assessment.
The administrative and judicial challenge should therefore contain detailed evidence rather than merely stating that children live in Turkey.
Property ownership does not automatically create a right to enter Turkey despite a security restriction.
The same applies to:
However, these circumstances may be relevant to explaining the consequences of the restriction and the foreigner’s legitimate reasons for seeking entry.
Yes.
Current Migration Management guidance states that an existing removal decision or entry ban is a ground affecting the grant, renewal or continuation of several residence permit categories, including short-term and family residence permits.
Therefore, a foreigner should not assume that obtaining another residence permit application form will solve an unresolved security-based entry restriction.
The underlying problem may need to be addressed first.
A previously valid residence permit does not necessarily override a subsequently imposed security restriction.
The foreigner should investigate whether:
These issues should be analyzed separately.
A work permit may ordinarily provide a lawful basis for residence while valid, but it should not be assumed to override an independent entry restriction based on public-security grounds.
The foreigner’s work permit and security restriction should therefore be investigated separately.
Depending on the nature of the administrative measure, judicial review may be available.
A challenge can potentially concern:
The administrative file and the exact measure producing legal consequences should be identified before litigation.
Turkish Constitutional Court case law is particularly important in this area.
The Court recognizes the state’s legitimate interest in protecting national security and accepts that intelligence information may sometimes need to remain confidential.
At the same time, it has emphasized that security-based restrictions cannot be protected from meaningful judicial review merely by using general national-security language.
According to the Court’s published principles, sufficiently serious information relating the particular individual to the alleged security concern must be available for judicial examination, and courts must provide reasons addressing the arguments and evidence relevant to the restriction.
This can be especially significant where the foreigner has no criminal conviction or denies any connection with the alleged conduct.
Security-related immigration proceedings may involve confidential information.
The existence of confidential intelligence does not automatically make an immigration measure unlawful.
At the same time, confidentiality does not eliminate the requirement for effective judicial scrutiny against arbitrariness.
The Constitutional Court’s approach emphasizes both interests: protection of genuinely confidential security information and meaningful judicial examination of whether the restriction has a sufficiently concrete basis.
Where an annulment lawsuit is available, the foreigner may consider requesting suspension of execution under the applicable administrative procedural rules.
This can be particularly important where the restriction causes immediate consequences involving:
However:
Filing a lawsuit does not automatically suspend the restriction.
Requesting suspension does not mean the court has granted it.
The actual judicial order must be examined.
Not automatically.
A pending administrative lawsuit should not itself be treated as permission to cross the Turkish border.
The restriction generally remains relevant unless it has been revoked, suspended or otherwise rendered inapplicable through an effective administrative or judicial measure.
Foreigners should therefore avoid purchasing travel tickets on the assumption that filing a case alone guarantees admission.
A refusal-of-entry decision and the underlying security restriction may require separate legal analysis.
Article 7 of Law No. 6458 regulates foreigners who are refused entry, while Article 9 regulates entry bans. Current Migration Management guidance confirms that persons banned from entering Turkey and those considered undesirable for public-order or public-security reasons can fall within the admission restrictions.
The written border decision should therefore be obtained and examined wherever possible.
Where an entry ban exists, current Migration Management guidance states that foreigners are notified when they apply at Turkish consulates or when they arrive at border gates.
A foreigner who already suspects a security restriction should therefore investigate the immigration status before travelling rather than intentionally testing the restriction at passport control.
Legal representation in Turkey may also assist with investigating the underlying administrative measures where procedurally available.
A foreigner facing a security-related restriction should consider collecting:
The evidence should be tailored to the actual reason for the restriction.
Foreigners should avoid:
Security-related immigration measures should be addressed through lawful administrative and judicial procedures.
Under the framework applicable in 2026, Turkish immigration law permits entry restrictions based on public order and public security, even where no previous deportation decision exists.
However, the existence of a security-related code does not mean that the administration’s assessment is immune from legal scrutiny.
Constitutional Court jurisprudence emphasizes the need for effective protection against arbitrariness in national-security-based immigration measures. Public authorities do not necessarily have to disclose every confidential intelligence document or establish a criminal conviction, but a purely abstract allegation that someone threatens national security is not sufficient; meaningful information connecting the individual to the alleged security concern must support judicial review.
Therefore, foreigners facing a security code in 2026 should focus on four questions:
What restriction exists?
What factual information supports it?
What administrative consequences has it produced?
Which administrative or judicial remedy can address those consequences?
Yes. Depending on its legal basis and effect, a security-related restriction can result in an entry ban or refusal of admission on public-order or public-security grounds.
Yes. Article 9 permits an entry ban on public-order, public-security or public-health grounds independently of a previous deportation decision.
Not necessarily. Immigration restrictions and criminal convictions are different legal concepts.
Potentially, yes. The absence of a conviction may be relevant, but the broader question is whether the immigration restriction has a sufficiently lawful and individualized factual basis.
Potentially. If the restriction was connected with the same allegations, an acquittal can be significant evidence. It should not, however, be assumed that immigration records automatically disappear following the judgment.
Article 9 permits the competent authority to revoke an entry ban or allow entry for a specified period without completely revoking the ban.
Potentially. Current official guidance directs foreigners subject to an entry ban to apply through a Turkish foreign representation for an annotated visa. Approval is not automatic.
No. However, strong family ties can be relevant to the proportionality and legality assessment, and the Constitutional Court has emphasized the need to balance family life against the public interest relied upon for immigration restrictions.
No. A pending lawsuit does not itself amount to border admission or automatic suspension of the restriction.
Identify the security restriction, determine whether an entry ban exists, obtain the relevant administrative records, collect evidence contradicting the restriction where appropriate, and evaluate administrative and judicial remedies before travelling.
A security-related immigration restriction can affect a foreigner’s ability to enter Turkey, maintain family relationships, work, study, manage investments or continue residence procedures.
The correct strategy requires determining whether the case involves a security restriction, formal entry ban, refusal-of-entry decision, residence permit cancellation, removal decision or several measures simultaneously.
Fırat Fesih Kaya Law Office provides legal assistance to foreign nationals facing security-related immigration restrictions and entry bans in Turkey.
Lawyer Fırat Fesih Kaya assists foreign clients with security-code investigations, challenges to incorrect immigration records, entry-ban disputes, administrative applications, refusal-of-entry cases, residence permit problems and administrative-court proceedings.
Phone: +90 312 434 22 22
Mobile: +90 532 769 22 22
Email: info@firatfesihkaya.av.tr
Address: Mevlana Boulevard No:221, Yıldırım Tower No:148, 06520 Balgat, Çankaya, Ankara, Turkey
This publication is provided for general informational purposes and does not constitute legal advice. Security-related immigration cases should be assessed individually according to the particular restriction, underlying administrative information, family circumstances, notification history and other measures contained in the foreigner’s immigration record.