2.4.0.840201 - Disclosure - Investment Securities (Narrative) (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$Duration_4_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit14Standardhttp://www.midpennbank.com/20130630securitympb0USDUSD$2falseUSDfalsefalse$Duration_4_1_2012_To_6_30_2012http://www.sec.gov/CIK0000879635duration2012-04-01T00:00:002012-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$Duration_1_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-01-01T00:00:002013-06-30T00:00:00Unit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit14Standardhttp://www.midpennbank.com/20130630securitympb0USDUSD$4falseUSDfalsefalse$Duration_1_1_2012_To_6_30_2012http://www.sec.gov/CIK0000879635duration2012-01-01T00:00:002012-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDfalsefalseDuration_1_1_2012_To_12_31_2012http://www.sec.gov/CIK0000879635duration2012-01-01T00:00:002012-12-31T00:00:00Unit13Standardhttp://www.xbrl.org/2003/instancepurexbrli0Unit14Standardhttp://www.midpennbank.com/20130630securitympb0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170$1true1us-gaap_SecuritiesFinancingTransactionsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false2us-gaap_AvailableForSaleSecuritiesPledgedAsCollateralus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse9602600096026USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse9602600096026USD$falsetruefalse4falsefalsefalse00falsefalsefalse5truefalsefalse9612400096124USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe fair value of available-for-sale securities that serve as collateral for borrowings.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 310
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=28368275&loc=d3e5086-111524
false23false2us-gaap_AvailableForSaleSecuritiesGrossRealizedGainsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse112000112falsefalsefalse2truefalsefalse1000010falsefalsefalse3truefalsefalse112000112falsefalsefalse4truefalsefalse2600026falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 9
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27357-111563
false24false2us-gaap_AvailableForSaleSecuritiesGrossRealizedLossesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsetruefalse4truefalsefalse00USD$falsetruefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 9
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27357-111563
false25false2us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1us-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse115115falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse115115falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse7373falsefalsefalsexbrli:integerItemTypeintegerNumber of investment positions in available-for-sale investments in a continuous unrealized loss position for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 6
-Subparagraph (b)(3)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27290-111563
false2566false2mpb_AvailableForSaleSecuritiesInUnrealizedLossPositionsDepreciationPercentagempb_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsetruefalse00falsefalsefalse2falsetruefalse00falsefalsefalse3truetruefalse0.04310.0431falsefalsefalse4falsetruefalse00falsefalsefalse5truetruefalse0.01030.0103falsefalsefalsenum:percentItemTypepureRepresents the percentage of depreciation from the amortized cost basis of available-for-sale debt securities in unrealized loss positions at the balance sheet dateNo definition available.false07false2mpb_AverageLifeOfMortgageBackedSecuritiesmpb_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse003 years 2 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse003 years 2 months 12 daysfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaAverage Life of Mortgage-backed SecuritiesNo definition available.false0falseInvestment Securities (Narrative) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.midpennbank.com/role/DisclosureInvestmentSecuritiesNarrativeDetails57