In her will, which was drawn up in 1651 and last amended shortly before her death, the Dowager Empress appointed her grandniece and namesake Empress Eleonora as her main heiress. In addition, she left considerable amounts for memorial services and charity. Eleonora, Dowager Empress and German Queen, died in Vienna on 27 June 1655 aged 56 and was buried in the monastery of the Discalced Carmelites. The Empress's heart was placed in a vessel, which is placed next to the tomb of her husband in his mausoleum. In 1782, her remains were transferred to St. Stephen's Cathedral in Vienna.