Independent information portal · Not a government institution
🔢 PMLP

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.

Service passportUpdated: 09.11.2026.
Cost
Registration comes with the residence document; EU registration certificate — free; foreigner's eID card 170 EUR
Duration
The code is generated on entry in the register; eID card — 2 working days
Deadline
EU citizens must register when staying longer than 3 months
Where
PMLP office, e-address, or e-mail with an EU e-signature
Download the PMLP form
✓ Information verified: 2026-11-09 Report an error

Who this applies to

Foreigners who work, live or do business in Latvia: a personal code is needed for e-services, banks, doctors, taxes and setting up a company. Non-EU nationals get it with a temporary or permanent residence permit; EU/EEA and Swiss citizens with a registration certificate; others with a legal link to Latvia by submitting a form to PMLP.

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

Expecting a personal code with a visa — a visa does not entitle you to one.
Treating the foreigner's eID card as a residence permit — it is neither a travel document nor proof of the right to reside.
Not reporting changes (address abroad, another citizenship) to PMLP — failing to provide register information can be fined up to 700 EUR.
Setting up a company without a code and forgetting the form — at the Enterprise Register a foreigner without a code must attach the register inclusion form.

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

See also