The behavior of PbTiO3 under uniaxial strains and stresses is investigated from first-principles calculations within density functional theory. We show that irrespectively of the uniaxial mechanical constraint applied, the system keeps a purely ferroelectric ground-state, with the polarization aligned either along the constraint direction (FEz phase) or along one of the pseudo-cubic axis perpendicular to it (FEx phase). This contrasts with the cases of isotropic or biaxial mechanical constraints for which novel phases combining ferroelectic and antiferrodistortive motions have been previously reported. Under uniaxial strain, PbTiO3 switched from a FEx ground state under compressive strain to FEz ground-state under tensile strain, beyond a critical strain ηzzc≈+1\%. Under uniaxial stress, PbTiO3 exhibits either a FEx ground state under compression (σzz<0) or a FEz ground state under tension (σzz>0). Here, however, an abrupt jump of the structural parameters is also predicted under both compressive and tensile stresses at critical values σzz≈+2 GPa and −8 GPa. This behavior appears similar to that predicted under negative isotropic pressure and might reveal practically useful to enhance the piezoelectric response in nanodevices.