Scientists have uncovered new insights into how type 2 diabetes develops at the cellular level, revealing mechanisms of beta-cell adaptation and failure.