Hepatitis B virus (HBV) belongs to the family of Hepadnaviridae and is a hepatotropic DNA virus. HBV can cause acute or chronic infection of the liver, and the chronic infection of hepatitis B virus (HBV) is a major risk factor for the development and progression of hepatocellular carcinoma (HCC). Although the wide use of popular HBV vaccines has significantly reduced the number of new HBV infections, and the treatment with antiviral drugs, such as nucleoside analogues and interferons, has also dramatically decreased the mortality of HBV-infected patients, HBV still posts great threat to the public health. According to the statistics by the World Health Organization (WHO) in 2017, there are still more than three hundred fifty million people worldwide who are infected with HBV, and approximately eight hundred eighty-seven thousand people die from HBV-related liver cirrhosis, liver cancer and other complications each year. This is mainly because the covalently closed circular HBV DNA (cccDNA) produced in the process of HBV infection, which is the bona fide transcription template for HBV RNAs, cannot be completely cleared by currently available drugs so chronic HBV infection develops in patients. Long-term low level replication of HBV from the chronic infected HBV in vivo causes immune and inflammatory responses, resulting in liver injury and gradual development of HCC over time. Thus, the mechanism of persistent replication and pathogenesis of HBV urgently needs to be further clarified to facilitate exploration of new therapeutic targets for developing new therapeutic drugs to prevent and treat hepatitis B infection and liver cancer. Autophagy is a self-protective mechanism of eukaryotic cells to procedurally degrade the intracellular damaged components wrapped in biofilms, such as senescent organelles, misfolded proteins, or invasive pathogens, which not only provides energy for cell survival but also protects against the infection of pathogenic microorganisms in order to maintain the homeostasis of the intracellular environment. Thus, most bacteria and viruses develope strategies to suppress or bypass cellular autophagy to ensure their survival. However, some viruses, such as HBV, have been shown to induce autophagy and often use it for their replication. Decades of researches have shown that HBV infection can cause autophagy in the host liver cells, which is attributed to the phenomena that the proteins encoded by HBV, especially, HBs and HBx, can regulate the various stages of autophagy. Interestingly, autophagy is important for HBV amplification in host liver cells. In the early stage of infection, HBV induces autophagy to promote self-replication. Consistently, emerging evidences also indicated that autophagy was involved in the occurrence and development of liver diseases caused by HBV infection. The dysfunction of autophagy has been implicated in multiple cancers including HCC. Therefore, understanding the important roles of autophagy in the formation of HCC induced by HBV infection provides a theoretical basis for the development of new drugs for the treatment of diseases caused by HBV infection. This article reviews the roles of HBV in different stages of autophagy development, as well as the function of autophagy in the process of liver injury and liver cancer caused by HBV, aiming to provide effective prospects for further exploration of the pathogenic mechanism of HBV infection and the screening of antiviral targets and the development of antiviral drugs against HBV infection.