E. coli can develop resistance to the antibiotic rifampicin, even in the absence of the drug, if grown in a thermally stressed environment, suggesting that antibiotic resistance is not always costly for bacteria to maintain.