million for the same period in 2022. The overall increase was driven primarily by increased net interest income of $9.9 million during the six month period end June 30, 2023 as compared to the same prior year period.
Interest Income. Interest income increased $11.3 million, or 60.9%, to $29.7 million for the three months ended June 30, 2023 from $18.5 million for the three months ended June 30, 2022. This increase was primarily the result of an increase in the average balance of interest-earning assets, which increased by $145.9 million, or 6.5%, to $2.4 billion for the three months ended June 30, 2023 from $2.2 billion for the three months ended June 30, 2022. In addition, the average yield of interest-earning assets increased by 169 basis points from 3.32% for the three months ended June 30, 2022 to 5.01% for the three months ended June 30, 2023 as a result of the continued rising interest rate environment.
Interest income increased $20.4 million, or 56.9%, for the six months ended June 30, 2023 reaching $56.1 million from $35.8 million for the six months ended June 30, 2022. This increase was driven by a $131.1 million increase in the balance of average interest-earning assets between the two periods. Within the average balance of interest-earning assets, the average balance of loans receivable (net of PPP loans) grew $329.7 million, or 24.9%, between the six months ended June 30, 2023 and June 30, 2022. In addition, the average yield of interest-earning assets increased by 158 basis points from 3.29% for the six months ended June 30, 2022 to 4.87% for the six months ended June 30, 2023 as a result of the continued rising interest rate environment.
Interest income on loans increased by $8.7 million, or 57.1%, to $23.9 million during the three months ended June 30, 2023 from $15.2 million during the three months ended June 30, 2022. The increase in interest income on loans was primarily due to the increase in the average balance of loans (net of PPP loans). The average balance of these loans increased by $306.3 million, or 22.2%, to $1.7 billion for the three months ended June 30, 2023 compared to $1.4 billion for the three months ended June 30, 2022. The average yield on loans, excluding PPP loans, increased by 133 basis points to 5.67% for the three months ended June 30, 2023 from 4.34% for the three months ended June 30, 2022. The increase in the average balance of loans was due to our continued success in growing our commercial real estate, commercial real estate construction, and commercial and industrial loans. The increase in the average yield on loans was the direct result of loans that closed during the first quarter of 2023 that included the impact of the FRB's increase to its benchmark rate during 2022 and the first half of 2023.
For the six months ended June 30, 2023, interest income on loans increased by $15.5 million, or 51.3%, reaching $45.7 million as compared to $30.2 million for the six months ended June 30, 2022. The increase in interest income on loans represents the impact of growth in average loan balances (net of PPP loans) from $1.3 billion for the six months ended June 30, 2022 to $1.7 billion for the six months ended June 30, 2023. The increase in average loans outstanding was due mainly to continued growth of commercial real estate, commercial real estate construction, and commercial and industrial loans. This increase in production was also coupled with an increase in average yield on loans, excluding PPP loans, for the six month periods from 4.47% in 2022 to 5.57% in 2023. The increase in the average yield on loans was driven by the level of interest rate increases during 2022 and the first half of 2023 and the impact on the portfolio during the period.
Interest income on securities increased by $784 thousand, or 28.4%, to $3.5 million during the three months ended June 30, 2023 from $2.8 million during the three months ended June 30, 2022. The increase in interest income on securities was driven primarily by an increase in the average yield on securities during the period. The average yield on investment securities increased by 62 basis points overall from 2.13% for the three months ended June 30, 2022 to 2.75% for the three months ended June 30, 2023. The increase in the average yield on securities resulted primarily from the deployment of excess cash into higher-yielding securities during 2022 as well as the result of increasing market rates during 2022 and the first half of 2023. The average balance of securities decreased by $2.3 million, or 0.45%, to $515.9 million for the three months ended June 30, 2023 compared to $518.2 million for the three months ended June 30, 2022. The decrease in the average balance was mainly the result of the Signature Bank subordinated debt write-off as well as lower balances due to certain maturities during the quarter.
For the six months ended June 30, 2023, interest income on securities increased by $2.3 million, or 46.7%, to $7.1 million during the period from $4.9 million during the six months ended June 30, 2022. The increase in interest income on securities was due to an increase in the average balance of securities as well as an increase in the average yield on securities during the period. The average balance of securities increased by $26.5 million, or 5.3%, to $523.3 million for the six months ended June 30, 2023 compared to $496.7 million for the six months ended June 30, 2022. The increase in the average balance of securities was primarily due to purchases of mortgage-backed securities and municipal securities with our excess liquidity during the six months ended June 30, 2023. The average yield on investment securities increased by 77 basis points overall from 1.97% for the six months ended June 30, 2022 to