We study the fundamental groups of a normal projective Calabi-Yau variety X with klt singularities and of its regular locus Xreg. We prove that both groups are almost abelian, and that their ranks are determined by the irregularities of finite etale and quasi-etale covers, respectively. Our approach is differential geometric, and relies on recent advances in the geometric theory of complex Monge-Ampere equations.