What animal has the longest gestation period?

Alpine black salamander

You might think the animal with the longest gestation period would be one of the larger mammals, but in fact it is the Alpine black salamander. It is a viviparous amphibian which lives in the high altitude Swiss Alps. At altitudes above 4,600 feet, it’s gestation period can be up to 38 months. It bears two fully metamorphosed young.