Microorganisms do not live as dispersed single cells but rather they form aggregates with extracellular polymeric substances at interfaces. Biofilms are considered efficient life forms because they shield bacteria from biocides and collect dilute nutrients. This is a big concern in industry since the microorganisms can colonize a wide range of surfaces, accelerating material deterioration, colonizing medical devices, contaminating ultrapure drinking water, increasing energy costs and creating focus of infection. Conventional biocides that target a specific component of the bacteria are not effective in the presence of biofilms. Efficient biofilm inhibitors are based on a multitarget approach interacting with the bacteria and the biofilm matrix. Their rationale design requires a thorough understanding of inhibitory mechanisms that are still largely lacking today. Herein we uncover via molecular modelling the inhibition mechanism of cetrimonium 4-OH cinnamate (CTA-4OHcinn). Simulations show that CTA-4OH micelles can disrupt symmetric and asymmetric bilayers, representative of inner and outer bacterial membranes, following three stages: adsorption, assimilation, and defect formation. The main driving force for micellar attack is electrostatic interactions. In addition to disrupting the bilayers, the micelles work as carriers facilitating the trapping of 4OH cinnamate anions within the bilayer upper leaflet and overcoming electrostatic repulsion. The micelles also interact with extracellular DNA (e-DNA), which is one of the main components of biofilms. It is observed that CTA-4OHcinn forms spherical micelles on the DNA backbone; which hinders their ability to pack. This is demonstrated by modelling the DNA along the hbb histone-like protein, showing that in the presence of CTA-4OHcinn, DNA does not pack properly around hbb. The abilities of CTA-4OHcinn to cause cell death through membrane disruption and to disperse a mature, multi-species biofilm are also confirmed experimentally.