Composite gels prepared with ovalbumin (OVA) as basic materials have been gradually utilized in food and biological fields. However, the structure and function of gels made from natural materials are not perfect, especially the hardness, viscoelasticity and water-holding capacity of gels, which are easily affected by various factors (pH, NaCl, etc.). In order to improve the antibacterial effect and safety of gels, and on the basis of exploring the bacteriostatic formula of lysozyme-oregano essential oil (LZ-OEO), the influence of microwave treatment on the stability of the composite bacteriostatic material gel was emphatically investigated and discussed so as to develop a new bacteriostatic gel material. The results revealed that the LZ-OEO antibacterial gel prepared by adding 20% OEO, with a ratio of 3:2 between OVA and LZ, was more stable after microwave treatment, and the synergistic antibacterial effect was significantly improved. That is, the OVA and LZ-OEO composite gel processed using a 350 W microwave treatment for 1 min had the highest hardness, the water-holding capacity reached 78.05% and a dense and ordered network structure was formed. In addition, the compound gel displayed excellent antibacterial effects against Staphylococcus aureus and Escherichia coli. The experimental findings in this study effectively expands the application scope of lysozyme antibacterial materials and provides a more favorable technical foundation for future development and utilization.