Feedbacks between land carbon pools and climate provide one of the largest sources of uncertainty in our predictions of global climate(1,2). Estimates of the sensitivity of the terrestrial carbon budget to climate anomalies in the tropics and the identification of the mechanisms responsible for feedback effects remain uncertain(3,4). The Amazon basin stores a vast amount of carbon(5), and has experienced increasingly higher temperatures and more frequent floods and droughts over the past two decades(6). Here we report seasonal and annual carbon balances across the Amazon basin, based on carbon dioxide and carbon monoxide measurements for the anomalously dry and wet years 2010 and 2011, respectively. We find that the Amazon basin lost 0.48 +...