The present invention discloses the pharmaceutical use of a 2′,2-bis-thiazole non-nucleoside compound of formula I as an inhibitor of hepatitis C virus (HCV). The 2′,2-bis-thiazole non-nucleoside compound can inhibit the replication of HCV, and thus has an anti-HCV activity and is useful for treating hepatitis C.