Carl Johan Gustaf Swartz, born 5 June 1858, dead 6 November 1926, was a Swedish right-wing politician. He served as the Prime Minister of Sweden from 30 March to 19 October 1917. He was also the Swedish Minister for Finance from 1906 to 1911. He married Dagmar Lundström in 1886, with whom he had three children, Erik, Brita and Olof.