Biodegradation is a commonly used method to treat seawater polluted by petroleum. In addition to its ability to selectively degrade pollutants, it is also important to investigate the effectiveness of degradation and the benefits of restoration. This study focused on selecting a group of bacteria that can degrade diesel from marine sediment. The bacterial consortium called MB11 was found to be the most effective in removing diesel, with a removal rate of 53.77 ± 0.59 %. The consortium MB11 consists mainly of 6 types of bacteria: Enterococcus faecalis, Proteus mirabillis, Pseudomonas aeruginosa, Raoutella planticola, Enterobacter soli and Oceanotoga teriensis. The effective bacterial consortium MB11 was integrated with the floating MFC for electricity generation. The maximal open circuit voltage (OCV) and power density (PD) of 676.88 ± 5.94 mV and 0.16 ± 0.02 W/m3, respectively. HIGHLIGHTS The diesel degrading bacterial consortium was enriched and selected from the marine sediment sample. The consortium can degrade the contaminated diesel in artificial seawater and generated the electrical energy. The maximal power density of 0.16 ±02 W/m3 was gained when diesel was remove. GRAPHICAL ABSTRACT