An alignment method of a 2CCD camera to build pixel-to-pixel correspondence between the infrared (IR) CCD sensor and the visible CCD sensor by using the absolute phase data is presented. Vertical and horizontal sinusoidal fringe patterns are generated by software and displayed on a liquid crystal display screen. The displayed fringe patterns are captured simultaneously by the IR sensor and the visible sensor of the 2CCD camera. The absolute phase values of each pixel at IR and visible channels are calculated from the captured fringe pattern images by using Fourier transform and the optimum three-fringe number selection method. The accurate pixel corresponding relationship between the two sensors can be determined along the vertical and the horizontal directions by comparing the obtained absolute phase data in IR and visible channels. Experimental results show the high accuracy, effectiveness, and validity of the proposed 2CCD alignment method. By using the continuous absolute phase information, this method can determine the pixel-to-pixel correspondence with high resolution.