He served as an intelligence briefing officer for a dive bomber squadron in the Solomon Islands and Bougainville for 30 months (August 1942 - February 1945), and he held the rank of captain by the time he resigned his commission in April 1945.
McCarthy campaigned for the Republican Senate nomination in Wisconsin while still on active duty in 1944 but was defeated by Alexander Wiley, the incumbent.