We prove the existence of globally injective weak solutions in mixed boundary-value problems of second-gradient nonlinear elastostatics via energy minimization. This entails the treatment of self-contact. In accordance with the classical (first-gradient) theory, the model incorporates the unbounded growth of the potential energy density as the local volume ratio approaches zero. We work in a cl...