An ultra-wideband 2-to 12-GHz transmit/receive (T/R) double-pole-eightthrow (DP8T) switching matrix is developed with a 65-nm complementary metal oxide semiconductor (CMOS) process for a radar-based breast cancer detection system. The measured average insertion losses are 5.2, 7, and 10.6 dB at 2, 6, and 12 GHz, respectively, with input and output matching bandwidths of 2 to 12 GHz and a third-order input intercept point (IIP3) of 31 dBm at 8 GHz. The power consumption is less than 1 mW for a 1.2-V power supply. To the best of the authors' knowledge, this is the first reported DP8T CMOS switching matrix to replace the conventional mechanical switch to control a portable radar antenna.