Codewords used to determine fringe orders are significant for absolute phase retrieval based on the phase-coding method. However, because of inevitable interference from image blurring, image noise, and system nonlinearity, it is challenging to significantly increase the number of codewords for high-accuracy phase retrieval. To address this challenge, this article proposes a joint coding strategy to perform the coding of high-density stripes. More specifically, codewords are simultaneously embedded into the phase domain and the intensity domain of composite fringe patterns, which greatly extends the encoding range of valid codewords. Moreover, to improve the anti-interference capability of the proposed coding strategy, a regional correction technique (RCT) is presented to remove jump phase errors induced by the inevitable interference. The results of experiments indicate that the proposed method is effective and accurate for both complex objects and a standard sphere.