The Mesozoic succession of the North German Basin comprises permeable sandstones operated by 'conventional' open doublet systems for geothermal heat production. The high permeability, exceeding 6 Darcy at individual localities, is the result of undercompacted grain fabrics, low abundance of authigenic minerals and large sec-ondary porosity volumes. The discrepancy of undercompacted grain fabrics and porosity volumes of >20% at depth of up to 2500 m gave rise to a basin-scale study, in which classical petrographic methods were employed to reconstruct the diagenesis of sandstones on the example of the Stuttgart Formation (Schilfsandstein, Late Triassic). Associated to the deposition of sandstones in distinct fluvio-deltaic environments, four diagenetic pathways are indicated by systematic variations of detrital and authigenic assemblages. These four pathways are herein introduced as Delta Channel, Delta Plain, Fluvial Channel, and Floodplain Diagenesis Types. In response to the history of the North German Basin, high permeabilities of sandstones of the Delta Channel and Fluvial Channel Diagenesis Types are related to the subsequent control of depositional and diagenetic regimes on porosity evolution. Pervasive eogenetic calcite cementations contributed to preservation of pre-burial inter-granular volumes and effectively prevented the mechanical compaction of grain fabrics during late Triassic-late Jurassic burial diagenesis. The uplift from deep to shallow burial depth, associated to latest Jurassic-Cenozoic structural differentiation and inversion of the North German Basin, triggered substantial dissolution processes that mainly affected carbonate cementations. This opened pores and contributed to the evolution of secondary porosity, in particular in sandstones of the Delta Channel and Fluvial Channel Diagenesis Types. Moderate post-inversion reburial rates resulted only in negligible mechanical compaction and reduction of secondary porosity. The improved knowledge of diagenetic pathways, herein exemplified by sandstones of the Stuttgart Formation, will significantly contribute to improved predictions of Mesozoic hydrothermal reservoir in the North German Basin.