We expanded a published mathematical model of an afferent arteriole smooth muscle cell in rat kidney (Edwards A, Layton, AT. Am J Physiol Renal Physiol 306: F34-F48, 2014) to understand how nitric oxide (NO) and superoxide (O(2)(-)) modulate the arteriolar diameter and its myogenic response. The present model includes the kinetics of NO and O(2)(-) formation, diffusion, and reaction. Also included are the effects of NO and its second messenger cGMP on cellular Ca²⁺ uptake and efflux, Ca²⁺-activated K⁺ currents, and myosin light chain phosphatase activity. The model considers as well pressure-induced increases in O(2)(-) production, O(2)(-)-mediated regulation of L-type Ca²⁺ channel conductance, and increased O(2)(-) production in spontaneous hypertensive rats (SHR). Our results indicate that elevated O(2)(-) production in SHR is sufficient to account for observed differences between normotensive and hypertensive rats in the response of the afferent arteriole to NO synthase inhibition, Tempol, and angiotensin II at baseline perfusion pressures. In vitro, whether the myogenic response is stronger in SHR remains uncertain. Our model predicts that if mechanosensitive cation channels are not modulated by O(2)(-), then fractional changes in diameter induced by pressure elevations should be smaller in SHR than in normotensive rats. Our results also suggest that most NO diffuses out of the smooth muscle cell without being consumed, whereas most O(2)(-) is scavenged, by NO and superoxide dismutase. Moreover, the predicted effects of superoxide on arteriolar constriction are not predominantly due to its scavenging of NO.