Different antiviral treatments for chronic hepatitis B (CHB) have been known to have different metabolic effects. This study aimed to reveal whether tenofovir alafenamide (TAF)‐induced dyslipidemia and its associated outcomes are significant. This study utilized 15‐year historical cohort including patients with CHB in Korea and consisted of two parts: the single‐antiviral and switch‐antiviral cohorts. In the single‐antiviral cohort, patients were divided into four groups (entecavir [ETV]‐only, tenofovir disoproxil fumarate [TDF]‐only, TAF‐only, and non‐antiviral). Propensity score matching (PSM) and linear regression model were sequentially applied to compare metabolic profiles and estimated atherosclerotic cardiovascular disease (ASCVD) risks longitudinally. In the switch‐antiviral cohort, pairwise analyses were conducted in patients who switched NAs to TAF or from TAF. In the single‐antiviral cohort, body weight and statin use showed significant differences between groups before PSM, but well‐balanced after PSM. Changes in total cholesterol were significantly different between groups (−2.57 mg/dL/year in the TDF‐only group and +2.88 mg/dL/year in the TAF‐only group; p = 0.002 and p = 0.02, respectively). In the TDF‐only group, HDL cholesterol decreased as well (−0.55 mg/dL/year; p < 0.001). The TAF‐only group had the greatest increase in ASCVD risk, followed by the TDF‐only group and the non‐antiviral group. In the switch‐antiviral cohort, patients who switched from TDF to TAF had a higher total cholesterol after switching (+9.4 mg/dL/year) than before switching (−1.0 mg/dL/year; p = 0.047). Sensitivity analysis on data with an observation period set to a maximum of 3 years for NA treatment showed consistent results on total cholesterol (−2.96 mg/dL/year in the TDF‐only group and +3.09 mg/dL/year in the TAF‐only group; p = 0.001 and p = 0.005, respectively). Another sensitivity analysis conducted on statin‐treated patients revealed no significant change in cholesterol and ASCVD risk. TAF was associated with increased total cholesterol, whereas TDF was associated with decreased total and HDL cholesterol. Both TAF and TDF were associated with increased ASCVD risks, and statin use might mitigate these risks.