+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.
| 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.
| Country | Uganda numbering plan |
|---|---|
| Line type | Mobile |
| Carrier the block was allocated to | UTL |
| E.164 | +256712345678 |
| International | +256 712 345678 |
| National | 0712 345678 |
| RFC 3966 | tel:+256-712-345678 |
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.
^(?: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})$| Number | National digits | Matches |
|---|---|---|
| 0712 345678 | 712345678 | Mobile |
| 031 2345678 | 312345678 | Fixed line |
| 0800 123456 | 800123456 | not in the ticked types |
| 0901 123456 | 901123456 | 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. 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 portability | Not 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 type | National digits | Example, national | Example, E.164 |
|---|---|---|---|
| Mobile | 9 | 0712 345678 | +256712345678 |
| Fixed line | 9 | 031 2345678 | +256312345678 |
| Toll-free | 9 | 0800 123456 | +256800123456 |
| Premium-rate | 9 | 0901 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})$Carrier prefix blocks
The operator each prefix block was allocated to, in national form, from the published allocation records for +256.
| Operator | Line type | Prefix blocks | Ranges |
|---|---|---|---|
| Airtel | Mobile | 6 | 070, 074–075, 0730–0732 |
| MTN | Mobile | 6 | 076–079, 0724, 0737 |
| LycaMobile | Mobile | 3 | 0721, 0726–0727 |
| Africell | Mobile | 2 | 0798–0799 |
| Hamilton Telecom | Mobile | 2 | 0736, 07240 |
| Roke Telkom | Mobile | 1 | 0734 |
| Savanna | Mobile | 1 | 07210 |
| Smile | Mobile | 1 | 0720 |
| Talkio | Mobile | 1 | 0728 |
| UTL | Mobile | 1 | 071 |
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.