Increased bone resorption through the receptor activator of nuclear factor kappa (RANK)-RANK ligand (RANKL)-osteoprotegerin (OPG) system and upregulation of inflammatory cytokines are considered important mechanisms for osteoporosis in non-alcoholic fatty liver disease (NAFLD) and viral hepatitis. This evidence concerns the gene TNFSF11 and viral hepatitis.