Since its initial synthesis and investigation more than 40 years ago, the HgCdTe alloy semiconductor system has evolved into one of the primary infrared detector materials for high-performance infrared focal-plane arrays (FPA) designed to operate in the 3-5 µm and 8-12 µm spectral ranges of importance for thermal imaging systems. Over the course of the past decade, significant advances have been made in the development of thin-film epitaxial growth techniques, such as molecular-beam epitaxy (MBE), which have enabled the synthesis of IR detector device structures with complex doping and composition profiles. The central role played by in situ sensors for monitoring and control of the MBE growth process are reviewed. The development of MBE HgCdTe growth technology is discussed in three particular device applications: avalanche photodiodes for 1.55 µm photodetection, megapixel FPAs on Si substrates, and multispectral IR detectors.