Non-invasive tests are increasingly demanded for diagnosing and prognostication of chronic kidney disease (CKD). Shear-wave elastography (SWE), an emerging technique for measuring tissue stiffness, shows promise for distinguishing between individuals with different stages of renal fibrosis. This study aimed to compare the diagnostic accuracy of two-dimensional SWE (2D-SWE) and conventional ultrasound for detecting CKD, employing renal biopsy as the gold standard. From May 2020 to October 2023, this prospective study included 30 healthy volunteers and 169 patients with CKD who had undergone 2D-SWE and conventional ultrasound of both kidneys. Cortical and medullary stiffness, cortical pixel intensity, renal length, parenchymal and cortical thickness, interlobar artery peak systolic velocity, end-diastolic velocity (EDV), and resistive index were measured. The diagnostic accuracy of 2D-SWE and conventional ultrasound was compared using the receiver operating characteristic curve (ROC) and Delong test. For diagnosing CKD, the area under the ROC (AUC) of cortical stiffness (0.96 [95% CI, 0.93, 0.99]) was significantly higher than that of all conventional ultrasound parameters, including EDV (0.78 [95% CI, 0.71, 0.86]) and cortical thickness (0.74 [95% CI, 0.67, 0.80]). The sensitivity of cortical stiffness (91%) was significantly higher than that of EDV (68%) and cortical thickness (53%). No significant difference was found in the specificity of cortical stiffness (96%) compared to that of EDV (79%) and cortical thickness (100%). Two-dimensional SWE showed higher diagnostic accuracy than that of conventional ultrasound for detecting CKD.