The expanding lower layer ends up scrunched and bunched beneath the outside layer. These folds eventually cause the surface layers of the skin to fold too, and by the time a fetus is 17 weeks old – about halfway through a pregnancy – its fingerprints are set.