HPA Axis Simulator: Hypothalamic-Pituitary-Adrenal Feedback Dynamics

simulator intermediate ~12 min
Loading simulation...
Cortisol → 11.1 AU steady-state with moderate stress input and standard feedback gain

With stress intensity 5, feedback gain 1.5, clearance 0.3/h, and ACTH sensitivity 1.0, cortisol rises to a peak overshoot before settling to approximately 11.1 AU, demonstrating the characteristic damped oscillatory response of the HPA axis negative feedback loop.

Formula

dCortisol/dt = ACTH_sensitivity * ACTH - clearance * Cortisol
ACTH = CRH / (1 + feedback_gain * Cortisol)
CRH = stress_input (constant or pulsatile)

The HPA Axis: Master Stress Regulator

The hypothalamic-pituitary-adrenal axis is the body's central stress response system. When the brain perceives a threat, the hypothalamus secretes corticotropin-releasing hormone (CRH), which triggers ACTH release from the anterior pituitary. ACTH travels through the bloodstream to the adrenal cortex, stimulating cortisol synthesis and release. Cortisol then acts on nearly every tissue in the body while simultaneously feeding back to suppress CRH and ACTH — a textbook negative feedback loop.

Mathematical Model of HPA Dynamics

This simulation models the HPA axis as a three-compartment system with first-order kinetics. CRH production is driven by stress input and inhibited by circulating cortisol. The ACTH level is a saturating function of CRH divided by (1 + feedback_gain * cortisol). Cortisol production is proportional to ACTH and cleared at a constant fractional rate. The interplay of these rates produces damped oscillations converging to a steady state.

Clinical Relevance

HPA axis dysregulation is central to numerous disorders. In Cushing's syndrome, autonomous cortisol production overwhelms feedback. In Addison's disease, adrenal insufficiency leads to dangerously low cortisol. Major depression is associated with elevated cortisol and impaired dexamethasone suppression. Adjust the feedback gain parameter to simulate these pathological states.

Exploring the Simulation

Increase the stress input to observe cortisol overshoot and settling dynamics. Reduce feedback gain to model glucocorticoid resistance — notice how steady-state cortisol rises dramatically. Increase clearance rate to simulate enhanced cortisol metabolism. The visualization shows real-time trajectories of all three hormones, revealing how perturbations propagate through the axis.

FAQ

What is the HPA axis?

The hypothalamic-pituitary-adrenal (HPA) axis is a neuroendocrine feedback system. The hypothalamus releases CRH, which stimulates the anterior pituitary to secrete ACTH, which in turn drives the adrenal cortex to produce cortisol. Cortisol then inhibits both CRH and ACTH release, forming a negative feedback loop.

How does chronic stress affect the HPA axis?

Chronic stress can lead to HPA axis dysregulation, including elevated basal cortisol, flattened diurnal rhythms, and reduced feedback sensitivity. This is associated with depression, metabolic syndrome, and immune suppression.

What is glucocorticoid resistance?

Glucocorticoid resistance occurs when cortisol receptors become desensitized, weakening negative feedback. The HPA axis compensates by producing more cortisol, leading to hypercortisolism despite apparently normal receptor function.

How is HPA axis function tested clinically?

The dexamethasone suppression test administers a synthetic glucocorticoid to test feedback integrity. In healthy individuals, cortisol is suppressed; failure to suppress indicates HPA axis dysfunction, as seen in Cushing's syndrome and melancholic depression.

Sources

Embed

<iframe src="https://homo-deus.com/lab/endocrinology/hpa-axis/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub