Chronic kidney disease (CKD) is diagnosed through blood and urine tests to assess kidney function and measure levels of waste products and electrolytes. Imaging tests such as ultrasounds or CT scans may be done to evaluate kidney structure. A kidney biopsy may be performed in some cases to determine the underlying cause.