The invention relates to a method of protecting plywood against fungi by using ionic liquids of general formula 1: or ionic liquids with addition of tebuconazole or mixture of tebuconazole with propiconazole. The method according to the invention is to impregnate plywood veneer with an adhesive resin.