A detailed chemical kinetic mechanism has been developed and used to study the oxidation of n-heptane in flow reactors, shock tubes, and rapid compression machines. Over the series of experiments numerically investigated, the initial pressure ranged from 1–42 atm, the temperature from 550–1700 K, the equivalence ratio from 0.3–1.5, and nitrogen-argon dilution from 70–99%. The combination of ignition delay time and species composition data provide for a stringent test of the chemical kinetic mechanism. The reactions are classed into various types, and the reaction rate constants are given together with an explanation of how the rate constants were obtained. Experimental results from the literature of ignition behind reflected shock waves and in a rapid compression machine were used to develop and validate the reaction mechanism at both low and high temperatures. Additionally, species composition data from a variable pressure flow reactor and a jet-stirred reactor were used to help complement and refine the low-temperature portions of the reaction mechanism. A sensitivity analysis was performed for each of the combustion environments. This analysis showed that the low-temperature chemistry is very sensitive to the formation of stable olefin species from hydroperoxy-alkyl radicals and to the chain-branching steps involving ketohydroperoxide molecules.