PurposeThe article aims to discuss relationships between human resource management (HRM) and organizational commitment (OC). Using the conservation of resources (COR) theory, this study investigates the mediating role of job crafting in the relationship between HRM and organizational commitment.Design/methodology/approachThis study is based on data from 450 knowledge workers representing companies of various sizes from the knowledge-intensive business services (KIBS) sector in Poland. Respondents completed the questionnaires using the computer-assisted telephone interview. I conducted the statistical verification of the mediation analyses using SEM with Amos ver. 28.FindingsThe findings show that HRM practices are positively related to organizational commitment. Statistical analysis confirmed that job crafting mediates relationships between HRM practices and organizational commitment.Research limitations/implicationsThis study has two limitations, i.e. its cross-sectional design and the use of self-reported questionnaire data.Originality/valueThe study is the first to explore the mediating mechanism (through job crafting) between HRM and organizational commitment in the context of KIBS companies in Poland. According to the results, HRM is an important antecedent of job crafting and organizational commitment.