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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse44falsefalsefalse2truefalsefalse55falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false2563false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse1398700013987USD$falsetruefalse3truefalsefalse79240007924USD$falsetruefalsexbrli: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 false24false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse99660009966falsefalsefalse3truefalsefalse43350004335falsefalsefalsexbrli: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 false25false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse88770008877falsefalsefalse3truefalsefalse33940003394falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false26false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4false 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$nanafalse07true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse08false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse61050006105USD$falsefalsefalse2truefalsefalse61650006165USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false29false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse56020005602USD$falsefalsefalse2truefalsefalse56620005662USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false210false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56020005602USD$falsefalsefalse2truefalsefalse56620005662USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false211false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse6false 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$nanafalse012true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse4000040USD$falsefalsefalse3truefalsefalse4000040USD$falsefalsefalsexbrli: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 false214false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse3500035USD$falsefalsefalse3truefalsefalse3500035USD$falsefalsefalsexbrli: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 false215false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse3000030USD$falsefalsefalse3truefalsefalse3000030USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false216false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse8false 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/20130630loanmpb0nanafalse017true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse33falsefalsefalse2truefalsefalse33falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false25619false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse1334600013346falsefalsefalse3truefalsefalse73260007326falsefalsefalsexbrli: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 false220false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse93360009336falsefalsefalse3truefalsefalse37480003748falsefalsefalsexbrli: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 false221false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse83860008386falsefalsefalse3truefalsefalse29160002916falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false222false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse11false 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$nanafalse023true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse60910006091USD$falsefalsefalse2truefalsefalse60910006091USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false225false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse55880005588USD$falsefalsefalse2truefalsefalse55880005588USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false226false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse55880005588USD$falsefalsefalse2truefalsefalse55880005588USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false227false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse13false 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/20130630loanmpb0nanafalse028true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse029false 4us-gaap_FinancingReceivableModificationsNumberOfContracts2us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse11falsefalsefalse2truefalsefalse22falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false25630false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse601000601falsefalsefalse3truefalsefalse558000558falsefalsefalsexbrli: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 false231false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse595000595falsefalsefalse3truefalsefalse552000552falsefalsefalsexbrli: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 false232false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse461000461falsefalsefalse3truefalsefalse448000448falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false233false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse16false 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$nanafalse034true 3us-gaap_FinancingReceivableModificationsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse035false 4us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1400014USD$falsefalsefalse2truefalsefalse7400074USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false236false 4us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1400014USD$falsefalsefalse2truefalsefalse7400074USD$falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli: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 false237false 4mpb_FinancingReceivableModificationsRecordedInvestment1mpb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1400014USD$falsetruefalse2truefalsefalse7400074USD$falsetruefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the outstanding recorded investment related to financing receivables that have been modified by troubled debt restructurings.No definition available.false2falseLoans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.midpennbank.com/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsDetails337