equivalent basis), a non-GAAP financial measure which excludes the impact of loan fees, was 2.18% for the six months ended June 30, 2024, a 29 basis point decline from 2.47% for the six months ended June 30, 2023.
Average interest earning assets were $4.52 billion for the six months ended June 30, 2024, an increase of $159.8 million, or 3.7%, compared to $4.36 billion for the six months ended June 30, 2023. This increase in average interest earning assets was primarily due to organic growth in the loan portfolio, continued purchases of investment securities, and an increase in cash balances. Average interest bearing liabilities were $3.42 billion for the six months ended June 30, 2024, an increase of $226.7 million, or 7.1%, compared to $3.19 billion for the six months ended June 30, 2023. The increase in average interest bearing liabilities was primarily due to an increase in interest bearing transaction deposits, time deposits, brokered deposits, and FHLB advances, offset partially by a decrease in federal funds purchased.
Average interest earning assets produced a tax-equivalent yield of 5.35% for the six months ended June 30, 2024, compared to 4.99% for the six months ended June 30, 2023. The average rate paid on interest bearing liabilities was 4.11% for the six months ended June 30, 2024, compared to 3.32% for the six months ended June 30, 2023.
Interest Income. Total interest income on a tax-equivalent basis was $120.2 million for the six months ended June 30, 2024, compared to $107.8 million for the six months ended June 30, 2023. The $12.4 million increase in total interest income on a tax-equivalent basis was primarily due to organic growth in the loan portfolio, purchases of investment securities and higher earning asset yields in the rising interest rate environment.
Interest income on the investment securities portfolio, on a tax-equivalent basis, increased $3.7 million during the six months ended June 30, 2024, compared to the six months ended June 30, 2023, primarily due to a $72.0 million, or 12.0%, increase in average balances and a 64 basis point increase in yield between the periods.
Interest income on loans, on a tax-equivalent basis, for the six months ended June 30, 2024 was $101.5 million, compared to $93.3 million for the six months ended June 30, 2023. The $8.1 million increase was primarily due to a 2.1% increase in the average balances of loans outstanding and a 32 basis point increase in yield.
Interest Expense. Interest expense on interest bearing liabilities was $69.9 million for the six months ended June 30, 2024, an increase of $17.4 million, compared to $52.6 million for the six months ended June 30, 2023. The increases were primarily due to higher rates paid on deposits in the rising interest rate environment and increased utilization of FHLB advances, offset partially be a decrease in federal funds purchased.
Interest expense on deposits increased to $61.8 million for the six months ended June 30, 2024, compared to $39.4 million for the six months ended June 30, 2023. The $22.4 million increase in interest expense on deposits was primarily due to upward repricing of the deposit portfolio in the higher interest rate environment.
Interest expense on borrowings was $8.1 million for the six months ended June 30, 2024, compared to $13.2 million for the six months ended June 30, 2023. This decrease was primarily due to lower average balances of federal funds purchased, offset partially by higher average balances of FHLB advances.
Provision for Credit Losses
The provision for credit losses on loans was $600,000 for the second quarter of 2024, compared to $550,000 for the second quarter of 2023. The provision for credit losses on loans was $1.5 million for the six months ended June 30, 2024, compared to $2.1 million for the six months ended June 30, 2023. The provision for credit losses on loans recorded in the second quarter of 2024 was primarily attributable to changes in the mix of the loan portfolio. The allowance for credit losses on loans to total loans was 1.37% at June 30, 2024, compared to 1.36% at June 30, 2023.