Despite reports of a declining incidence over the last decade, Clostridioides difficile infection (CDI) is still considered the most important healthcare-associated causes of diarrhea worldwide. In Germany, several measures have been taken to observe, report, and influence this development. This report aims to analyze the development of hospital coding for CDI in Germany over the last decade and to use it to estimate the public health burden caused by CDI. Reports from the Institute for Hospital Remuneration Systems, German Federal Statistical Office (DESTATIS), the Robert-Koch-Institute (RKI), Saxonian authorities and hospital quality reports during 2010–2021 were examined for CDI coding and assessed in a structured expert consultation. Analysis was performed using 2019 versions of Microsoft Excel® and Microsoft Access®. Peaks of 32,203 cases with a primary diagnosis (PD) of CDI and 78,648 cases with a secondary diagnosis (SD) of CDI were observed in 2015. The number of cases had decreased to 15,412 PD cases (− 52.1