It attributed the increase in the headline rate to a jump in prices of food, soft drinks, alcoholic beverages and transport costs.
On a month-on-month basis, consumer prices fell 0.36% in July from a 0.69% decline in June, the Kenya National Bureau of Statistics said.
The central bank held its benchmark lending rate at 9.0% for the sixth time in a row last week, saying inflation expectations were within the target range.
The government has a preferred band of 2.5-7.5% for inflation to maintain price stability in the economy.