Operating a superconducting single-electron transistor near a double Cooper-pair resonance allows it to achieve a charge-detection sensitivity of just 3.6 times the ultimate quantum limit.