Ulrika Eleonora first saw the light of day on 23 January 1688 in Tre Kronor Palace in Stockholm, the youngest child of Charles XI and Ulrika Eleonora the Elder. Of seven children only three reached adulthood: Hedvig Sofia, Charles and Ulrika Eleonora herself. She was taught religion, languages and music, among other subjects, but received only a broad outline of history and affairs of state. On 24 March 1715 she married Frederick of Hesse-Kassel. From 1713 she acted as her brother's deputy in the council while Charles XII was away at war.
When news of Charles XII's death arrived in 1718 she quickly proclaimed herself queen, but the council left the decision to the Riksdag. After renouncing her hereditary right she was elected queen on 23 January 1719, her 31st birthday, and accepted a constitution that moved power to the Riksdag. She was crowned in Uppsala Cathedral on 17 March 1719. Her brief reign is seen as the start of the Age of Liberty. On 29 February 1720 she abdicated in favour of her husband, who became Frederick I.
As queen consort she devoted herself to reading, devotions, music and dancing, and she seems to have had an interest in numismatics. Her collection became the foundation of the Royal Coin Cabinet in 1744. She died in Stockholm on 24 November 1741 and rests in the Caroline burial chapel of Riddarholmskyrkan, in a sarcophagus of green Kolmården marble designed by Carl Hårleman.
