Loneliness is a risk factor of suicidal ideation, while resilience and social support are protective factors; however, the complex mechanisms behind these factors have not been examined among nursing home residents. This study evaluated the mediating effect of resilience on the association between loneliness and suicidal ideation and whether this mediating effect was moderated by social support.