Av. Ferhat AdemhanAttorney at Law · Istanbul
A closed application folder, a pen and a phone on a light grey desk

Restriction code

How to Find Out Your Restriction Code

Home › Entry Bans, Deportation & Criminal Cases

Ferhat Ademhan, Attorney at Law · 1 December 2026 · 8 minute read

Short answerThe code is learned from the notification handed over at the border gate or governorate, or by a written request to the migration authority. A foreigner abroad makes the same request through a representative with a power of attorney or via a Turkish consulate. There is no official online check. If the authority does not answer within thirty days, the request is deemed refused and the time limit for court action starts to run.

Start with the paper you were given

The Law requires an entry ban to be notified to the person concerned. A ban on public order or security grounds is notified by the border authority when the person arrives to enter; a ban linked to deportation is notified by the governorate. The notification states the legal basis of the decision and explains how to object, and the code itself is often printed on it.

Read the document before signing, ask for a copy and write down the date. If you are asked to sign something you do not understand, you may write on it that you do not understand it. The date on this document is the starting point for every time limit that follows.

If you are in Türkiye

You can apply by petition to the Provincial Directorate of Migration Management in the province where you are. You may file it yourself or through a person holding your power of attorney. Attach a copy of your passport identity page and of the relevant entry and exit stamps.

Be careful about going in person if you are in Türkiye without a valid status, or if you suspect that a deportation decision or a security record exists. Appearing at the directorate can lead not only to learning about the record but to it being enforced on the spot, including administrative detention. In those situations it is safer to make the enquiry through a representative and decide the next step once the nature of the record is known.

If you are abroad

A power of attorney made at a Turkish consulate can be used in Türkiye directly. One made before a foreign notary needs an apostille in that country (or consular legalisation where the country is not party to the Apostille Convention), then a sworn translation into Turkish with notarial certification in Türkiye. It saves time later if the document expressly authorises the representative to request information from the migration authority, to file applications and to bring proceedings before the administrative courts.

What the petition should contain

If your surname changed through marriage, or your name is spelled differently in different passports, list every spelling. Records are matched to the person, not to a single passport number.

Sample petition (filed in Turkish)

TO THE PROVINCIAL DIRECTORATE OF MIGRATION MANAGEMENT OF …

Applicant: Name, nationality, date of birth, passport number
Representative (if any): Name, address

Subject: Request for information on any entry ban and restriction record held against me.

Statement:
1. On … I sought to enter Türkiye through … border gate and was not admitted. / On … I left Türkiye.
2. I have not been notified whether an entry ban or restriction record exists against me.

Request: I ask to be informed in writing whether an entry ban or restriction record exists against me and, if so, of its code, legal basis, start and end dates and the unit that entered it.

Attachments: Copy of passport, notification document (if any), power of attorney.
Date, name, signature

Which time limit starts when?

StepTime limitRuns from
Authority’s reply to the request30 daysThe date the request reaches the authority
Court action if no reply is received60 daysThe end of the 30-day period (implied refusal)
Court action against an entry ban or restriction record60 daysNotification of the decision, or the date you learned of it
Court action against a deportation decision7 daysNotification of the deportation decision

The most common mistake is to confuse the sixty-day and seven-day limits. If the code rests on a deportation decision, the decision must be challenged within seven days; waiting for a reply to an information request does not stop that clock. Keep the registry number if you filed by hand, or the delivery receipt if you sent the petition by post, because the date of filing is what proves an implied refusal.

Reading the reply

Replies are usually short and contain some of the following: the code itself (a letter and a number), the date the record was entered and the unit that entered it, its end date if there is one, and the underlying act, such as a deportation decision, a finding of overstay or an unpaid fine.

If the reply only says that "a record exists" without giving the code or reason, a further written request for the reasons can be made. If that fails, the court in an annulment action will ask the authority for the documents behind the record and review its lawfulness on that basis. A reply saying that "no record exists", after a problem at the border, suggests that the cause was a missing entry condition rather than a code: passport validity, a visa, or the 90-day limit within 180 days.

Online "code check" services and paid deletion

There is no public online screen for restriction codes. Websites claiming to show your code instantly from a passport number are not official; identity and passport data entered there can be misused, and any "result" has no legal value. Offers to "delete a code from the system" for a fee are also false. A record is removed only by a decision of the authority that entered it or by a court judgment.

Renewing a passport does not remove a record, and trying to enter on a second nationality’s passport is not a solution: biometric matching can identify the person, and the attempt may be treated as a false declaration leading to a new and more serious record.

Once you know the code

The type of code decides the route. For overstay codes the period and the fine matter most; for security codes, the documents behind the record; for prior-permission codes, an application through the consulate. The meaning of each series and the four available routes are set out in our guide to entry bans and restriction codes. If a deportation decision is involved, see challenging a deportation decision.

SituationSuggested route
Refused at the border with a notification documentRead the document first; if the code is printed, no further enquiry is needed
Abroad and does not know why entry is refusedWritten request through a representative
In Türkiye, residence extension refusedWork from the refusal letter; court action within sixty days
In Türkiye with an expired visa, suspects a recordEnquiry through a representative, not in person
Believes the ban has endedWritten confirmation before travelling; pay any outstanding fine

Frequently asked questions

Does the restriction code appear in my passport?

Not necessarily. The code is held in the authority’s system and may not be visible from the stamps. Reliable information comes from the notification document or a written reply.

Can someone else check my code for me?

Only with a power of attorney. The record is personal data, and the authority will not disclose it to a person whose authority is not documented.

Will the consulate tell me my code?

The consulate tells you the outcome of a visa application. For the code and its basis, a written request to the migration authority is usually needed.

How long does it take?

The authority has thirty days to reply. If it does not reply, the request is deemed refused and the time limit for court action begins.

Sources

This article is general information and does not replace legal advice on a specific case.

Related articles
To discuss your situation

Ferhat Ademhan, Attorney at Law · Kadıköy, Istanbul

Book a consultation+90 532 343 15 12WhatsApp