Understanding hydrogen-assisted embrittlement of advanced high-strength steels is decisive for their application in automotive industry. Ab initio simulations have been employed in studying the hydrogen trapping of Cr/Mn containing iron carbides and the implication for hydrogen embrittlement.