BEIRUT, Lebanon — Even as the Syrian government makes some gains against the rebels on the battlefield, it is taking a rout on an equally important front: the economy.

Two years of war have quintupled unemployment, reduced the Syrian currency to one-sixth of its prewar value, cost the public sector $15 billion in losses and damage to public buildings, slashed personal savings, and shrunk the economy 35 percent, according to government and United Nations officials.

The pillars of Syria’s economy have crumbled as the war has destroyed factories, disrupted agriculture, vaporized tourism and slashed oil revenues, with America and Europe imposing sanctions and rebels taking over oil fields.

Increasingly isolated in the face of a growing economic crisis that has reduced foreign currency reserves to about $2 billion to $5 billion from $18 billion, a government that long prided itself on its low national debt and relative self-sufficiency has now been forced to rely on new credit lines from its main remaining allies — Iran, Russia and China — to buy food and fuel.