When a drug prevents bacteria from synthesizing their own folate, an essential compound for their survival, they take it directly from the host. This antibiotic resistance mechanism had not been detected until now because bacteria behave differently in the laboratory than they do in vivo during an infection.