Skip to content

+378

San Marino phone numbers

66 66 12 12

International +378 66 66 12 12, E.164 +37866661212

The numbering plan of San Marino: 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
+378
Exit code
00
Trunk prefix
none
Mobile digits
8
Fixed-line digits
10
Number portability
not listed
Carriers on record
2

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

Line types in the plan:MobileFixed lineVoIPPremium-rate
Mobile numbers start with:6166
Mobile prefix blocks by operator
TELENET
1
Telecom Italia San Marino
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 San Marino.

+378
country code
66
network code
661212
subscriber number
CountrySan Marino numbering plan
Line typeMobile
Carrier the block was allocated toTelecom Italia San Marino
E.164+37866661212
International+378 66 66 12 12
National66 66 12 12
RFC 3966tel:+378-66-66-12-12

Source: National numbering plan: San Marino (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 +378, no trunk prefix); nothing leaves your browser.

Line types to accept
^(?:6[16]\d{6}|0549(?:8[0157-9]|9\d)\d{4})$
NumberNational digitsMatches
66 66 12 1266661212Mobile
0549 8863770549886377Fixed line
58 00 11 1058001110not in the ticked types
71 12 34 5671123456not 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. 2 blocks held by 2 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+378
International exit code (dialling out)00
Trunk prefix (national dialling)none
Mobile number length (national digits)8
Fixed-line number length (national digits)10 (6 dialled locally)
E.164 example+37866661212
RFC 3966 (tel: URI)tel:+378-66-66-12-12
Mobile number portabilityNot listed

Line types and their regular expressions

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

Line typeNational digitsExample, nationalExample, E.164
Mobile866 66 12 12+37866661212
Fixed line100549 886377+3780549886377
VoIP858 00 11 10+37858001110
Premium-rate871 12 34 56+37871123456

Mobile, 8 digits

^(?:6[16]\d{6})$

Fixed line, 10 digits

^(?:0549(?:8[0157-9]|9\d)\d{4})$

VoIP, 8 digits

^(?:5[158]\d{6})$

Premium-rate, 8 digits

^(?:7[178]\d{6})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +378.

OperatorLine typePrefix blocksRanges
TELENETMobile161
Telecom Italia San MarinoMobile166

Questions developers ask

How many digits does a phone number in San Marino have?
Mobile numbers have 8 national digits. Fixed line numbers have 10 national digits (6 when dialled locally). That is the national number, without the country code +378.
What is the country code for San Marino?
+378. From abroad, dial your own exit code, then 378, then the national number. From inside San Marino, the exit code for international calls is 00.
Which prefixes are mobile numbers in San Marino?
Mobile numbers start with 61 or 66 in national form; the mobile regular expression on this page gives the exact ranges (example: 66 66 12 12). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in San Marino be ported to another carrier?
Not on record. The plan data this page is built from does not list mobile number portability for San Marino, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it.