The Upper Permian San Andres Formation is composed of a shallowing-upward sequence of shallow-water carbonates that were deposited on a gently sloping ramp during the middle Guadalupian. Normal marine fusulinid packstone and wackestone (open-platform facies) are progressively overlain by skeletal grainstone (sand shoal facies), burrowed skeletal mudstone and wackestone (restricted inner-platform facies), and pisolitic, fenestral, and cryptalgal mudstone (supratidal facies). Two major stages of dolomitization are recorded in these deposits. Early dolomite (dolomite 1) occurs at and below a regionally extensive marker horizon that is rich in siliciclastics and organic matter and that records a slowing of deposition followed by a possible major fall in sea level. Stable isotope data from this red-luminescent dolomite (average δ13C = +4.7‰ PDB; average δ18O = +2.3‰ PDB) are consistent with contemporaneous precipitation from near-normal marine waters in a subtidal setting or, alternatively, during exposure following relative sea-level fall. This dolomitization event may have been extensive, but dolomite 1 is preserved only in low-permeability rocks. Younger, matrix-replacive, brown-luminescent dolomite (dolomite 2) constitutes the bulk of the dolomite in the San Andres Formation. Fluids responsible for precipitation or stabilization of this phase were derived from evaporated seawater brines. The isotopic composition of dolomite 2 (average δ13C = +4.9‰ PDB; average δ18O = +3.7‰ PDB) suggests evaporation to near calcium sulfate saturation. Strontium isotopes constrain the age of the fluids responsible for stabilization of dolomite 2. Least radiogenic 87Sr/86Sr ratios in dolomite 2 are coincident with minimum 87Sr/86Sr values recorded for sea water during the Phanerozoic (0.7067). This indicates that dolomite 2 stabilized in fluids generated during this seawater minimum in the late Guadalupian. Such an interpretation is consistent with the development of major complexes of evaporitic environments in the area at this time. Decreasing-downward trends in Fe concentration and 87Sr/86Sr ratios in dolomite 2 subjacent to siliciclastic-rich beds indicate that these beds served as local sources of Fe and radiogenic strontium. These trends also suggest that dolomitizing fluids had at least a minor downward component of flow or mixing through the San Andres section.