Bilirubin testing is a diagnostic procedure that measures the level of the bilirubin pigment in a person’s blood. High levels of bilirubin can indicate liver problems, such as liver disease, and can help diagnose certain inherited conditions, such as Gilbert’s syndrome. The test is typically performed as part of a complete blood count (CBC) test.