In July 1997, within days of the Thai baht devaluation, the Malaysian ringgit was "attacked" by speculators. The overnight rate jumped from under 8% to over 40%. This led to rating downgrades and a general sell off on the stock and currency markets. By end of 1997, ratings had fallen many notches from investment grade to junk, the KLSE had lost more than 50% from above 1,200 to under 600, and the ringgit had lost 50% of its value, falling from above 2.50 to under 4.57 on (23 January 1998) to the dollar. The then prime minister, Mahathir Mohammad imposed strict capital controls and introduced a 3.80 peg against the U.S. dollar.
Malaysian moves involved fixing the local currency to the U.S. dollar, stopping the overseas trade in ringgit currency and other ringgit assets therefore making offshore use of the ringgit invalid, restricting the amount of currency and investments that residents can take abroad, and imposed for foreign portfolio funds, a minimum one-year "stay period" which since has been converted to an exit tax. The decision to make ringgit held abroad invalid has also dried up sources of ringgit held abroad that speculators borrow from to manipulate the ringgit, for example by "selling short". Those who do, have to purchase back the limited ringgit at higher prices, making it unattractive to them.[35] In addition, it also fully suspended the trading of CLOB (Central Limit Order Book) counters, indefinitely freezing approximately $4.47 billion worth of shares and affecting 172,000 investors, most of them Singaporeans.[36][37][38]
In 1998, the output of the real economy declined plunging the country into its first recession for many years. The construction sector contracted 23.5%, manufacturing shrunk 9% and the agriculture sector 5.9%. Overall, the country's gross domestic product plunged 6.2% in 1998. During that year, the ringgit plunged below 4.7 and the KLSE fell below 270 points. In September that year, various defensive measures were announced to overcome the crisis.
The principal measure taken were to move the ringgit from a free float to a fixed exchange rate regime. Bank Negara fixed the ringgit at 3.8 to the dollar. Capital controls were imposed while aid offered from the IMF was refused. Various task force agencies were formed. The Corporate Debt Restructuring Committee dealt with corporate loans. Danaharta discounted and bought bad loans from banks to facilitate orderly asset realization. Danamodal recapitalized banks.
Growth then settled at a slower but more sustainable pace. The massive current account deficit became a fairly substantial surplus. Banks were better capitalized and NPLs were realised in an orderly way. Small banks were bought out by strong ones. A large number of PLCs were unable to regulate their financial affairs and were delisted. Compared to the 1997 current account, by 2005, Malaysia was estimated to have a $14.06 billion surplus.[39] Asset values however, have not returned to their pre-crisis highs. In 2005 the last of the crisis measures were removed as taken off the fixed exchange system. But unlike the pre-crisis days, it did not appear to be a free float, but a managed float, like the Singapore dollar.