Gun Code is a 1940 American western film directed by Sam Newfield and starring Tim McCoy, Inna Gest and Carleton Young. It was distributed by the independent company PRC which specialized in handling low-budget second features. The film's sets were designed by the art director Fred Preble.