KABUL, Afghanistan — The anticipated withdrawal of most international forces is still two years away, but already Afghans who have depended on the decade-old foreign presence for their livelihoods are feeling tremors as the first troops leave and spending and aid money dries up. Many fear that the rumblings could be a harbinger of far worse things to come.

The withdrawal of tens of thousands of foreign troops and international aid workers — and the billions of dollars in aid they have brought to the country — has all the potential to undo the fragile progress Afghans have made under the international occupation and, some fear, even set off a new round of insecurity and civil unrest. So dependent is Afghanistan that in 2010, international assistance amounted to roughly 97 percent of the country’s gross domestic product, according to a commonly cited World Bank estimate.

That foreign money, and the end of the Taliban government, lured back Afghan refugees and moneyed entrepreneurs alike, and it has lifted important parts of the economy to unnatural highs.

“The investors, they are still trying to sell their properties to collect their cash money and move their families back abroad,” said Toryalai Babakarkhail, 45, a former brick kiln operator who now runs a small real estate business here.