Carstens was born in the City of Bremen, the son of a commercial school teacher, who had been killed at the Western Front of World War I shortly before his birth. He studied law and political science at the universities of Frankfurt, Dijon, Munich, Königsberg, and Hamburg from 1933 to 1936, gaining a doctorate in 1938 and taking the Second Staatsexamen degree in 1939.