2.4.0.840801 - Disclosure - Preferred Stock (Narrative) (Details)truefalsefalse1falseUSDfalsefalse$Duration_1_22_2013_To_1_23_2013http://www.sec.gov/CIK0000879635duration2013-01-22T00:00:002013-01-23T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falsefalsefalse$As_Of_6_30_2012http://www.sec.gov/CIK0000879635instant2012-06-30T00:00:000001-01-01T00:00:00Unit16Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.midpennbank.com/20130630itemmpb0USDUSD3falseUSDfalsefalse$As_Of_12_19_2008http://www.sec.gov/CIK0000879635instant2008-12-19T00:00:000001-01-01T00:00:00Unit15Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.midpennbank.com/20130630securitympb0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDtruefalse$Duration_12_27_2012_To_12_28_2012_us-gaap_StatementClassOfStockAxis_us-gaap_PreferredClassAMemberhttp://www.sec.gov/CIK0000879635duration2012-12-27T00:00:002012-12-28T00:00:00falsefalsePreferred Class A [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredClassAMemberus-gaap_StatementClassOfStockAxisexplicitMemberUnit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDtruefalse$Duration_12_18_2008_To_12_19_2008_us-gaap_StatementClassOfStockAxis_us-gaap_PreferredClassAMemberhttp://www.sec.gov/CIK0000879635duration2008-12-18T00:00:002008-12-19T00:00:00falsefalsePreferred Class A [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PreferredClassAMemberus-gaap_StatementClassOfStockAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1true3us-gaap_ClassOfStockLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_ProceedsFromIssuanceOfPreferredStockPreferenceStockAndWarrantsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1000000010000000USD$falsetruefalsexbrli:monetaryItemTypemonetaryProceeds from issuance of capital stock which provides for a specific dividend that is paid to the shareholders before any dividends to common stockholder, which takes precedence over common stockholders in the event of liquidation and from issuance of rights to purchase common shares at a predetermined price.No definition available.false23false4us-gaap_PreferredStockSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1000010000falsefalsefalsexbrli:sharesItemTypesharesTotal number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.28)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29
-Article 5
false14false4us-gaap_PreferredStockLiquidationPreferenceValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse10001000falsefalsefalsexbrli:monetaryItemTypemonetaryValue of the difference between preference in liquidation and the par or stated values of the preferred shares.No definition available.false25false4us-gaap_WarrantsAndRightsOutstandingus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse7309973099falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryValue of outstanding derivative securities that permit the holder the right to purchase securities (usually equity) from the issuer at a specified price.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(i))
-URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph i
-Article 4
false26false4us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse20.5220.52falsefalsefalse3truefalsefalse20.5220.52falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalseus-types:perUnitItemTypedecimalExercise price per share or per unit of warrants or rights outstanding.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(i)(4))
-URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph i
-Subparagraph 4
-Article 4
false07false4us-gaap_StockRepurchasedAndRetiredDuringPeriodSharesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1000010000falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of shares that have been repurchased and retired during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false18false4us-gaap_StockRepurchasedAndRetiredDuringPeriodValueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1000000010000000falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryEquity impact of the value of stock that has been repurchased and retired during the period. The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false29false4us-gaap_DividendsPreferredStockCashus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse5972259722falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of paid and unpaid preferred stock dividends declared with the form of settlement in cash.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 405
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817
false210false4mpb_StockWarrantsRepurchasedAndRetiredDuringPeriodPurchasePricempb_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalselabel1truefalsefalse5847958479USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryStock Warrants Repurchased and Retired During Period, Purchase PriceNo definition available.false2falsePreferred Stock (Narrative) (Details) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.midpennbank.com/role/DisclosurePreferredStockNarrativeDetails510