After graduating from Long Beach High School in 1959, Foner enrolled at Columbia University, where he was originally a physics major, before switching to history after taking a year-long seminar with James P. Shenton on the Civil War and Reconstruction during his junior year. "It probably determined that most of my career has been focused on that period," he recalled years later. A year later, in 1963, Foner graduated "summa cum laude" with a Bachelor of Arts in history. He studied at the University of Oxford as a Kellett Fellow; he received a BA from Oriel College in 1965, where he was a member of the college's 1966 University Challenge winning team, though he did not appear in the final, having already returned to the US. After graduating from Oxford, Foner returned to Columbia where he earned his doctoral degree in 1969 under the supervision of Richard Hofstadter. His doctoral thesis, published in 1970 as "Free Soil, Free Labor, Free Men: The Ideology of the Republican Party Before the Civil War", explored the deeply rooted ideals and interests that drove the northern majority to oppose slavery and ultimately wage war against Southern secession.