Deficiency in DNAH12 causes male infertility by impairing DNAH1 and DNALI1 recruitment in humans and mice. Here, DNAH12 is linked to male infertility.