Skip to content

+386

Slovenia phone numbers

031 234 567

International +386 31 234 567, E.164 +38631234567

The numbering plan of Slovenia: 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
+386
Exit code
00
Trunk prefix
0
Mobile digits
8
Fixed-line digits
8
Number portability
yes
Carriers on record
9

How to dial a number in Slovenia from anywhere: the dialling helper.

Mobile numbers start with:0304050607
Mobile prefix blocks by operator
Telekom Slovenije
5
A1
4
Novatel
3
Telemach
2
Compatel
1
4 other operators
4

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 Slovenia.

+386
country code
31
network code
234567
subscriber number
CountrySlovenia numbering plan
Line typeMobile
Carrier the block was allocated toTelekom Slovenije
E.164+38631234567
International+386 31 234 567
National031 234 567
RFC 3966tel:+386-31-234-567

Source: National numbering plan: Slovenia (ITU)

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 +386, no trunk prefix 0); nothing leaves your browser.

Line types to accept
^(?:65(?:[178]\d|5[56]|6[01])\d{4}|(?:[37][01]|4[013]|51|6[489])\d{6}|(?:[1-357][2-8]|4[24-8])\d{6})$
NumberNational digitsMatches
031 234 56731234567Mobile
(01) 234 56 7812345678Fixed line
080 12345680123456not in the ticked types
0590 1234559012345not 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. 19 blocks held by 9 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+386
International exit code (dialling out)00 (the plan also allows 00|10(?:22|66|88|99))
Trunk prefix (national dialling)0
Mobile number length (national digits)8
Fixed-line number length (national digits)8 (7 dialled locally)
E.164 example+38631234567
RFC 3966 (tel: URI)tel:+386-31-234-567
Mobile number portabilityYes

Line types and their regular expressions

Match each pattern against the national significant number: digits only, without the trunk prefix 0 and without +386. The patterns follow the national numbering plan and are anchored here.

Line typeNational digitsExample, nationalExample, E.164
Mobile8031 234 567+38631234567
Fixed line8(01) 234 56 78+38612345678
Toll-free6 to 8080 123456+38680123456
VoIP80590 12345+38659012345
Premium-rate5 to 8090 123456+38690123456

Mobile, 8 digits

^(?:65(?:[178]\d|5[56]|6[01])\d{4}|(?:[37][01]|4[013]|51|6[489])\d{6})$

Fixed line, 8 digits

^(?:(?:[1-357][2-8]|4[24-8])\d{6})$

Toll-free, 6 to 8 digits

^(?:80\d{4,6})$

VoIP, 8 digits

^(?:(?:59\d\d|8(?:1(?:[67]\d|8[0-589])|2(?:0\d|2[0-37-9]|8[0-2489])|3[389]\d))\d{4})$

Premium-rate, 5 to 8 digits

^(?:89[1-3]\d{2,5}|90\d{4,6})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +386. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.

OperatorLine typePrefix blocksRanges
Telekom SlovenijeMobile5031, 041, 043, 051, 06555
A1Mobile4030, 040, 068–069
NovatelMobile30657–0658, 0695
TelemachMobile2070–071
CompatelMobile106910
SloexportMobile106556
SoftNetMobile10656
SŽ - InfrastrukturaMobile10651
T-2Mobile1064

Questions developers ask

How many digits does a phone number in Slovenia have?
Mobile numbers have 8 national digits. Fixed line numbers have 8 national digits (7 when dialled locally). That is the national number, without the country code +386 and without the trunk prefix 0.
What is the country code for Slovenia?
+386. From abroad, dial your own exit code, then 386, then the national number without its trunk prefix 0. From inside Slovenia, the exit code for international calls is 00.
Which prefixes are mobile numbers in Slovenia?
Mobile numbers start with 03, 04, 05, 06 or 07 in national form; the mobile regular expression on this page gives the exact ranges (example: 031 234 567). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Slovenia be ported to another carrier?
Yes. Slovenia 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.