<i>Pneumocystis jirovecii</i> pneumonia risk thresholds remain undefined in non-HIV immunocompromised populations, necessitating investigation in cirrhotic patients.<h4>Objectives</h4>To investigate the potential association between peripheral CD4<sup>+</sup> T-cell counts and opportunistic infections (OI)-specifically <i>Pneumocystis jirovecii</i> (PJ)-in hospitalized patients with liver disease, and to characterize clinical outcomes across immunological risk strata.<h4>Methods</h4>We retrospectively analyzed 455 adults hospitalized in a single institution with hepatic disorders. This evidence concerns the gene CD4 and osteogenesis imperfecta.