An anti-hepatitis C virus agent or anti-HIV agent comprising, as an active ingredient, a fullerene derivative which has a nitrogen atom forming a ring together with adjacent bonded carbon atom pairs constituting the carbon cluster skeleton of the fullerene or a quaternary amine salt thereof is provided.