ObjectivesPoor medication adherence in low-income and middle-income countries is a major cause of suboptimal hypertension and diabetes control. We aimed to identify key factors associated with medication adherence in western Kenya, with a focus on cost-related and economic wealth factors.SettingWe conducted a cross-sectional analysis of baseline data of participants enrolled in the Bridging Income Generation with Group Integrated Care study in western Kenya.ParticipantsAll participants were ≥35 years old with either diabetes or hypertension who had been prescribed medications in the past 3 months.Primary and secondary outcome measuresBaseline data included sociodemographic characteristics, wealth and economic status and medication adherence information. Predictors of medication adherence were separated into the five WHO dimensions of medication adherence: condition-related factors (comorbidities), patient-related factors (psychological factors, alcohol use), therapy-related factors (number of prescription medications), economic-related factors (monthly income, cost of transportation, monthly cost of medications) and health system-related factors (health insurance, time to travel to the health facility). A multivariable analysis, controlling for age and sex, was conducted to determine drivers of suboptimal medication adherence in each overarching category.ResultsThe analysis included 1496 participants (73.7% women) with a mean age of 60 years (range 35–97). The majority of participants had hypertension (69.2%), 8.8% had diabetes and 22.1% had both hypertension and diabetes. Suboptimal medication adherence was reported by 71.2% of participants. Economic factors were associated with medication adherence. In multivariable analysis that investigated specific subtypes of costs, transportation costs were found to be associated with worse medication adherence. In contrast, we found no evidence of association between monthly medication costs and medication adherence.ConclusionSuboptimal medication adherence is highly prevalent in Kenya, and primary-associated factors include costs, particularly indirect costs of transportation. Addressing all economic factors associated with medication adherence will be important to improve outcomes for non-communicable diseases.Trial registration numberNCT02501746.