Selection of a single bacterial strain out of a mixture of microorganisms is of crucial importance in healthcare and microbiology research. Novel approaches that can externally control bacterial selection are a valuable addition to the microbiology toolbox. In this proof-of-concept, two complementary antibiotics are protected with photocleavable groups that can be orthogonally addressed with different wavelengths of light. This allows for the light-triggered selection of a single bacterial strain out of a mixture of multiple strains, by choosing the right wavelength. Further improvement toward additional orthogonally addressable antibiotics might ultimately lead to a novel methodology for bacterial selection in complex populations.