<?xml version="1.0" encoding="us-ascii"?>
<!-- DFS ActiveDisclosure(SM) XBRL Schema Document - http://www.dfsco.com/financial-services/ -->
<!-- Creation Date      : 2018-08-06T21:10:16.2244444+00:00 -->
<!-- Version            : 2.12.6766.32775 -->
<!-- Package ID         : f25dd45407444f88953381847d7b2908 -->
<!-- Copyright (c) 2018 Donnelley Financial, LLC. All Rights Reserved. -->
<schema xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:mpb="http://www.midpennbank.com/20180630" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:us-types="http://fasb.org/us-types/2018-01-31" xmlns:stpr="http://xbrl.sec.gov/stpr/2018-01-31" xmlns:srt-types="http://fasb.org/srt-types/2018-01-31" xmlns:naics="http://xbrl.sec.gov/naics/2017-01-31" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:srt="http://fasb.org/srt/2018-01-31" xmlns:us-gaap="http://fasb.org/us-gaap/2018-01-31" xmlns:dei="http://xbrl.sec.gov/dei/2018-01-31" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:country="http://xbrl.sec.gov/country/2017-01-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:currency="http://xbrl.sec.gov/currency/2017-01-31" xmlns:exch="http://xbrl.sec.gov/exch/2018-01-31" xmlns:sic="http://xbrl.sec.gov/sic/2011-01-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.midpennbank.com/20180630" xmlns="http://www.w3.org/2001/XMLSchema">
  <import schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/instance" />
  <import schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/linkbase" />
  <import schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" namespace="http://xbrl.org/2005/xbrldt" />
  <import schemaLocation="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd" namespace="http://xbrl.sec.gov/dei/2018-01-31" />
  <import schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd" namespace="http://fasb.org/us-gaap/2018-01-31" />
  <import schemaLocation="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd" namespace="http://fasb.org/srt/2018-01-31" />
  <import schemaLocation="http://xbrl.fasb.org/us-gaap/2018/elts/us-types-2018-01-31.xsd" namespace="http://fasb.org/us-types/2018-01-31" />
  <import schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd" namespace="http://www.xbrl.org/dtr/type/numeric" />
  <import schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd" namespace="http://www.xbrl.org/dtr/type/non-numeric" />
  <import schemaLocation="http://xbrl.fasb.org/srt/2018/elts/srt-types-2018-01-31.xsd" namespace="http://fasb.org/srt-types/2018-01-31" />
  <import schemaLocation="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd" namespace="http://xbrl.sec.gov/country/2017-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd" namespace="http://xbrl.sec.gov/currency/2017-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/exch/2018/exch-2018-01-31.xsd" namespace="http://xbrl.sec.gov/exch/2018-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd" namespace="http://xbrl.sec.gov/invest/2013-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/naics/2017/naics-2017-01-31.xsd" namespace="http://xbrl.sec.gov/naics/2017-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/sic/2011/sic-2011-01-31.xsd" namespace="http://xbrl.sec.gov/sic/2011-01-31" />
  <import schemaLocation="https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd" namespace="http://xbrl.sec.gov/stpr/2018-01-31" />
  <annotation>
    <appinfo>
      <link:roleType id="TemplateLink" roleURI="http://www.midpennbank.com/20180630/role/TemplateLink" xmlns:link="http://www.xbrl.org/2003/linkbase">
        <link:definition>00000 - Document - Template Link</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpb-20180630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:title="Calculation Links, all" xlink:type="simple" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpb-20180630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:title="Definition Links, all" xlink:type="simple" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpb-20180630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:title="Label Links, all" xlink:type="simple" />
      <link:linkbaseRef xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mpb-20180630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:title="Presentation Links, all" xlink:type="simple" />
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DocumentDocumentAndEntityInformation" id="Role_DocumentDocumentAndEntityInformation">
        <link:definition>100000 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedBalanceSheets" id="Role_StatementConsolidatedBalanceSheets">
        <link:definition>100010 - Statement - Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical" id="Role_StatementConsolidatedBalanceSheetsParenthetical">
        <link:definition>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfIncome" id="Role_StatementConsolidatedStatementsOfIncome">
        <link:definition>100030 - Statement - Consolidated Statements of Income</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss" id="Role_StatementConsolidatedStatementsOfComprehensiveIncomeLoss">
        <link:definition>100040 - Statement - Consolidated Statements of Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical" id="Role_StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical">
        <link:definition>100050 - Statement - Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity" id="Role_StatementConsolidatedStatementsOfChangesInShareholdersEquity">
        <link:definition>100060 - Statement - Consolidated Statements of Changes In Shareholders&apos; Equity</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical" id="Role_StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical">
        <link:definition>100070 - Statement - Consolidated Statements of Changes In Shareholders&apos; Equity (Parenthetical)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/StatementConsolidatedStatementsOfCashFlows" id="Role_StatementConsolidatedStatementsOfCashFlows">
        <link:definition>100080 - Statement - Consolidated Statements of Cash Flows</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureBasisOfPresentation" id="Role_DisclosureBasisOfPresentation">
        <link:definition>100090 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMerger" id="Role_DisclosureMerger">
        <link:definition>100100 - Disclosure - Merger</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecurities" id="Role_DisclosureInvestmentSecurities">
        <link:definition>100110 - Disclosure - Investment Securities</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLosses" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLosses">
        <link:definition>100120 - Disclosure - Loans and Allowance for Loan and Lease Losses</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurement" id="Role_DisclosureFairValueMeasurement">
        <link:definition>100130 - Disclosure - Fair Value Measurement</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureGuaranteesAndCommitments" id="Role_DisclosureGuaranteesAndCommitments">
        <link:definition>100140 - Disclosure - Guarantees and Commitments</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureSubordinatedDebt" id="Role_DisclosureSubordinatedDebt">
        <link:definition>100150 - Disclosure - Subordinated Debt</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureDefinedBenefitPlans" id="Role_DisclosureDefinedBenefitPlans">
        <link:definition>100160 - Disclosure - Defined Benefit Plans</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLoss" id="Role_DisclosureAccumulatedOtherComprehensiveLoss">
        <link:definition>100170 - Disclosure - Accumulated Other Comprehensive Loss</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureRestrictedCommonStock" id="Role_DisclosureRestrictedCommonStock">
        <link:definition>100180 - Disclosure - Restricted Common Stock</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureRevenueRecognition" id="Role_DisclosureRevenueRecognition">
        <link:definition>100190 - Disclosure - Revenue Recognition</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureEarningsPerCommonShare" id="Role_DisclosureEarningsPerCommonShare">
        <link:definition>100200 - Disclosure - Earnings per Common Share</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureRecentAccountingPronouncements" id="Role_DisclosureRecentAccountingPronouncements">
        <link:definition>100210 - Disclosure - Recent Accounting Pronouncements</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureSubsequentEvents" id="Role_DisclosureSubsequentEvents">
        <link:definition>100220 - Disclosure - Subsequent Events</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureRevenueRecognitionPolicies" id="Role_DisclosureRevenueRecognitionPolicies">
        <link:definition>100230 - Disclosure - Revenue Recognition (Policies)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerTables" id="Role_DisclosureMergerTables">
        <link:definition>100240 - Disclosure - Merger (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesTables" id="Role_DisclosureInvestmentSecuritiesTables">
        <link:definition>100250 - Disclosure - Investment Securities (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesTables" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesTables">
        <link:definition>100260 - Disclosure - Loans and Allowance for Loan and Lease Losses (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementsTables" id="Role_DisclosureFairValueMeasurementsTables">
        <link:definition>100270 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureDefinedBenefitPlansTables" id="Role_DisclosureDefinedBenefitPlansTables">
        <link:definition>100280 - Disclosure - Defined Benefit Plans (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables" id="Role_DisclosureAccumulatedOtherComprehensiveLossTables">
        <link:definition>100290 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureEarningsPerCommonShareTables" id="Role_DisclosureEarningsPerCommonShareTables">
        <link:definition>100300 - Disclosure - Earnings per Common Share (Tables)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerNarrativeDetails" id="Role_DisclosureMergerNarrativeDetails">
        <link:definition>100310 - Disclosure - Merger (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerAllocationOfPurchasePriceDetails" id="Role_DisclosureMergerAllocationOfPurchasePriceDetails">
        <link:definition>100320 - Disclosure - Merger (Allocation of the Purchase Price) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerPreliminaryEstimatedFairValueOfAssetsAcquiredDetails" id="Role_DisclosureMergerPreliminaryEstimatedFairValueOfAssetsAcquiredDetails">
        <link:definition>100330 - Disclosure - Merger (Preliminary Estimated Fair Value of Assets Acquired) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerFairValueAdjustmentsDetails" id="Role_DisclosureMergerFairValueAdjustmentsDetails">
        <link:definition>100340 - Disclosure - Merger (Fair Value Adjustments) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerFairValueOfLoansAcquiredDetails" id="Role_DisclosureMergerFairValueOfLoansAcquiredDetails">
        <link:definition>100350 - Disclosure - Merger (Fair Value of Loans Acquired) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureMergerProFormaInformationDetails" id="Role_DisclosureMergerProFormaInformationDetails">
        <link:definition>100360 - Disclosure - Merger (Pro Forma Information) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesUnrealizedGainLossOnInvestmentsDetails" id="Role_DisclosureInvestmentSecuritiesUnrealizedGainLossOnInvestmentsDetails">
        <link:definition>100370 - Disclosure - Investment Securities (Unrealized Gain (Loss) on Investments) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesNarrativeDetails" id="Role_DisclosureInvestmentSecuritiesNarrativeDetails">
        <link:definition>100380 - Disclosure - Investment Securities (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesScheduleOfGrossRealizedGainsLossesOnSalesOfAvailableForSaleSecuritiesDetails" id="Role_DisclosureInvestmentSecuritiesScheduleOfGrossRealizedGainsLossesOnSalesOfAvailableForSaleSecuritiesDetails">
        <link:definition>100390 - Disclosure - Investment Securities (Schedule of Gross Realized Gains (Losses) on Sales of Available-For-Sale Securities) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesScheduleOfFairValueAndUnrealizedLossOnInvestmentsInContinuousUnrealizedLossPositionDetails" id="Role_DisclosureInvestmentSecuritiesScheduleOfFairValueAndUnrealizedLossOnInvestmentsInContinuousUnrealizedLossPositionDetails">
        <link:definition>100400 - Disclosure - Investment Securities (Schedule of Fair Value and Unrealized Loss on Investments in a Continuous Unrealized Loss Position) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureInvestmentSecuritiesInvestmentsClassifiedByContractualMaturityDateDetails" id="Role_DisclosureInvestmentSecuritiesInvestmentsClassifiedByContractualMaturityDateDetails">
        <link:definition>100410 - Disclosure - Investment Securities (Investments Classified by Contractual Maturity Date) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesNarrativeDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesNarrativeDetails">
        <link:definition>100420 - Disclosure - Loans and Allowance for Loan and Lease Losses (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesClassesOfTheLoanPortfolioSummarizedByTheAggregateRiskRatingDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesClassesOfTheLoanPortfolioSummarizedByTheAggregateRiskRatingDetails">
        <link:definition>100430 - Disclosure - Loans and Allowance for Loan and Lease Losses (Classes Of The Loan Portfolio Summarized By The Aggregate Risk Rating) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesImpairedLoansByLoanPortfolioClassDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesImpairedLoansByLoanPortfolioClassDetails">
        <link:definition>100440 - Disclosure - Loans and Allowance for Loan and Lease Losses (Impaired Loans by Loan Portfolio Class) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesAverageRecordedInvestmentOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesAverageRecordedInvestmentOfImpairedLoansAndRelatedInterestIncomeByLoanPortfolioClassDetails">
        <link:definition>100450 - Disclosure - Loans and Allowance for Loan and Lease Losses (Average Recorded Investment Of Impaired Loans And Related Interest Income By Loan Portfolio Class) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesNonaccrualLoansByClassesOfTheLoanPortfolioDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesNonaccrualLoansByClassesOfTheLoanPortfolioDetails">
        <link:definition>100460 - Disclosure - Loans and Allowance for Loan and Lease Losses (Nonaccrual Loans By Classes Of The Loan Portfolio) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesLoanPortfolioSummarizedByThePastDueStatusDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesLoanPortfolioSummarizedByThePastDueStatusDetails">
        <link:definition>100470 - Disclosure - Loans and Allowance for Loan and Lease Losses (Loan Portfolio Summarized By The Past Due Status) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesAllowanceAndRecordedInvestmentInFinancingReceivablesDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesAllowanceAndRecordedInvestmentInFinancingReceivablesDetails">
        <link:definition>100480 - Disclosure - Loans and Allowance for Loan and Lease Losses (Allowance And Recorded Investment In Financing Receivables) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsDetails">
        <link:definition>100490 - Disclosure - Loans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureLoansAndAllowanceForLoanAndLeaseLossesScheduleOfAccretionOfPurchasedImpairedLoanDetails" id="Role_DisclosureLoansAndAllowanceForLoanAndLeaseLossesScheduleOfAccretionOfPurchasedImpairedLoanDetails">
        <link:definition>100500 - Disclosure - Loans and Allowance for Loan and Lease Losses (Schedule of Accretion of Purchased Impaired Loan) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementAssetsMeasuredAtFairValueOnRecurringBasisDetails" id="Role_DisclosureFairValueMeasurementAssetsMeasuredAtFairValueOnRecurringBasisDetails">
        <link:definition>100510 - Disclosure - Fair Value Measurement (Assets Measured at Fair Value on Recurring Basis) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementFairValueMeasurementsNonrecurringDetails" id="Role_DisclosureFairValueMeasurementFairValueMeasurementsNonrecurringDetails">
        <link:definition>100520 - Disclosure - Fair Value Measurement (Fair Value Measurements, Nonrecurring) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementFairValueInputsAssetsQuantitativeInformationDetails" id="Role_DisclosureFairValueMeasurementFairValueInputsAssetsQuantitativeInformationDetails">
        <link:definition>100530 - Disclosure - Fair Value Measurement (Fair Value Inputs, Assets, Quantitative Information) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementFairValueByBalanceSheetGroupingDetails" id="Role_DisclosureFairValueMeasurementFairValueByBalanceSheetGroupingDetails">
        <link:definition>100540 - Disclosure - Fair Value Measurement (Fair Value, by Balance Sheet Grouping) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails" id="Role_DisclosureFairValueMeasurementsScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails">
        <link:definition>100550 - Disclosure - Fair Value Measurements (Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureGuaranteesAndCommitmentsNarrativeDetails" id="Role_DisclosureGuaranteesAndCommitmentsNarrativeDetails">
        <link:definition>100560 - Disclosure - Guarantees and Commitments (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureSubordinatedDebtNarrativeDetails" id="Role_DisclosureSubordinatedDebtNarrativeDetails">
        <link:definition>100570 - Disclosure - Subordinated Debt (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureDefinedBenefitPlansNarrativeDetails" id="Role_DisclosureDefinedBenefitPlansNarrativeDetails">
        <link:definition>100580 - Disclosure - Defined Benefit Plans (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureDefinedBenefitPlansNetPeriodicBenefitCostsDetails" id="Role_DisclosureDefinedBenefitPlansNetPeriodicBenefitCostsDetails">
        <link:definition>100590 - Disclosure - Defined Benefit Plans (Net Periodic Benefit Costs) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveLossNetOfTaxesDetails" id="Role_DisclosureAccumulatedOtherComprehensiveLossComponentsOfAccumulatedOtherComprehensiveLossNetOfTaxesDetails">
        <link:definition>100600 - Disclosure - Accumulated Other Comprehensive Loss (Components of Accumulated Other Comprehensive Loss, Net of Taxes) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureRestrictedCommonStockDetails" id="Role_DisclosureRestrictedCommonStockDetails">
        <link:definition>100610 - Disclosure - Restricted Common Stock (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureEarningsPerCommonShareBasicEarningsLossPerShareDetails" id="Role_DisclosureEarningsPerCommonShareBasicEarningsLossPerShareDetails">
        <link:definition>100620 - Disclosure - Earnings per Common Share (Basic Earnings (Loss) Per Share) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureEarningsPerCommonShareBasicEarningsLossPerShareNarrativeDetails" id="Role_DisclosureEarningsPerCommonShareBasicEarningsLossPerShareNarrativeDetails">
        <link:definition>100630 - Disclosure - Earnings per Common Share (Basic Earnings (Loss) Per Share) (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.midpennbank.com/20180630/taxonomy/role/DisclosureSubsequentEventsNarrativeDetails" id="Role_DisclosureSubsequentEventsNarrativeDetails">
        <link:definition>100640 - Disclosure - Subsequent Events (Narrative) (Details)</link:definition>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </appinfo>
  </annotation>
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturityGrossUnrealizedGain" name="AvailableForSaleSecuritiesAndHeldToMaturityGrossUnrealizedGain" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturityGrossUnrealizedLosses" name="AvailableForSaleSecuritiesAndHeldToMaturityGrossUnrealizedLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" name="HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" name="HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsLessThanOneYear" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAccumulatedLoss" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsAccumulatedLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAccumulatedLoss" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAccumulatedLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_DefinedBenefitPlanAmortizationAccretionOfPriorServiceCostCredit" name="DefinedBenefitPlanAmortizationAccretionOfPriorServiceCostCredit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_DocumentAndEntityInformationAbstract" name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_LoansHeldForSale" name="LoansHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_InterestOnLongTermAndSubordinatedDebt" name="InterestOnLongTermAndSubordinatedDebt" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_GainLossOnSaleOrWriteDownOfForeclosedAssets" name="GainLossOnSaleOrWriteDownOfForeclosedAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_StockIssuedDuringPeriodValueDirectorStockPurchasePlan" name="StockIssuedDuringPeriodValueDirectorStockPurchasePlan" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_StockholdersEquityAdjustedBalance" name="StockholdersEquityAdjustedBalance" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_StockIssuedDuringPeriodSharesDirectorStockPurchasePlans" name="StockIssuedDuringPeriodSharesDirectorStockPurchasePlans" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_AmortizationOfIntangibleAssetsIncludingOtherServicingRights" name="AmortizationOfIntangibleAssetsIncludingOtherServicingRights" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_NoncashOrPartNoncashDepositsAssumed" name="NoncashOrPartNoncashDepositsAssumed" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionAccruedInterestPayableAssumed" name="NoncashOrPartNoncashAcquisitionAccruedInterestPayableAssumed" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionFinancingReceivableAcquired" name="NoncashOrPartNoncashAcquisitionFinancingReceivableAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionRestrictedStockAcquired" name="NoncashOrPartNoncashAcquisitionRestrictedStockAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionForeclosedAssetsAcquired" name="NoncashOrPartNoncashAcquisitionForeclosedAssetsAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionDeferredIncomeTaxesAcquired" name="NoncashOrPartNoncashAcquisitionDeferredIncomeTaxesAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_NoncashOrPartNoncashAcquisitionAccruedInterestReceivableAcquired" name="NoncashOrPartNoncashAcquisitionAccruedInterestReceivableAcquired" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_EmployeeMember" name="EmployeeMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_RestrictedCommonStockDisclosureTextBlock" name="RestrictedCommonStockDisclosureTextBlock" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_AverageImpairedFinancingReceivablesTableTextBlock" name="AverageImpairedFinancingReceivablesTableTextBlock" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_AccretableYieldScheduleRelatedToPurchasedImpairedLoansTableTextBlock" name="AccretableYieldScheduleRelatedToPurchasedImpairedLoansTableTextBlock" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_ScottdaleBankAndTrustCompanyMember" name="ScottdaleBankAndTrustCompanyMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_ExcludedAcquisitionRelatedCostsMember" name="ExcludedAcquisitionRelatedCostsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_BusinessCombinationShareRatioToAcquireeShareholders" name="BusinessCombinationShareRatioToAcquireeShareholders" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedStock" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedStock" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedForeclosedAssets" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedForeclosedAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssetsRestrictedStockBoliPremisesAndEquipmentDeferredTaxesAccruedInterestReceivable" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssetsRestrictedStockBoliPremisesAndEquipmentDeferredTaxesAccruedInterestReceivable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOtherAndAccruedInterestPayable" name="BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOtherAndAccruedInterestPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_PurchasedLoansMarketRateAdjustment" name="PurchasedLoansMarketRateAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_PurchasedLoansCreditFairValueAdjustmentOnPoolsOfHomogeneousLoans" name="PurchasedLoansCreditFairValueAdjustmentOnPoolsOfHomogeneousLoans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_PurchasedLoansCreditFairValueAdjustmentOnImpairedLoans" name="PurchasedLoansCreditFairValueAdjustmentOnImpairedLoans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_CertainLoansAcquiredInTransferAccretableNonaccretableDiscounts" name="CertainLoansAcquiredInTransferAccretableNonaccretableDiscounts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_SeveranceAndRetentionBonusExpenses" name="SeveranceAndRetentionBonusExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturityAmortizedCost" name="AvailableForSaleSecuritiesAndHeldToMaturityAmortizedCost" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" name="AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_ContractualPaymentOfPrincipalOrInterestPastDuePeriod" name="ContractualPaymentOfPrincipalOrInterestPastDuePeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_HomeEquityLinesOfCreditMember" name="HomeEquityLinesOfCreditMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_AccruingMember" name="AccruingMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_NonaccruingMember" name="NonaccruingMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FourLoansMember" name="FourLoansMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_ThreeUnrelatedBorrowersMember" name="ThreeUnrelatedBorrowersMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_OtherBorrowerMember" name="OtherBorrowerMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_NineLoansWithFiveRelationshipsMember" name="NineLoansWithFiveRelationshipsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_TwoLargeRelationshipsMember" name="TwoLargeRelationshipsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FifteenLoansWithFiveRelationshipsMember" name="FifteenLoansWithFiveRelationshipsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FifteenLoansWithSevenRelationshipsMember" name="FifteenLoansWithSevenRelationshipsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_LoanTerms" name="LoanTerms" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_LoanToValueRatio" name="LoanToValueRatio" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" />
  <element id="mpb_LoanToValueRatioExposureAfterPrivateMortgageInsurance" name="LoanToValueRatioExposureAfterPrivateMortgageInsurance" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_FinancingReceivableDeferredFeesAndCosts" name="FinancingReceivableDeferredFeesAndCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_CommercialAndIndustrialLoansMember" name="CommercialAndIndustrialLoansMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FinancingLeaseMember" name="FinancingLeaseMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_ExcludedAcquiredWithCreditDeteriorationMember" name="ExcludedAcquiredWithCreditDeteriorationMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_NumberOfConsumerMortgageLoansForeclosureProceedingsInProcess" name="NumberOfConsumerMortgageLoansForeclosureProceedingsInProcess" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_CertainLoansAcquiredInTransferAccretableYieldAmortizedToInterestIncome" name="CertainLoansAcquiredInTransferAccretableYieldAmortizedToInterestIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit" />
  <element id="mpb_CertainLoansAcquiredInTransferAcquisitionOfImpairedLoans" name="CertainLoansAcquiredInTransferAcquisitionOfImpairedLoans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableForSaleEquitySecuritiesAndLoanForSale" name="AvailableForSaleEquitySecuritiesAndLoanForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_AvailableAndLoanHeldForSaleSecurities" name="AvailableAndLoanHeldForSaleSecurities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_ImpairedLoanMember" name="ImpairedLoanMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_RealEstateOwnedMember" name="RealEstateOwnedMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_MortgageServicingRightsMember" name="MortgageServicingRightsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FairValueMeasurementInputsRate" name="FairValueMeasurementInputsRate" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_AppraisalOfCollateralMember" name="AppraisalOfCollateralMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_MultipleOfAnnualServiceMember" name="MultipleOfAnnualServiceMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_UnobservableInputAppraisalAdjustmentsMember" name="UnobservableInputAppraisalAdjustmentsMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_UnobservableInputEstimatedPrepaymentSpeedMember" name="UnobservableInputEstimatedPrepaymentSpeedMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_FairValueMeasurementsValuationTechnique" name="FairValueMeasurementsValuationTechnique" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_FairValueDisclosureUnobservableInputRange" name="FairValueDisclosureUnobservableInputRange" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_AccruedInterestReceivableFairValueDisclosure" name="AccruedInterestReceivableFairValueDisclosure" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_CommitmentsContingenciesAndGuaranteesLineItems" name="CommitmentsContingenciesAndGuaranteesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_CommitmentsContingenciesAndGuaranteesTable" name="CommitmentsContingenciesAndGuaranteesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_AffordableHousingTaxCreditsAndOtherTaxBenefitsAnticipatedAmount" name="AffordableHousingTaxCreditsAndOtherTaxBenefitsAnticipatedAmount" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit" />
  <element id="mpb_QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod" name="QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_NumberOfApartments" name="NumberOfApartments" type="xbrli:integerItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_SubordinatedNotesDueTwoThousandAndTwentyEightMember" name="SubordinatedNotesDueTwoThousandAndTwentyEightMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_SubordinatedNotesDueTwoThousandAndTwentyFiveMember" name="SubordinatedNotesDueTwoThousandAndTwentyFiveMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_TwentyFourteenRestrictedStockPlanMember" name="TwentyFourteenRestrictedStockPlanMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
  <element id="mpb_SharesOfAcquirerRatioOfCommonStock" name="SharesOfAcquirerRatioOfCommonStock" type="num:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_PeriodPriorToClosingOfMergerForCalculatingAveragePrice" name="PeriodPriorToClosingOfMergerForCalculatingAveragePrice" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" />
  <element id="mpb_FirstPriorityFinancialCorporationMember" name="FirstPriorityFinancialCorporationMember" type="nonnum:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true" />
</schema>
