Skip to content

+256

Uganda phone numbers

0712 345678

International +256 712 345678, E.164 +256712345678

The numbering plan of Uganda: 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
+256
Exit code
—
Trunk prefix
0
Mobile digits
9
Fixed-line digits
9
Number portability
not listed
Carriers on record
10

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

Mobile numbers start with:07
Mobile prefix blocks by operator
Airtel
6
MTN
6
LycaMobile
3
Africell
2
Hamilton Telecom
2
5 other operators
5

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

+256
country code
712
network code
345678
subscriber number
CountryUganda numbering plan
Line typeMobile
Carrier the block was allocated toUTL
E.164+256712345678
International+256 712 345678
National0712 345678
RFC 3966tel:+256-712-345678

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

Line types to accept
^(?:7(?:28|34)0\d{5}|7(?:[014-8]\d|2[01467]|3[0-267]|9[0-589])\d{6}|20(?:(?:24[09]|30[67])\d|6(?:00[0-2]|30[0-4]))\d{3}|(?:20(?:[017]\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\d{3})\d{5})$
NumberNational digitsMatches
0712 345678712345678Mobile
031 2345678312345678Fixed line
0800 123456800123456not in the ticked types
0901 123456901123456not 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. 24 blocks held by 10 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+256
International exit code (dialling out)— (the plan also allows 00[057])
Trunk prefix (national dialling)0
Mobile number length (national digits)9
Fixed-line number length (national digits)9 (5 to 7 dialled locally)
E.164 example+256712345678
RFC 3966 (tel: URI)tel:+256-712-345678
Mobile number portabilityNot listed

Line types and their regular expressions

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

Line typeNational digitsExample, nationalExample, E.164
Mobile90712 345678+256712345678
Fixed line9031 2345678+256312345678
Toll-free90800 123456+256800123456
Premium-rate90901 123456+256901123456

Mobile, 9 digits

^(?:7(?:28|34)0\d{5}|7(?:[014-8]\d|2[01467]|3[0-267]|9[0-589])\d{6})$

Fixed line, 9 digits

^(?:20(?:(?:24[09]|30[67])\d|6(?:00[0-2]|30[0-4]))\d{3}|(?:20(?:[017]\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\d{3})\d{5})$

Toll-free, 9 digits

^(?:800[1-3]\d{5})$

Premium-rate, 9 digits

^(?:90[1-3]\d{6})$

Carrier prefix blocks

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

OperatorLine typePrefix blocksRanges
AirtelMobile6070, 074–075, 0730–0732
MTNMobile6076–079, 0724, 0737
LycaMobileMobile30721, 0726–0727
AfricellMobile20798–0799
Hamilton TelecomMobile20736, 07240
Roke TelkomMobile10734
SavannaMobile107210
SmileMobile10720
TalkioMobile10728
UTLMobile1071

Questions developers ask

How many digits does a phone number in Uganda have?
Mobile numbers have 9 national digits. Fixed line numbers have 9 national digits (5 to 7 when dialled locally). That is the national number, without the country code +256 and without the trunk prefix 0.
What is the country code for Uganda?
+256. From abroad, dial your own exit code, then 256, then the national number without its trunk prefix 0.
Which prefixes are mobile numbers in Uganda?
Mobile numbers start with 07 in national form; the mobile regular expression on this page gives the exact ranges (example: 0712 345678). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Uganda be ported to another carrier?
Not on record. The plan data this page is built from does not list mobile number portability for Uganda, 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.