This study aimed to explore the antimicrobic potential of mucus samples collected from Cyprinus carpio and identify the specific antimicrobial peptides responsible for its activity. The crude extract was tested against various bacterial and fungal pathogens, and its protein content and profile were analyzed. Purification steps, including gel filtration chromatography, were employed to isolate the most active fraction (peak IV), which was further identified via liquid chromatography and mass spectroscopy. The results revealed varying degrees of antimicrobial activity of the crude extract against different bacterial and fungal strains, with Leclercia adecarboxylata, Candida glabrata, and Candida parapsilosis showing the highest susceptibility. SDS-PAGE analysis demonstrated the existence of multiple low molecular weight protein bands in the crude extract, while fraction IV obtained from gel filtration chromatography exhibited the strongest antimicrobial activity. Peak IV displayed a range of minimum inhibitory concentration (MIC), minimum bactericidal concentration (MBC), and minimum fungicidal concentration (MFC) values against the tested pathogens, spanning from 0.038 to 4.960 mg/mL. Further investigation identified the purified peptide derived from peak IV as G-type lysozyme 2, characterized by a molecular weight of 21 kDa. These findings shed light on the existence of a highly effective antimicrobial peptide, G-type lysozyme 2, within the mucus of Cyprinus carpio. This peptide demonstrates notable activity against diverse bacterial and fungal pathogens. The insights from this study enhance our understanding of the fish's antimicrobial defense mechanisms and hold promise for developing novel antimicrobial agents.