TolC, a crucial outer membrane protein, plays a major role in antibiotic resistance by acting as a channel for efflux pumps. Our study combines experimental and computational methods to reveal how TolC’s structural shifts enhance its ability to expel β-lactam antibiotics.