PurposeThe purpose of this study is to measure the technical efficiency of 20 Algerian insurance companies from 2016 to 2020, by using slacks-based measure (slacks-based measure [SBM] data envelopment analysis [DEA]) model. This research aims to provide a comprehensive assessment of this companies' efficiency, taking into account both the desirable and undesirable outputs.Design/methodology/approachThe study uses a nonoriented, SBM model with the assumption of constant returns to scale to estimate the technical efficiency of commercial insurance companies over a five-year period. The inputs used are labor expense, agent expense and investments, while the outputs included are gross premiums and investment income as desirable outputs and gross claims as undesirable output.FindingsAmong 20 insurance companies evaluated, only 5 companies consistently achieved technical efficiency during the study period (Caisse Nationale de Mutualité Agricole [CNMA], MACIR, CARDIF, MUTUALISTE and AGLIC); so they represent the best practices in the Algerian insurance sector, with overall average of the technical efficiency is 81%. However, the reference sets analysis showed that CNMA and AGLIC had high robustness. Also, the results demonstrate the impact of ignoring the undesirable outputs on the accuracy of the assessment.Research limitations/implicationsThe sample of the study consists of the active insurance companies in Algeria, based on the Annual Insurance Reports of Algeria; there are 20 companies as shown in the table. The data are taken from the annual reports of insurance companies during the 2020 period, issued by the Algerian Ministry of Finance.Practical implicationsThe challenge for insurance company is how to find a balance between reducing claims paid and simultaneously improving the quality of insurance services. In fact, it is observed that studies evaluating their efficiency ignore claims in the analysis process. Therefore, the study highlights the importance of considering undesirable outputs within the DEA framework; this allows for a more accurate assessment of the company's performance and helps in improvement. Furthermore, although the insurance sector plays a crucial role, it has not received enough research attention compared to other financial sectors, especially in Arab and developing countries.Originality/valueThe literature on efficiency assessment in the insurance companies shows a lack of addressing undesirable outputs (such as claims) within the DEA framework; so this study aims at bridging this research gap. Also, the study provides an overview of the efficiency of Algerian insurance companies.