Becker was born in Gaugrehweiler, Kingdom of Bavaria on February 2, 1827. He received an academic education, and became a first lieutenant of cavalry in the Bavarian Army, and fought in Schleswig-Holstein during the First Schleswig War. He came to the United States in 1850, lived in New York City for two years, then moved to Milwaukee in 1852.