Kenya Phone Number Format
Country code +254 · ISO KE
How to format, dial, and validate Kenya phone numbers, with live examples.
Country Code
+254
National Prefix
0
International Prefix
000
Mobile Portability
Yes
Try it now
Pre-filled with a valid fixed line number for Kenya. Edit it and click "Try It" to see the parsed result.
Number Types & Example Formats
Each Kenya phone-number type supported by libphonenumber, with a real example formatted three ways.
| Type | Length | National | International | E.164 |
|---|---|---|---|---|
| Fixed Line | 7–9 digits | 020 2012345 | +254 20 2012345 | +254202012345 |
| Mobile | 9 digits | 0712 123456 | +254 712 123456 | +254712123456 |
| Premium Rate | 9 digits | 0900 223 456 | +254 900 223 456 | +254900223456 |
| Toll Free | 9–10 digits | 0800 223 456 | +254 800 223 456 | +254800223456 |
How to Dial Kenya Numbers
From abroad
Dial +254 followed by the national number, dropping any leading 0.
Within Kenya
Dial 0 before the local number to make a domestic call.
Dialing out of Kenya
Dial 000 followed by the destination country code and number.
Area Codes
Browse Kenya area codes with cities, timezones, and example numbers for each.
Validate a Kenya Number with the API
Send the number to the free libphonenumber API to get the parsed country, type, formatting, and validity.
curl https://libphonenumberapi.com/api/phone-numbers/+254202012345
Frequently Asked Questions
What is the country code for Kenya?
└ The international country code for Kenya is +254. Use this prefix when dialing Kenya numbers from another country.
How long is a Kenya phone number?
└ Kenya phone numbers are typically 7–9 digits, not including the +254 country code.
How do I dial a Kenya phone number from abroad?
└ From abroad, dial +254 followed by the national number, dropping any leading 0. Within Kenya, dial 0 before the local number.
How do I validate a Kenya phone number programmatically?
└ Send a GET request to https://libphonenumberapi.com/api/phone-numbers/<number>. The free libphonenumber API returns the parsed country, format, type, and validity for any number — no API key required.