Due to global environmental concerns, many efforts have been made to prepare environmentally friendly and biodegradable materials .This study investigated the effectiveness of natural chitosan extracted from cockroaches as corrosion inhibitors for zinc epoxy paints on carbon steel in harsh environment. chitosan was extracted from shells of cockroaches using a simple and cost-effective method, and two types of industrial chitosan were purchased from a commercial source for comparison. Different concentrations of each chitosan were added to zinc-rich epoxy paints, which were applied on carbon steel samples and exposed to desulfovibrio in a culture medium. The corrosion behavior was evaluated using potentiodynamic polarization test, and the SEM and XRD analysis provided further insights into the morphology and chemical compositions of the coatings. The results demonstrate the potential of natural chitosan extracted from cockroaches as an effective corrosion inhibitor for zinc epoxy paints on carbon steel in corrosive environments, specifically against desulfovibrio, and highlight natural chitosan's superiority over industrial chitosan for this application.