The aim of this study was to investigate the mediating role of emotional intelligence in the relationship between attachment styles and the resiliency. Two hundred and four students were selected from Shiraz University by random cluster sampling method. The participants completed the Attachment Styles (Hazan and Shaver, 1987), the Resiliency (Connor and Davidson, 2003) and the Emotional Intelligence Questionnaires (Petrides and Furnham, 2001). The results indicated that 1) there were positive relations among secure attachment, emotional intelligence, and resiliency, 2) there were negative relations among insecure ambivalent attachment, emotional intelligence, and resiliency, 3) there were negative relationship between insecure avoidant attachment and resiliency, and 4) emotional intelligence correlated positively with resiliency. The results of regression analysis indicated that secure attachment predicted emotional intelligence positively and ambivalent attachment predicted emotional intelligence negatively. In addition, emotional intelligence was positively and significantly related to resiliency. The findings suggested the mediating role of emotional intelligence in the relationship between attachment styles and resiliency. These findings highlight the importance of emotional intelligence in students' personal and academic lives.