Jump to content

How to Get Your HES Code Using Your Smartphone in Turkey

Rate this topic

Ken Grubb

Recommended Posts

I just got my HES Code. Here's a breakdown of what you have to do using your smartphone.

If you're a foreigner with a foreigner ID number

Send an SMS message to 2023. In the message write 

HES, your foreigner ID number, your year of birth, and sharing time in days. Put a space between each item.

It would look like this:

HES 99111111111 1975 365

Thats "HES." your foreigner ID number, your date of birth, and the number of days you want to allow your HES code to be shared. I just put 365, which is one year.

If you're a visitor without a foreigner identification number:

Send an SMS message to 2023. In the message write 

HES, your nationality, passport number, year of birth, and last name. Put a space between each item.

It would look like this:

HES United Kingdom 1234567 1974 Smith

I received a reply which said:

9913456712 (Foreigner Identification Number) Numraralı TCKN için HES KODUNUZ: N4G2 - 1111 - 11

30.09.2021 10:28 tarihine kadar gecerlidir.

Which says my HES code and that it will be shared until this day next year.

Next I got a message saying 

HES kondunuza  ait karekodu adresi

Then it gave me a link.

This took me to a page with a QR barcode which could be read with a barcode scanner.

At the bottom it had a link  saying 

HES Kodunuzun karekodunu oluşturmak için tıklayın.
When I clicked this, the HES code document downloaded to my smartphone in a PDF document. So if somebody needs to scan it, I now have it saved in my files on my smartphone.

I had trouble finding where it downloaded to, but clicked on 

My Files --> Recent Files

And found it. I was then able to move it to the phone's internal storage and opened a folder for it called "HES Code." So now I can pull that up anytime somebody needs to see it or scan it.

You can also get an HES Code using Turkey's online government portal, e-Devlet. Just go to this link:




Link to comment
Share on other sites

I was just watching the news and they were showing the police checking the passengers on a long-distance bus. They were using a scanner to scan their ID cards.

So since your HES code is associated with your foreigner identification number, I'm assuming you can get into a building or public transportation with your ID card.

I have to go to the post office tomorrow so I'll let you know what happens!

Link to comment
Share on other sites

In public places they just ask your code and enter to system to verify it. I did it on Friday. Not all places do that For example I went to kaymakanlik health center. They did not check!

This hes code is really a sh..t thing! it does not mean anything really. I also had internal flight they did not check

Link to comment
Share on other sites

On 30/09/2020 at 17:35, IbrahimAbi said:

So how does it work if you choose not to have a smartphone? Anyone got any ideas?

I have smartphone but I didn’t get this link or bar code like Ken ... just come sms 

B*********** numarali Pasaport icin HES KODUNUZ:
Xxxx - yy- Zz 

"18.09.2021 10:03" tarihine kadar gecerlidir. B001 

and another same SMS but different code I don’t know why 2 times..

when I go to the immigration office I just show to this man at door this SMS and that’s it.. Same situation I had when I go to Notary.. just show SMS.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

For those with Turkish citizenship, using a non-smart phone, it's slightly different.  Type HES, followed by Kimlik, the last 4 digits of the Seri No from Kimlik, & number of days (up to 365), with one space between each item. 

Ibrahim Abi, I don't know if it will work without being registered with the e-devlet system, but if your friend has a kimlik he could try.  Or if a foreigner, try with the birth year... (??)  I wish him luck. :)

BTW, I've also found differing ways govt institutions & banks deal with HES.  Local Işbank goes all out registering both HES code & İD while Vakıf does nothing & Ziraat only wants to check your temperature. Belediye wants HES & temperature, İzsu varies by individual staff.  One must be prepared for anything..! :D

Link to comment
Share on other sites

22 hours ago, Meral said:

  One must be prepared for anything..! :D

That probably should be posted prominently on every government building, school, hospital and every bridge over every road in Turkey. :hysterical:


Çukurbağlı's blog. Warning - takes you off the forum and into the www.wilderness


Link to comment
Share on other sites

Sorry, I should have explained that. I'll edit the post to make it more clear.

The sharing time is in days, so 365 meant that I wanted to share my HES code for 365 days. You can put any number of days there. Whatever you enter, after that number of days your HES code will stop being shared with others.

Link to comment
Share on other sites

  • Ken Grubb changed the title to How to Get Your HES Code Using Your Smartphone in Turkey

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...