2.4.0.841001 - Disclosure - Earnings Per Common Share (Basic and Diluted Earnings Per Share Computation) (Details)truefalseIn Thousands, except Share data, unless otherwise specifiedfalse1false USDfalsefalse$Duration_4_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit17Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$Duration_4_1_2012_To_6_30_2012http://www.sec.gov/CIK0000879635duration2012-04-01T00:00:002012-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit17Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit16Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.midpennbank.com/20130630itemmpb0USDUSD$3false USDfalsefalse$Duration_1_1_2013_To_6_30_2013http://www.sec.gov/CIK0000879635duration2013-01-01T00:00:002013-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit17Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$Duration_1_1_2012_To_6_30_2012http://www.sec.gov/CIK0000879635duration2012-01-01T00:00:002012-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit17Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170Unit16Dividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.midpennbank.com/20130630itemmpb0USDUSD$5false falsefalse$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/20130630securitympb0USDUSD1true 3us-gaap_EarningsPerShareBasicLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse7309973099falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse7309973099falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.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)(2)) -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 2 -Article 4 false13false 4us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse20.5220.52falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse20.5220.52falsefalsefalse5truefalsefalse20.5220.52falsefalsefalseus-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 false04false 4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13660001366USD$falsetruefalse2truefalsefalse13600001360USD$falsetruefalse3truefalsefalse20510002051USD$falsetruefalse4truefalsefalse24940002494USD$falsetruefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 20 -Article 9 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Other Comprehensive Income -URI http://asc.fasb.org/extlink&oid=6519514 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Net Income -URI http://asc.fasb.org/extlink&oid=6518256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.18) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.22) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580 Reference 10: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 19 -Article 5 false25false 4us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse12790001279USD$falsefalsefalse2truefalsefalse12310001231USD$falsefalsefalse3truefalsefalse19030001903USD$falsefalsefalse4truefalsefalse22370002237USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNet income after adjustments for dividends on preferred stock (declared in the period) and/or cumulative preferred stock (accumulated for the period).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1377-109256 false26false 4us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse34910693491069falsefalsefalse2truefalsefalse34858673485867falsefalsefalse3truefalsefalse34904033490403falsefalsefalse4truefalsefalse34852033485203falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1448-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Weighted-Average Number of Common Shares Outstanding -URI http://asc.fasb.org/extlink&oid=6528421 false17false 4us-gaap_EarningsPerShareBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse0.370.37USD$falsetruefalse2truefalsefalse0.350.35USD$falsetruefalse3truefalsefalse0.550.55USD$falsetruefalse4truefalsefalse0.640.64USD$falsetruefalse5falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=32703322&loc=d3e4984-109258 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.21) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.19) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.23) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 18 -Article 7 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 20 -Article 5 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 21 -Article 9 false38false 4us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse34910693491069falsefalsefalse2truefalsefalse34858673485867falsefalsefalse3truefalsefalse34904033490403falsefalsefalse4truefalsefalse34852033485203falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1505-109256 true19false 4us-gaap_EarningsPerShareDilutedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse0.370.37USD$falsetruefalse2truefalsefalse0.350.35USD$falsetruefalse3truefalsefalse0.550.55USD$falsetruefalse4truefalsefalse0.640.64USD$falsetruefalse5falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.21) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 18 -Article 7 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 20 -Article 5 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 21 -Article 9 false310false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6false USDtruefalse$Duration_4_1_2012_To_6_30_2012_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesAPreferredStockMemberhttp://www.sec.gov/CIK0000879635duration2012-04-01T00:00:002012-06-30T00:00:00falsefalseSeries A Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesAPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011true 3us-gaap_EarningsPerShareBasicLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false 4us-gaap_PreferredStockDividendsIncomeStatementImpactus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2truefalsefalse-125000-125USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse-250000-250USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.No definition available.false213false 4us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustmentus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2truefalsefalse-4000-4USD$falsefalsefalse3truefalsefalse-14000-14USD$falsefalsefalse4truefalsefalse-7000-7USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of decrease to net income for accretion of temporary equity to its redemption value to derive net income apportioned to common stockholders.No definition available.false214false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse9false USDtruefalse$Duration_4_1_2013_To_6_30_2013_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesBPreferredStockMemberhttp://www.sec.gov/CIK0000879635duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseSeries B Preferred Stock [Member]us-gaap_StatementClassOfStockAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SeriesBPreferredStockMemberus-gaap_StatementClassOfStockAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse015true 3us-gaap_EarningsPerShareBasicLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false 4us-gaap_PreferredStockDividendsIncomeStatementImpactus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-87000-87USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-134000-134USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.No definition available.false2falseEarnings Per Common Share (Basic and Diluted Earnings Per Share Computation) (Details) (USD $)ThousandsNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.midpennbank.com/role/DisclosureEarningsPerCommonShareBasicAndDilutedEarningsPerShareComputationDetails516