Being MSM, TGW, and born before the inclusion of universal hepatitis B vaccination in Thailand’s EPI were statistically associated with HBV infection. The gene discussed is PPIB; the disease is hepatitis A virus infection.