Skip to content
+380 68 888 44 00
resident.resident.

How does a foreigner leave Ukraine, and what is checked at the border on exit?

OHOleksandra HordiienkoMigration lawyer8 min read
Exit conditions
valid passport document and no exit ban
Who checks
State Border Guard Service, Article 10 of Law No. 1710-VI
When exit is refused
criminal proceedings, unserved sentence, national security, court order over debts
Short answer

A foreigner leaves Ukraine on two conditions under Article 8(3) of the Border Control Law, a valid passport document and no exit ban. Exit is refused only under Article 22 of Law No. 3773-VI, for criminal proceedings, an unserved sentence, national security or a court order over debts. Overstay or an unpaid fine is recorded but does not block exit.

This article is up to dateverified by a lawyer next review: April 2027Update history
2026-10-28Article published.

Two conditions for leaving

Leaving Ukraine is simpler than entering it. Article 8(3) of the Law «On Border Control» sets only two conditions. You need a valid passport document, and there must be no decision of an authorised Ukrainian body banning your exit. A visa, insurance, funds and the purpose of the trip are conditions of entry, and nobody checks them when you leave. How long a foreigner may lawfully stay and when that term ends is explained in the guide to stay terms for foreigners.

Article 22 of the Law «On the Legal Status of Foreigners and Stateless Persons» adds the general right. A foreigner who is in Ukraine lawfully may freely leave its territory, except in the cases established by law. Those cases are listed in the same article, and there are few of them. Below we go through them, and through what happens at departure when the permitted stay has already been exceeded.

Document checklist

0/5 done

What the border guard checks at exit

Article 10 of the Border Control Law describes exit control of a foreigner in three points. First, whether the passport document is valid. Second, whether the databases of the State Border Guard Service contain an exit ban or instructions of authorised state bodies concerning this person. Third, whether the law on the legal status of foreigners has been complied with. The third point was added in 2023, and it is the one under which an overstay is detected at departure.

The officer scans the passport, looks at the entry stamp or the residence permit and counts the days. If everything is within the term and the database is clean, an exit stamp goes in. The table below compares the two directions, and the article on the entry procedure for foreigners describes the entry side in detail.

When exit is not allowed

Article 22(2) of Law No. 3773-VI contains an exhaustive list of three grounds. Exit is not allowed if the foreigner has been notified of suspicion of a criminal offence or a criminal case is being heard by a court, and this lasts until the proceedings end. The second ground is a conviction for a criminal offence where the sentence has not yet been served or remitted. The third is where exit contradicts the interests of Ukraine's national security, until those circumstances cease.

Article 22(3) stands apart. Exit may be temporarily postponed until the foreigner fulfils property obligations to individuals or legal entities in Ukraine, but only by a court decision. Under Article 22(4) such persons are entered in the database of those who are not allowed to enter Ukraine or whose right to leave is temporarily restricted, and that is the database the border guard sees.

Unpaid fines and debts

An unpaid administrative fine, for example for an overstay, is not mentioned in Article 22. On its own it is therefore not a ground to keep you in Ukraine. Article 13 of the same law names unfulfilled decisions of bodies that impose administrative penalties, and other property obligations to the state, as a ground for an entry ban. How that ban works is explained in the article on the entry ban to Ukraine.

The second consequence concerns the residence permit. Unfulfilled penalty decisions are a separate ground for refusing a permit under paragraph 61 of Procedure No. 322. So before you leave, pay everything that has been imposed and keep the receipt together with the resolution. What foreigners are fined for and how to check whether anything is outstanding is covered in the article on fines for foreigners.

If you have overstayed

An overstay is most often detected at departure. The border guard counts the days under the 90/180 rule or against the date on the permit and draws up a protocol under Article 203 of the Code of Administrative Offences. Cases over breaches detected at border crossing points are heard by the State Border Guard Service under part 2 of that article, and the fine is paid through a payment terminal. An overstay of up to 30 days carries a fine of 100 to 200 tax-free minimum incomes, that is UAH 1,700 to 3,400, a longer overstay 200 to 300 tax-free minimum incomes, that is UAH 3,400 to 5,100.

You are still allowed to leave, because Article 22 knows no such ground. But the breach is recorded in the database, and it will surface at your next entry. Since 2023 compliance with stay limits is a separate condition of entry under Article 8 of the Border Control Law, so entry may be refused. The consequences of an overstay, and whether it can be fixed before you leave, are covered in the article on overstaying in Ukraine.

When you are obliged to leave

Sometimes departure stops being voluntary. If the grounds for stay have disappeared, the State Migration Service (DMS) or the Security Service shortens the term of stay under Article 24 of Law No. 3773-VI. The shortening decision states a deadline for departure, and under paragraph 36 of Procedure No. 150 it may not exceed five calendar days from the date of the decision.

A separate case is when a temporary residence permit (посвідка, TRP) expires and you are not applying for a new one. Paragraph 67 of Procedure No. 322 requires you, within seven days, to deregister your place of residence, hand the permit in to the DMS and leave. The same term applies under paragraph 68 after a permit is revoked, counted from the day you receive a copy of the decision. The harshest option, forced return, gives no more than 30 days to leave and may come with an entry ban for three years. There is a separate article on the forced return of foreigners.

