Design, modeling, and optimization principles for GaAs∕AlGaAs heterojunction interfacial workfunction internal photoemission (HEIWIP) infrared detectors for a broad spectral region are presented. Both n-type and p-type detectors with a single emitter or multiemitters, grown on doped and undoped substrates are considered. It is shown that the absorption, and therefore responsivity, can be increased by optimizing the device design. Both the position and the strength of the responsivity peaks can be tailored by varying device parameters such as doping and the thickness. By utilizing a resonant cavity architecture, the effect of a buffer layer on the response is discussed. Model results, which are in good agreement with the experimental results, predict an optimized design for a detector with a peak response of 9A∕W at 26μm with a zero response threshold wavelength λ0=100μm. For a λ0=15μm HEIWIP detector, background limited performance temperature (BLIP temperature), for 180° field of view (FOV) is expected around 80K. For a λ0=70μm optimized design, a highly doped n-type substrate could increase the peak detectivity from 1.7×1010to3.4×1010Jones at a FOV=180° operated at temperatures below T<TBLIP=13K. Intrinsic response times on the order of picoseconds are expected for these detectors.