Citigroup Inc reported a smaller-than-expected first-quarter loss for shareholders as cost-cutting and improved investment banking and trading results helped offset red ink from consumer banking and credit cards.

The third-largest U.S. bank on Friday joined Goldman Sachs Group Inc, JPMorgan Chase & Co and Wells Fargo & Co in signaling that massive government efforts to jump-start the ailing economy are helping boost bank earnings, though the industry's problems are far from over.

The bulk of the writedown in Citigroup's toxic assets are probably behind them, said Marshall Front, chairman of Front Barnett Associates LLC in Chicago, which invests $500 million and is buying Citigroup stock. But there are obviously huge hurdles ahead with respect to the credit cycle that will provide strong headwinds.

Citigroup also said it will delay a planned exchange of $52.5 billion of preferred shares into common stock, but will not change the terms.

That news pushed Citigroup shares down 15 cents, or 3.7 percent, to $3.86 in afternoon trading as investors braced for the issuance of more shares at a lower price. Citigroup has taken $45 billion of taxpayer money in a series of bailouts.

The New York-based bank's quarterly loss available to common shareholders narrowed to $966 million, or 18 cents per share, from $5.19 billion, or $1.03, a year earlier. Revenue doubled to $24.79 billion.

According to Reuters Estimates, the loss was 12 cents per share before one-time items. Analysts on average expected a loss of 30 cents per share on revenue of $21.73 billion.

Excluding the impact of preferred stock, Citigroup said quarterly profit was $1.59 billion, compared with a loss of $5.11 billion a year earlier. On that basis, Citigroup posted its first profit since the third quarter of 2007. The bank had lost $37.5 billion in the prior five quarters.

Perhaps the banking sector crisis is bottoming, said Richard Hunter, head of U.S. equities at Hargreaves Landsdown in London.

A BLIP?

Citigroup Chief Executive Vikram Pandit has been slashing costs and trying to unload weak businesses and troubled or toxic assets that caused many of the bank's difficulties.

The bank cut 13,000 jobs in the first quarter, ending with 309,000 workers, and shed $116 billion of assets, leaving it with $1.82 trillion.

Fixed-income trading results helped the institutional clients group, which includes investment banking, swing to a $2.83 billion profit in the first quarter.

But consumer banking lost $1.23 billion, reflecting residential real estate losses. Credit card operations lost money in North America and saw overall profit fall by two-thirds to $417 million.

Credit costs rose 76 percent to $10.3 billion, including $7.3 billion of net credit losses and a $2.7 billion increase to reserves.

The challenges are still enormous, said Michael Holland, founder of Holland & Co in New York. In the context of what we heard from JPMorgan yesterday with its continuing concerns about the consumer, Citi is going to suffer too.

The quarter included a $2.5 billion gain from an accounting rule that assumes a company whose creditworthiness weakens could close out some liabilities at a discount, creating a profit.

It's difficult to see the current figures as anything more than a blip, especially when it's largely due to an accounting rule benefiting companies in distress, said Manoj Ladwa, senior trader at ETX Capital in London. Increasing defaults on home and credit card loans and an outflow of funds from their wealth management business does not bode well.

SHEDDING TROUBLED ASSETS

Pandit in January split Citigroup into Citicorp, which includes businesses the bank wants to keep, and Citi Holdings, which includes brokerage and insurance units, bad debt and other assets that it wants to shed.

There are hundreds of billions of assets that we would think about exiting over time, Chief Financial Officer Edward Ned Kelly said on a conference call.

Quarterly expenses fell 23 percent, and Kelly said the bank is targeting the lower end of its goal for full-year expenses of $50 billion to $52 billion.

Citigroup added substantially to credit reserves in the fourth quarter, which may have made credit performance appear better than expected in the first quarter. The bank's Tier-1 capital level was little changed from the fourth quarter.

Referring to credit deterioration, Kelly said in an interview, That's not to suggest that it's over, but there was that difference between what we projected and what actually crystallized. We're comfortable with the reserve level.

Citigroup is delaying the planned exchange of preferred shares for common stock until the U.S. government completes stress tests to gauge which large banks need more aid. Results of the tests are due in early May.

The exchange contemplates a swap of up to $27.5 billion of preferred securities at a $3.25 per share conversion price, and the government converting up to $25 billion of preferred into a potential 36 percent stake.

Through Thursday, Citigroup shares were down 40 percent this year, compared with a 19 percent drop in the KBW Bank Index. Citigroup traded above $56 in early 2007.

(Reporting by Jonathan Stempel and Dan Wilchins; additional reporting by Dena Aubin in New York, and Paul Lauener and Sitaraman Shankar in London; Editing by Lisa Von Ahn and John Wallace)