XML 39 R28.htm IDEA: XBRL DOCUMENT
v3.21.2

Loans and Allowance for Loan and Lease Losses (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2021
Accounts Notes Loans And Financing Receivable Gross Allowance And Net [Abstract] |
Type of Loan Portfolio Summarized by the Aggregate Risk Rating | As of June 30, 2021 and December 31, 2020, the types of loans in Mid Penn’s portfolio, summarized using Mid Penn’s internal risk rating system between those rated “pass” (net of deferred fees and costs of $16,554,000 as of June 30, 2021 and $9,084,000 as of December 31, 2020), which comprise the vast majority of the portfolio, and those classified as “special mention” and “substandard”, are as follows:
(Dollars in thousands) |  |  |  | Special |  |  |  |  |  |
June 30, 2021 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Total |
Commercial and industrial |  | $ | 770,859 |  |  | $ | 10,014 |  |  | $ | 2,233 |  |  | $ | 783,106 |
Commercial real estate |  |  | 1,131,528 |  |  |  | 7,123 |  |  |  | 8,438 |  |  |  | 1,147,089 |
Commercial real estate - construction |  |  | 282,753 |  |  |  | — |  |  |  | 23 |  |  |  | 282,776 |
Residential mortgage |  |  | 195,489 |  |  |  | 51 |  |  |  | 1,151 |  |  |  | 196,691 |
Home equity |  |  | 74,933 |  |  |  | — |  |  |  | 2,339 |  |  |  | 77,272 |
Consumer |  |  | 8,258 |  |  |  | — |  |  |  | — |  |  |  | 8,258 |
|  | $ | 2,463,820 |  |  | $ | 17,188 |  |  | $ | 14,184 |  |  | $ | 2,495,192 |
(Dollars in thousands) |  |  |  |  |  | Special |  |  |  |  |  |  |  |  |
December 31, 2020 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Total |
Commercial and industrial |  | $ | 739,306 |  |  | $ | 9,928 |  |  | $ | 3,120 |  |  | $ | 752,354 |
Commercial real estate |  |  | 1,084,123 |  |  |  | 1,708 |  |  |  | 13,825 |  |  |  | 1,099,656 |
Commercial real estate - construction |  |  | 248,882 |  |  |  | — |  |  |  | 31 |  |  |  | 248,913 |
Residential mortgage |  |  | 200,544 |  |  |  | 53 |  |  |  | 1,244 |  |  |  | 201,841 |
Home equity |  |  | 71,856 |  |  |  | 3 |  |  |  | 2,365 |  |  |  | 74,224 |
Consumer |  |  | 7,053 |  |  |  | — |  |  |  | — |  |  |  | 7,053 |
|  | $ | 2,351,764 |  |  | $ | 11,692 |  |  | $ | 20,585 |  |  | $ | 2,384,041 |
Impaired Loans by Loan Portfolio Class | Impaired loans by loan portfolio class as of June 30, 2021 and December 31, 2020 are summarized as follows:
|  | June 30, 2021 |  |  | December 31, 2020 |
(Dollars in thousands) |  | Recorded Investment |  |  | Unpaid Principal Balance |  |  | Related Allowance |  |  | Recorded Investment |  |  | Unpaid Principal Balance |  |  | Related Allowance |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | 31 |  |  | $ | — |  |  | $ | 899 |  |  | $ | 931 |  |  | $ | — |
Commercial real estate |  |  | 961 |  |  |  | 1,340 |  |  |  | — |  |  |  | 8,215 |  |  |  | 8,574 |  |  |  | — |
Commercial real estate - construction |  |  | 23 |  |  |  | 27 |  |  |  | — |  |  |  | 31 |  |  |  | 34 |  |  |  | — |
Residential mortgage |  |  | 759 |  |  |  | 791 |  |  |  | — |  |  |  | 818 |  |  |  | 842 |  |  |  | — |
Home equity |  |  | 2,339 |  |  |  | 2,341 |  |  |  | — |  |  |  | 2,365 |  |  |  | 2,395 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |
Commercial real estate |  |  | 1,381 |  |  |  | 1,687 |  |  |  | — |  |  |  | 1,419 |  |  |  | 1,693 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | 289 |  |  |  | 538 |  |  |  | — |  |  |  | 323 |  |  |  | 568 |  |  |  | — |
Home equity |  |  | — |  |  |  | 12 |  |  |  | — |  |  |  | — |  |  |  | 13 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 218 |  |  | $ | 249 |  |  | $ | 62 |  |  | $ | 553 |  |  | $ | 574 |  |  | $ | 533 |
Commercial real estate |  |  | 2,712 |  |  |  | 2,768 |  |  |  | 1,332 |  |  |  | 887 |  |  |  | 994 |  |  |  | 274 |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 218 |  |  | $ | 280 |  |  | $ | 62 |  |  | $ | 1,452 |  |  | $ | 1,505 |  |  | $ | 533 |
Commercial real estate |  |  | 5,054 |  |  |  | 5,795 |  |  |  | 1,332 |  |  |  | 10,521 |  |  |  | 11,261 |  |  |  | 274 |
Commercial real estate - construction |  |  | 23 |  |  |  | 27 |  |  |  | — |  |  |  | 31 |  |  |  | 34 |  |  |  | — |
Residential mortgage |  |  | 1,048 |  |  |  | 1,329 |  |  |  | — |  |  |  | 1,141 |  |  |  | 1,410 |  |  |  | — |
Home equity |  |  | 2,339 |  |  |  | 2,353 |  |  |  | — |  |  |  | 2,365 |  |  |  | 2,408 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Average Recorded Investment Of Impaired Loans And Related Interest Income By Loan Portfolio Class | The average recorded investment of impaired loans and related interest income recognized for the three and six months ended June 30, 2021 and 2020 are summarized as follows:
|  | Three Months Ended |
|  | June 30, 2021 |  |  | June 30, 2020 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 72 |  |  | $ | — |  |  | $ | 955 |  |  | $ | — |
Commercial real estate |  |  | 778 |  |  |  | 1 |  |  |  | 7,004 |  |  |  | — |
Commercial real estate - construction |  |  | 26 |  |  |  | — |  |  |  | 36 |  |  |  | — |
Residential mortgage |  |  | 759 |  |  |  | 6 |  |  |  | 762 |  |  |  | 6 |
Home equity |  |  | 2,336 |  |  |  | — |  |  |  | 1,215 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | — |  |  | $ | — |
Commercial real estate |  |  | 1,398 |  |  |  | — |  |  |  | 1,423 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | 300 |  |  |  | — |  |  |  | 360 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | 1 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 221 |  |  | $ | — |  |  | $ | 99 |  |  | $ | — |
Commercial real estate |  |  | 1,793 |  |  |  | — |  |  |  | 835 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 293 |  |  | $ | — |  |  | $ | 1,054 |  |  | $ | — |
Commercial real estate |  |  | 3,969 |  |  |  | 1 |  |  |  | 9,262 |  |  |  | — |
Commercial real estate - construction |  |  | 26 |  |  |  | — |  |  |  | 36 |  |  |  | — |
Residential mortgage |  |  | 1,059 |  |  |  | 6 |  |  |  | 1,122 |  |  |  | 6 |
Home equity |  |  | 2,336 |  |  |  | — |  |  |  | 1,216 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
|  | Six Months Ended |
|  | June 30, 2021 |  |  | June 30, 2020 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 502 |  |  | $ | — |  |  | $ | 933 |  |  | $ | — |
Commercial real estate |  |  | 3,257 |  |  |  | 1 |  |  |  | 7,362 |  |  |  | — |
Commercial real estate - construction |  |  | 28 |  |  |  | — |  |  |  | 37 |  |  |  | — |
Residential mortgage |  |  | 778 |  |  |  | 14 |  |  |  | 780 |  |  |  | 13 |
Home equity |  |  | 2,346 |  |  |  | — |  |  |  | 818 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With no related allowance recorded and acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | — |  |  | $ | — |  |  | $ | 1 |  |  | $ | — |
Commercial real estate |  |  | 1,406 |  |  |  | — |  |  |  | 1,421 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | 309 |  |  |  | — |  |  |  | 367 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | 1 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 177 |  |  | $ | — |  |  | $ | 66 |  |  | $ | — |
Commercial real estate |  |  | 1,491 |  |  |  | — |  |  |  | 634 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 679 |  |  | $ | — |  |  | $ | 1,000 |  |  | $ | — |
Commercial real estate |  |  | 6,154 |  |  |  | 1 |  |  |  | 9,417 |  |  |  | — |
Commercial real estate - construction |  |  | 28 |  |  |  | — |  |  |  | 37 |  |  |  | — |
Residential mortgage |  |  | 1,087 |  |  |  | 14 |  |  |  | 1,147 |  |  |  | 13 |
Home equity |  |  | 2,346 |  |  |  | — |  |  |  | 819 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Non-accrual Loans by Classes of the Loan Portfolio Including Loans Acquired With Credit Deterioration | Nonaccrual loans by loan portfolio class, including loans acquired with credit deterioration, as of June 30, 2021 and December 31, 2020 are summarized as follows:
(Dollars in thousands) |  | June 30, 2021 |  |  | December 31, 2020 |
Commercial and industrial |  | $ | 324 |  |  | $ | 1,452 |
Commercial real estate |  |  | 4,948 |  |  |  | 10,520 |
Commercial real estate - construction |  |  | 23 |  |  |  | 31 |
Residential mortgage |  |  | 599 |  |  |  | 679 |
Home equity |  |  | 2,339 |  |  |  | 2,365 |
|  | $ | 8,233 |  |  | $ | 15,047 |
Loan Portfolio Summarized by the Past Due Status | The classes of the loan portfolio summarized by the past due status as of June 30, 2021 and December 31, 2020 are summarized as follows:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Loans |
(Dollars in thousands) |  | 30-59 |  |  | 60-89 |  |  | Greater |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Receivable > |
|  | Days Past |  |  | Days Past |  |  | than 90 |  |  | Total Past |  |  |  |  |  |  |  |  |  |  | 90 Days and |
June 30, 2021 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | — |  |  | $ | 1,003 |  |  | $ | 192 |  |  | $ | 1,195 |  |  | $ | 781,911 |  |  | $ | 783,106 |  |  | $ | — |
Commercial real estate |  |  | 80 |  |  |  | — |  |  |  | 1,358 |  |  |  | 1,438 |  |  |  | 1,144,270 |  |  |  | 1,145,708 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 282,776 |  |  |  | 282,776 |  |  |  | — |
Residential mortgage |  |  | 13 |  |  |  | 1 |  |  |  | 272 |  |  |  | 286 |  |  |  | 196,116 |  |  |  | 196,402 |  |  |  | — |
Home equity |  |  | — |  |  |  | 255 |  |  |  | 2,338 |  |  |  | 2,593 |  |  |  | 74,679 |  |  |  | 77,272 |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 8,258 |  |  |  | 8,258 |  |  |  | — |
Loans acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Commercial real estate |  |  | 6 |  |  |  | — |  |  |  | 1,371 |  |  |  | 1,377 |  |  |  | 4 |  |  |  | 1,381 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | 145 |  |  |  | 145 |  |  |  | 144 |  |  |  | 289 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total |  | $ | 99 |  |  | $ | 1,259 |  |  | $ | 5,676 |  |  | $ | 7,034 |  |  | $ | 2,488,158 |  |  | $ | 2,495,192 |  |  | $ | — |
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Loans |
(Dollars in thousands) |  | 30-59 |  |  | 60-89 |  |  | Greater |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Receivable > |
|  | Days Past |  |  | Days Past |  |  | than 90 |  |  | Total Past |  |  |  |  |  |  |  |  |  |  | 90 Days and |
December 31, 2020 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | 365 |  |  | $ | 1,017 |  |  | $ | 1,377 |  |  | $ | 2,759 |  |  | $ | 749,595 |  |  | $ | 752,354 |  |  | $ | — |
Commercial real estate |  |  | 1,096 |  |  |  | — |  |  |  | 7,668 |  |  |  | 8,764 |  |  |  | 1,089,473 |  |  |  | 1,098,237 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 248,913 |  |  |  | 248,913 |  |  |  | — |
Residential mortgage |  |  | 126 |  |  |  | — |  |  |  | 282 |  |  |  | 408 |  |  |  | 201,110 |  |  |  | 201,518 |  |  |  | — |
Home equity |  |  | 71 |  |  |  | 22 |  |  |  | 2,343 |  |  |  | 2,436 |  |  |  | 71,788 |  |  |  | 74,224 |  |  |  | — |
Consumer |  |  | — |  |  |  | 6 |  |  |  | — |  |  |  | 6 |  |  |  | 7,047 |  |  |  | 7,053 |  |  |  | — |
Loans acquired with credit deterioration: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Commercial real estate |  |  | 9 |  |  |  | — |  |  |  | 1,402 |  |  |  | 1,411 |  |  |  | 8 |  |  |  | 1,419 |  |  |  | — |
Commercial real estate - construction |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Residential mortgage |  |  | — |  |  |  | — |  |  |  | 168 |  |  |  | 168 |  |  |  | 155 |  |  |  | 323 |  |  |  | — |
Home equity |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Consumer |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |
Total |  | $ | 1,667 |  |  | $ | 1,045 |  |  | $ | 13,240 |  |  | $ | 15,952 |  |  | $ | 2,368,089 |  |  | $ | 2,384,041 |  |  | $ | — |
Allowance and Recorded Investment in Financing Receivables | The following tables summarize the allowance and recorded investments in loans receivable.
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the three months ended, June 30, 2021 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
April 1, 2021 |  | $ | 2,988 |  |  | $ | 8,944 |  |  | $ | 122 |  |  | $ | 438 |  |  | $ | 528 |  |  | $ | 1 |  |  | $ | 570 |  |  | $ | 13,591 |
Charge-offs |  |  | — |  |  |  | — |  |  |  | (23 | ) |  |  | (7 | ) |  |  | — |  |  |  | (9 | ) |  |  | — |  |  |  | (39 | )
Recoveries |  |  | 1 |  |  |  | 10 |  |  |  | — |  |  |  | 1 |  |  |  | — |  |  |  | 2 |  |  |  | — |  |  |  | 14 |
Provisions (credits) |  |  | 176 |  |  |  | 1,023 |  |  |  | 31 |  |  |  | 67 |  |  |  | 60 |  |  |  | 8 |  |  |  | (215 | ) |  |  | 1,150 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2021 |  | $ | 3,165 |  |  | $ | 9,977 |  |  | $ | 130 |  |  | $ | 499 |  |  | $ | 588 |  |  | $ | 2 |  |  | $ | 355 |  |  | $ | 14,716 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the six months ended, June 30, 2021 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2021 |  | $ | 3,066 |  |  | $ | 8,655 |  |  | $ | 134 |  |  | $ | 429 |  |  | $ | 507 |  |  | $ | 1 |  |  | $ | 590 |  |  | $ | 13,382 |
Charge-offs |  |  | (859 | ) |  |  | — |  |  |  | (23 | ) |  |  | (11 | ) |  |  | — |  |  |  | (12 | ) |  |  | — |  |  |  | (905 | )
Recoveries |  |  | 1 |  |  |  | 66 |  |  |  | — |  |  |  | 11 |  |  |  | — |  |  |  | 11 |  |  |  | — |  |  |  | 89 |
Provisions (credits) |  |  | 957 |  |  |  | 1,256 |  |  |  | 19 |  |  |  | 70 |  |  |  | 81 |  |  |  | 2 |  |  |  | (235 | ) |  |  | 2,150 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2021 |  |  | 3,165 |  |  |  | 9,977 |  |  |  | 130 |  |  |  | 499 |  |  |  | 588 |  |  |  | 2 |  |  |  | 355 |  |  |  | 14,716 |
Individually evaluated for impairment |  |  | 62 |  |  |  | 1,332 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,394 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Collectively evaluated for impairment |  | $ | 3,103 |  |  | $ | 8,645 |  |  | $ | 130 |  |  | $ | 499 |  |  | $ | 588 |  |  | $ | 2 |  |  | $ | 355 |  |  | $ | 13,322 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 783,106 |  |  | $ | 1,147,089 |  |  | $ | 282,776 |  |  | $ | 196,691 |  |  | $ | 77,272 |  |  | $ | 8,258 |  |  | $ | — |  |  | $ | 2,495,192 |
Ending balance: individually evaluated for impairment |  |  | 218 |  |  |  | 3,673 |  |  |  | 23 |  |  |  | 759 |  |  |  | 2,339 |  |  |  | — |  |  |  | — |  |  |  | 7,012 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 1,381 |  |  |  | — |  |  |  | 289 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,670 |
Ending balance: collectively evaluated for impairment |  | $ | 782,888 |  |  | $ | 1,142,035 |  |  | $ | 282,753 |  |  | $ | 195,643 |  |  | $ | 74,933 |  |  | $ | 8,258 |  |  | $ | — |  |  | $ | 2,486,510 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
December 31, 2020 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 3,066 |  |  | $ | 8,655 |  |  | $ | 134 |  |  | $ | 429 |  |  | $ | 507 |  |  | $ | 1 |  |  | $ | 590 |  |  | $ | 13,382 |
Ending balance: individually evaluated for impairment |  |  | 533 |  |  |  | 274 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 807 |
Ending balance: collectively evaluated for impairment |  | $ | 2,533 |  |  | $ | 8,381 |  |  | $ | 134 |  |  | $ | 429 |  |  | $ | 507 |  |  | $ | 1 |  |  | $ | 590 |  |  | $ | 12,575 |
Loans receivable: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 752,354 |  |  | $ | 1,099,656 |  |  | $ | 248,913 |  |  | $ | 201,841 |  |  | $ | 74,224 |  |  | $ | 7,053 |  |  | $ | — |  |  | $ | 2,384,041 |
Ending balance: individually evaluated for impairment |  |  | 1,452 |  |  |  | 9,102 |  |  |  | 31 |  |  |  | 818 |  |  |  | 2,365 |  |  |  | — |  |  |  | — |  |  |  | 13,768 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 1,419 |  |  |  | — |  |  |  | 323 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 1,742 |
Ending balance: collectively evaluated for impairment |  | $ | 750,902 |  |  | $ | 1,089,135 |  |  | $ | 248,882 |  |  | $ | 200,700 |  |  | $ | 71,859 |  |  | $ | 7,053 |  |  | $ | — |  |  | $ | 2,368,531 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the three months ended, June 30, 2020 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
April 1, 2020 |  | $ | 2,427 |  |  | $ | 6,630 |  |  | $ | 57 |  |  | $ | 436 |  |  | $ | 448 |  |  | $ | 2 |  |  | $ | 14 |  |  | $ | 10,014 |
Charge-offs |  |  | (1 | ) |  |  | — |  |  |  | (7 | ) |  |  | — |  |  |  | — |  |  |  | (4 | ) |  |  | — |  |  |  | (12 | )
Recoveries |  |  | 2 |  |  |  | — |  |  |  | 2 |  |  |  | — |  |  |  | 1 |  |  |  | 10 |  |  |  | — |  |  |  | 15 |
Provisions (credits) |  |  | 358 |  |  |  | 611 |  |  |  | 13 |  |  |  | (9 | ) |  |  | 68 |  |  |  | (6 | ) |  |  | 15 |  |  |  | 1,050 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2020 |  | $ | 2,786 |  |  | $ | 7,241 |  |  | $ | 65 |  |  | $ | 427 |  |  | $ | 517 |  |  | $ | 2 |  |  | $ | 29 |  |  | $ | 11,067 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the six months ended, June 30, 2020 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2020 |  |  | 2,341 |  |  |  | 6,259 |  |  |  | 51 |  |  |  | 417 |  |  |  | 442 |  |  |  | 2 |  |  |  | 3 |  |  | $ | 9,515 |
Charge-offs |  |  | (45 | ) |  |  | — |  |  |  | (7 | ) |  |  | — |  |  |  | — |  |  |  | (18 | ) |  |  | — |  |  |  | (70 | )
Recoveries |  |  | 2 |  |  |  | 1 |  |  |  | 2 |  |  |  | 3 |  |  |  | 1 |  |  |  | 13 |  |  |  | — |  |  |  | 22 |
Provisions (credits) |  |  | 488 |  |  |  | 981 |  |  |  | 19 |  |  |  | 7 |  |  |  | 74 |  |  |  | 5 |  |  |  | 26 |  |  |  | 1,600 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
June 30, 2020 |  |  | 2,786 |  |  |  | 7,241 |  |  |  | 65 |  |  |  | 427 |  |  |  | 517 |  |  |  | 2 |  |  |  | 29 |  |  |  | 11,067 |
Individually evaluated for impairment |  |  | 53 |  |  |  | 190 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 243 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 2,733 |  |  | $ | 7,051 |  |  | $ | 65 |  |  | $ | 427 |  |  | $ | 517 |  |  | $ | 2 |  |  | $ | 29 |  |  | $ | 10,824 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 929,390 |  |  | $ | 998,673 |  |  | $ | 224,357 |  |  | $ | 218,352 |  |  | $ | 68,165 |  |  | $ | 6,828 |  |  | $ | — |  |  | $ | 2,445,765 |
Ending balance: individually evaluated for impairment |  |  | 1,210 |  |  |  | 8,028 |  |  |  | 32 |  |  |  | 776 |  |  |  | 2,406 |  |  |  | — |  |  |  | — |  |  |  | 12,452 |
Ending balance: acquired with credit deterioration |  |  | — |  |  |  | 1,430 |  |  |  | — |  |  |  | 354 |  |  |  | 1 |  |  |  | — |  |  |  | — |  |  |  | 1,785 |
Ending balance: collectively evaluated for impairment |  | $ | 928,180 |  |  | $ | 989,215 |  |  | $ | 224,325 |  |  | $ | 217,222 |  |  | $ | 65,758 |  |  | $ | 6,828 |  |  | $ | — |  |  | $ | 2,431,528 |
Troubled Debt Restructurings | The recorded investments in troubled debt restructured loans at June 30, 2021 and December 31, 2020 are as follows:
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
June 30, 2021 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial and industrial | $ | 8 |  |  | $ | 8 |  |  | $ | 6 |
Commercial real estate |  | 1,806 |  |  |  | 1,707 |  |  |  | 893 |
Commercial real estate - construction |  | 40 |  |  |  | 40 |  |  |  | 23 |
Residential mortgage |  | 728 |  |  |  | 725 |  |  |  | 490 |
| $ | 2,582 |  |  | $ | 2,480 |  |  | $ | 1,412 |
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
December 31, 2020 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial and industrial | $ | 8 |  |  | $ | 8 |  |  | $ | 6 |
Commercial real estate |  | 1,806 |  |  |  | 1,707 |  |  |  | 933 |
Commercial real estate - construction |  | 40 |  |  |  | 40 |  |  |  | 31 |
Residential mortgage |  | 728 |  |  |  | 725 |  |  |  | 510 |
| $ | 2,582 |  |  | $ | 2,480 |  |  | $ | 1,480 |
Schedule of Accretion of Purchased Impaired Loan | The following tables provide activity for the accretable yield of acquired impaired loans from the Phoenix (March 2015), Scottdale (January 2018), and First Priority (July 2018) acquisitions for the three and six months ended June 30, 2021 and 2020.
(Dollars in thousands) |  |  |  |
|  | Three Months Ended June 30, |
|  | 2021 |  |  | 2020 |
Accretable yield, beginning of period |  | $ | 40 |  |  | $ | 72 |
Accretable yield amortized to interest income |  |  | — |  |  |  | (16 | )
Accretable yield, end of period |  | $ | 40 |  |  | $ | 56 |
(Dollars in thousands) |  | Six Months Ended June 30, |
|  | 2021 |  |  | 2020 |
Accretable yield, beginning of period |  | $ | 40 |  |  | $ | 89 |
Accretable yield amortized to interest income |  |  | — |  |  |  | (33 | )
Accretable yield, end of period |  | $ | 40 |  |  | $ | 56 |

X
- Definition Accretable yield schedule related to purchased impaired loans. + References No definition available. + Details
Name: | mpb_AccretableYieldScheduleRelatedToPurchasedImpairedLoansTableTextBlock
Namespace Prefix: | mpb_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average impaired financing receivables. + References No definition available. + Details
Name: | mpb_AverageImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | mpb_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableGrossAllowanceAndNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration