Miller ran for election to the seat being vacated by fellow Republican William Humphrey (who was running for United States Senate) in 1916, winning that election and the elections of 1918, 1920, 1922, 1924, 1926, and 1928. He was defeated for the Republican nomination in 1930 by Ralph Horr, who then won the general election. John Franklin Miller was named after his uncle, also John Franklin Miller, a senator from California. Both sometimes went by John F. Miller.
Miller supported racist policies in Congress, claiming to his fellow House members that "No greater tragedy can befall an American girl than to become the wife of a Japanese," and "There is not a scientist, an alienist, a scholar of the world who does not believe in the preservation of racial purity."[1]