She passed away at her home, Longwood, in Virginia. The official cause of death was general debility (weakness).
She had been in declining health for several years prior to her death, likely due to old age and the stresses of her long life, including the loss of her husband, James Madison, in 1836.