AimTo evaluate role function and job satisfaction, determine their relationship, and explore the factors influencing job satisfaction among community nurses in China.DesignCross‐sectional study.MethodsThis study was conducted between March and June 2020 on a cluster random sampling of 302 community nurses from 24 community health centres and stations in Xi'an, China. Self‐reported data were collected using the Demographics Questionnaire, Role Function of Community Nurses Questionnaire, and Job Satisfaction of Community Nurses Scale. Descriptive statistics, Pearson's correlation analysis, and multiple linear regression analyses were performed to analyse data.ResultsCommunity nurses' main role function was organiser and manager (M = 2.56, SD = 0.987) and coordinator (M = 2.43, SD = 0.971). The lowest job satisfaction was for salary and benefits (M = 3.12, SD = 0.891) and personal development (M = 3.65, SD = 0.738). A positive correlation was found between the roles of caregiver, educator, navigator, and salary and benefits (p < 0.05) among community nurses. Multiple linear regression analyses indicated that monthly income and working experience in nursing explained 61.1% of the variance in job satisfaction.