closing in the third quarter of 2022.
Operating Results
The Company reported net income of $11.7 million for the second quarter of 2022, or $0.48 per diluted share, compared to net income of $10.6 million, or $0.43 per diluted share, for the first quarter of 2022 and net income of $11.7 million, or $0.48 per diluted share, for the second quarter of 2021.
The increase of $1.1 million in net income for the second quarter of 2022, compared to the first quarter of 2022, was primarily due to a $2.2 million increase in net interest income and a $894,000 decrease in noninterest expense, partially offset by a $1.8 million decrease in noninterest income.
Net income was $11.7 million for both the second quarter of 2022 and 2021. Net interest income was $3.9 million higher and non-interest expense was $1.4 million lower in the second quarter of 2022, compared to the second quarter of 2021. Additionally, the provision for credit losses was a provision of $126,000 for the second quarter of 2022, compared to a recapture of $5.1 million in the second quarter of 2021.
Net Interest Income
Net interest income was $34.9 million for the second quarter of 2022, compared to $32.6 million for the first quarter of 2022 and $31.0 million for the second quarter of 2021.
Net interest income increased $2.3 million during the second quarter of 2022, compared to the first quarter of 2022, primarily due to higher rates on interest-bearing deposits at other financial institutions and securities, higher average securities and loans, lower average Federal Home Loan Bank advances and an additional calendar day in the second quarter of 2022.
Net interest income increased $3.9 million during the second quarter of 2022, compared to the second quarter of 2021, primarily due to higher rates on interest-earning assets, higher average loans and securities, lower rates on deposits and lower average Federal Home Loan Bank advances.
The yield on interest-earning assets was 3.56% for the second quarter of 2022, compared to 3.31% for the first quarter of 2022 and 3.41% for the second quarter of 2021. The cost of interest-bearing liabilities was 0.25% for the second quarter of 2022, 0.27% for the first quarter of 2022 and 0.32% for the second quarter of 2021. The Company’s net interest margin on a tax equivalent basis was 3.49% for the second quarter of 2022, compared to 3.22% for the first quarter of 2022 and 3.29% for the second quarter of 2021.
Net fees recognized on Paycheck Protection Program, or PPP, loans were $234,000, $989,000 and $1.5 million during the second quarter of 2022, the first quarter of 2022 and second quarter of 2021, respectively.
Provision (Recapture) for Credit Losses
The provision for credit losses for the second quarter of 2022 was $126,000, compared to $435,000 for the first quarter of 2022 and a recapture of $5.1 million for the second quarter of 2021.
The provision for credit losses for the second quarter of 2022 is comprised of a $479,000 provision for credit losses for loans due to an increase in the loan portfolio and a $353,000 recapture for credit losses related to unfunded commitments due to a decrease in available unfunded commitments.
The provision for credit losses for the first quarter of 2022 was comprised of recaptures of $20,000 and $415,000 for the ACL for loans and for unfunded commitments, respectively.
The provision for credit losses for the second quarter of 2021 was comprised of recaptures of $4.2 million and $893,000 for the ACL for loans and for unfunded commitments, respectively. The recapture of credit losses during the second quarter of 2021 primarily resulted from improvements in the local economy during that period.
The ACL for loans was $32.1 million, or 1.06%, of loans excluding loans held for sale at June 30, 2022, $31.4 million,