Early tenure as Queen
King Adolf Frederick died on 12 February 1771. Sophia Magdalena's husband ascended the throne as King Gustav III, while Sophia Magdalena herself became Queen of Sweden at the age of 24. The coronation of Gustav III and Sophia Magdalena took place the following year, on 29 May, in the Stockholm Cathedral.
The new queen was not informed about the coup of Gustav III, which reinstated absolute monarchy and ended the parliamentary rule of the Estates in the revolution of 1772. At the time she was deemed as suspicious and politically untrustworthy in the eyes of the King, primarily by her mother-in-law, who painted her as pro-Danish. Denmark was presumed to oppose the coup; there were also plans to conquer Norway from Denmark.
Sophia Magdalena was informed about politics nonetheless: she expressed herself pleased with the 1772 parliament because Count Fredrik Ribbing, for whom she had taken an interest, had regained his seat. The conflict between her and her mother-in-law was publicly known and disliked, and the sympathies were on her side. In the contemporary paper Dagligt Allehanda, a fable was presented about Rävinnan och Turturduvan ("The She Fox and the Turtle Dove"). The fable was about the innocent turtle dove (Sophia Magdalena) who was slandered by the wicked she fox (Louisa Ulrika), who was supported by the second she fox (Anna Maria Hjärne) and the other foxes (the nobility). The fable was believed to have been sent from the Caps party.
Queen Sophia Magdalena was of a shy and reserved character, and was never a member of the King's inner circle. At the famous amateur court theater of Gustav III, Sophia Magdalena is occasionally named as participator in the documents. In 1777, for example, she dressed as an Italian sailor and participated in a battle between Italian and Spanish sailors. Usually it was rather her role to act as the passive lady of games and tournaments, and to decorate the winner with the award. She did her ceremonial duties, but disliked the vivid lifestyle of the court around her outgoing spouse.
As queen, she was expected to do a great deal of representation – more than what had been expected from previous queens due to her husband's adoration of representation. On formal occasions, she was at her best: she performed beautifully according to royal court etiquette, and was seen as dignified and impressive. For instance, on 17 September 1784, she cut the cord to let off the first air balloons from the Stockholm observatory. During the King's Italian journey in 1783–84, she hosted a grand formal public dinner every two weeks. During that time, she appeared at the Royal Swedish Opera and at the French Theater, but otherwise preferred her solitude. This attracted attention as during the absence of the King she had been expected to represent the royal couple all the more.
Sophia appeared to have enjoyed nature trips in the country side with only one lady-in-waiting and two footmen, however, her country side visitations were stopped because it was deemed 'unsuitable'. Several of her ladies-in-waiting were well known Swedish women of the era, among them The Three Graces: Augusta von Fersen, Ulla von Höpken and Lovisa Meijerfelt, as well as Marianne Ehrenström and Charlotta Cedercreutz, who were known artists.
Sophia Magdalena was a popular Queen: on 22 July 1788, for example, during the absence of her spouse in Finland, several members of the Royal Dramatic Theater and the musical society Augustibröder, among them Bellman, took a spontaneous trip by boat from the capital to Ulriksdal Palace, where she was, and performed a poem by Bellman to her honor at the occasion of her name day.
In the famous diary of her sister-in-law, Princess Hedwig Elizabeth Charlotte, Sophia Magdalena is described as beautiful, cold, silent and haughty, very polite and formal, reserved and unsociable. When she performed her duties as Queen, her sister-in-law, Hedwig Elizabeth Charlotte of Holstein-Gottorp, described her as "Forced to meet people".
Sophia Magdalena preferred to spend her days in solitude whenever she could. She had two very intimate friends, Maria Aurora Uggla and Baroness Virginia Charlotta Manderström, but otherwise rarely participated in any social life outside of what was absolutely necessary to perform her representational duties. She frequently visited the theater, and she also had a great interest for fashion. As a result of this, she was somewhat criticized for being too vain: even when she had no representational duties to dress up for and spend her days alone in her rooms, she is said to have changed costumes several times daily, and according her chamberlain Adolf Ludvig Hamilton, she never passed a mirror without studying herself in it. She was also interested in literature, and educated herself in various subjects: her library contained works about geography, genealogy and history. She educated herself in Swedish, English, German and Italian, and regularly read French magazines. According to Augusta von Fersen, Sophia Magdalena was quite educated, but she was not perceived as such because she rarely engaged in conversation.
In 1784, after the King had returned from his trip to Italy and France, the relationship between the King and Queen soured. At this time, Gustav III spent more and more time with male favorites. In 1786, this came to an open conflict. The King had taken to spend more time at intimate evenings with his favorite Gustaf Mauritz Armfelt, from which he excluded her company. When he gave some of her rooms at the Royal Palace to Armfelt, Sophia Magdalena refused to participate in any representation until the rooms were given back to her, and she also banned her ladies-in-waiting from accepting his invitations without her permission.
In 1787, she threatened him with asking for the support of the parliament against him if he took their son with him to Finland, which she opposed, and the year after, she successfully prevented him from doing so. She also reprimanded him from allowing his male favorites to slander her before him.
Queen Sophia Magdalena was never involved in politics, except for one on one occasion. In August 1788, during the Russo-Swedish War (1788–1790), the King gave her the task to enter in negotiations with Denmark to prevent a declaration of war from Denmark during the ongoing war against Russia. He asked her to call upon the Danish ambassador Reventlow and give him a letter to be read in the Danish royal council before her brother, the Danish King. He gave her the freedom to write as she wished, but to use the argument that she spoke as a sister and mother to a son with the right to the Danish throne and upon her own initiative.
Sophia Magdalena called upon the Danish ambassador, held a speech to him followed by a long conversation and then handed him a letter written as a "warm appeal" to her brother. A copy was sent to Gustav III, and her letter was read in the royal Danish council, where it reportedly made a good impression. However, her mission was still unsuccessful, as the Russo-Danish alliance made it unavoidable for Denmark to declare war shortly afterward. At the time, there was a note that she met two Russian prisoners of war in the park of the Haga Palace, and gave them 100 kronor each.
At the parliament of 1789 Gustav III united the other estates against the nobility and to gain support for the war and for his constitutional reform. Coming into conflict with the nobility, he had many of its representatives imprisoned. This act led to a social boycott of the monarch by the female members of the aristocracy, who followed the example of Jeanna von Lantingshausen as well as the King's sister and sister-in-law, Sophie Albertine of Sweden and Hedvig Elisabeth Charlotte. The Queen did not participate in this political demonstration and refused to allow any talk of politics in her presence. She was nevertheless involved in the conflict. When the King informed his son about the event, he discovered the child to be already informed in other ways than what he had intended. He suspected Sophia Magdalena to be responsible, and asked the governor of the prince, Count Nils Gyldenstolpe, to speak to her. Gyldenstolpe, however, sent one of the king's favorites, Baron Erik Boye. The Queen, who despised the favorites of the King, furiously told Boye that she spoke to her son how she wished and that only her contempt for him prevented her from having him thrown out of the window. She was known to dislike the reforms of 1789, and she did let it be known to its representatives. At the celebrations of the Victory at Fredrikshamn in 1790, she refused to be escorted by riksråd Count Joakim Beck-Friis, who was in favor of the reform, and demanded to be escorted by Count Axel von Fersen the Elder, who was in opposition to it.
In the autumn of 1790, the King chose to remain in the summer residence of Drottningholm Palace well in to the autumn because of the social boycott. Finally, the Queen returned to the capital without his consent. He accused her of having been manipulated by the female courtiers into participating in the political demonstration, and refusing him the company of her ladies-in-waiting by leaving. This applied especially to Hedvig Ulrika De la Gardie and Augusta von Fersen, who did not participate in the boycott: he suspected Hedvig Eleonora von Fersen to have persuaded the Queen to participate in the boycott. This is however is not considered to have been true: though the Queen did oppose to the act of 1789, she is reported never to have allowed any one to speak of politics in her presence. The reason to why she wished to leave was reportedly due to her health, as Drottningholm was quite cold by that time of the year and she had been afflicted by an ear infection. The King did in any case suspect her of being in political opposition to him, and before his trip to Aachen in 1791, he ordered that his son was to be separated from her during his absence abroad. When she was made aware of this, Sophia Magdalena caused a public scene when she visited him in his box at the opera and demanded to be given access to her son. This led to a heated argument and she left the box with the words: "I will have my vengeance, monsieur! I give you my sacred vow on that!"