The present invention provides a polypeptide against hepatitis B virus X protein and a pharmaceutical composition thereof. The polypeptide contains D-amino acids, inhibits the DNA replication of hepatitis B virus and the expression of related antigens, and can further inhibit hepatitis, cirrhosis and liver cancer caused by infection with hepatitis B virus.本願発明は、B型肝炎ウイルスXタンパク質に対するポリペプチドおよびその医薬組成物を提供する。ポリペプチドは、D-アミノ酸を含み、B型肝炎ウイルスのDNA複製および関連抗原の発現を阻害し、B型肝炎ウイルスの感染によって引き起こされる肝炎、肝硬変および肝臓癌をさらに阻害することができる。