The international country code / dialing code for Kenya is +254.
The area code for Nairobi is +254 20. Other landlines begin with +254 4, +254 5, or +254 6.
Mobile numbers begin with +254 7.
(The plus sign means "insert your international access prefix here." From a GSM mobile phone, you can enter the number in full international format, starting with the plus sign. The most common prefix is 00, but North America (USA, Canada, etc.) uses 011, Japan uses 010, Australia uses 0011, and many other countries use different prefixes.)
The country code and area code of Malindi, Kenya is 254, (0)42.
The country code and area code of Kericho, Kenya is 254, (0)52.
The country code and area code of Nairobi, Kenya is 254, (0)2.
The country code and area code of Marsabit, Kenya is 254, (0)69.
The country code and area code of Nyeri, Kenya is 254, (0)61.
The country code and area code of Nyahururu, Kenya is 254, (0)65.
The country code and area code of Nakuru, Kenya is 254, (0)51.
The country code and area code of Embu, Kenya is 254, (0)68.
The country code and area code of Kitale, Kenya is 254, (0)54.
The country code and area code of Meru, Kenya is 254, (0)64.
The country code and area code of Machakos, Kenya is 254, (0)44.
The country code and area code of Kajiado, Kenya is 254, (0)45.
The country code and area code of Voi, Kenya is 254, (0)43.
The country code and area code of Garissa, Kenya is 254, (0)46.
The country code and area code of Kakamega, Kenya is 254, (0)56.
The country code and area code of Kisii, Kenya is 254, (0)58.
The country code and area code of Kwale, Kenya is 254, (0)40.