Social Democrat leader Magdalena Andersson has quit as prime minister less than 12 hours after being appointed when her coalition collapsed, plunging the country into political uncertainty.
Andersson said a decision by the Green party, the junior party in the coalition, to quit had forced her to resign but added that she had had told the Speaker of parliament she hoped to be appointed prime minster again as the head of a single-party government.
The Green party said it would leave government after the coalition's budget bill was rejected by parliament.
"I have asked the Speaker to be relieved of my duties as prime minister," Andersson told a news conference.
"I am ready to be prime minister in a single-party, Social Democrat government."
Andersson had been appointed Sweden's first female prime minister earlier in the day but her tenure proved the shortest of any of her predecessors.
She took over as prime minister from Stefan Lofven as head of a minority coalition backed by the Left and Centre parties but that alliance collapsed, with the Centre Party refusing to back the government's finance bill.
Parliament on Wednesday passed spending plans drawn up by three opposition parties, prompting the Green party to withdraw from the coalition and leaving Andersson no option but to hand in her resignation.
The Speaker of parliament will now decide the next step in the process of finding a new government.