+371
Latvia phone numbers
21 234 567
International +371 21 234 567, E.164 +37121234567
The numbering plan of Latvia: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as ITU publishes it. A pattern says what a number looks like and where it was allocated; whether it is in service, and who serves it today, is a different question (below).
At a glance
- Country code
- +371
- Exit code
- 00
- Trunk prefix
- none
- Mobile digits
- 8
- Fixed-line digits
- 8
- Number portability
- yes
- Carriers on record
- 5
How to dial a number in Latvia from anywhere: the dialling helper.
| Bite Latvia | 84 |
|---|---|
| Tele2 | 46 |
| LMT | 40 |
| Triatel | 4 |
| UNISTARS | 1 |
prefix blocks allocated, from the published records; a block is a prefix at the plan's allocation length
Check a number
Valid mobile number in Latvia.
| Country | Latvia numbering plan |
|---|---|
| Line type | Mobile |
| Carrier the block was allocated to | Bite Latvia |
| E.164 | +37121234567 |
| International | +371 21 234 567 |
| National | 21 234 567 |
| RFC 3966 | tel:+371-21-234-567 |
Test a pattern
Tick the line types you accept, copy the combined pattern, and paste numbers to see which range each one falls in. Numbers are reduced to their national digits first (no spaces, no +371, no trunk prefix); nothing leaves your browser.
^(?:2333[0-8]\d{3}|2(?:[0-24-9]\d\d|3(?:0[07]|[14-9]\d|2[02-9]|3[0-24-9]))\d{4}|6\d{7})$| Number | National digits | Matches |
|---|---|---|
| 21 234 567 | 21234567 | Mobile |
| 63 123 456 | 63123456 | Fixed line |
| 80 123 456 | 80123456 | not in the ticked types |
| 81 123 456 | 81123456 | not in the ticked types |
Need another country, or the pattern as code in your language? Open the regex builder.
Walk the prefixes
Type the first digits of a number in national form, or tap them: the operators holding blocks under those digits, then the block a full prefix falls in. 175 blocks held by 5 operators are on record.
Type the first digits of a number in national form.
In full
Cheat sheet
| Country code | +371 |
|---|---|
| International exit code (dialling out) | 00 |
| Trunk prefix (national dialling) | none |
| Mobile number length (national digits) | 8 |
| Fixed-line number length (national digits) | 8 |
| E.164 example | +37121234567 |
| RFC 3966 (tel: URI) | tel:+371-21-234-567 |
| Mobile number portability | Yes |
Line types and their regular expressions
Match each pattern against the national significant number: digits only, without the trunk prefix and without +371. The patterns follow the national numbering plan and are anchored here.
| Line type | National digits | Example, national | Example, E.164 |
|---|---|---|---|
| Mobile | 8 | 21 234 567 | +37121234567 |
| Fixed line | 8 | 63 123 456 | +37163123456 |
| Toll-free | 8 | 80 123 456 | +37180123456 |
| Shared cost | 8 | 81 123 456 | +37181123456 |
| Premium-rate | 8 | 90 123 456 | +37190123456 |
Mobile, 8 digits
^(?:2333[0-8]\d{3}|2(?:[0-24-9]\d\d|3(?:0[07]|[14-9]\d|2[02-9]|3[0-24-9]))\d{4})$Fixed line, 8 digits
^(?:6\d{7})$Toll-free, 8 digits
^(?:80\d{6})$Carrier prefix blocks
The operator each prefix block was allocated to, in national form, from the published allocation records for +371. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.
| Operator | Line type | Prefix blocks | Ranges |
|---|---|---|---|
| Bite Latvia | Mobile | 84 | 21, 201, 206–208, 221–222, 225, 230, 251, 255, 274–275, 277, 2205–2209, 2239, 2272, 2280–2284, 2311, 2317, 2320, 2322, 2327, 2330, 2337, 2347, 2355, 2357, 2366, 2377, 2388, 2399–2400, 2411, 2420, 2422, 2424, 2433, 2440, 2442, 2450, 2455, 2460, 2466, 2477, 2488, 2499–2500, 2585–2588, 2720–2725, 2727, 2760–2767, 2792, 27997 more ranges2855, 2900, 2902, 23100, 23400, 23444, 23500 |
| Tele2 | Mobile | 46 | 200, 203–205, 223, 248–249, 252–253, 259–260, 267–271, 281–282, 288–289, 295–299, 2018, 2089, 2091–2093, 2095–2097, 2267, 2323, 2333, 2478–2479, 2726, 2844–2848, 23402, 23456 |
| LMT | Mobile | 40 | 26, 202, 224, 254, 256–257, 273, 278, 280, 283, 286–287, 291–294, 2200–2204, 2266, 2277, 2288, 2299, 2328, 2380–2384, 2444, 2556–2559, 2729, 2777, 2790, 2849 |
| Triatel | Mobile | 4 | 258, 2094, 2286–2287 |
| UNISTARS | Mobile | 1 | 2285 |
Questions developers ask
- How many digits does a phone number in Latvia have?
- Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits. That is the national number, without the country code +371.
- What is the country code for Latvia?
- +371. From abroad, dial your own exit code, then 371, then the national number. From inside Latvia, the exit code for international calls is 00.
- Which prefixes are mobile numbers in Latvia?
- Mobile numbers start with 2 in national form; the mobile regular expression on this page gives the exact ranges (example: 21 234 567). The carrier table shows which prefix blocks were allocated to which operator.
- Can a mobile number in Latvia be ported to another carrier?
- Yes. Latvia has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that.