Purpose In this study, we investigated the diagnostic efficacy of 2D-Shear Wave Elastography (2D-SWE) in detecting stages of liver fibrosis and determining the disease-specific cut-off values in patients with chronic hepatitis B and C infection, using histopathological analysis as the reference method. Method Our study included 103 consecutive adult patients with chronic hepatitis B and C infection (CHB and CHC) who had liver biopsy within three months of elastography examination. A real-time 2D-SWE was performed using the LOGIQ E9 system (GE Medical Systems, Wisconsin, USA). The correlation between the liver stiffness measurements and the METAVIR scores was evaluated. The diagnostic performance of 2D-SWE was assessed, and cut-off values were set. Results We found a statistically significant positive correlation between elastography values and the degree of liver fibrosis (Spearman's correlation coefficient = 0.76 and 0.83 for CHB and CHC; respectively) (p = 0.0001). The stiffness cut-off values were F >= 1: 5.92 kPa, F >= 2: 7.69 kPa, F >= 3: 8.97 kPa, F >= 4: 12.15 kPa in CHB; and F >= 1: 6.09 kPa, F >= 2: 7.81 kPa, F >= 3: 9.0 kPa, F >= 4: 12.47 kPa in CHC patients. Conclusion 2D-SWE is reliable and accurate for the diagnosis of liver fibrosis. In selected patients, 2D-SWE may be useful in reducing the need for liver biopsy when staging fibrosis. Further studies in larger prospective series are needed to confirm these results and determine the most appropriate cut-off values for each stage of liver fibrosis.