We aimed to investigate the effect of non-alcoholic fatty liver disease (NAFLD) on BNT162b2 immunogenicity against wild-type SARS-CoV-2 and variants and infection outcome, as data are lacking. Recipients of two doses of BNT162b2 were prospectively recruited. Outcomes of interest were seroconversion of neutralizing antibody by live virus microneutralization (vMN) to SARS-CoV-2 strains (wild-type, delta and omicron variants) at day 21, 56 and 180 after first dose. Exposure of interest was moderate-to-severe NAFLD (controlled attenuation parameter ≥ 268 dB/M on transient elastography). We calculated adjusted odds ratio (aOR) of infection with NAFLD by adjusting for age, sex, overweight/obesity, diabetes and antibiotic use. Of 259 BNT162b2 recipients (90 (34.7%) male; median age: 50.8 years (IQR: 43.6-57.8)), 68 (26.3%) had NAFLD. For wild type, there was no difference in seroconversion rate between NAFLD and control groups at day 21 (72.1% vs. 77.0%; p = 0.42), day 56 (100% vs. 100%) and day 180 (100% and 97.2%; p = 0.22), respectively. For the delta variant, there was no difference also at day 21 (25.0% vs. 29.5%; p = 0.70), day 56 (100% vs. 98.4%; p = 0.57) and day 180 (89.5% vs. 93.3%; p = 0.58), respectively. For the omicron variant, none achieved seroconversion at day 21 and 180. At day 56, there was no difference in seroconversion rate (15.0% vs. 18.0%; p = 0.76). NAFLD was not an independent risk factor of infection (aOR: 1.50; 95% CI: 0.68-3.24). NAFLD patients receiving two doses of BNT162b2 had good immunogenicity to wild-type SARS-CoV-2 and the delta variant but not the omicron variant, and they were not at higher risk of infection compared with controls.