The agency said in a statement it had raised Morocco's long-term foreign currency sovereign credit rating to ‘BBB-‘ from ‘BB+', and its long-term local currency sovereign credit rating to ‘BBB+' from ‘BBB'.
Morocco's combined foreign and domestic debt stock was slashed as a proportion of GDP to 48 percent last year from 68 percent in 1998, according to the government's figures.
Morocco's government says that its reforms over the past decade allowed it to deal more easily with the impact of the global slowdown on the country's economy.
Economic Affairs Minister Nizar Baraka told reporters last month that Morocco would maintain annual economic growth averaging five percent until 2012 on new stimulus plans.
Morocco posted the highest growth rate in the Middle East and North Africa region in 2008 with 5.6 percent expansion. That slipped to 5.1 percent in 2009 as the country's non-farming gross domestic product slowed due to the global crisis.
Weak social indicators
Standard & Poor's said the outlook on Morocco's long-term ratings was stable and any further rating improvements would likely follow a more rapid convergence of living standards with those of other ‘BBB' rated sovereigns.
“We also factor in the high political stability and the government's momentum for its reform programme, including large public works, which has raised Morocco's trend growth prospects, and contributed to improving gradually the country's still weak social indicators,” said Paillat-Chayrigues.
Morocco's government has increased spending on basic infrastructure to 400 billion Moroccan dirhams ($48bn) for the 2008-2012 period from 80 billion in the previous period.
That investment aims to upgrade basic infrastructure including the highway network, power grids, ports and airports, the farming sector and telecoms.