The invention belongs to the field of biological technology, and in particular relates to three amphotericin B polypeptide hydrogel nano drug-carrying systems for treating fungal infections. The invention uses the polypeptide hydrogel with great potential for clinical application, and covalently binds amphotericin B, a small-molecule hydrophobic antibacterial drug, to form an amphotericin B polypeptide hydrogel nanometer drug-loading system. The prepared nano drug loading system has high drug loading capacity, high biocompatibility and high stability, and at the same time has slow and controlled drug release behavior, easy degradation of polypeptide carrier, reduced clinical toxic and side effects and obvious antifungal effect. Amphotericin B polypeptide hydrogel nano-drug delivery system can be stored and used in the form of lyophilized powder, or diluted with water for injection for intravenous injection, or mixed with other excipients to make tablets, pills, and granules or capsules. The amphotericin B polypeptide hydrogel nano drug-loading system is suitable for the field of antifungal and fungal infectious disease treatment, and has a good application prospect.