Guaranteeing efficient evacuations in urban communities is critical for preserving lives, minimizing disaster impacts, and promoting community resilience. Challenges such as high population density, limited evacuation routes, and communication breakdowns complicate evacuation efforts. Vulnerable populations, urban infrastructure constraints, and the increasing frequency of disasters further contribute to the complexity. Despite these challenges, the importance of timely evacuations lies in safeguarding human safety, enabling rapid disaster response, preserving critical infrastructure, and reducing economic losses. Overcoming these hurdles necessitates comprehensive planning, investment in resilient infrastructure, effective communication strategies, and continuous community engagement to foster preparedness and enhance evacuation efficiency. This research looks into the complexities of evacuation dynamics within urban residential areas, placing a particular focus on the interaction between joint-rental arrangements and family ties and their influence on evacuation strategies during emergency situations. Using agent-based modeling, evacuation simulation scenarios are implemented using the Changhongfang community (Shanghai) while systematically exploring how diverse interpersonal relationships impact the efficiency of evacuation processes. The adopted methodology encompasses a series of group experiments designed to determine the optimal proportions of joint-rental occupants within the community. Furthermore, the research examines the impact of various exit selection strategies on evacuation efficiency. Simulation outcomes shed light on the fundamental role of interpersonal factors in shaping the outcomes of emergency evacuations. Additionally, this study emphasizes the critical importance of strategic exit selections, revealing their potential to significantly enhance overall evacuation efficiency in urban settings.