2.4.0.840308 - Disclosure - Loans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false
falsefalseDuration_4_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00Unit18Standardhttp://www.midpennbank.com/20130630loanmpb02false
USDfalsefalse$Duration_1_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-01-01T00:00:002013-06-30T00:00:00Unit18Standardhttp://www.midpennbank.com/20130630loanmpb0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$Duration_1_1_2012_To_12_31_2012http://www.sec.gov/CIK0000879635duration2012-01-01T00:00:002012-12-31T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse44falsefalsefalse | 2truefalsefalse55falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:integerItemTypeintegerNumber of financing receivables that have been modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false256
3false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1398700013987USD$falsetruefalse | 3truefalsefalse79240007924USD$falsetruefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
4false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse99660009966falsefalsefalse | 3truefalsefalse43350004335falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
5false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse88770008877falsefalsefalse | 3truefalsefalse33940003394falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4false
USDtruefalse$Duration_4_1_2013_To_6_30_2013_us-gaap_FinancingReceivableTroubledDebtRestructuringAxis_mpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseTroubled Debt Restructurings Occurring During The Current Reporting Period [Member]us-gaap_FinancingReceivableTroubledDebtRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldimpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberus-gaap_FinancingReceivableTroubledDebtRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse61050006105USD$falsefalsefalse | 2truefalsefalse61650006165USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
9false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse56020005602USD$falsefalsefalse | 2truefalsefalse56620005662USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
10false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse56020005602USD$falsefalsefalse | 2truefalsefalse56620005662USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
11false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 6false
USDtruefalse$Duration_1_1_2013_To_6_30_2013_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialPortfolioSegmentMemberhttp://www.sec.gov/CIK0000879635duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseCommercial and industrial [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPortfolioSegmentMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
12true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
13false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse4000040USD$falsefalsefalse | 3truefalsefalse4000040USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
14false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse3500035USD$falsefalsefalse | 3truefalsefalse3500035USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
15false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse3000030USD$falsefalsefalse | 3truefalsefalse3000030USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
16false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 8false
truefalseDuration_4_1_2013_To_6_30_2013_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialRealEstatePortfolioSegmentMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseCommercial real estate [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialRealEstatePortfolioSegmentMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberUnit18Standardhttp://www.midpennbank.com/20130630loanmpb0nanafalse0
17true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
18false
4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse33falsefalsefalse | 2truefalsefalse33falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:integerItemTypeintegerNumber of financing receivables that have been modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false256
19false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse1334600013346falsefalsefalse | 3truefalsefalse73260007326falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
20false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse93360009336falsefalsefalse | 3truefalsefalse37480003748falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
21false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse83860008386falsefalsefalse | 3truefalsefalse29160002916falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
22false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 11false
USDtruefalse$Duration_4_1_2013_To_6_30_2013_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_CommercialRealEstatePortfolioSegmentMember_us-gaap_FinancingReceivableTroubledDebtRestructuringAxis_mpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseCommercial real estate [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialRealEstatePortfolioSegmentMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberfalsefalseTroubled Debt Restructurings Occurring During The Current Reporting Period [Member]us-gaap_FinancingReceivableTroubledDebtRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldimpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberus-gaap_FinancingReceivableTroubledDebtRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
23true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
24false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse60910006091USD$falsefalsefalse | 2truefalsefalse60910006091USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
25false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse55880005588USD$falsefalsefalse | 2truefalsefalse55880005588USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
26false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse55880005588USD$falsefalsefalse | 2truefalsefalse55880005588USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
27false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 13false
truefalseDuration_4_1_2013_To_6_30_2013_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ResidentialPortfolioSegmentMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseResidential mortgage [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ResidentialPortfolioSegmentMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberUnit18Standardhttp://www.midpennbank.com/20130630loanmpb0nanafalse0
28true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
29false
4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse11falsefalsefalse | 2truefalsefalse22falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:integerItemTypeintegerNumber of financing receivables that have been modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false256
30false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse601000601falsefalsefalse | 3truefalsefalse558000558falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
31false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse595000595falsefalsefalse | 3truefalsefalse552000552falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
32false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse461000461falsefalsefalse | 3truefalsefalse448000448falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
33false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 16false
USDtruefalse$Duration_4_1_2013_To_6_30_2013_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_us-gaap_ResidentialPortfolioSegmentMember_us-gaap_FinancingReceivableTroubledDebtRestructuringAxis_mpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseResidential mortgage [Member]us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ResidentialPortfolioSegmentMemberus-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxisexplicitMemberfalsefalseTroubled Debt Restructurings Occurring During The Current Reporting Period [Member]us-gaap_FinancingReceivableTroubledDebtRestructuringAxisxbrldihttp://xbrl.org/2006/xbrldimpb_TroubledDebtRestructuringsOccurringDuringCurrentReportingPeriodMemberus-gaap_FinancingReceivableTroubledDebtRestructuringAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
34true
3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
35false
4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1400014USD$falsefalsefalse | 2truefalsefalse7400074USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPre-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
36false
4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1400014USD$falsefalsefalse | 2truefalsefalse7400074USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryPost-modification amount of investment in financing receivables modified by troubled debt restructurings.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=28368275&loc=SL6953676-111524
false2
37false
4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1400014USD$falsetruefalse | 2truefalsefalse7400074USD$falsetruefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2
falseLoans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.midpennbank.com/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsDetails337