The present invention relates to the field of biomedicines, and relates to uses of cannabidiol in the preparation of drugs for resisting against influenza. Specifically, the present invention relates to uses of any one selected from the following (1) to (3) in the preparation of drugs for treating or preventing influenza or alleviating influenza symptoms: (1) cannabidiol or a pharmaceutically acceptable salt or ester thereof; (2) a plant extract containing cannabidiol; preferably, a cannabis extract containing cannabidiol, and preferably, an industrial hemp containing cannabidiol; and (3), a pharmaceutical composition, containing an effective dose of cannabidiol or a pharmaceutically acceptable salt or ester thereof, and one or more pharmaceutically acceptable excipients. Cannabidiol can effectively inhibit influenza viruses, and has the potentials for the preparation of drugs or is used as drugs for treating or preventing influenza.