Kenya
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Kenya. Use them in forms, validation, and CountriesDB integrations.
About Kenya codes
Need Kenya (KE) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.
This guide lists 47 official ISO 3166-2 subdivisions for Kenya. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch Kenya from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (47)
Official ISO 3166-2 codes for Kenya. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| KE-01 | Baringo | county |
| KE-02 | Bomet | county |
| KE-03 | Bungoma | county |
| KE-04 | Busia | county |
| KE-05 | Elgeyo/Marakwet | county |
| KE-06 | Embu | county |
| KE-07 | Garissa | county |
| KE-08 | Homa Bay | county |
| KE-09 | Isiolo | county |
| KE-10 | Kajiado | county |
| KE-11 | Kakamega | county |
| KE-12 | Kericho | county |
| KE-13 | Kiambu | county |
| KE-14 | Kilifi | county |
| KE-15 | Kirinyaga | county |
| KE-16 | Kisii | county |
| KE-17 | Kisumu | county |
| KE-18 | Kitui | county |
| KE-19 | Kwale | county |
| KE-20 | Laikipia | county |
| KE-21 | Lamu | county |
| KE-22 | Machakos | county |
| KE-23 | Makueni | county |
| KE-24 | Mandera | county |
| KE-25 | Marsabit | county |
| KE-26 | Meru | county |
| KE-27 | Migori | county |
| KE-28 | Mombasa | county |
| KE-29 | Murang'a | county |
| KE-30 | Nairobi City | county |
| KE-31 | Nakuru | county |
| KE-32 | Nandi | county |
| KE-33 | Narok | county |
| KE-34 | Nyamira | county |
| KE-35 | Nyandarua | county |
| KE-36 | Nyeri | county |
| KE-37 | Samburu | county |
| KE-38 | Siaya | county |
| KE-39 | Taita/Taveta | county |
| KE-40 | Tana River | county |
| KE-41 | Tharaka-Nithi | county |
| KE-42 | Trans Nzoia | county |
| KE-43 | Turkana | county |
| KE-44 | Uasin Gishu | county |
| KE-45 | Vihiga | county |
| KE-46 | Wajir | county |
| KE-47 | West Pokot | county |
Frequently asked questions
- What is the ISO 3166-1 code for Kenya?
- Kenya uses ISO 3166-1 alpha-2 KE, alpha-3 KEN, and numeric 404. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does Kenya have?
- CountriesDB lists 47 official ISO 3166-2 subdivisions for Kenya (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use Kenya country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for Kenya, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use Kenya in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Kenya (KE) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.