This study tries to examine the effects of real earnings management, directors’ and officers’ liability Insurance (D&O Insurance) on firm borrowing cost based on the data of public-listed firms in Taiwanese Electronics industry during 2010-2017. The empirical results show that borrowing cost is positively related to real earning management and negatively related to D&O insurance protection. However, the firm with more D&O insurance amount have higher borrowing cost. A further analysis of the protection effect from the directors’ and officers’ (D&O) liability insurance suggests that D&O protection intensifies the relationship between firm real earning management and borrowing cost.