Latvian personal code for a foreigner
A foreigner receives a Latvian personal code when they are entered in the Register of Natural Persons. Most often this happens automatically on receiving a residence permit or an EU citizen registration certificate. A foreigner who does not live in Latvia but has a legal link to it (property, a company, taxes) can obtain a code by submitting PMLP's standard form. A visa by itself does not give a personal code.
Who this applies to
Step by step
Work out your route to a code
If you are applying for a residence permit, the code is assigned automatically with it. EU citizens staying in Latvia longer than 3 months (e.g. working or studying) must request a registration certificate. If you do not live in Latvia but have property, a company, tax or other obligations here, use the PMLP form.
EU citizen: request a registration certificate
Go to a PMLP regional office with a valid travel document and the completed form. You qualify if you are an employee or self-employed, a student, or have sufficient means and health insurance. The service is free.
No residence: submit the PMLP form
Fill in PMLP's standard form for inclusion in the Register of Natural Persons. Submit it in person at any PMLP office (with an ID document), to PMLP's e-address, or by e-mail to [email protected] if signed with an e-ID issued in the EU, EEA or Switzerland.
Get the code and, if needed, an eID card
The personal code is generated automatically when you are entered in the register. If you log in to Latvian e-services with another EU country's e-ID via the eIDAS gateway, you are entered in the register and given a code automatically. You can then apply for a foreigner's eID card: 170 EUR, made in 2 working days, with face image and fingerprints taken.
Common mistakes
Frequently asked questions
Do I get a code with a residence permit?
Yes — a foreigner is given a personal code on receiving a temporary or permanent residence permit.
Do I have to live in Latvia to get a code?
No. A foreigner with a legal link to Latvia (real estate, business, health, taxes, benefits, education) can be registered via the form even without living here.
How much is the foreigner's eID card?
The state fee is 170 EUR and the card is made in 2 working days. It is free for asylum seekers.
Is the EU citizen registration certificate paid?
No — PMLP provides it free of charge. A fee (25 EUR) applies only when it has to be reissued after loss, damage or a change of data.
Official sources
- PMLP — Ziņu iekļaušana un aktualizēšana Fizisko personu reģistrā
- PMLP — Kā var iegūt personas kodu un deklarēt dzīvesvietu Latvijā
- PMLP — Uzturēšanās dokumenti Savienības pilsoņiem
- PMLP — ES pilsoņa uzturēšanās tiesību dokumentu pieprasīšana
- PMLP — Ārzemnieka eID karte
- PMLP — Valsts nodeva par uzturēšanās dokumentiem
- Uzņēmumu reģistrs — SIA reģistrācija (anketa ārzemniekiem)