New drugs are needed to treat gram-negative bacterial infections. These bacteria are protected by an outer membrane which prevents many antibiotics from reaching their cellular targets. The outer leaflet of the outer membrane contains LPS, which is responsible for creating this permeability barrier. Interfering with LPS biogenesis affects bacterial viability. We developed a cell-based screen that identifies inhibitors of LPS biosynthesis and transport by exploiting the nonessentiality of this pathway in We used this screen to find an inhibitor of MsbA, an ATP-dependent flippase that translocates LPS across the inner membrane. Treatment with the inhibitor caused mislocalization of LPS to the cell interior. The discovery of an MsbA inhibitor, which is universally conserved in all gram-negative bacteria, validates MsbA as an antibacterial target. Because our cell-based screen reports on the function of the entire LPS biogenesis pathway, it could be used to identify compounds that inhibit other targets in the pathway, which can provide insights into vulnerabilities of the gram-negative cell envelope.