Anomalously high porosities and permeabilities are commonly found in the fluvial channel sandstone facies of the Triassic Skagerrak Formation in the central North Sea at burial depths greater than 3200 m (10,499 ft), from which hydrocarbons are currently being produced. The aim of our study was to improve understanding of sandstone diagenesis in the Skagerrak Formation to help predict whether the facies with high porosity may be found at even greater depths. The Skagerrak sandstones comprise fine to medium-grained arkosic to lithic-arkosic arenites. We have used scanning electron microscopy, petrographic analysis, pressure history modeling, and core analysis to assess the timing of growth and origin of mineral cements, with generation, and the impact of high fluid pressure on reservoir quality. Our interpretation is that the anomalously high porosities in the Skagerrak sandstones were maintained by a history of overpressure generation and maintenance from the Late Triassic onward, in combination with early microquartz cementation and subsequent precipitation of robust chlorite grain coats. Increasing salinity of pore fluids during burial diagenesis led to pore-filling halite cements in sustained phreatic conditions. The halite pore-filling cements removed most of the remaining porosity and limited the precipitation of other diagenetic phases. Fluid flow associated with the migration of hydrocarbons during the Neogene is inferred to have dissolved the halite locally. Dissolution of halite cements in the channel sands has given rise to megapores and porosities of as much as 35% at current production depths.