XML 33 R23.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Loans and Allowance for Loan and Lease Losses (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2017
Accounts Notes Loans And Financing Receivable Gross Allowance And Net [Abstract] |
Classes of the Loan Portfolio Summarized by the Aggregate Risk Rating | The classes of the loan portfolio, summarized by the pass rating (net of deferred fees and costs of $430,000 as of September 30, 2017 and $196,000 as of December 31, 2016), and the classified ratings of special mention, substandard, and doubtful within Mid Penn’s internal risk rating system as of September 30, 2017 and December 31, 2016, are as follows:
(Dollars in thousands) |  |  |  | Special |  |  |  |  |  |  |
September 30, 2017 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Doubtful |  |  | Total |
Commercial and industrial |  | $ | 176,801 |  |  | $ | 489 |  |  | $ | 5,567 |  |  | $ | - |  |  | $ | 182,857 |
Commercial real estate |  |  | 480,258 |  |  |  | 1,745 |  |  |  | 8,600 |  |  |  | - |  |  |  | 490,603 |
Commercial real estate - construction |  |  | 57,400 |  |  |  | 187 |  |  |  | 487 |  |  |  | - |  |  |  | 58,074 |
Lease financing |  |  | 259 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 259 |
Residential mortgage |  |  | 99,746 |  |  |  | 99 |  |  |  | 1,228 |  |  |  | - |  |  |  | 101,073 |
Home equity |  |  | 39,919 |  |  |  | 114 |  |  |  | 317 |  |  |  | - |  |  |  | 40,350 |
Consumer |  |  | 4,170 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 4,170 |
|  | $ | 858,553 |  |  | $ | 2,634 |  |  | $ | 16,199 |  |  | $ | - |  |  | $ | 877,386 |
(Dollars in thousands) |  |  |  |  |  | Special |  |  |  |  |  |  |  |  |  |  |  |  |
December 31, 2016 |  | Pass |  |  | Mention |  |  | Substandard |  |  | Doubtful |  |  | Total |
Commercial and industrial |  | $ | 170,780 |  |  | $ | 937 |  |  | $ | 801 |  |  | $ | - |  |  | $ | 172,518 |
Commercial real estate |  |  | 437,592 |  |  |  | 1,683 |  |  |  | 7,249 |  |  |  | - |  |  |  | 446,524 |
Commercial real estate - construction |  |  | 52,888 |  |  |  | 202 |  |  |  | 1,286 |  |  |  | - |  |  |  | 54,376 |
Lease financing |  |  | 425 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 425 |
Residential mortgage |  |  | 97,994 |  |  |  | 107 |  |  |  | 1,356 |  |  |  | - |  |  |  | 99,457 |
Home equity |  |  | 37,242 |  |  |  | 142 |  |  |  | 224 |  |  |  | - |  |  |  | 37,608 |
Consumer |  |  | 3,016 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 3,016 |
|  | $ | 799,937 |  |  | $ | 3,071 |  |  | $ | 10,916 |  |  | $ | - |  |  | $ | 813,924 |
Impaired Loans by Loan Portfolio Class | Impaired loans by loan portfolio class as of September 30, 2017 and December 31, 2016 are summarized as follows:
|  | September 30, 2017 |  |  | December 31, 2016 |
(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 |  | $ | - |  |  | $ | 15 |  |  | $ | - |  |  | $ | 4 |  |  | $ | 9 |  |  | $ | - |
Commercial real estate: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  | 603 |  |  |  | 1,288 |  |  |  | - |  |  |  | 726 |  |  |  | 1,792 |  |  |  | - |
Acquired with credit deterioration |  |  | 569 |  |  |  | 569 |  |  |  | - |  |  |  | 842 |  |  |  | 842 |  |  |  | - |
Commercial real estate - construction |  |  | - |  |  |  | - |  |  |  |  |  |  |  | 618 |  |  |  | 618 |  |  |  |  |
Residential mortgage: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage |  |  | 790 |  |  |  | 826 |  |  |  | - |  |  |  | 848 |  |  |  | 882 |  |  |  | - |
Acquired with credit deterioration |  |  | 315 |  |  |  | 315 |  |  |  | - |  |  |  | 389 |  |  |  | 389 |  |  |  | - |
Home equity |  |  | 261 |  |  |  | 296 |  |  |  | - |  |  |  | 111 |  |  |  | 129 |  |  |  | - |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 4,460 |  |  | $ | 4,460 |  |  | $ | 150 |  |  | $ | 56 |  |  | $ | 62 |  |  | $ | 6 |
Commercial real estate |  |  | 1,545 |  |  |  | 1,691 |  |  |  | 375 |  |  |  | 2,520 |  |  |  | 2,646 |  |  |  | 711 |
Commercial real estate - construction |  |  | 487 |  |  |  | 492 |  |  |  | 100 |  |  |  | 242 |  |  |  | 242 |  |  |  | 72 |
Residential mortgage |  |  | 66 |  |  |  | 68 |  |  |  | 66 |  |  |  | 68 |  |  |  | 68 |  |  |  | 68 |
Home equity |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 29 |  |  |  | 49 |  |  |  | 1 |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 4,460 |  |  | $ | 4,475 |  |  | $ | 150 |  |  | $ | 60 |  |  | $ | 71 |  |  | $ | 6 |
Commercial real estate |  |  | 2,717 |  |  |  | 3,548 |  |  |  | 375 |  |  |  | 4,088 |  |  |  | 5,280 |  |  |  | 711 |
Commercial real estate - construction |  |  | 487 |  |  |  | 492 |  |  |  | 100 |  |  |  | 860 |  |  |  | 860 |  |  |  | 72 |
Residential mortgage |  |  | 1,171 |  |  |  | 1,209 |  |  |  | 66 |  |  |  | 1,305 |  |  |  | 1,339 |  |  |  | 68 |
Home equity |  |  | 261 |  |  |  | 296 |  |  |  | - |  |  |  | 140 |  |  |  | 178 |  |  |  | 1 |
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 nine months ended September 30, 2017 and 2016 are summarized as follows:
|  | Three Months Ended |
|  | September 30, 2017 |  |  | September 30, 2016 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | - |  |  | $ | - |  |  | $ | 8 |  |  | $ | - |
Commercial real estate: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  | 751 |  |  |  | - |  |  |  | 797 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 965 |  |  |  | - |
Commercial real estate - construction |  |  | 42 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage |  |  | 847 |  |  |  | - |  |  |  | 834 |  |  |  | 6 |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 376 |  |  |  |  |
Home equity: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Home equity |  |  | 294 |  |  |  | 3 |  |  |  | 62 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Consumer |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 2,230 |  |  | $ | - |  |  | $ | 469 |  |  | $ | - |
Commercial real estate |  |  | 2,148 |  |  |  | - |  |  |  | 2,643 |  |  |  | - |
Commercial real estate - construction |  |  | 487 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Residential mortgage |  |  | 66 |  |  |  | - |  |  |  | - |  |  |  | - |
Home equity |  |  | - |  |  |  | - |  |  |  | 31 |  |  |  | - |
Consumer |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 2,230 |  |  | $ | - |  |  | $ | 477 |  |  | $ | - |
Commercial real estate |  |  | 2,899 |  |  |  | - |  |  |  | 4,405 |  |  |  | - |
Commercial real estate - construction |  |  | 529 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Residential mortgage |  |  | 913 |  |  |  | - |  |  |  | 1,210 |  |  |  | 6 |
Home equity |  |  | 294 |  |  |  | 3 |  |  |  | 93 |  |  |  | - |
|  | Nine Months Ended |
|  | September 30, 2017 |  |  | September 30, 2016 |
(Dollars in thousands) |  | Average Recorded Investment |  |  | Interest Income Recognized |  |  | Average Recorded Investment |  |  | Interest Income Recognized |
With no related allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 16 |  |  | $ | - |  |  | $ | 12 |  |  | $ | - |
Commercial real estate: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  | 551 |  |  |  | 279 |  |  |  | 865 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | 110 |  |  |  | 944 |  |  |  | - |
Commercial real estate - construction |  |  | 164 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Residential mortgage: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage |  |  | 852 |  |  |  | 18 |  |  |  | 802 |  |  |  | 15 |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 375 |  |  |  | 4 |
Home equity |  |  | 184 |  |  |  | 5 |  |  |  | 59 |  |  |  | - |
Consumer |  |  | - |  |  |  |  |  |  |  |  |  |  |  |  |
With an allowance recorded: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 892 |  |  | $ | - |  |  | $ | 224 |  |  | $ | - |
Commercial real estate |  |  | 2,446 |  |  |  | - |  |  |  | 2,036 |  |  |  | - |
Commercial real estate - construction |  |  | 390 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Residential mortgage |  |  | 53 |  |  |  | - |  |  |  | - |  |  |  | - |
Home equity |  |  | - |  |  |  | - |  |  |  | 33 |  |  |  | - |
Consumer |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Total Impaired Loans: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial and industrial |  | $ | 908 |  |  | $ | - |  |  | $ | 236 |  |  | $ | - |
Commercial real estate |  |  | 2,997 |  |  |  | 389 |  |  |  | 3,845 |  |  |  | - |
Commercial real estate - construction |  |  | 554 |  |  |  | - |  |  |  | - |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |
Residential mortgage |  |  | 905 |  |  |  | 18 |  |  |  | 1,177 |  |  |  | 19 |
Home equity |  |  | 184 |  |  |  | 5 |  |  |  | 92 |  |  |  | - |
Non-accrual Loans by Classes of the Loan Portfolio | Nonaccrual loans by loan portfolio class as of September 30, 2017 and December 31, 2016 are summarized as follows:
(Dollars in thousands) |  | September 30, 2017 |  |  | December 31, 2016 |
Commercial and industrial |  | $ | 4,460 |  |  | $ | 4 |
Commercial real estate |  |  | 2,148 |  |  |  | 2,939 |
Commercial real estate - construction |  |  | 487 |  |  |  | 860 |
Residential mortgage |  |  | 583 |  |  |  | 715 |
Home equity |  |  | 261 |  |  |  | 140 |
|  | $ | 7,939 |  |  | $ | 4,658 |
Loan Portfolio Summarized by the Past Due Status | The classes of the loan portfolio summarized by the past due status as of September 30, 2017 and December 31, 2016 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 |
September 30, 2017 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | 8 |  |  | $ | - |  |  | $ | - |  |  | $ | 8 |  |  | $ | 182,849 |  |  | $ | 182,857 |  |  | $ | - |
Commercial real estate: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  | 117 |  |  |  | 28 |  |  |  | 902 |  |  |  | 1,047 |  |  |  | 488,987 |  |  |  | 490,034 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 56 |  |  |  | 56 |  |  |  | 513 |  |  |  | 569 |  |  |  | 56 |
Commercial real estate - construction |  |  | - |  |  |  | - |  |  |  | 487 |  |  |  | 487 |  |  |  | 57,587 |  |  |  | 58,074 |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 259 |  |  |  | 259 |  |  |  | - |
Residential mortgage: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage |  |  | 7 |  |  |  | 67 |  |  |  | 197 |  |  |  | 271 |  |  |  | 100,487 |  |  |  | 100,758 |  |  |  | - |
Acquired with credit deterioration |  |  | 22 |  |  |  | 10 |  |  |  | 193 |  |  |  | 225 |  |  |  | 90 |  |  |  | 315 |  |  |  | - |
Home equity |  |  | - |  |  |  | - |  |  |  | 250 |  |  |  | 250 |  |  |  | 40,100 |  |  |  | 40,350 |  |  |  | - |
Consumer |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 4,170 |  |  |  | 4,170 |  |  |  | - |
Total |  | $ | 154 |  |  | $ | 105 |  |  | $ | 2,085 |  |  | $ | 2,344 |  |  | $ | 875,042 |  |  | $ | 877,386 |  |  | $ | 56 |
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Loans |
(Dollars in thousands) |  | 30-59 |  |  | 60-89 |  |  | Greater |  |  |  |  |  |  |  |  |  |  |  |  |  |  | Receivable > |
|  | Days Past |  |  | Days Past |  |  | than 90 |  |  | Total Past |  |  |  |  |  |  |  |  |  |  | 90 Days and |
December 31, 2016 |  | Due |  |  | Due |  |  | Days |  |  | Due |  |  | Current |  |  | Total Loans |  |  | Accruing |
Commercial and industrial |  | $ | 164 |  |  | $ | 12 |  |  | $ | 4 |  |  | $ | 180 |  |  | $ | 172,338 |  |  | $ | 172,518 |  |  | $ | - |
Commercial real estate: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Commercial real estate |  |  | 475 |  |  |  | - |  |  |  | 1,004 |  |  |  | 1,479 |  |  |  | 444,203 |  |  |  | 445,682 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 59 |  |  |  | 59 |  |  |  | 783 |  |  |  | 842 |  |  |  | 59 |
Commercial real estate - construction |  |  | - |  |  |  | 404 |  |  |  | 84 |  |  |  | 488 |  |  |  | 53,888 |  |  |  | 54,376 |  |  |  | - |
Lease financing |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 425 |  |  |  | 425 |  |  |  | - |
Residential mortgage: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Residential mortgage |  |  | 548 |  |  |  | 124 |  |  |  | 237 |  |  |  | 909 |  |  |  | 98,159 |  |  |  | 99,068 |  |  |  | - |
Acquired with credit deterioration |  |  | - |  |  |  | - |  |  |  | 238 |  |  |  | 238 |  |  |  | 151 |  |  |  | 389 |  |  |  | - |
Home equity |  |  | 33 |  |  |  | 13 |  |  |  | 125 |  |  |  | 171 |  |  |  | 37,437 |  |  |  | 37,608 |  |  |  | - |
Consumer |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 3,016 |  |  |  | 3,016 |  |  |  | - |
Total |  | $ | 1,220 |  |  | $ | 553 |  |  | $ | 1,751 |  |  | $ | 3,524 |  |  | $ | 810,400 |  |  | $ | 813,924 |  |  | $ | 59 |
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, September 30, 2017 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Lease financing |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
July 1, 2017 |  | $ | 1,628 |  |  | $ | 4,981 |  |  | $ | 140 |  |  | $ | 1 |  |  | $ | 539 |  |  | $ | 404 |  |  | $ | 4 |  |  | $ | 16 |  |  | $ | 7,713 |
Charge-offs |  |  | - |  |  |  | (207 | ) |  |  | - |  |  |  | - |  |  |  | (7 | ) |  |  | (20 | ) |  |  | (5 | ) |  |  | - |  |  |  | (239 | )
Recoveries |  |  | 5 |  |  |  | 22 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 1 |  |  |  | - |  |  |  | 28 |
Provisions |  |  | 166 |  |  |  | (326 | ) |  |  | 36 |  |  |  | (1 | ) |  |  | 7 |  |  |  | 53 |  |  |  | 5 |  |  |  | 60 |  |  |  | - |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
September 30, 2017 |  | $ | 1,799 |  |  | $ | 4,470 |  |  | $ | 176 |  |  | $ | - |  |  | $ | 539 |  |  | $ | 437 |  |  | $ | 5 |  |  | $ | 76 |  |  | $ | 7,502 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the nine months ended, September 30, 2017 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Lease financing |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2017 |  | $ | 1,580 |  |  | $ | 4,323 |  |  | $ | 144 |  |  | $ | 1 |  |  | $ | 541 |  |  | $ | 379 |  |  | $ | 3 |  |  | $ | 212 |  |  | $ | 7,183 |
Charge-offs |  |  | (12 | ) |  |  | (237 | ) |  |  | - |  |  |  | - |  |  |  | (25 | ) |  |  | (20 | ) |  |  | (21 | ) |  |  | - |  |  |  | (315 | )
Recoveries |  |  | 11 |  |  |  | 383 |  |  |  | - |  |  |  | - |  |  |  | 4 |  |  |  | 5 |  |  |  | 6 |  |  |  | - |  |  |  | 409 |
Provisions |  |  | 220 |  |  |  | 1 |  |  |  | 32 |  |  |  | (1 | ) |  |  | 19 |  |  |  | 73 |  |  |  | 17 |  |  |  | (136 | ) |  |  | 225 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
September 30, 2017 |  |  | 1,799 |  |  |  | 4,470 |  |  |  | 176 |  |  |  | - |  |  |  | 539 |  |  |  | 437 |  |  |  | 5 |  |  |  | 76 |  |  |  | 7,502 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 150 |  |  |  | 375 |  |  |  | 100 |  |  |  | - |  |  |  | 66 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 691 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 1,649 |  |  | $ | 4,095 |  |  | $ | 76 |  |  | $ | - |  |  | $ | 473 |  |  | $ | 437 |  |  | $ | 5 |  |  | $ | 76 |  |  | $ | 6,811 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 182,857 |  |  | $ | 490,603 |  |  | $ | 58,074 |  |  | $ | 259 |  |  | $ | 101,073 |  |  | $ | 40,350 |  |  | $ | 4,170 |  |  | $ | - |  |  | $ | 877,386 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 4,460 |  |  |  | 2,148 |  |  |  | 487 |  |  |  | - |  |  |  | 856 |  |  |  | 261 |  |  |  | - |  |  |  | - |  |  |  | 8,212 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
acquired with credit deterioration |  |  | - |  |  |  | 569 |  |  |  | - |  |  |  | - |  |  |  | 315 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 884 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 178,397 |  |  | $ | 487,886 |  |  | $ | 57,587 |  |  | $ | 259 |  |  | $ | 99,902 |  |  | $ | 40,089 |  |  | $ | 4,170 |  |  | $ | - |  |  | $ | 868,290 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the three months ended, September 30, 2016 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Lease financing |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
July 1, 2016 |  | $ | 1,372 |  |  | $ | 4,241 |  |  | $ | 120 |  |  | $ | 1 |  |  | $ | 521 |  |  | $ | 325 |  |  | $ | 9 |  |  | $ | 323 |  |  | $ | 6,912 |
Charge-offs |  |  | - |  |  |  | (43 | ) |  |  | - |  |  |  | - |  |  |  | (4 | ) |  |  | - |  |  |  | (2 | ) |  |  | - |  |  |  | (49 | )
Recoveries |  |  | 1 |  |  |  | 29 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 4 |  |  |  | - |  |  |  | 34 |
Provisions |  |  | 759 |  |  |  | 108 |  |  |  | - |  |  |  | - |  |  |  | 15 |  |  |  | 27 |  |  |  | (1 | ) |  |  | (323 | ) |  |  | 585 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
September 30, 2016 |  | $ | 2,132 |  |  | $ | 4,335 |  |  | $ | 120 |  |  | $ | 1 |  |  | $ | 532 |  |  | $ | 352 |  |  | $ | 10 |  |  | $ | - |  |  | $ | 7,482 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
As of, and for the nine months ended, September 30, 2016 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Lease financing |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Beginning balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
January 1, 2016 |  | $ | 1,393 |  |  | $ | 3,552 |  |  | $ | 153 |  |  | $ | 1 |  |  | $ | 534 |  |  | $ | 317 |  |  | $ | 12 |  |  | $ | 206 |  |  | $ | 6,168 |
Charge-offs |  |  | - |  |  |  | (193 | ) |  |  | - |  |  |  | - |  |  |  | (4 | ) |  |  | (25 | ) |  |  | (12 | ) |  |  | - |  |  |  | (234 | )
Recoveries |  |  | 3 |  |  |  | 190 |  |  |  | - |  |  |  | - |  |  |  | 25 |  |  |  | - |  |  |  | 10 |  |  |  | - |  |  |  | 228 |
Provisions |  |  | 736 |  |  |  | 786 |  |  |  | (33 | ) |  |  | - |  |  |  | (23 | ) |  |  | 60 |  |  |  | - |  |  |  | (206 | ) |  |  | 1,320 |
Ending balance, |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
September 30, 2016 |  |  | 2,132 |  |  |  | 4,335 |  |  |  | 120 |  |  |  | 1 |  |  |  | 532 |  |  |  | 352 |  |  |  | 10 |  |  |  | - |  |  |  | 7,482 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 828 |  |  |  | 764 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 2 |  |  |  | - |  |  |  | - |  |  |  | 1,594 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 1,304 |  |  | $ | 3,571 |  |  | $ | 120 |  |  | $ | 1 |  |  | $ | 532 |  |  | $ | 350 |  |  | $ | 10 |  |  | $ | - |  |  | $ | 5,888 |
Loans receivables: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 168,075 |  |  | $ | 421,452 |  |  | $ | 57,319 |  |  | $ | 506 |  |  | $ | 104,483 |  |  | $ | 36,451 |  |  | $ | 3,198 |  |  | $ | - |  |  | $ | 791,484 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 885 |  |  |  | 3,398 |  |  |  | - |  |  |  | - |  |  |  | 847 |  |  |  | 90 |  |  |  | - |  |  |  | - |  |  |  | 5,220 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
acquired with credit deterioration |  |  | - |  |  |  | 972 |  |  |  | - |  |  |  | - |  |  |  | 380 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 1,352 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 167,190 |  |  | $ | 417,082 |  |  | $ | 57,319 |  |  | $ | 506 |  |  | $ | 103,256 |  |  | $ | 36,361 |  |  | $ | 3,198 |  |  | $ | - |  |  | $ | 784,912 |
(Dollars in thousands) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
December 31, 2016 |  | Commercial and industrial |  |  | Commercial real estate |  |  | Commercial real estate - construction |  |  | Lease financing |  |  | Residential mortgage |  |  | Home equity |  |  | Consumer |  |  | Unallocated |  |  | Total |
Allowance for loan and lease losses: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 1,580 |  |  | $ | 4,323 |  |  | $ | 144 |  |  | $ | 1 |  |  | $ | 541 |  |  | $ | 379 |  |  | $ | 3 |  |  | $ | 212 |  |  | $ | 7,183 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 6 |  |  |  | 711 |  |  |  | 72 |  |  |  | - |  |  |  | 68 |  |  |  | 1 |  |  |  | - |  |  |  | - |  |  |  | 858 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 1,574 |  |  | $ | 3,612 |  |  | $ | 72 |  |  | $ | 1 |  |  | $ | 473 |  |  | $ | 378 |  |  | $ | 3 |  |  | $ | 212 |  |  | $ | 6,325 |
Loans receivable: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ending balance |  | $ | 172,518 |  |  | $ | 446,524 |  |  | $ | 54,376 |  |  | $ | 425 |  |  | $ | 99,457 |  |  | $ | 37,608 |  |  | $ | 3,016 |  |  | $ | - |  |  | $ | 813,924 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
individually evaluated for impairment |  |  | 60 |  |  |  | 3,246 |  |  |  | 860 |  |  |  | - |  |  |  | 916 |  |  |  | 140 |  |  |  | - |  |  |  | - |  |  |  | 5,222 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
acquired with credit deterioration |  |  | - |  |  |  | 842 |  |  |  | - |  |  |  | - |  |  |  | 389 |  |  |  | - |  |  |  | - |  |  |  | - |  |  |  | 1,231 |
Ending balance: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
collectively evaluated for impairment |  | $ | 172,458 |  |  | $ | 442,436 |  |  | $ | 53,516 |  |  | $ | 425 |  |  | $ | 98,152 |  |  | $ | 37,468 |  |  | $ | 3,016 |  |  | $ | - |  |  | $ | 807,471 |
Troubled Debt Restructurings | The recorded investments in troubled debt restructured loans at September 30, 2017 and December 31, 2016 are as follows:
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
September 30, 2017 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial and industrial | $ | 4,110 |  |  | $ | 4,460 |  |  | $ | 4,460 |
Commercial real estate | $ | 2,885 |  |  | $ | 2,731 |  |  | $ | 1,792 |
Residential mortgage |  | 759 |  |  |  | 757 |  |  |  | 616 |
| $ | 7,754 |  |  | $ | 7,948 |  |  | $ | 6,868 |
(Dollars in thousands) | Pre-Modification |  |  | Post-Modification |  |  |  |
December 31, 2016 | Outstanding Recorded Investment |  |  | Outstanding Recorded Investment |  |  | Recorded Investment |
Commercial and industrial | $ | 40 |  |  | $ | 35 |  |  | $ | 5 |
Commercial real estate |  | 4,569 |  |  |  | 4,031 |  |  |  | 2,871 |
Residential mortgage |  | 759 |  |  |  | 757 |  |  |  | 639 |
| $ | 5,368 |  |  | $ | 4,823 |  |  | $ | 3,515 |
Schedule of Accretion of Purchased Impaired Loan | The following tables provide activity for the accretable yield of acquired impaired loans for the three and nine months ended September 30, 2017.
(Dollars in thousands) |  |
Accretable yield, July 1, 2017 |  | $ | 68 |
Accretable yield amortized to interest income |  |  | (3 | )
Reclassification from nonaccretable difference (a) |  |  | - |
Accretable yield, September 30, 2017 |  | $ | 65 |
(Dollars in thousands) |  |
Accretable yield, January 1, 2017 |  | $ | 67 |
Accretable yield amortized to interest income |  |  | (25 | )
Reclassification from nonaccretable difference (a) |  |  | 23 |
Accretable yield, September 30, 2017 |  | $ | 65 |
| (a) | Reclassification from non-accretable difference represents an increase to the estimated cash flows to be collected on the underlying portfolio.

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 financing receivables (examples of financing receivables include loans, trade accounts receivable and notes receivable) and activity in the allowance for credit losses account. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + 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/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 55 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=82894031&loc=SL6953803-111525 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=84173941&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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84173941&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 financing receivables that are past due but not impaired, financing receivables that are 90 days past due and still accruing, and financing receivables on nonaccrual status. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953401-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 nonaccrual and past due financing receivables (such as loans and trade receivables), including: (a) the recorded investment in loans and trade receivables, if applicable, on nonaccrual status as of each balance sheet date (b) the recorded investment in loans and trade receivables, if applicable, past due 90 days or more and still accruing. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5111-111524 + 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 receivables and troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration