ObjectiveDepression is an important public health issue among older adults, often associated with their sleep-related problems. We aimed to investigate the association between sleep-related problems and depressive symptoms among Chinese community-dwelling older adults. MethodsThis cross-sectional study utilized self-reported data from 2896 participants (aged ≥60 years) from Shanghai, China. Nocturnal sleep duration and difficulty initiating sleep (DIS) symptoms were obtained through face-to-face questionnaires. Nocturnal sleep duration was categorized as ‘short’ (<7 h), ‘normal’ (7–8 h), and ‘long’ (>8 h). Subsequently, the 3 groups were further divided into 6 groups based on the presence of DIS, and the combined sleep behaviors were termed ‘sleep patterns'. Logistic regression was conducted to assess the association of sleep variables and sleep patterns with the risk of depressive symptoms. ResultsCompared to the reference group, ‘short sleep duration’ and DIS symptoms were associated with depressive symptoms (with odds ratios (OR) of 1.50 and 1.79, respectively, with 95% confidence intervals (CI) of 1.14–1.97 and 1.39–2.31). When compared to ‘normal sleep duration without DIS', both ‘short sleep duration with DIS' (OR = 2.60, 95% CI: 1.81–3.72) and ‘normal sleep duration with DIS' (OR = 1.60, 95% CI: 1.03–2.49) were statistically associated with depressive symptoms in adjusted regression models. ConclusionShort sleep duration and DIS symptoms were found to be associated with depressive symptoms. Combining DIS symptoms with sleep duration, DIS was identified as a risk factor for elevated depressive symptoms in individuals with short and normal sleep durations. In managing depressive symptoms, it is imperative to thoroughly evaluate insomnia and nighttime sleep, which can provide valuable insights for nursing and medical policy.