<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 4.16a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
    <!-- Field: Doc-Info; Name: Source; Value: MGYR 1216 10Q1.xfr; Date: 2017%2D02%2D13T15:19:13Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80060000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://magbank.com/role/mgyr-daei" xlink:href="mgyr-20161231.xsd#mgyr-daei" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/BalanceSheets" xlink:href="mgyr-20161231.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-cbsp" xlink:href="mgyr-20161231.xsd#mgyr-cbsp" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csoo" xlink:href="mgyr-20161231.xsd#mgyr-csoo" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csoci" xlink:href="mgyr-20161231.xsd#mgyr-csoci" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-csocise" xlink:href="mgyr-20161231.xsd#mgyr-csocise" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/StatementsOfCashFlows" xlink:href="mgyr-20161231.xsd#StatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-bop" xlink:href="mgyr-20161231.xsd#mgyr-bop" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-rap" xlink:href="mgyr-20161231.xsd#mgyr-rap" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-c" xlink:href="mgyr-20161231.xsd#mgyr-c" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-eps" xlink:href="mgyr-20161231.xsd#mgyr-eps" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrp" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrp" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocil" xlink:href="mgyr-20161231.xsd#mgyr-ocil" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvd" xlink:href="mgyr-20161231.xsd#mgyr-fvd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-is" xlink:href="mgyr-20161231.xsd#mgyr-is" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-iois" xlink:href="mgyr-20161231.xsd#mgyr-iois" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafll" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafll" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-d" xlink:href="mgyr-20161231.xsd#mgyr-d" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-it" xlink:href="mgyr-20161231.xsd#mgyr-it" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fiwobsr" xlink:href="mgyr-20161231.xsd#mgyr-fiwobsr" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epst" xlink:href="mgyr-20161231.xsd#mgyr-epst" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpt" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocilt" xlink:href="mgyr-20161231.xsd#mgyr-ocilt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdt" xlink:href="mgyr-20161231.xsd#mgyr-fvdt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ist" xlink:href="mgyr-20161231.xsd#mgyr-ist" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ioist" xlink:href="mgyr-20161231.xsd#mgyr-ioist" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllt" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-dt" xlink:href="mgyr-20161231.xsd#mgyr-dt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-itt" xlink:href="mgyr-20161231.xsd#mgyr-itt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fiwobsrt" xlink:href="mgyr-20161231.xsd#mgyr-fiwobsrt" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epssoepsd" xlink:href="mgyr-20161231.xsd#mgyr-epssoepsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-epsnd" xlink:href="mgyr-20161231.xsd#mgyr-epsnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpnd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpsosoaarifiopd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpsosoaarifiopd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-sbcasrpsonvrsd" xlink:href="mgyr-20161231.xsd#mgyr-sbcasrpsonvrsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ocilsocoaoclarited" xlink:href="mgyr-20161231.xsd#mgyr-ocilsocoaoclarited" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsoamafvoarbd" xlink:href="mgyr-20161231.xsd#mgyr-fvdsoamafvoarbd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:href="mgyr-20161231.xsd#FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsoaqiaamafvd" xlink:href="mgyr-20161231.xsd#mgyr-fvdsoaqiaamafvd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-fvdsotcafvapitfvhofid" xlink:href="mgyr-20161231.xsd#mgyr-fvdsotcafvapitfvhofid" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issoacafvosafsd" xlink:href="mgyr-20161231.xsd#mgyr-issoacafvosafsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issomodsambsafsd" xlink:href="mgyr-20161231.xsd#mgyr-issomodsambsafsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issomodsambshtmd" xlink:href="mgyr-20161231.xsd#mgyr-issomodsambshtmd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-issoacafvoshtmd" xlink:href="mgyr-20161231.xsd#mgyr-issoacafvoshtmd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:href="mgyr-20161231.xsd#mgyr-ioissogulafvfbafsahtmsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsolrnd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsolrnd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoilbcd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoariiild" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoariiild" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsocotlpsbbirrsd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsocotlpsbacd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:href="mgyr-20161231.xsd#LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-lrnarafllsoablcd" xlink:href="mgyr-20161231.xsd#mgyr-lrnarafllsoablcd" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:href="mgyr-20161231.xsd#LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/mgyr-dsodbtoad" xlink:href="mgyr-20161231.xsd#mgyr-dsodbtoad" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:href="mgyr-20161231.xsd#IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://magbank.com/role/FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:href="mgyr-20161231.xsd#FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-daei" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/BalanceSheets" xlink:title="00000002 - Statement - Consolidated Balance Sheets" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-cbsp" xlink:title="00000003 - Statement - Consolidated Balance Sheets (Parenthetical)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csoo" xlink:title="00000004 - Statement - Consolidated Statements of Operations" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csoci" xlink:title="00000005 - Statement - Consolidated Statements of Comprehensive Income" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-csocise" xlink:title="00000006 - Statement - Consolidated Statements of Changes in Stockholders' Equity">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaapCommonStockMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapCommonStockMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaapAdditionalPaidInCapitalMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapAdditionalPaidInCapitalMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaapTreasuryStockMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapTreasuryStockMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_UnearnedEsopSharesMember" xlink:label="loc_mgyrUnearnedEsopSharesMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_mgyrUnearnedEsopSharesMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaapRetainedEarningsMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapRetainedEarningsMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaapAccumulatedOtherComprehensiveIncomeMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapAccumulatedOtherComprehensiveIncomeMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_80" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaapSharesOutstanding_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharesOutstanding_80" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaapProfitLoss_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapProfitLoss_80" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherComprehensiveIncomeLossNetOfTax_80" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaapStockRepurchasedDuringPeriodValue_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockRepurchasedDuringPeriodValue_80" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaapStockRepurchasedDuringPeriodShares_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockRepurchasedDuringPeriodShares_80" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_80" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_80" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueEmployeeStockOwnershipPlan_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueEmployeeStockOwnershipPlan_80" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaapAdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_80" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaapTreasuryStockValueAcquiredCostMethod_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapTreasuryStockValueAcquiredCostMethod_80" xlink:type="arc" order="13" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/StatementsOfCashFlows" xlink:title="00000007 - Statement - Consolidated Statements of Cash Flows" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-bop" xlink:title="00000008 - Disclosure - BASIS OF PRESENTATION" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-rap" xlink:title="00000009 - Disclosure - RECENT ACCOUNTING PRONOUNCEMENTS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-c" xlink:title="00000010 - Disclosure - CONTINGENCIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-eps" xlink:title="00000011 - Disclosure - EARNINGS PER SHARE" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrp" xlink:title="00000012 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocil" xlink:title="00000013 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvd" xlink:title="00000014 - Disclosure - FAIR VALUE DISCLOSURES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-is" xlink:title="00000015 - Disclosure - INVESTMENT SECURITIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-iois" xlink:title="00000016 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafll" xlink:title="00000017 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-d" xlink:title="00000018 - Disclosure - DEPOSITS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-it" xlink:title="00000019 - Disclosure - INCOME TAXES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fiwobsr" xlink:title="00000020 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epst" xlink:title="00000021 - Disclosure - EARNINGS PER SHARE (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpt" xlink:title="00000022 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocilt" xlink:title="00000023 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdt" xlink:title="00000024 - Disclosure - FAIR VALUE DISCLOSURES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ist" xlink:title="00000025 - Disclosure - INVESTMENT SECURITIES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ioist" xlink:title="00000026 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllt" xlink:title="00000027 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-dt" xlink:title="00000028 - Disclosure - DEPOSITS (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-itt" xlink:title="00000029 - Disclosure - INCOME TAXES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fiwobsrt" xlink:title="00000030 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epssoepsd" xlink:title="00000031 - Disclosure - EARNINGS PER SHARE (Schedule of Earnings Per Share) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-epsnd" xlink:title="00000032 - Disclosure - EARNINGS PER SHARE (Narrative) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpnd" xlink:title="00000033 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Narrative) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaapScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaapAwardTypeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="loc_us-gaapAwardTypeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAwardTypeAxis" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaapEmployeeStockOptionMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaapEmployeeStockOptionMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="loc_us-gaapRestrictedStockMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaapRestrictedStockMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaapShareRepurchaseProgramAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:to="loc_us-gaapShareRepurchaseProgramAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaapShareRepurchaseProgramDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapShareRepurchaseProgramAxis" xlink:to="loc_us-gaapShareRepurchaseProgramDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaapShareRepurchaseProgramDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapShareRepurchaseProgramAxis" xlink:to="loc_us-gaapShareRepurchaseProgramDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ShareRepurchaseSecondProgramMember" xlink:label="loc_mgyrShareRepurchaseSecondProgramMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareRepurchaseProgramDomain" xlink:to="loc_mgyrShareRepurchaseSecondProgramMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_80" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_80" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_TreasurySecurityTerm" xlink:label="loc_mgyrTreasurySecurityTerm_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_mgyrTreasurySecurityTerm_80" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockOptionPlanExpense" xlink:label="loc_us-gaapStockOptionPlanExpense_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapStockOptionPlanExpense_80" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RestrictedStockExpense" xlink:label="loc_us-gaapRestrictedStockExpense_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapRestrictedStockExpense_80" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_MaximumPercentageStockRepurchaseAuthorisation" xlink:label="loc_mgyrMaximumPercentageStockRepurchaseAuthorisation_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_mgyrMaximumPercentageStockRepurchaseAuthorisation_80" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="loc_us-gaapStockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapStockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased_80" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaapTreasuryStockSharesAcquired_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapTreasuryStockSharesAcquired_80" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" xlink:label="loc_us-gaapStockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapStockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_80" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaapTreasuryStockAcquiredAverageCostPerShare_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapTreasuryStockAcquiredAverageCostPerShare_80" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaapTreasuryStockShares_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapTreasuryStockShares_80" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" xlink:label="loc_mgyrEmployeeStockOwnershipPlanESOPValueInESOP_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_mgyrEmployeeStockOwnershipPlanESOPValueInESOP_80" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased_80" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription_80" xlink:type="arc" order="13" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" xlink:label="loc_mgyrInterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_mgyrInterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan_80" xlink:type="arc" order="14" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPNumberOfAllocatedShares_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPNumberOfAllocatedShares_80" xlink:type="arc" order="15" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPNumberOfSuspenseShares_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPNumberOfSuspenseShares_80" xlink:type="arc" order="16" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPDeferredSharesFairValue_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPDeferredSharesFairValue_80" xlink:type="arc" order="17" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPCompensationExpense_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPCompensationExpense_80" xlink:type="arc" order="18" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:label="loc_us-gaapEmployeeStockOwnershipPlanESOPSharesInESOP_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:to="loc_us-gaapEmployeeStockOwnershipPlanESOPSharesInESOP_80" xlink:type="arc" order="19" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpsosoaarifiopd" xlink:title="00000034 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Schedule of Stock Option Activity And Related Information For Its Option Plan) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-sbcasrpsonvrsd" xlink:title="00000035 - Disclosure - STOCK-BASED COMPENSATION AND STOCK REPURCHASE PROGRAM (Schedule of Non-Vested Restricted Shares) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ocilsocoaoclarited" xlink:title="00000036 - Disclosure - OTHER COMPREHENSIVE INCOME (LOSS) (Schedule of Components of Other Comprehensive Income (Loss) and the Related Income Tax Effects) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsoamafvoarbd" xlink:title="00000037 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Assets Measured at Fair Value on a Recurring Basis) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaapFairValueByMeasurementFrequencyAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaapFairValueMeasurementsRecurringMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:to="loc_us-gaapFairValueMeasurementsRecurringMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_0" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_10" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_20" xlink:type="arc" order="22" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_50" xlink:type="arc" order="53" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_100" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_100" xlink:type="arc" order="103" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:label="loc_mgyrFairValueMeasuredOnRecurringBasisAbstract_340" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_mgyrFairValueMeasuredOnRecurringBasisAbstract_340" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities_340" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mgyrFairValueMeasuredOnRecurringBasisAbstract_340" xlink:to="loc_us-gaapAvailableForSaleSecurities_340" xlink:type="arc" order="1" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/FairValueDisclosuresScheduleOfAssetsMeasuredAtFairValueOnNon-recurringBasisDetails" xlink:title="00000038 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Assets Measured at Fair Value on a Non-Recurring Basis) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaapFairValueByMeasurementFrequencyAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaapFairValueMeasurementsNonrecurringMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:to="loc_us-gaapFairValueMeasurementsNonrecurringMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_0" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_10" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_20" xlink:type="arc" order="22" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ImpairedLoansFairValueDisclosure" xlink:label="loc_mgyrImpairedLoansFairValueDisclosure_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_mgyrImpairedLoansFairValueDisclosure_90" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:label="loc_mgyrOtherRealEstateOwnedFairValueDisclosure_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_mgyrOtherRealEstateOwnedFairValueDisclosure_90" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="loc_us-gaapAssetsFairValueDisclosureNonrecurring_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="loc_us-gaapAssetsFairValueDisclosureNonrecurring_90" xlink:type="arc" order="2" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsoaqiaamafvd" xlink:title="00000039 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of Additional Quantitative Information About Assets Measured at Fair Value) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:label="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:to="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaapFairValueByAssetClassAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:to="loc_us-gaapFairValueByAssetClassAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByAssetClassAxis" xlink:to="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByAssetClassAxis" xlink:to="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_ImpairedLoansMember" xlink:label="loc_mgyrImpairedLoansMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:to="loc_mgyrImpairedLoansMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_OtherRealEstateOwnedMember" xlink:label="loc_mgyrOtherRealEstateOwnedMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:to="loc_mgyrOtherRealEstateOwnedMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaapFairValueByMeasurementFrequencyAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:to="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaapFairValueMeasurementFrequencyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementFrequencyAxis" xlink:to="loc_us-gaapFairValueMeasurementFrequencyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaapFairValueMeasurementsNonrecurringMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementFrequencyDomain" xlink:to="loc_us-gaapFairValueMeasurementsNonrecurringMember_10" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaapRangeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:to="loc_us-gaapRangeAxis" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaapRangeMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapRangeAxis" xlink:to="loc_us-gaapRangeMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaapRangeMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapRangeAxis" xlink:to="loc_us-gaapRangeMember_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageMember" xlink:label="loc_us-gaapWeightedAverageMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRangeMember" xlink:to="loc_us-gaapWeightedAverageMember_10" xlink:type="arc" order="13" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaapMinimumMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRangeMember" xlink:to="loc_us-gaapMinimumMember_20" xlink:type="arc" order="23" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaapMaximumMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRangeMember" xlink:to="loc_us-gaapMaximumMember_30" xlink:type="arc" order="33" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="loc_us-gaapAssetsFairValueDisclosureNonrecurring_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:to="loc_us-gaapAssetsFairValueDisclosureNonrecurring_210" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsValuationTechniques" xlink:label="loc_us-gaapFairValueMeasurementsValuationTechniques_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:to="loc_us-gaapFairValueMeasurementsValuationTechniques_210" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FairValueAssumptionsAppraisalOfCollateral" xlink:label="loc_mgyrFairValueAssumptionsAppraisalOfCollateral_210" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:to="loc_mgyrFairValueAssumptionsAppraisalOfCollateral_210" xlink:type="arc" order="2" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-fvdsotcafvapitfvhofid" xlink:title="00000040 - Disclosure - FAIR VALUE DISCLOSURES (Schedule of the Carrying Amount, Fair Value, and Placement in the Fair Value Hierarchy of Financial Instruments) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaapFairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaapFairValueByBalanceSheetGroupingTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="loc_us-gaapFairValueByBalanceSheetGroupingTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaapFairValueByMeasurementBasisAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueByBalanceSheetGroupingTable" xlink:to="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaapCarryingReportedAmountFairValueDisclosureMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapCarryingReportedAmountFairValueDisclosureMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaapEstimateOfFairValueFairValueDisclosureMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapEstimateOfFairValueFairValueDisclosureMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapFairValueByBalanceSheetGroupingTable" xlink:to="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByFairValueHierarchyLevelAxis" xlink:to="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueMeasurementsFairValueHierarchyDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_110" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaapLoansReceivableFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapLoansReceivableFairValueDisclosure_110" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaapFinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="loc_us-gaapFinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_110" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" xlink:label="loc_mgyrInterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_110" xlink:to="loc_mgyrInterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure_110" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaapDebtInstrumentFairValue_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_110" xlink:to="loc_us-gaapDebtInstrumentFairValue_110" xlink:type="arc" order="5" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issoacafvosafsd" xlink:title="00000041 - Disclosure - INVESTMENT SECURITIES (Summary of Amortized Cost and Fair Values of Securities Available For Sale) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaapScheduleOfAvailableForSaleSecuritiesTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="loc_us-gaapScheduleOfAvailableForSaleSecuritiesTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesTable" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAmortizedCost_80" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_80" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_80" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaapAvailableForSaleSecurities_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="loc_us-gaapAvailableForSaleSecurities_80" xlink:type="arc" order="3" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issomodsambsafsd" xlink:title="00000042 - Disclosure - INVESTMENT SECURITIES (Summary of Maturities of Debt Securities and Mortgage-backed Securities Available For Sale) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issomodsambshtmd" xlink:title="00000043 - Disclosure - INVESTMENT SECURITIES (Summary of Maturities of Debt Securities and Mortgage-backed Securities Held to Maturity) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:label="loc_us-gaapScheduleOfHeldToMaturitySecuritiesLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:label="loc_us-gaapScheduleOfHeldToMaturitySecuritiesTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapScheduleOfHeldToMaturitySecuritiesLineItems" xlink:to="loc_us-gaapScheduleOfHeldToMaturitySecuritiesTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfHeldToMaturitySecuritiesTable" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateNoteSecuritiesMember" xlink:label="loc_us-gaapCorporateNoteSecuritiesMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapCorporateNoteSecuritiesMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:label="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapScheduleOfHeldToMaturitySecuritiesLineItems" xlink:to="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" xlink:to="loc_us-gaapHeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_150" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" xlink:to="loc_us-gaapHeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_150" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaapHeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" xlink:to="loc_us-gaapHeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_150" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaapHeldToMaturitySecuritiesFairValue_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapHeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract_150" xlink:to="loc_us-gaapHeldToMaturitySecuritiesFairValue_150" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-issoacafvoshtmd" xlink:title="00000044 - Disclosure - INVESTMENT SECURITIES (Summary of Amortized Cost and Fair Values of Securities Held to Maturity) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:title="00000045 - Disclosure - IMPAIRMENT OF INVESTMENT SECURITIES (Schedule of Gross Unrealized Losses and Fair Value for Both Available For Sale and Held To Maturity Securities) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentLineItems" xlink:label="loc_investInvestmentLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTable" xlink:label="loc_investInvestmentTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_investInvestmentLineItems" xlink:to="loc_investInvestmentTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_investInvestmentTable" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapUSGovernmentSponsoredEnterprisesDebtSecuritiesMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapMortgageBackedSecuritiesIssuedByPrivateEnterprisesMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CorporateNoteSecuritiesMember" xlink:label="loc_us-gaapCorporateNoteSecuritiesMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_us-gaapCorporateNoteSecuritiesMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="loc_mgyrUSGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapMajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="loc_mgyrUSGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:label="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_investInvestmentLineItems" xlink:to="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_130" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_130" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" xlink:label="loc_mgyrAvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2_130" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_130" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" xlink:label="loc_mgyrAvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2_130" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrAvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue_130" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:label="loc_mgyrUnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract_130" xlink:to="loc_mgyrUnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities_130" xlink:type="arc" order="7" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsolrnd" xlink:title="00000046 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Loans Receivable, Net) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaapScheduleOfAccountsNotesLoansAndFinancingReceivableTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" xlink:to="loc_us-gaapScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaapConstructionLoansMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConstructionLoansMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" xlink:to="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_150" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_LoansAndLeasesReceivableDeferredCost" xlink:label="loc_mgyrLoansAndLeasesReceivableDeferredCost_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" xlink:to="loc_mgyrLoansAndLeasesReceivableDeferredCost_150" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaapLoansAndLeasesReceivableAllowance_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" xlink:to="loc_us-gaapLoansAndLeasesReceivableAllowance_150" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAccountsNotesAndLoansReceivableLineItems" xlink:to="loc_us-gaapLoansAndLeasesReceivableNetReportedAmount_150" xlink:type="arc" order="3" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:title="00000047 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Impaired Loans by Class) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaapFinancingReceivableImpairedLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_120" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaapImpairedFinancingReceivableRelatedAllowance_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableRelatedAllowance_120" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_120" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableRecordedInvestment_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableRecordedInvestment_120" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalance_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableUnpaidPrincipalBalance_120" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoariiild" xlink:title="00000048 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Average Recorded Investment in Impaired Loans) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaapFinancingReceivableImpairedLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfImpairedFinancingReceivableTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaapImpairedFinancingReceivableAverageRecordedInvestment_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableImpairedLineItems" xlink:to="loc_us-gaapImpairedFinancingReceivableAverageRecordedInvestment_120" xlink:type="arc" order="0" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd" xlink:title="00000049 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Classes of the Loan Portfolio Summarized by Bank's Internal Risk Rating System) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaapScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentLineItems" xlink:to="loc_us-gaapScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaapConstructionLoansMember_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConstructionLoansMember_140" xlink:type="arc" order="141" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_190" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_190" xlink:type="arc" order="191" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_240" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_240" xlink:type="arc" order="241" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_290" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_290" xlink:type="arc" order="291" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaapInternalCreditAssessmentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="loc_us-gaapInternalCreditAssessmentAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaapInternalCreditAssessmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapInternalCreditAssessmentAxis" xlink:to="loc_us-gaapInternalCreditAssessmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PassMember" xlink:label="loc_us-gaapPassMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapPassMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaapSpecialMentionMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapSpecialMentionMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaapSubstandardMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapSubstandardMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="loc_us-gaapDoubtfulMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapInternalCreditAssessmentDomain" xlink:to="loc_us-gaapDoubtfulMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_710" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentLineItems" xlink:to="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_710" xlink:type="arc" order="0" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:title="00000050 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Classes of the Loan Portfolio Summarized by Aging Categories) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentPastDueLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaapScheduleOfFinancingReceivablesPastDueTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="loc_us-gaapScheduleOfFinancingReceivablesPastDueTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivablesPastDueTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_40" xlink:type="arc" order="42" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_80" xlink:type="arc" order="82" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaapConstructionLoansMember_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConstructionLoansMember_120" xlink:type="arc" order="122" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_160" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_160" xlink:type="arc" order="162" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_200" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_200" xlink:type="arc" order="202" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_240" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_240" xlink:type="arc" order="242" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="loc_us-gaapFinancingReceivablesPeriodPastDueAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivablesPastDueTable" xlink:to="loc_us-gaapFinancingReceivablesPeriodPastDueAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaapFinancingReceivablesPeriodPastDueDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivablesPeriodPastDueAxis" xlink:to="loc_us-gaapFinancingReceivablesPeriodPastDueDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="loc_us-gaapFinancingReceivablesPeriodPastDueDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivablesPeriodPastDueAxis" xlink:to="loc_us-gaapFinancingReceivablesPeriodPastDueDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="loc_us-gaapFinancingReceivables30To59DaysPastDueMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivablesPeriodPastDueDomain" xlink:to="loc_us-gaapFinancingReceivables30To59DaysPastDueMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="loc_us-gaapFinancingReceivables60To89DaysPastDueMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivablesPeriodPastDueDomain" xlink:to="loc_us-gaapFinancingReceivables60To89DaysPastDueMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="loc_us-gaapFinancingReceivablesEqualToGreaterThan90DaysPastDueMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivablesPeriodPastDueDomain" xlink:to="loc_us-gaapFinancingReceivablesEqualToGreaterThan90DaysPastDueMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentCurrent_570" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentCurrent_570" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentPastDue_570" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentPastDue_570" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentNonaccrualStatus_570" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentNonaccrualStatus_570" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_570" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentAgingAbstract_570" xlink:to="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_570" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesScheduleOfActivityInAllowanceForLoanLossesByLoanCategoryDetails" xlink:title="00000051 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of Activity in the Allowance for Loan Losses by Loan Category) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaapConstructionLoansMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConstructionLoansMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaapUnallocatedFinancingReceivablesMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapUnallocatedFinancingReceivablesMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLosses_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLosses_170" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesWriteOffs_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesWriteOffs_170" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRecovery_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRecovery_170" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaapProvisionForLoanLeaseAndOtherLosses_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesRollForward_170" xlink:to="loc_us-gaapProvisionForLoanLeaseAndOtherLosses_170" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-lrnarafllsoablcd" xlink:title="00000052 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Schedule of ALL by Loan Category) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="loc_mgyrResidential1To4FamilyRealEstateMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrResidential1To4FamilyRealEstateMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="loc_us-gaapCommercialRealEstateMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialRealEstateMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="loc_us-gaapConstructionLoansMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapConstructionLoansMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="loc_us-gaapHomeEquityMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapHomeEquityMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="loc_us-gaapCommercialLoanMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapCommercialLoanMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="loc_mgyrFinancingReceivableOtherMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_mgyrFinancingReceivableOtherMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="loc_us-gaapUnallocatedFinancingReceivablesMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="loc_us-gaapUnallocatedFinancingReceivablesMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaapLoansAndLeasesReceivableAllowance_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapLoansAndLeasesReceivableAllowance_170" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_170" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapFinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_170" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapLoansAndLeasesReceivableGrossCarryingAmount_170" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableIndividuallyEvaluatedForImpairment_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapFinancingReceivableIndividuallyEvaluatedForImpairment_170" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaapFinancingReceivableCollectivelyEvaluatedForImpairment_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_170" xlink:to="loc_us-gaapFinancingReceivableCollectivelyEvaluatedForImpairment_170" xlink:type="arc" order="6" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/LoansReceivableNetAndRelatedAllowanceForLoanLossesNarrativeDetails" xlink:title="00000053 - Disclosure - LOANS RECEIVABLE, NET AND RELATED ALLOWANCE FOR LOAN LOSSES (Narrative) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/mgyr-dsodbtoad" xlink:title="00000054 - Disclosure - DEPOSITS (Schedule of Deposits by Type of Account) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/IncomeTaxesScheduleOfReconciliationOfIncomeTaxDetails" xlink:title="00000055 - Disclosure - INCOME TAXES (Schedule of Reconciliation of Income Tax) (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://magbank.com/role/FinancialInstrumentsWithOff-balanceSheetRiskScheduleOfFinancialInstrumentsWhoseContractAmountsRepresentingCreditRiskDetails" xlink:title="00000056 - Disclosure - FINANCIAL INSTRUMENTS WITH OFF-BALANCE SHEET RISK (Schedule of Financial Instruments Whose Contract Amounts Representing Credit Risk) (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:label="loc_us-gaapFairValueOffBalanceSheetRisksDisclosureInformationLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="loc_us-gaapScheduleOfFairValueOffBalanceSheetRisksTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:to="loc_us-gaapScheduleOfFairValueOffBalanceSheetRisksTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaapFinancialInstrumentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfFairValueOffBalanceSheetRisksTable" xlink:to="loc_us-gaapFinancialInstrumentAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFinancialInstrumentAxis" xlink:to="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFinancialInstrumentAxis" xlink:to="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="loc_us-gaapStandbyLettersOfCreditMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="loc_us-gaapStandbyLettersOfCreditMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_UnusedLinesOfCreditMember" xlink:label="loc_us-gaapUnusedLinesOfCreditMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="loc_us-gaapUnusedLinesOfCreditMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LoanOriginationCommitmentsMember" xlink:label="loc_us-gaapLoanOriginationCommitmentsMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="loc_us-gaapLoanOriginationCommitmentsMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_LoanOriginationCommitments1Member" xlink:label="loc_mgyrLoanOriginationCommitments1Member_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapTransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="loc_mgyrLoanOriginationCommitments1Member_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="mgyr-20161231.xsd#mgyr_FinancialInstrumentsContractAmounts" xlink:label="loc_mgyrFinancialInstrumentsContractAmounts_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:to="loc_mgyrFinancialInstrumentsContractAmounts_110" xlink:type="arc" order="0" />
    </link:definitionLink>
</link:linkbase>
