People with cognitive impairment (CI) need to be identified early because of the risk of progression to dementia. The primary objective of the study was to analyze the usefulness of the community pharmacy for early detection of CI in older people through their caregivers. As secondary objective the risk factors related to IQ-CODE classification of risk of CI were identified. A cross-sectional observational study was designed. Caregivers were selected by pharmacists from Spanish community pharmacies.