The current therapies to treat hepatitis B virus (HBV) infection are limited. Recently, clustered regularly interspaced short palindromic repeat (CRISPR) systems, originally identified in bacteria and archaea, have been found to consist of an RNA-based adaptive immune system that degrades complimentary sequences of invading plasmids and viruses. Here, we studied the effects of the CRISPR/CRISPR-associated Cas9 system that was targeted to the surface antigen (HBsAg)-encoding region of HBV, both in a cell culture system and in vivo. The HBsAg levels in the media of the cells and in the sera of mice were analyzed by a quantitative enzyme-linked immunosorbent assay. The HBV DNA levels were assessed by quantitative PCR and HBsAg expression in mouse livers was assessed by an immunohistochemical assay. The amount of HBsAg secreted in the cell culture and mouse serum was reduced by CRISPR/Cas9 treatment. Immunohistochemistry analyses showed almost no HBsAg-positive cells in the liver tissue of CRISPR/Cas9-S1+X3-treated mice. The CRISPR/Cas9 system efficiently produced mutations in HBV DNA. Thus, CRISPR/Cas9 inhibits HBV replication and expression in vitro and in vivo and may constitute a new therapeutic strategy for HBV infection.