Ice core records from Antarctica document continuous variations in atmospheric greenhouse gases over the past 800,000 years, delineating the glacial–interglacial cycles that characterize the late Pleistocene epoch1,2,3. Studies of blue ice areas4 have extended these records back to 2 million years (Myr)5,6. The evolution of atmospheric greenhouse gases before this time thus remains uncertain. Here we use discontinuous ice core snapshots spanning 3.1–0.5 Myr ago (Ma) to show no marked change in mean methane (CH4) and a small decline of about 20 ppm in carbon dioxide (CO2) between 2.9 Ma and 1.2 Ma, followed by stable concentrations (±10 ppm) across the mid-Pleistocene Transition. Our findings are based on the shallow ice cores drilled in the Allan Hills Blue Ice Area (BIA), Antarctica7. The records are complicated by postdepositional processes and probably represent averages over glacial cycles weighted by climate-dependent differences in accumulation rates (which we assume to be constant).…