This study focuses on caregivers who work in residential facilities (RFs) for the elderly, and specifically on their organizational citizenship behaviors (OCBs) in relation to their interaction respectively with the overall context (workplace attachment dimension), the spatial-physical environment (perceived environmental comfort), and the social environment (relationship with patients). A sample of health care workers (medical or health care specialists, nurses, and office employees, n = 129) compiled a self-report paper-pencil questionnaire, which included scales measuring the study variables. The research hypotheses included secure workplace attachment style as independent variable, OCBs as the dependent variable, and perceived comfort and relations with patients as moderators. Results showed that both secure workplace attachment and perceived comfort promote OCBs, but the latter counts especially as a compensation of an insecure workplace attachment. As expected, difficult relationships with patients hinder the relationship between secure workplace attachment style and OCBs. In sum, our study highlights the importance of the joint consideration of the psychological, social, and environmental dimensions for fostering positive behaviors in caregivers employed in elderly care settings.