The potential for microbes to overcome antibiotics from different classes before they reach the bacterial cells is largely unexplored. Here we show that a soluble bacterial lipocalin produced by Burkholderia cenocepacia upon exposure to sublethal antibiotic concentrations increases resistance against diverse antibiotics in vitro and in vivo. These phenotypes were recapitulated by heterologous expression in B. cenocepacia of lipocalin genes from Pseudomonas aeruginosa, Mycobacterium tuberculosis and methicillin-resistant Staphylococcus aureus. Purified lipocalin bound different classes of bactericidal antibiotics and contributed to bacterial survival in vivo. Experimental and X-ray crystal structure-guided computational studies revealed that lipocalins counteract antibiotic action by capturing antibiotics in the extracellular space. We also demonstrated that fat-soluble vitamins prevent antibiotic capture by binding bacterial lipocalin with higher affinity than antibiotics. Therefore, bacterial lipocalins contribute to antimicrobial resistance by capturing diverse antibiotics in the extracellular space at the site of infection, which can be counteracted by known vitamins.