In this paper, we propose a novel approach to realize a compact and highly isolated dual-polarized holographic antenna using a pillbox feeding structure. The proposed antenna feeds dual orthogonal surface waves with low distortion phase distribution and high isolation through a compact three-layer pillbox feeding structure. This antenna also consists of a shared aperture dual-polarized hologram pattern calculated to radiate the objective wave in the desired direction without increasing the antenna size. As a result, the proposed holographic antennas (HA) have a compact size and support forward-to-backward continuous scanning with minimal gain degradation. The simulated and measured results are in good agreement, validating the efficiency of the proposed antenna design, which has the ability to scan the beam direction from +18° to −25°, passing through the broadside within the frequency range of 21–27 GHz. Finally, the proposed antenna has a broadside gain of 18.5 dBi in each polarization and a gain variation of less than 2 dB within the operating bandwidth.