Shares of BofA, down about 29% so far this year, rose 3.1% in trading before the bell.
"Our U.S. consumer clients remained resilient with strong, although slower growing, spending levels and still maintained elevated deposit amounts," Chief Executive Officer Brian Moynihan said.
The second-largest U.S. bank's consumer business reported a 12% jump in revenue, helped by higher balances and a rise in interest rates and a 9% jump in combined credit and debit card spend.
The bank, however, added $378 million to its loan-loss reserves as it braces for a weakening economy. That compares with a reserve release of $1.1 billion a year earlier.