Magnetic resonance imaging of hyperpolarized pyruvate provides a new imaging biomarker for cancer metabolism, based on the dynamic in vivo conversion of hyperpolarized pyruvate to lactate. Methods for quantification of signal evolution need to be robust and reproducible across a range of experimental conditions. Pharmacokinetic analysis of dynamic spectroscopic imaging data from hyperpolarized pyruvate and its metabolites generally assumes that signal arises from ideal rectangular slice excitation profiles. In this study, we examined whether this assumption could lead to bias in kinetic analysis of hyperpolarized pyruvate and, if so, whether such a bias can be corrected. A Bloch-McConnell simulator was used to generate synthetic data using a known set of "ground truth" pharmacokinetic parameter values. Signal evolution was then analyzed using analysis software that either assumed a uniform slice profile, or incorporated information about the slice profile into the analysis. To correct for slice profile effects, the expected slice profile was subdivided into multiple sub-slices to account for variable excitation angles along the slice dimension. An ensemble of sub-slices was then used to fit the measured signal evolution. A mismatch between slice profiles used for data acquisition and those assumed during kinetic analysis was identified as a source of quantification bias. Results indicate that imperfect slice profiles preferentially increase detected lactate signal, leading to an overestimation of the apparent metabolic exchange rate. The slice profile-correction algorithm was tested in simulation, in phantom measurements, and applied to data acquired from a patient with prostate cancer. The results demonstrated that slice profile-induced biases can be minimized by accounting for the slice profile during pharmacokinetic analysis. This algorithm can be used to correct data from either single or multislice acquisitions.