Liver fibrosis is a pathological process resulting from prolonged exposure to various injury factors. It is characterized by the abnormal proliferation and activation of hepatic stellate cells and excessive deposition of extracellular matrix. If left untreated, it can progress to cirrhosis, liver failure, and even liver cancer. There is currently no efficient and accurate clinical diagnostic method for early liver fibrosis. Therefore, there is an urgent need to address the challenge of accurate staging and early diagnosis of liver fibrosis in clinical practice. Recently, nanomaterials have demonstrated significant potential for enhancing the diagnosis of liver fibrosis. Nanomaterials possess the ability to precisely identify and target the microenvironment associated with liver fibrosis. By enhancing their enrichment in the target area, nanomaterials can improve imaging contrast of fibrosis lesions in the liver, thereby enabling accurate diagnosis of liver fibrosis. Accordingly, this review delves into the latest research and advancements concerning nanomaterials in liver fibrosis diagnosis.