STOCKHOLM—Sweden’s prime minister on Saturday canceled snap elections planned for March after reaching a series of deals with the country’s main opposition parties to make it easier for minority governments to function.

Stefan Löfven said his Social Democrats and junior coalition partner the Green Party had reached agreements with four center-right opposition parties to reduce the likelihood of a minority government’s budget being voted down, as was the case earlier this month.