Who can serve under contract and what it means for your status
Ukraine's military duty does not apply to foreigners. Under the Law on Military Duty and Military Service, foreigners and stateless persons who are lawfully in Ukraine may volunteer to serve under contract in the Armed Forces, the State Special Transport Service and the National Guard. You become a servicemember, but you do not become a Ukrainian citizen by signing.
For immigration purposes the contract matters because it is a ground of its own for a посвідка на тимчасове проживання (temporary residence permit, TRP). It sits in Part 19 of Article 4 of Law No. 3773-VI next to work, study and marriage. The rules common to all grounds are in the temporary residence permit guide.
Document checklist
0/7 doneWhat changed in 2026
Law No. 4730-IX, in force since 10 May 2026, rewrote the rules for foreign servicemembers. The permit became mandatory rather than optional, and the law now ties your lawful stay to it, even when your passport has expired or needs replacing.
Law No. 5036-IX took effect on 12 November 2026. It added a rule for the period before the permit and transition deadlines for those already serving. As of 20 November 2026 both laws apply. Procedure No. 322 has not yet been updated for the second one, so where they differ the text of the law prevails.
How long you can stay before the permit
From the day you sign the contract until the permit is issued, your stay is lawful for no more than three months. This is the fourth paragraph of Part 21 of Article 4 of Law No. 3773-VI. Once that period runs out without a permit, you have no ground to stay.
The State Migration Service (DMS) issues the card within 15 working days after accepting the file. Your real margin therefore depends on how fast the unit issues its undertaking and how fast you get the passport translated.
Transition rules for those already serving
During the transition period your lawful stay is confirmed by your military ID, service certificate or a servicemember certificate in the form set by the Ministry of Defence. Keep one of them with you at all times, because a border guard or police officer will not see a residence card yet.
If your contract ended before 12 November 2026, or ends within three months after that date, and you never received a permit, you can also rely on the contract itself or an extract from the order striking you off the unit's roll. This does not cover discharge on the grounds the law excludes, such as a criminal sentence.
Documents for the permit
Part 24 of Article 5 of Law No. 3773-VI and subparagraph 17 of paragraph 33 of Procedure No. 322 list three documents specific to this ground. They are the military ID or service certificate, the contract, and the unit's undertaking to notify the Migration Service if the contract is terminated early. The rest is the standard file, meaning the passport, a translation of the data page, proof of payment and your tax number if you have one.
No health insurance policy is needed for this ground, which paragraph 32 states outright. No type D visa either. You apply in person at the Migration Service office where you actually live or stay. According to the service page, in Kyiv you can also use the state enterprise "Document" or an administrative service centre (TsNAP). The fees are the same as for other grounds, UAH 1,140 in total according to the Migration Service page.
The Migration Service accepts the unit's undertaking only on official letterhead with a date, reference number, contact phone and the details of the specific foreigner. This is the document most often sent back for redoing.
Expired passports
A foreigner under Part 19 of Article 4 may file an expired passport or one due for replacement. The condition is that getting a new one would require going to the authorities of a state that has committed aggression against Ukraine, does not recognise its territorial integrity or voted against UN General Assembly Resolution 68/262.
The Migration Service page names citizens of Russia, Belarus, Armenia, Bolivia, Cuba, North Korea, Nicaragua, Sudan, Syria, Zimbabwe and Venezuela. Everyone else needs a valid passport.
Permit term and revocation
The permit is issued for the term of the contract plus six months after it ends. That is longer than for most grounds, where the permit runs for up to a year. The article on permit validity compares the terms.
The six months after the contract are not guaranteed. If under martial law the contract is terminated because of a criminal sentence of imprisonment or restriction of liberty, failed probation, unfitness for the post or refusal of a polygraph test, the unit notifies the Migration Service and the permit is revoked under subparagraph 6-1 of paragraph 63 of the Procedure. The general rules are in the article on residence permit cancellation.
Permits for your spouse and children
Your family members get permits on the ground of family reunification. The Migration Service counts as family your husband or wife, minor children including your spouse's children, dependent parents and anyone else treated as family under the law of the country of origin. They do not need a type D visa either.
Unlike the servicemember, a family member files a health insurance policy and proof of financial support from the host. A foreign family document must be legalised. You hand in your own permit in person, unless service under martial law keeps you away and this is documented. The full file is in the article on permits for family members.
After the contract ends
Use the six months of remaining validity for the next step. If you served three years or more, or at least one year under martial law, you can apply for an immigration permit under item 9 of Part 2 of Article 4 of the Law on Immigration. For those found unfit because of a wound, the length of service does not matter. If you apply within six months of the contract ending, your stay is lawful until you receive the permanent residence permit. See the article on grounds for permanent residence.
Citizenship has its own benefits for servicemembers, covered in the article on citizenship for foreigners in the Armed Forces. If neither route fits, you switch to another ground such as work or marriage, with that ground's full file. During the special period you can terminate the contract at your own request no earlier than six months of continuous service.
From our practice
In servicemembers' cases the ground is rarely the problem. The unit's undertaking is. It is often drafted freehand, without a reference number or phone, or with the name misspelled, and the Migration Service turns it down. We check the letter against the passport and the contract before you go to file, and ask the unit to fix it straight away.
Names cause the second typical problem. The contract often spells your name the way it was heard at enlistment, while the passport translation spells it differently. A single letter is enough to stop the case, so we match the translation to the spelling already in the military documents or ask the unit to correct the contract.
For families, do not wait for the servicemember's leave. The unit can issue the documents that let the family apply without his personal visit in advance. If you want to get through this without repeat visits, our residence permit service covers a contract soldier or his family from checking the file to collecting the card.
Official sources
- Law of Ukraine No. 3773-VI on the Legal Status of Foreigners and Stateless Persons, Art. 4 parts 15, 19, 21, Art. 5 part 24, Art. 5-1, 5-2
- Law of Ukraine No. 5036-IX of 27.10.2026 on the grounds of stay of foreign servicemembers, Sections I and II
- Law of Ukraine No. 4730-IX of 17.12.2025 on the legal status of foreign servicemembers, Section II
- Law of Ukraine No. 2232-XII on Military Duty and Military Service, Art. 1, 2, 21-2, 26
- Procedure for temporary residence permits, Cabinet Resolution No. 322, paras 4, 32, 33, 58-1, 63
- State Migration Service: residence permit for a foreign servicemember
Frequently asked questions
Do I need a type D visa to get a residence permit as a contract soldier?+
No. Article 5-2 of Law No. 3773-VI exempts foreigners who have signed a military service contract, and their family members, from the long-term visa requirement. You apply from inside Ukraine.
How long can I stay in Ukraine after signing the contract without a permit?+
Since Law No. 5036-IX took effect on 12 November 2026, your stay is lawful until the permit is issued, but for no more than three months from the day the contract was signed. Apply as soon as the unit issues its undertaking.
What happens to my permit when the contract ends?+
The permit stays valid for six months after the contract ends. That does not apply if you were discharged on certain grounds, such as a criminal sentence of imprisonment, failing the probation period or unfitness for the post. In those cases the permit is revoked once the unit notifies the Migration Service.
Can I apply with an expired passport?+
Yes, if getting a new one would mean going to the authorities of the aggressor state or of a state that does not recognise Ukraine's territorial integrity. The Migration Service lists citizens of Russia, Belarus, Armenia, Bolivia, Cuba, North Korea, Nicaragua, Sudan, Syria, Zimbabwe and Venezuela.
Do I have to register my address with a military residence permit?+
No. Paragraph 58-1 of Procedure No. 322 exempts foreigners serving under contract in the Armed Forces, the National Guard or the State Special Transport Service from declaring or registering their place of residence.
Can my wife get a permit while I am at the front?+
Yes. The serviceman normally hands in his own permit in person when a family member applies, but Procedure No. 322 makes an exception for those who cannot come during martial law because of their service, provided there are supporting documents.
This article is general guidance, not individual legal advice.