In summary, our findings reveal that oxytocin enhances the stress-protective effects of social support and reduces anxiety and depression states under stressful circumstances, particularly in older women receiving orthopedic surgery. Here, OXT is linked to depressive symptom measurement.