A three-dimensional (3D) profile measurement method based on geometric constraints combined with linear phase encoding (GCPE) is proposed. This method encodes the wrapped phase and the linear signal in the same phase domain, achieves the elimination of the phase ambiguity within the local fringe period, and obtains an unambiguous absolute phase within the entire period through geometric constraints. Compared with the traditional phase encoding method, this method solves the problem of period sequence errors caused by a large number of codewords by encoding linear signals in the phase domain and using a period order correction method to deal with the period jump phenomenon caused by noise. At the same time, the measurement range of the fringe projection system under geometric constraints is significantly improved. Experimentally, 3D profiles of standard planes, complex statues, and separated objects were measured by the use of the GCPE. The results show that the GCPE has the advantage of fast speed and high accuracy in measuring the 3D profile of objects.