Genetic alterations in specific genes are critical events in carcinogenesis and hepatocellular carcinoma (HCC) progression. However, the genetic alterations responsible for HCC development, progression, and survival are unclear. We investigated the essential difference in genetic alterations between HCC and adjacent non-HCC tissues using next-generation sequencing technology. We found recurrent mutations in several genes such as telomerase reverse transcriptase (TERT; 65% of the total 104 HCCs), TP53 (38%), CTNNB1 (30%), AXIN1 (2%), PTEN (2%), and CDKN2A (2%). TERT promoter mutations were associated with older age (p = 0.005), presence of hepatitis C virus (HCV) infection (p = 0.003), and absence of hepatitis B virus (HBV) infection (p < 0.0001). In hepatitis B surface antigen (HBs Ag)-positive HCC without TERT promoter mutations, HBV integration into TERT locus was found in 47% patients and was mutually exclusive to TERT promoter mutations. Most (89%) HBV integrants were in the HBx region. TP53 mutations were associated with HBV infection (p = 0.0001) and absence of HCV infection (p = 0.002). CTNNB1 mutations were associated with absence of HBV infection (p = 0.010). Moreover, TERT promoter mutation was significantly associated with shorter disease-free survival (p = 0.005) and poor overall survival (p = 0.024). Gene alterations in TERT promoter, TP53, CTNNB1, and HBV integration were closely associated with HCC development, and mutations in TERT promoter are related to poor prognosis. These results are useful for understanding the underlying mechanism of hepatocarcinogenesis, diagnosis, and predicting outcomes of patients with HCC.