Aeolian-fluvial Upper Rotliegend sandstones from Bebertal outcrops (Flechtingen High, North Germany) are an analogue for deeply buried Permian gas reservoir sandstones of the North German Basin (NGB). We present a paragenetic sequence as well as thermochronological constraints to reconstruct the diagenetic evolution and to identify periods of enhanced mesodiagenetic fluid–rock reactions in sandstones from the southern flank of the NGB. Bebertal sandstones show comparatively high concentrations of mesodiagenetically formed K-feldspar but low concentrations of illite cements. Illite-rich grain rims were found to occur preferentially directly below sedimentary bounding surfaces, i.e. aeolian superimposition surfaces, and indicate the lowest intergranular volume. Illite grain rims also indicate sandstone sections with low quartz and feldspar cement concentrations but high loss of intergranular volume due to compaction. 40Ar–39Ar age determination of pronounced K-feldspar grain overgrowths and replacements of detrital grains indicates two generations: an early (Triassic) and a late (Jurassic) generation. The latter age range is similar to published diagenetic illite ages from buried Rotliegend reservoir sandstones. The first generation suggests an early intense mesodiagenetic fluid flow with remarkably high K+ activity synchronous with fast burial of proximal, initial graben sediments on the southern flank of the NGB. Accordingly, zircon fission-track data indicate that the strata already reached the zircon partial annealing zone of approximately 200°C during early mesodiagenesis. Zircon (U–Th)/He ages (92 ± 12 Ma) as well as apatite fission-track ages (~ 71–75 Ma) indicate the termination of mesodiagenetic processes, caused by rapid exhumation of the Flechtingen High during Late Cretaceous basin inversion.