A virus inhibitor comprising a polyvalent sialosaccharide chain or asialoglycan glycoside represented by the following general formula (in the above formula (I), W1 and W2 are each a hydroxyl group or an N-acetylneuraminic acid residue. X represents a hydroxyl group or an acetylamino group, Y represents a divalent linking group represented by the general formula (Y-1) or (Y-2), m represents an integer of 0 or 1, n represents an integer of 2 to 4, and Z represents a single bond or a divalent to tetravalent linking group, provided that both W1 and W2 do not become N-acetylneuraminic acid residues. -1) and (Y-2), L1 represents a divalent linking group consisting of at least one selected from the group consisting of a hydrocarbon group, a hydrocarbon group containing an amide bond, and an ether group, and L2 represents an oxy A small group selected from the group consisting of an alkylene group, an amide group and an alkylene group; It represents a divalent linking group formed from Kutomo one.下記一般式で示される多価シアロ糖鎖又はアシアロ糖鎖配糖体を有効成分とするウィルス阻害剤(上記式(I)中、W1及びW2はそれぞれ水酸基又はN-アセチルノイラミン酸残基を表し、Xは水酸基又はアセチルアミノ基を表し、Yは、一般式(Y-1)又は(Y-2)で表される2価の連結基を表し、mは0又は1の整数を表し、nは2~4の整数を表し、Zは単結合又は二価~四価の連結基を表す。ただし、W1とW2が共にN-アセチルノイラミン酸残基になることはない。式(Y-1)及び(Y-2)中、L1は炭化水素基、アミド結合を含む炭化水素基及びエーテル基からなる群より選択された少なくとも1種からなる2価の連結基を表し、L2はオキシアルキレン基、アミド基及びアルキレン基からなる群より選択された少なくとも1種からなる2価の連結基を表す。