What happens to the residence permit

On an ordinary trip a valid permit stays with you, and you return on it without a visa. The one thing to watch is the date on the card, because the permit's term does not pause while you are abroad. How to plan a trip and what changed for expired permits in 2026 is explained in the article on travelling abroad with a residence permit.

If you are leaving for good, do not let the permit hang in limbo. Subparagraph 7 of paragraph 63 of Procedure No. 322 allows it to be revoked on the foreigner's own application. The application goes to the DMS before departure in two copies, the second one with the stamp stays with you and explains your status at the border. How to draft it, and what happens when the DMS revokes a permit itself, is described in the article on revocation of a residence permit.

Martial law and second citizenship

The martial law exit restrictions apply to citizens of Ukraine and are set out in the Rules for crossing the state border by citizens of Ukraine. They do not extend to foreigners, who leave on the general terms described above. What has changed at border crossing points and which documents are worth carrying under martial law is covered in the article on crossing the border under martial law.

It is different for those who hold a Ukrainian passport alongside another citizenship. Article 2 of the Law «On Citizenship of Ukraine» provides that a citizen of Ukraine who has acquired the citizenship of another state is recognised in legal relations with Ukraine solely as a citizen of Ukraine. A foreign passport therefore does not turn such a man into a foreigner at the border, and the exit rules for Ukrainian citizens apply to him. Those rules are outside the scope of this article.

If you are refused exit

A refusal of exit cannot be verbal. Article 14 of the Border Control Law requires a reasoned decision of an authorised officer in two copies, one of which is handed to the foreigner against signature. Without a document in hand there is nothing to appeal.

The decision can be appealed within one month of its adoption to a higher body of the State Border Guard Service or to an administrative court at the location of that body. An appeal does not suspend the decision. If the cause was an entry ban or a court order, first find out where it came from and whether it can be lifted, which the article on checking for an entry ban explains.

From our practice

What worries clients most is not the law but the unknown. Someone a few days over the limit is afraid to go to the border because they have heard they «will not be let out». I explain that the law gives the border guard no such ground, and the real risk is different. It is a protocol at departure and a refusal at the next entry. So before the trip we count the days, and if there is already an overstay, we decide whether to pay the fine at the DMS in advance and travel with the resolution and the receipt.

The second typical mistake concerns the permit. A client leaves for good, puts the permit in a drawer and a year later wonders why questions come up at a new entry. An application to revoke the permit costs one visit to the DMS, and the stamped copy settles those questions at the border. If only a week is left before departure, the application can also be filed through a representative under a power of attorney.

If you are unsure whether anything is sitting in a database, at a migration law consultation we look through your resolutions, fines and court cases and tell you what you can travel to the border with calmly.

What border guards check at entry and at exit

CheckEntry, Article 8(1) and Article 9Exit, Article 8(3) and Article 10
Valid passport documentyesyes
Entry or exit ban in the databaseentry banexit ban and instructions of state bodies
Visa or visa-free entitlementyesnot checked
Purpose of stay and proof of fundsyes, with second-line checks if in doubtnot checked
Compliance with stay limitscondition of entry since 2023checked and recorded, exit still allowed

Frequently asked questions

Can a border guard stop me from leaving Ukraine?+

Only on a decision that is already in the State Border Guard Service database. Article 22 of Law No. 3773-VI names four situations. These are a notice of suspicion or a trial in criminal proceedings, an unserved sentence, the interests of national security, and a court order temporarily postponing exit until property obligations are met. Otherwise a foreigner with a valid passport leaves freely.

Will I be stopped if I have not paid a Migration Service fine?+

An unpaid administrative fine is not listed in Article 22, so it is not a ground to refuse exit. But unfulfilled decisions of bodies that impose penalties are a ground for an entry ban under Article 13 of the same law. Pay the fine before you travel and keep the receipt with the resolution.

I overstayed. What happens at departure?+

Border guards check compliance with the law on the legal status of foreigners at exit, so an overstay is detected. You are allowed to leave, but a protocol is drawn up under Article 203 of the Code of Administrative Offences. An overstay of up to 30 days carries a fine of 100 to 200 tax-free minimum incomes, that is UAH 1,700 to 3,400, a longer one 200 to 300 tax-free minimum incomes, that is UAH 3,400 to 5,100. The real consequence comes at your next entry, because compliance with stay limits is a condition of entry.

Is the residence permit taken away at the border when I leave?+

Not on an ordinary trip. A valid temporary residence permit stays with you and lets you return without a visa. If you are leaving for good, you hand the permit in to the Migration Service by your own application before departure and show the stamped copy at the border.

Do the martial law exit restrictions on men apply to foreigners?+

No. The martial law exit restrictions are set for citizens of Ukraine, and a foreigner leaves on general terms. A Ukrainian citizen with a second passport, however, is treated by Ukraine solely as a Ukrainian citizen, so the rules for citizens apply to him, not the rules for foreigners.

What if I am refused exit?+

Insist on a written decision. Article 14 of the Border Control Law allows a refusal only by a reasoned decision in two copies, one of which is handed to you. It can be appealed within one month to a higher body of the State Border Guard Service or to an administrative court.

This article is general guidance, not individual legal advice.