Petrographic and mineralogic analyses have been made on carbonate minerals in nonmarine rocks of the northern Green River Basin. Ratios of stable carbon and oxygen isotopes were measured in near-surface waters, in organic matter of shales, and in carbonate minerals of sandstones and shales. Normal hydrostatic pressures in the basin indicate an open hydrochemical system above 1,500 m, whereas overpressuring below 3,000 m implies a relatively closed system. Reductions in porosity and permeability with depth not only lead to overpressuring but also lead to the isotopic modification of pore water by reducing the water/rock ratio. In sandstones, delta 13 C and delta 18 O of calcite cements generally become less negative with increasing depth. The increase of 13 C in deeper cements indicates that pore waters receive less 12 C from soil CO 2 and more 13 C from the ubiquitous grains of detrital limestone. Most of the carbon in the calcite cement of the deep sandstones is locally derived from these grains. Similarly, increased concentrations of 18 O in deeper cements require equilibration with 18 O-enriched pore fluids, which evolve by less input of 16 O from meteoric waters and a greater input of 18 O from silicate and carbonate diagenesis at elevated temperatures. With increasing depth in the overpressured zone, measured delta 18 O calcite in sandstone cements and in bulk shales converge from opposite directions toward a value of about - 13 per thousand PDB. This suggests that some portion of these calcites continually recrystallizes during burial and approaches isotopic equilibrium with pore waters, which are similar in the shales and in the restricted hydrochemical system of the sandstones. Shifts in the isotopic composition of bulk dolomite in sandstones and shales occur because authigenic dolomite is precipitated as overgrowths on detrital grains of dolomite. The delta 13 C values suggest that the carbon in the authigenic overgrowths comes from either detrital limestone or dolomite.