<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!--Created by Computershare, Powered by IRIS Carbon-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-daei" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-daei" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-csocise" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-csocise" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-STOCK-BASEDCOMPENSATIONNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-STOCK-BASEDCOMPENSATIONNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-ORGANIZATIONNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-ORGANIZATIONNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-ACCRUEDINTERESTRECEIVABLEDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-ACCRUEDINTERESTRECEIVABLEDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-PREMISESANDEQUIPMENTNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-PREMISESANDEQUIPMENTNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-PREMISESANDEQUIPMENTScheduleofPremisesandEquipmentDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-PREMISESANDEQUIPMENTScheduleofPremisesandEquipmentDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-PENSIONPLANNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-PENSIONPLANNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-PENSIONPLANScheduleofPensionPlanWeighted-AverageAssetAllocationsDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-PENSIONPLANScheduleofPensionPlanWeighted-AverageAssetAllocationsDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-PENSIONPLANScheduleofFairValueMeasurementsofPlanAssetsDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-PENSIONPLANScheduleofFairValueMeasurementsofPlanAssetsDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsotdrd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsotdrd" />
  <link:roleRef roleURI="http://www.magbank.com/role/RegulatoryCapitalDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#RegulatoryCapitalDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-INCOMETAXESNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-INCOMETAXESNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/Disclosure-FAIRVALUEDISCLOSURESNarrativeDetails" xlink:type="simple" xlink:href="mgyr-20150630.xsd#Disclosure-FAIRVALUEDISCLOSURESNarrativeDetails" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-sbcasrpnd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-sbcasrpnd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fvdsoamafvoarbd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fvdsoamafvoarbd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fvdsoamafvoanrbd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fvdsoamafvoanrbd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fvdsoaqiaamafvd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fvdsoaqiaamafvd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fvdsotcafvapitfvhofid" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fvdsotcafvapitfvhofid" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-issoacafvosafsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-issoacafvosafsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-issomodsambshtmd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-issomodsambshtmd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-ioissogulafvfbafsahtmsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-ioissogulafvfbafsahtmsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsolrnd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsolrnd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoilbcd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoilbcd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoariiild" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoariiild" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsocotlpsbbirrsd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbacd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsocotlpsbacd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoaitafllblcd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoaitafllblcd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-lrnarafllsoablcd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-lrnarafllsoablcd" />
  <link:roleRef roleURI="http://www.magbank.com/role/mgyr-fiwobsrsofiwcarcrd" xlink:type="simple" xlink:href="mgyr-20150630.xsd#mgyr-fiwobsrsofiwcarcrd" />
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-daei">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis" xlink:title="dei_LegalEntityAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="dei_LegalEntityAxis" xlink:title="Definition : us-gaap_StatementTable to dei_LegalEntityAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_1" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_1" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsidiariesMember" xlink:label="us-gaap_SubsidiariesMember" xlink:title="us-gaap_SubsidiariesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="us-gaap_SubsidiariesMember" xlink:title="Definition : dei_EntityDomain to us-gaap_SubsidiariesMember" xlink:type="arc" order="31" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-csocise">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:title="us-gaap_StatementEquityComponentsAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain" xlink:title="us-gaap_EquityComponentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" xlink:title="Definition : us-gaap_StatementEquityComponentsAxis to us-gaap_EquityComponentDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockMember" xlink:label="us-gaap_CommonStockMember" xlink:title="us-gaap_CommonStockMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_CommonStockMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_CommonStockMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:title="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain_1" xlink:title="us-gaap_EquityComponentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain_1" xlink:title="Definition : us-gaap_StatementEquityComponentsAxis to us-gaap_EquityComponentDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:title="us-gaap_AdditionalPaidInCapitalMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_AdditionalPaidInCapitalMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_AdditionalPaidInCapitalMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="us-gaap_SharesOutstanding" xlink:title="us-gaap_SharesOutstanding" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_SharesOutstanding" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="us-gaap_TreasuryStockMember" xlink:title="us-gaap_TreasuryStockMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_TreasuryStockMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_TreasuryStockMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="us-gaap_ProfitLoss" xlink:title="us-gaap_ProfitLoss" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_ProfitLoss" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_UnearnedEsopSharesMember" xlink:label="mgyr_UnearnedEsopSharesMember" xlink:title="mgyr_UnearnedEsopSharesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="mgyr_UnearnedEsopSharesMember" xlink:title="Definition : us-gaap_EquityComponentDomain to mgyr_UnearnedEsopSharesMember" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:title="us-gaap_OtherComprehensiveIncomeLossNetOfTax" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="us-gaap_RetainedEarningsMember" xlink:title="us-gaap_RetainedEarningsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_RetainedEarningsMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_RetainedEarningsMember" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" xlink:label="us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" xlink:title="us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockIssuedDuringPeriodValueEmployeeStockOwnershipPlan" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_StatementEquityComponentsAxis" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:title="us-gaap_AccumulatedOtherComprehensiveIncomeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:type="arc" order="60" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:title="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:type="arc" order="60" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="170" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:title="us-gaap_TreasuryStockValueAcquiredCostMethod" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:type="arc" order="8000" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:label="us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:title="us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures" xlink:type="arc" order="8020" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:label="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:title="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures" xlink:type="arc" order="8030" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-STOCK-BASEDCOMPENSATIONNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain" xlink:title="us-gaap_ShareRepurchaseProgramDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ShareRepurchaseFirstProgramMember" xlink:label="mgyr_ShareRepurchaseFirstProgramMember" xlink:title="mgyr_ShareRepurchaseFirstProgramMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="mgyr_ShareRepurchaseFirstProgramMember" xlink:title="Definition : us-gaap_ShareRepurchaseProgramDomain to mgyr_ShareRepurchaseFirstProgramMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="us-gaap_ShareRepurchaseProgramAxis" xlink:title="us-gaap_ShareRepurchaseProgramAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_ShareRepurchaseProgramAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_ShareRepurchaseProgramAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="20" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain" xlink:title="Definition : us-gaap_ShareRepurchaseProgramAxis to us-gaap_ShareRepurchaseProgramDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ShareRepurchaseSecondProgramMember" xlink:label="mgyr_ShareRepurchaseSecondProgramMember" xlink:title="mgyr_ShareRepurchaseSecondProgramMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="mgyr_ShareRepurchaseSecondProgramMember" xlink:title="Definition : us-gaap_ShareRepurchaseProgramDomain to mgyr_ShareRepurchaseSecondProgramMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain_1" xlink:title="us-gaap_ShareRepurchaseProgramDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain_1" xlink:title="Definition : us-gaap_ShareRepurchaseProgramAxis to us-gaap_ShareRepurchaseProgramDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-ORGANIZATIONNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:title="us-gaap_EquityMethodInvestmentOwnershipPercentage" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain" xlink:title="dei_EntityDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Subsidiaries3Member" xlink:label="mgyr_Subsidiaries3Member" xlink:title="mgyr_Subsidiaries3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="mgyr_Subsidiaries3Member" xlink:title="Definition : dei_EntityDomain to mgyr_Subsidiaries3Member" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_OwnershipOfMaygarBancorpPercentage" xlink:label="mgyr_OwnershipOfMaygarBancorpPercentage" xlink:title="mgyr_OwnershipOfMaygarBancorpPercentage" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_OwnershipOfMaygarBancorpPercentage" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_OwnershipOfMaygarBancorpPercentage" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis" xlink:title="dei_LegalEntityAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="dei_LegalEntityAxis" xlink:title="Definition : us-gaap_StatementTable to dei_LegalEntityAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:title="us-gaap_StatementEquityComponentsAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_StatementEquityComponentsAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain" xlink:title="us-gaap_EquityComponentDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="us-gaap_TreasuryStockMember" xlink:title="us-gaap_TreasuryStockMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_TreasuryStockMember" xlink:title="Definition : us-gaap_EquityComponentDomain to us-gaap_TreasuryStockMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" xlink:title="Definition : us-gaap_StatementEquityComponentsAxis to us-gaap_EquityComponentDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsidiariesMember" xlink:label="us-gaap_SubsidiariesMember" xlink:title="us-gaap_SubsidiariesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="us-gaap_SubsidiariesMember" xlink:title="Definition : dei_EntityDomain to us-gaap_SubsidiariesMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_1" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_1" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="us-gaap_EquityComponentDomain_1" xlink:title="us-gaap_EquityComponentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain_1" xlink:title="Definition : us-gaap_StatementEquityComponentsAxis to us-gaap_EquityComponentDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Subsidiaries2Member" xlink:label="mgyr_Subsidiaries2Member" xlink:title="mgyr_Subsidiaries2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="mgyr_Subsidiaries2Member" xlink:title="Definition : dei_EntityDomain to mgyr_Subsidiaries2Member" xlink:type="arc" order="31" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-ACCRUEDINTERESTRECEIVABLEDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="us-gaap_ReceivableTypeDomain" xlink:title="us-gaap_ReceivableTypeDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansReceivableMember" xlink:label="us-gaap_LoansReceivableMember" xlink:title="us-gaap_LoansReceivableMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ReceivableTypeDomain" xlink:to="us-gaap_LoansReceivableMember" xlink:title="Definition : us-gaap_ReceivableTypeDomain to us-gaap_LoansReceivableMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:label="us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:title="us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="us-gaap_CorporateDebtSecuritiesMember" xlink:title="us-gaap_CorporateDebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ReceivableTypeDomain" xlink:to="us-gaap_CorporateDebtSecuritiesMember" xlink:title="Definition : us-gaap_ReceivableTypeDomain to us-gaap_CorporateDebtSecuritiesMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:to="us-gaap_ReceivableTypeDomain" xlink:title="Definition : us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis to us-gaap_ReceivableTypeDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="us-gaap_AssetBackedSecuritiesMember" xlink:title="us-gaap_AssetBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ReceivableTypeDomain" xlink:to="us-gaap_AssetBackedSecuritiesMember" xlink:title="Definition : us-gaap_ReceivableTypeDomain to us-gaap_AssetBackedSecuritiesMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReceivableTypeDomain" xlink:label="us-gaap_ReceivableTypeDomain_1" xlink:title="us-gaap_ReceivableTypeDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis" xlink:to="us-gaap_ReceivableTypeDomain_1" xlink:title="Definition : us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis to us-gaap_ReceivableTypeDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-PREMISESANDEQUIPMENTNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepreciationNonproduction" xlink:label="us-gaap_DepreciationNonproduction" xlink:title="us-gaap_DepreciationNonproduction" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DepreciationNonproduction" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DepreciationNonproduction" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis" xlink:title="dei_LegalEntityAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="dei_LegalEntityAxis" xlink:title="Definition : us-gaap_StatementTable to dei_LegalEntityAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:title="us-gaap_PropertyPlantAndEquipmentByTypeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:title="us-gaap_PropertyPlantAndEquipmentTypeDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentByTypeAxis to us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Subsidiaries3Member" xlink:label="mgyr_Subsidiaries3Member" xlink:title="mgyr_Subsidiaries3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="mgyr_Subsidiaries3Member" xlink:title="Definition : dei_EntityDomain to mgyr_Subsidiaries3Member" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LandMember" xlink:label="us-gaap_LandMember" xlink:title="us-gaap_LandMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_LandMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_LandMember" xlink:type="arc" order="22" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_1" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_1" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_1" xlink:title="us-gaap_PropertyPlantAndEquipmentTypeDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_1" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentByTypeAxis to us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:title="us-gaap_BuildingAndBuildingImprovementsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_BuildingAndBuildingImprovementsMember" xlink:type="arc" order="32" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="us-gaap_FurnitureAndFixturesMember" xlink:title="us-gaap_FurnitureAndFixturesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_FurnitureAndFixturesMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_FurnitureAndFixturesMember" xlink:type="arc" order="42" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-PREMISESANDEQUIPMENTScheduleofPremisesandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:title="us-gaap_PropertyPlantAndEquipmentGross" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_PropertyPlantAndEquipmentGross" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:title="us-gaap_PropertyPlantAndEquipmentTypeDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LandMember" xlink:label="us-gaap_LandMember" xlink:title="us-gaap_LandMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_LandMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_LandMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:title="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:title="us-gaap_PropertyPlantAndEquipmentByTypeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis" xlink:title="us-gaap_RangeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_RangeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_RangeAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:title="us-gaap_PropertyPlantAndEquipmentUsefulLife" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:title="us-gaap_BuildingAndBuildingImprovementsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_BuildingAndBuildingImprovementsMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentByTypeAxis to us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember" xlink:title="us-gaap_RangeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="us-gaap_FurnitureAndFixturesMember" xlink:title="us-gaap_FurnitureAndFixturesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_FurnitureAndFixturesMember" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentTypeDomain to us-gaap_FurnitureAndFixturesMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_1" xlink:title="us-gaap_PropertyPlantAndEquipmentTypeDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_1" xlink:title="Definition : us-gaap_PropertyPlantAndEquipmentByTypeAxis to us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember_1" xlink:title="us-gaap_RangeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_1" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember" xlink:title="us-gaap_MinimumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MinimumMember" xlink:type="arc" order="82" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember" xlink:title="us-gaap_MaximumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MaximumMember" xlink:type="arc" order="92" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-PENSIONPLANNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_DefinedBenefitPlanInvestmentGoalsEquity" xlink:label="mgyr_DefinedBenefitPlanInvestmentGoalsEquity" xlink:title="mgyr_DefinedBenefitPlanInvestmentGoalsEquity" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_DefinedBenefitPlanInvestmentGoalsEquity" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_DefinedBenefitPlanInvestmentGoalsEquity" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember" xlink:title="us-gaap_RangeMember" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember" xlink:title="us-gaap_MinimumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MinimumMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_DefinedBenefitPlanInvestmentGoalsDebt" xlink:label="mgyr_DefinedBenefitPlanInvestmentGoalsDebt" xlink:title="mgyr_DefinedBenefitPlanInvestmentGoalsDebt" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_DefinedBenefitPlanInvestmentGoalsDebt" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_DefinedBenefitPlanInvestmentGoalsDebt" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis" xlink:title="us-gaap_RangeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_RangeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_RangeAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_DefinedBenefitPlanInvestmentGoalsGuidelines" xlink:label="mgyr_DefinedBenefitPlanInvestmentGoalsGuidelines" xlink:title="mgyr_DefinedBenefitPlanInvestmentGoalsGuidelines" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_DefinedBenefitPlanInvestmentGoalsGuidelines" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_DefinedBenefitPlanInvestmentGoalsGuidelines" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentAxis" xlink:label="invest_InvestmentAxis" xlink:title="invest_InvestmentAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="invest_InvestmentAxis" xlink:title="Definition : us-gaap_StatementTable to invest_InvestmentAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:title="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:title="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:label="us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:title="us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:type="arc" order="5" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:label="us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:title="us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlansEstimatedFutureEmployerContributionsInNextFiscalYear" xlink:type="arc" order="6" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax" xlink:label="us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax" xlink:title="us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax" xlink:type="arc" order="7" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesTax" xlink:label="mgyr_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesTax" xlink:title="mgyr_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesTax" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesTax" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesTax" xlink:type="arc" order="8" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:label="us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:title="us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanFutureAmortizationOfGainLoss" xlink:type="arc" order="9" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember" xlink:title="us-gaap_MaximumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MaximumMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="invest_InvestmentDomain" xlink:title="invest_InvestmentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="invest_InvestmentAxis" xlink:to="invest_InvestmentDomain" xlink:title="Definition : invest_InvestmentAxis to invest_InvestmentDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="us-gaap_EquitySecuritiesMember" xlink:title="us-gaap_EquitySecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_EquitySecuritiesMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_EquitySecuritiesMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember_1" xlink:title="us-gaap_RangeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_1" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="invest_InvestmentDomain_1" xlink:title="invest_InvestmentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="invest_InvestmentAxis" xlink:to="invest_InvestmentDomain_1" xlink:title="Definition : invest_InvestmentAxis to invest_InvestmentDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FixedIncomeSecuritiesMember" xlink:label="us-gaap_FixedIncomeSecuritiesMember" xlink:title="us-gaap_FixedIncomeSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_FixedIncomeSecuritiesMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_FixedIncomeSecuritiesMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="us-gaap_DebtSecuritiesMember" xlink:title="us-gaap_DebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_DebtSecuritiesMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_DebtSecuritiesMember" xlink:type="arc" order="51" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-PENSIONPLANScheduleofPensionPlanWeighted-AverageAssetAllocationsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" xlink:label="us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" xlink:title="us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="us-gaap_PlanAssetCategoriesDomain" xlink:title="us-gaap_PlanAssetCategoriesDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="us-gaap_DebtSecuritiesMember" xlink:title="us-gaap_DebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanAssetCategoriesDomain" xlink:to="us-gaap_DebtSecuritiesMember" xlink:title="Definition : us-gaap_PlanAssetCategoriesDomain to us-gaap_DebtSecuritiesMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:title="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="us-gaap_EquitySecuritiesMember" xlink:title="us-gaap_EquitySecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanAssetCategoriesDomain" xlink:to="us-gaap_EquitySecuritiesMember" xlink:title="Definition : us-gaap_PlanAssetCategoriesDomain to us-gaap_EquitySecuritiesMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:to="us-gaap_PlanAssetCategoriesDomain" xlink:title="Definition : us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis to us-gaap_PlanAssetCategoriesDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="us-gaap_MoneyMarketFundsMember" xlink:title="us-gaap_MoneyMarketFundsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanAssetCategoriesDomain" xlink:to="us-gaap_MoneyMarketFundsMember" xlink:title="Definition : us-gaap_PlanAssetCategoriesDomain to us-gaap_MoneyMarketFundsMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="us-gaap_PlanAssetCategoriesDomain_1" xlink:title="us-gaap_PlanAssetCategoriesDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:to="us-gaap_PlanAssetCategoriesDomain_1" xlink:title="Definition : us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis to us-gaap_PlanAssetCategoriesDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-PENSIONPLANScheduleofFairValueMeasurementsofPlanAssetsDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="us-gaap_FairValueByMeasurementFrequencyAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="us-gaap_FairValueByFairValueHierarchyLevelAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentAxis" xlink:label="invest_InvestmentAxis" xlink:title="invest_InvestmentAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="invest_InvestmentDomain" xlink:title="invest_InvestmentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="invest_InvestmentAxis" xlink:to="invest_InvestmentDomain" xlink:title="Definition : invest_InvestmentAxis to invest_InvestmentDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="us-gaap_FairValueMeasurementsRecurringMember" xlink:title="us-gaap_FairValueMeasurementsRecurringMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="us-gaap_FairValueMeasurementsRecurringMember" xlink:title="Definition : us-gaap_FairValueMeasurementFrequencyDomain to us-gaap_FairValueMeasurementsRecurringMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashEquivalentsMember" xlink:label="us-gaap_CashEquivalentsMember" xlink:title="us-gaap_CashEquivalentsMember" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="us-gaap_MoneyMarketFundsMember" xlink:title="us-gaap_MoneyMarketFundsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CashEquivalentsMember" xlink:to="us-gaap_MoneyMarketFundsMember" xlink:title="Definition : us-gaap_CashEquivalentsMember to us-gaap_MoneyMarketFundsMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="us-gaap_EquitySecuritiesMember" xlink:title="us-gaap_EquitySecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_EquitySecuritiesMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_EquitySecuritiesMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_LargeCapValueMember" xlink:label="mgyr_LargeCapValueMember" xlink:title="mgyr_LargeCapValueMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="mgyr_LargeCapValueMember" xlink:title="Definition : us-gaap_EquitySecuritiesMember to mgyr_LargeCapValueMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FixedIncomeSecuritiesMember" xlink:label="us-gaap_FixedIncomeSecuritiesMember" xlink:title="us-gaap_FixedIncomeSecuritiesMember" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_IntermediateTermCoreMember" xlink:label="mgyr_IntermediateTermCoreMember" xlink:title="mgyr_IntermediateTermCoreMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FixedIncomeSecuritiesMember" xlink:to="mgyr_IntermediateTermCoreMember" xlink:title="Definition : us-gaap_FixedIncomeSecuritiesMember to mgyr_IntermediateTermCoreMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByMeasurementFrequencyAxis" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentDomain" xlink:label="invest_InvestmentDomain_1" xlink:title="invest_InvestmentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="invest_InvestmentAxis" xlink:to="invest_InvestmentDomain_1" xlink:title="Definition : invest_InvestmentAxis to invest_InvestmentDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:title="us-gaap_FairValueInputsLevel1Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel1Member" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_FixedIncomeSecuritiesMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_FixedIncomeSecuritiesMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_LargeCapCoreMember" xlink:label="mgyr_LargeCapCoreMember" xlink:title="mgyr_LargeCapCoreMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="mgyr_LargeCapCoreMember" xlink:title="Definition : us-gaap_EquitySecuritiesMember to mgyr_LargeCapCoreMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:title="us-gaap_FairValueInputsLevel2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel2Member" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentDomain" xlink:to="us-gaap_CashEquivalentsMember" xlink:title="Definition : invest_InvestmentDomain to us-gaap_CashEquivalentsMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_MidCapCoreMember" xlink:label="mgyr_MidCapCoreMember" xlink:title="mgyr_MidCapCoreMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="mgyr_MidCapCoreMember" xlink:title="Definition : us-gaap_EquitySecuritiesMember to mgyr_MidCapCoreMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:title="us-gaap_FairValueInputsLevel3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel3Member" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_SmallCapCoreMember" xlink:label="mgyr_SmallCapCoreMember" xlink:title="mgyr_SmallCapCoreMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="mgyr_SmallCapCoreMember" xlink:title="Definition : us-gaap_EquitySecuritiesMember to mgyr_SmallCapCoreMember" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_NonUSCoreMember" xlink:label="mgyr_NonUSCoreMember" xlink:title="mgyr_NonUSCoreMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquitySecuritiesMember" xlink:to="mgyr_NonUSCoreMember" xlink:title="Definition : us-gaap_EquitySecuritiesMember to mgyr_NonUSCoreMember" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Investments" xlink:label="us-gaap_Investments" xlink:title="us-gaap_Investments" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_Investments" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_Investments" xlink:type="arc" order="120" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="130" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="invest_InvestmentAxis" xlink:title="Definition : us-gaap_StatementTable to invest_InvestmentAxis" xlink:type="arc" order="200" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsotdrd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableModificationsLineItems" xlink:label="us-gaap_FinancingReceivableModificationsLineItems" xlink:title="us-gaap_FinancingReceivableModificationsLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_NumberOfLoans" xlink:label="mgyr_NumberOfLoans" xlink:title="mgyr_NumberOfLoans" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableModificationsLineItems" xlink:to="mgyr_NumberOfLoans" xlink:title="Definition : us-gaap_FinancingReceivableModificationsLineItems to mgyr_NumberOfLoans" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_InvestmentBeforeTdrModification" xlink:label="mgyr_InvestmentBeforeTdrModification" xlink:title="mgyr_InvestmentBeforeTdrModification" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableModificationsLineItems" xlink:to="mgyr_InvestmentBeforeTdrModification" xlink:title="Definition : us-gaap_FinancingReceivableModificationsLineItems to mgyr_InvestmentBeforeTdrModification" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:label="us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:title="us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_InvestmentAfterTdrModification" xlink:label="mgyr_InvestmentAfterTdrModification" xlink:title="mgyr_InvestmentAfterTdrModification" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableModificationsLineItems" xlink:to="mgyr_InvestmentAfterTdrModification" xlink:title="Definition : us-gaap_FinancingReceivableModificationsLineItems to mgyr_InvestmentAfterTdrModification" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="us-gaap_StatementScenarioAxis" xlink:title="us-gaap_StatementScenarioAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:to="us-gaap_StatementScenarioAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable to us-gaap_StatementScenarioAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableModificationsLineItems" xlink:to="us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:title="Definition : us-gaap_FinancingReceivableModificationsLineItems to us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:title="us-gaap_ScenarioUnspecifiedDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" xlink:title="Definition : us-gaap_StatementScenarioAxis to us-gaap_ScenarioUnspecifiedDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="us-gaap_ScenarioUnspecifiedDomain_1" xlink:title="us-gaap_ScenarioUnspecifiedDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_1" xlink:title="Definition : us-gaap_StatementScenarioAxis to us-gaap_ScenarioUnspecifiedDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/RegulatoryCapitalDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalAbstract" xlink:label="us-gaap_CapitalAbstract" xlink:title="us-gaap_CapitalAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalAbstract" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalAbstract" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain" xlink:title="dei_EntityDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ParentMember" xlink:label="us-gaap_ParentMember" xlink:title="us-gaap_ParentMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="us-gaap_ParentMember" xlink:title="Definition : dei_EntityDomain to us-gaap_ParentMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Capital" xlink:label="us-gaap_Capital" xlink:title="us-gaap_Capital" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_Capital" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_Capital" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis" xlink:title="dei_LegalEntityAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="dei_LegalEntityAxis" xlink:title="Definition : us-gaap_StatementTable to dei_LegalEntityAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalToRiskWeightedAssets" xlink:label="us-gaap_CapitalToRiskWeightedAssets" xlink:title="us-gaap_CapitalToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalToRiskWeightedAssets" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalToRiskWeightedAssets" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalRequiredForCapitalAdequacy" xlink:label="us-gaap_CapitalRequiredForCapitalAdequacy" xlink:title="us-gaap_CapitalRequiredForCapitalAdequacy" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalRequiredForCapitalAdequacy" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalRequiredForCapitalAdequacy" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:label="us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:title="us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalRequiredToBeWellCapitalized" xlink:label="us-gaap_CapitalRequiredToBeWellCapitalized" xlink:title="us-gaap_CapitalRequiredToBeWellCapitalized" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalRequiredToBeWellCapitalized" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalRequiredToBeWellCapitalized" xlink:type="arc" order="5" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:label="us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:title="us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:type="arc" order="6" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:label="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:title="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:type="arc" order="7" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapital" xlink:label="us-gaap_TierOneRiskBasedCapital" xlink:title="us-gaap_TierOneRiskBasedCapital" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapital" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapital" xlink:type="arc" order="8" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:label="us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:title="us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:type="arc" order="9" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:label="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:title="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Subsidiaries2Member" xlink:label="mgyr_Subsidiaries2Member" xlink:title="mgyr_Subsidiaries2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="mgyr_Subsidiaries2Member" xlink:title="Definition : dei_EntityDomain to mgyr_Subsidiaries2Member" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:label="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:title="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized" xlink:label="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized" xlink:title="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized" xlink:type="arc" order="12" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:label="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:title="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets" xlink:type="arc" order="13" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Tier1LeverageCapitalToAverageAssetsAbstract" xlink:label="mgyr_Tier1LeverageCapitalToAverageAssetsAbstract" xlink:title="mgyr_Tier1LeverageCapitalToAverageAssetsAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="mgyr_Tier1LeverageCapitalToAverageAssetsAbstract" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to mgyr_Tier1LeverageCapitalToAverageAssetsAbstract" xlink:type="arc" order="14" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapital" xlink:label="us-gaap_TierOneLeverageCapital" xlink:title="us-gaap_TierOneLeverageCapital" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapital" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapital" xlink:type="arc" order="15" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:label="us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:title="us-gaap_TierOneLeverageCapitalToAverageAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:type="arc" order="16" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:label="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:title="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:type="arc" order="17" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:label="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:title="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:type="arc" order="18" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized" xlink:label="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized" xlink:title="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized" xlink:type="arc" order="19" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets" xlink:label="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets" xlink:title="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_Tier1CapitalToRiskweightedAssetsAbstract" xlink:to="us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets" xlink:title="Definition : mgyr_Tier1CapitalToRiskweightedAssetsAbstract to us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_1" xlink:title="dei_EntityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_1" xlink:title="Definition : dei_LegalEntityAxis to dei_EntityDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-INCOMETAXESNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:title="us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="us-gaap_IncomeTaxAuthorityDomain" xlink:title="us-gaap_IncomeTaxAuthorityDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="us-gaap_InternalRevenueServiceIRSMember" xlink:title="us-gaap_InternalRevenueServiceIRSMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxAuthorityDomain" xlink:to="us-gaap_InternalRevenueServiceIRSMember" xlink:title="Definition : us-gaap_IncomeTaxAuthorityDomain to us-gaap_InternalRevenueServiceIRSMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="us-gaap_OperatingLossCarryforwards" xlink:title="us-gaap_OperatingLossCarryforwards" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OperatingLossCarryforwards" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_OperatingLossCarryforwards" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="us-gaap_IncomeTaxAuthorityAxis" xlink:title="us-gaap_IncomeTaxAuthorityAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_IncomeTaxAuthorityAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_IncomeTaxAuthorityAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:label="us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:title="us-gaap_OperatingLossCarryforwardsExpirationDate" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingLossCarryforwardsValuationAllowance" xlink:label="us-gaap_OperatingLossCarryforwardsValuationAllowance" xlink:title="us-gaap_OperatingLossCarryforwardsValuationAllowance" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OperatingLossCarryforwardsValuationAllowance" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_OperatingLossCarryforwardsValuationAllowance" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_TaxLossReservesBaseYearAmount" xlink:label="mgyr_TaxLossReservesBaseYearAmount" xlink:title="mgyr_TaxLossReservesBaseYearAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_TaxLossReservesBaseYearAmount" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_TaxLossReservesBaseYearAmount" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="us-gaap_StateAndLocalJurisdictionMember" xlink:title="us-gaap_StateAndLocalJurisdictionMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxAuthorityDomain" xlink:to="us-gaap_StateAndLocalJurisdictionMember" xlink:title="Definition : us-gaap_IncomeTaxAuthorityDomain to us-gaap_StateAndLocalJurisdictionMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_IncomeTaxAuthorityAxis" xlink:to="us-gaap_IncomeTaxAuthorityDomain" xlink:title="Definition : us-gaap_IncomeTaxAuthorityAxis to us-gaap_IncomeTaxAuthorityDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="us-gaap_IncomeTaxAuthorityDomain_1" xlink:title="us-gaap_IncomeTaxAuthorityDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_IncomeTaxAuthorityAxis" xlink:to="us-gaap_IncomeTaxAuthorityDomain_1" xlink:title="Definition : us-gaap_IncomeTaxAuthorityAxis to us-gaap_IncomeTaxAuthorityDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/Disclosure-FAIRVALUEDISCLOSURESNarrativeDetails">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_NumberOfImpairedLoans" xlink:label="mgyr_NumberOfImpairedLoans" xlink:title="mgyr_NumberOfImpairedLoans" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_NumberOfImpairedLoans" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_NumberOfImpairedLoans" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ImpairedLoansMember" xlink:label="mgyr_ImpairedLoansMember" xlink:title="mgyr_ImpairedLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_ImpairedLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_ImpairedLoansMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivablesImpairedLoansWriteDownCumulative" xlink:label="mgyr_FinancingReceivablesImpairedLoansWriteDownCumulative" xlink:title="mgyr_FinancingReceivablesImpairedLoansWriteDownCumulative" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_FinancingReceivablesImpairedLoansWriteDownCumulative" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_FinancingReceivablesImpairedLoansWriteDownCumulative" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-sbcasrpnd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="us-gaap_ShareRepurchaseProgramAxis" xlink:title="us-gaap_ShareRepurchaseProgramAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain" xlink:title="us-gaap_ShareRepurchaseProgramDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain" xlink:title="Definition : us-gaap_ShareRepurchaseProgramAxis to us-gaap_ShareRepurchaseProgramDomain" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="us-gaap_ShareRepurchaseProgramDomain_1" xlink:title="us-gaap_ShareRepurchaseProgramDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ShareRepurchaseProgramAxis" xlink:to="us-gaap_ShareRepurchaseProgramDomain_1" xlink:title="Definition : us-gaap_ShareRepurchaseProgramAxis to us-gaap_ShareRepurchaseProgramDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="us-gaap_AwardTypeAxis" xlink:title="us-gaap_AwardTypeAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:title="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:title="Definition : us-gaap_AwardTypeAxis to us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ShareRepurchaseFirstProgramMember" xlink:label="mgyr_ShareRepurchaseFirstProgramMember" xlink:title="mgyr_ShareRepurchaseFirstProgramMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="mgyr_ShareRepurchaseFirstProgramMember" xlink:title="Definition : us-gaap_ShareRepurchaseProgramDomain to mgyr_ShareRepurchaseFirstProgramMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:title="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:title="us-gaap_EmployeeStockOptionMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_EmployeeStockOptionMember" xlink:title="Definition : us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain to us-gaap_EmployeeStockOptionMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_ShareRepurchaseProgramAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_ShareRepurchaseProgramAxis" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1" xlink:title="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1" xlink:title="Definition : us-gaap_AwardTypeAxis to us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestrictedStockMember" xlink:label="us-gaap_RestrictedStockMember" xlink:title="us-gaap_RestrictedStockMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_RestrictedStockMember" xlink:title="Definition : us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain to us-gaap_RestrictedStockMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:title="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_AwardTypeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_AwardTypeAxis" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_TreasurySecurityTerm" xlink:label="mgyr_TreasurySecurityTerm" xlink:title="mgyr_TreasurySecurityTerm" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_TreasurySecurityTerm" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_TreasurySecurityTerm" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ShareRepurchaseSecondProgramMember" xlink:label="mgyr_ShareRepurchaseSecondProgramMember" xlink:title="mgyr_ShareRepurchaseSecondProgramMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareRepurchaseProgramDomain" xlink:to="mgyr_ShareRepurchaseSecondProgramMember" xlink:title="Definition : us-gaap_ShareRepurchaseProgramDomain to mgyr_ShareRepurchaseSecondProgramMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockOptionPlanExpense" xlink:label="us-gaap_StockOptionPlanExpense" xlink:title="us-gaap_StockOptionPlanExpense" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockOptionPlanExpense" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockOptionPlanExpense" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_MaximumPercentageStockRepurchaseAuthorisation" xlink:label="mgyr_MaximumPercentageStockRepurchaseAuthorisation" xlink:title="mgyr_MaximumPercentageStockRepurchaseAuthorisation" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_MaximumPercentageStockRepurchaseAuthorisation" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_MaximumPercentageStockRepurchaseAuthorisation" xlink:type="arc" order="60" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:title="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased" xlink:type="arc" order="70" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:title="us-gaap_TreasuryStockSharesAcquired" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_TreasuryStockSharesAcquired" xlink:type="arc" order="80" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" xlink:label="us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" xlink:title="us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased" xlink:type="arc" order="90" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:title="us-gaap_TreasuryStockAcquiredAverageCostPerShare" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:type="arc" order="100" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" xlink:label="mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" xlink:title="mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_EmployeeStockOwnershipPlanESOPValueInESOP" xlink:type="arc" order="110" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPWeightedAveragePurchasePriceOfSharesPurchased" xlink:type="arc" order="120" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPDebtStructureDirectLoanDescription" xlink:type="arc" order="130" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" xlink:label="mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" xlink:title="mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_InterestRateOfLoanWithRespectToEmployeeStockOwnershipPlan" xlink:type="arc" order="140" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPNumberOfAllocatedShares" xlink:type="arc" order="150" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPNumberOfSuspenseShares" xlink:type="arc" order="160" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPDeferredSharesFairValue" xlink:type="arc" order="170" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPCompensationExpense" xlink:type="arc" order="180" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:label="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:title="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_EmployeeStockOwnershipPlanESOPSharesInESOP" xlink:type="arc" order="190" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="200" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestrictedStockExpense" xlink:label="us-gaap_RestrictedStockExpense" xlink:title="us-gaap_RestrictedStockExpense" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_RestrictedStockExpense" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_RestrictedStockExpense" xlink:type="arc" use="optional" order="50" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fvdsoamafvoarbd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:title="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:label="mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:title="mgyr_FairValueMeasuredOnRecurringBasisAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:title="Definition : us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems to mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="us-gaap_FairValueMeasurementsRecurringMember" xlink:title="us-gaap_FairValueMeasurementsRecurringMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="us-gaap_FairValueMeasurementsRecurringMember" xlink:title="Definition : us-gaap_FairValueMeasurementFrequencyDomain to us-gaap_FairValueMeasurementsRecurringMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="us-gaap_AvailableForSaleSecurities" xlink:title="us-gaap_AvailableForSaleSecurities" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="mgyr_FairValueMeasuredOnRecurringBasisAbstract" xlink:to="us-gaap_AvailableForSaleSecurities" xlink:title="Definition : mgyr_FairValueMeasuredOnRecurringBasisAbstract to us-gaap_AvailableForSaleSecurities" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:title="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="us-gaap_FairValueByMeasurementFrequencyAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="Definition : us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable to us-gaap_FairValueByMeasurementFrequencyAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:title="us-gaap_FairValueInputsLevel2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel2Member" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="us-gaap_FairValueByFairValueHierarchyLevelAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="Definition : us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable to us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="Definition : us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable to us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:title="Definition : us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems to us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="13" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis to us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:type="arc" order="23" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis to us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:type="arc" order="33" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:type="arc" order="83" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:title="us-gaap_FairValueInputsLevel1Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel1Member" xlink:type="arc" use="optional" order="12" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:title="us-gaap_FairValueInputsLevel3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel3Member" xlink:type="arc" use="optional" order="22" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fvdsoamafvoanrbd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ImpairedLoansFairValueDisclosure" xlink:label="mgyr_ImpairedLoansFairValueDisclosure" xlink:title="mgyr_ImpairedLoansFairValueDisclosure" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_ImpairedLoansFairValueDisclosure" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_ImpairedLoansFairValueDisclosure" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="us-gaap_FairValueMeasurementsNonrecurringMember" xlink:title="us-gaap_FairValueMeasurementsNonrecurringMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="us-gaap_FairValueMeasurementsNonrecurringMember" xlink:title="Definition : us-gaap_FairValueMeasurementFrequencyDomain to us-gaap_FairValueMeasurementsNonrecurringMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:label="mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:title="mgyr_OtherRealEstateOwnedFairValueDisclosure" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_OtherRealEstateOwnedFairValueDisclosure" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="us-gaap_FairValueByMeasurementFrequencyAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByMeasurementFrequencyAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:title="us-gaap_EstimateOfFairValueFairValueDisclosureMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:title="us-gaap_AssetsFairValueDisclosureNonrecurring" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="us-gaap_FairValueByFairValueHierarchyLevelAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:title="us-gaap_FairValueInputsLevel3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel3Member" xlink:type="arc" order="12" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:title="us-gaap_FairValueInputsLevel1Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel1Member" xlink:type="arc" use="optional" order="22" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:title="us-gaap_FairValueInputsLevel2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel2Member" xlink:type="arc" use="optional" order="32" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fvdsoaqiaamafvd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:label="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:title="us-gaap_AssetsFairValueDisclosureNonrecurring" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_AssetsFairValueDisclosureNonrecurring" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:title="us-gaap_FairValueDisclosureItemAmountsDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_ImpairedLoansMember" xlink:label="mgyr_ImpairedLoansMember" xlink:title="mgyr_ImpairedLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:to="mgyr_ImpairedLoansMember" xlink:title="Definition : us-gaap_FairValueDisclosureItemAmountsDomain to mgyr_ImpairedLoansMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsValuationTechniques" xlink:label="us-gaap_FairValueMeasurementsValuationTechniques" xlink:title="us-gaap_FairValueMeasurementsValuationTechniques" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_FairValueMeasurementsValuationTechniques" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_FairValueMeasurementsValuationTechniques" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="us-gaap_FairValueByMeasurementBasisAxis" xlink:title="us-gaap_FairValueByMeasurementBasisAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByMeasurementBasisAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByMeasurementBasisAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="us-gaap_FairValueMeasurementsNonrecurringMember" xlink:title="us-gaap_FairValueMeasurementsNonrecurringMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="us-gaap_FairValueMeasurementsNonrecurringMember" xlink:title="Definition : us-gaap_FairValueMeasurementFrequencyDomain to us-gaap_FairValueMeasurementsNonrecurringMember" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FairValueAssumptionsAppraisalOfCollateral" xlink:label="mgyr_FairValueAssumptionsAppraisalOfCollateral" xlink:title="mgyr_FairValueAssumptionsAppraisalOfCollateral" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="mgyr_FairValueAssumptionsAppraisalOfCollateral" xlink:title="Definition : us-gaap_StatementLineItems to mgyr_FairValueAssumptionsAppraisalOfCollateral" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="us-gaap_FairValueByMeasurementFrequencyAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByMeasurementFrequencyAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="us-gaap_RangeAxis" xlink:title="us-gaap_RangeAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_RangeAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_RangeAxis" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_OtherRealEstateOwnedMember" xlink:label="mgyr_OtherRealEstateOwnedMember" xlink:title="mgyr_OtherRealEstateOwnedMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:to="mgyr_OtherRealEstateOwnedMember" xlink:title="Definition : us-gaap_FairValueDisclosureItemAmountsDomain to mgyr_OtherRealEstateOwnedMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementBasisAxis" xlink:to="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementBasisAxis to us-gaap_FairValueDisclosureItemAmountsDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember" xlink:title="us-gaap_RangeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="us-gaap_FairValueDisclosureItemAmountsDomain_1" xlink:title="us-gaap_FairValueDisclosureItemAmountsDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementBasisAxis" xlink:to="us-gaap_FairValueDisclosureItemAmountsDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementBasisAxis to us-gaap_FairValueDisclosureItemAmountsDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="us-gaap_FairValueMeasurementFrequencyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="us-gaap_FairValueMeasurementFrequencyDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementFrequencyAxis to us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="us-gaap_RangeMember_1" xlink:title="us-gaap_RangeMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_1" xlink:title="Definition : us-gaap_RangeAxis to us-gaap_RangeMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageMember" xlink:label="us-gaap_WeightedAverageMember" xlink:title="us-gaap_WeightedAverageMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_WeightedAverageMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_WeightedAverageMember" xlink:type="arc" order="42" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="us-gaap_MinimumMember" xlink:title="us-gaap_MinimumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MinimumMember" xlink:type="arc" order="52" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="us-gaap_MaximumMember" xlink:title="us-gaap_MaximumMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" xlink:title="Definition : us-gaap_RangeMember to us-gaap_MaximumMember" xlink:type="arc" order="62" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fvdsotcafvapitfvhofid">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:title="us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:title="us-gaap_FairValueDisclosureItemAmountsDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:title="us-gaap_CarryingReportedAmountFairValueDisclosureMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:to="us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:title="Definition : us-gaap_FairValueDisclosureItemAmountsDomain to us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:title="Definition : us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract to us-gaap_HeldToMaturitySecuritiesFairValue" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="us-gaap_FairValueByFairValueHierarchyLevelAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="us-gaap_LoansReceivableFairValueDisclosure" xlink:title="us-gaap_LoansReceivableFairValueDisclosure" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="us-gaap_LoansReceivableFairValueDisclosure" xlink:title="Definition : us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract to us-gaap_LoansReceivableFairValueDisclosure" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="us-gaap_FairValueByMeasurementBasisAxis" xlink:title="us-gaap_FairValueByMeasurementBasisAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FairValueByMeasurementBasisAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FairValueByMeasurementBasisAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:label="us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:title="us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" xlink:label="mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" xlink:title="mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" xlink:title="Definition : us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract to mgyr_InterestBearingDomesticDepositCertificatesOfDepositsFairValueDisclosure" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="us-gaap_DebtInstrumentFairValue" xlink:title="us-gaap_DebtInstrumentFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="us-gaap_DebtInstrumentFairValue" xlink:title="Definition : us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract to us-gaap_DebtInstrumentFairValue" xlink:type="arc" order="5" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:title="us-gaap_EstimateOfFairValueFairValueDisclosureMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:to="us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:title="Definition : us-gaap_FairValueDisclosureItemAmountsDomain to us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByMeasurementBasisAxis" xlink:to="us-gaap_FairValueDisclosureItemAmountsDomain" xlink:title="Definition : us-gaap_FairValueByMeasurementBasisAxis to us-gaap_FairValueDisclosureItemAmountsDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:title="us-gaap_FairValueInputsLevel2Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel2Member" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1" xlink:title="Definition : us-gaap_FairValueByFairValueHierarchyLevelAxis to us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="us-gaap_FairValueDisclosureItemAmountsDomain_1" xlink:title="us-gaap_FairValueDisclosureItemAmountsDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByMeasurementBasisAxis" xlink:to="us-gaap_FairValueDisclosureItemAmountsDomain_1" xlink:title="Definition : us-gaap_FairValueByMeasurementBasisAxis to us-gaap_FairValueDisclosureItemAmountsDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:title="us-gaap_FairValueInputsLevel3Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel3Member" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:title="us-gaap_FairValueInputsLevel1Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" xlink:title="Definition : us-gaap_FairValueMeasurementsFairValueHierarchyDomain to us-gaap_FairValueInputsLevel1Member" xlink:type="arc" use="optional" order="41" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-issoacafvosafsd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:title="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:title="us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:title="Definition : us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems to us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:type="arc" order="0" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:title="us-gaap_AvailableForSaleSecuritiesAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:to="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:title="Definition : us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems to us-gaap_AvailableForSaleSecuritiesAbstract" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:title="us-gaap_AvailableForSaleSecuritiesAmortizedCost" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAbstract to us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="Definition : us-gaap_ScheduleOfAvailableForSaleSecuritiesTable to us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" xlink:label="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" xlink:title="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAbstract to us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" xlink:label="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" xlink:title="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAbstract to us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="us-gaap_AvailableForSaleSecurities" xlink:title="us-gaap_AvailableForSaleSecurities" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAbstract" xlink:to="us-gaap_AvailableForSaleSecurities" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAbstract to us-gaap_AvailableForSaleSecurities" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis to us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:type="arc" order="8000" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:type="arc" order="8010" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:type="arc" order="8020" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:label="us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:title="us-gaap_USStatesAndPoliticalSubdivisionsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_USStatesAndPoliticalSubdivisionsMember" xlink:type="arc" order="8030" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateNoteSecuritiesMember" xlink:label="us-gaap_CorporateNoteSecuritiesMember" xlink:title="us-gaap_CorporateNoteSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_CorporateNoteSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_CorporateNoteSecuritiesMember" xlink:type="arc" order="8040" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-issomodsambshtmd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:label="us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:title="us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:label="us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:title="us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:to="us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:title="Definition : us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems to us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis to us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:label="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:title="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:title="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:to="us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:title="Definition : us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract to us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="Definition : us-gaap_ScheduleOfHeldToMaturitySecuritiesTable to us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:to="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:title="Definition : us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems to us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGains" xlink:label="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGains" xlink:title="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGains" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:to="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGains" xlink:title="Definition : us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract to us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingGains" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLosses" xlink:label="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLosses" xlink:title="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLosses" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:to="us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLosses" xlink:title="Definition : us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract to us-gaap_HeldToMaturitySecuritiesUnrecognizedHoldingLosses" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:title="us-gaap_HeldToMaturitySecuritiesFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract" xlink:to="us-gaap_HeldToMaturitySecuritiesFairValue" xlink:title="Definition : us-gaap_HeldToMaturitySecuritiesBalanceSheetReportedAmountsAbstract to us-gaap_HeldToMaturitySecuritiesFairValue" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateNoteSecuritiesMember" xlink:label="us-gaap_CorporateNoteSecuritiesMember" xlink:title="us-gaap_CorporateNoteSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_CorporateNoteSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_CorporateNoteSecuritiesMember" xlink:type="arc" order="8000" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:title="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:label="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:title="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:type="arc" order="8000" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:to="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:title="Definition : us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems to us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:type="arc" order="8000" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-ioissogulafvfbafsahtmsd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentLineItems" xlink:label="invest_InvestmentLineItems" xlink:title="invest_InvestmentLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTable" xlink:label="invest_InvestmentTable" xlink:title="invest_InvestmentTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="invest_InvestmentLineItems" xlink:to="invest_InvestmentTable" xlink:title="Definition : invest_InvestmentLineItems to invest_InvestmentTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis to us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:label="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:title="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="invest_InvestmentTable" xlink:to="us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:title="Definition : invest_InvestmentTable to us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentLineItems" xlink:to="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:title="Definition : invest_InvestmentLineItems to us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentAgenciesDebtSecuritiesCommercialMortgageBackedSecuritiesMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:label="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to mgyr_USGovernmentSponsoredEnterprisesDebtSecuritiesResidentialMortgageBackedSecuritiesMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" xlink:label="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" xlink:title="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses2" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:label="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" xlink:label="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" xlink:title="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableforsaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses2" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:title="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AvailableForSaleAndHeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue" xlink:type="arc" order="60" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_AggregateUnrealizedLossesTotal" xlink:label="mgyr_AggregateUnrealizedLossesTotal" xlink:title="mgyr_AggregateUnrealizedLossesTotal" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_AggregateUnrealizedLossesTotal" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_AggregateUnrealizedLossesTotal" xlink:type="arc" order="70" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:label="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:title="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract" xlink:to="mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:title="Definition : us-gaap_AvailableForSaleSecuritiesAndHeldToMaturitySecuritiesAbstract to mgyr_UnrealizedGainLossOnAvailableForSaleAndHeldToMaturitySecurities" xlink:type="arc" order="8000" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateNoteSecuritiesMember" xlink:label="us-gaap_CorporateNoteSecuritiesMember" xlink:title="us-gaap_CorporateNoteSecuritiesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:to="us-gaap_CorporateNoteSecuritiesMember" xlink:title="Definition : us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain to us-gaap_CorporateNoteSecuritiesMember" xlink:type="arc" use="optional" order="60" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsolrnd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:title="us-gaap_AccountsNotesAndLoansReceivableLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="Definition : us-gaap_AccountsNotesAndLoansReceivableLineItems to us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:label="us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:title="us-gaap_LoansAndLeasesReceivableDeferredIncome" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:title="Definition : us-gaap_AccountsNotesAndLoansReceivableLineItems to us-gaap_LoansAndLeasesReceivableDeferredIncome" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:title="us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="us-gaap_LoansAndLeasesReceivableAllowance" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="Definition : us-gaap_AccountsNotesAndLoansReceivableLineItems to us-gaap_LoansAndLeasesReceivableAllowance" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:title="us-gaap_LoansAndLeasesReceivableNetReportedAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:title="Definition : us-gaap_AccountsNotesAndLoansReceivableLineItems to us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:title="Definition : us-gaap_AccountsNotesAndLoansReceivableLineItems to us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoilbcd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="us-gaap_FinancingReceivableImpairedLineItems" xlink:title="us-gaap_FinancingReceivableImpairedLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:title="us-gaap_ImpairedFinancingReceivableRelatedAllowance" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:title="us-gaap_ScheduleOfImpairedFinancingReceivableTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfImpairedFinancingReceivableTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableRecordedInvestment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:title="us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoariiild">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="us-gaap_FinancingReceivableImpairedLineItems" xlink:title="us-gaap_FinancingReceivableImpairedLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:title="us-gaap_ScheduleOfImpairedFinancingReceivableTable" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfImpairedFinancingReceivableTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="10" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:title="us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableImpairedLineItems" xlink:to="us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:title="Definition : us-gaap_FinancingReceivableImpairedLineItems to us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="40" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="50" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" use="optional" order="60" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbbirrsd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="us-gaap_StatementLineItems" xlink:title="us-gaap_StatementLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="us-gaap_StatementTable" xlink:title="us-gaap_StatementTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="us-gaap_InternalCreditAssessmentDomain" xlink:title="us-gaap_InternalCreditAssessmentDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PassMember" xlink:label="us-gaap_PassMember" xlink:title="us-gaap_PassMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_InternalCreditAssessmentDomain" xlink:to="us-gaap_PassMember" xlink:title="Definition : us-gaap_InternalCreditAssessmentDomain to us-gaap_PassMember" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="us-gaap_InternalCreditAssessmentAxis" xlink:title="us-gaap_InternalCreditAssessmentAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_InternalCreditAssessmentAxis" xlink:title="Definition : us-gaap_StatementTable to us-gaap_InternalCreditAssessmentAxis" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" xlink:title="Definition : us-gaap_StatementLineItems to us-gaap_StatementTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_InternalCreditAssessmentAxis" xlink:to="us-gaap_InternalCreditAssessmentDomain" xlink:title="Definition : us-gaap_InternalCreditAssessmentAxis to us-gaap_InternalCreditAssessmentDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="us-gaap_InternalCreditAssessmentDomain_1" xlink:title="us-gaap_InternalCreditAssessmentDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_InternalCreditAssessmentAxis" xlink:to="us-gaap_InternalCreditAssessmentDomain_1" xlink:title="Definition : us-gaap_InternalCreditAssessmentAxis to us-gaap_InternalCreditAssessmentDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="us-gaap_SpecialMentionMember" xlink:title="us-gaap_SpecialMentionMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_InternalCreditAssessmentDomain" xlink:to="us-gaap_SpecialMentionMember" xlink:title="Definition : us-gaap_InternalCreditAssessmentDomain to us-gaap_SpecialMentionMember" xlink:type="arc" order="72" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubstandardMember" xlink:label="us-gaap_SubstandardMember" xlink:title="us-gaap_SubstandardMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_InternalCreditAssessmentDomain" xlink:to="us-gaap_SubstandardMember" xlink:title="Definition : us-gaap_InternalCreditAssessmentDomain to us-gaap_SubstandardMember" xlink:type="arc" order="142" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DoubtfulMember" xlink:label="us-gaap_DoubtfulMember" xlink:title="us-gaap_DoubtfulMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_InternalCreditAssessmentDomain" xlink:to="us-gaap_DoubtfulMember" xlink:title="Definition : us-gaap_InternalCreditAssessmentDomain to us-gaap_DoubtfulMember" xlink:type="arc" order="212" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsocotlpsbacd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems to us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentCurrent" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract to us-gaap_FinancingReceivableRecordedInvestmentCurrent" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:title="us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentPastDue" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract to us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:type="arc" order="5" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract to us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:type="arc" order="6" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract" xlink:to="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentAgingAbstract to us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:type="arc" order="7" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems to us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:label="us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:title="us-gaap_FinancingReceivablesPeriodPastDueAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable to us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:type="arc" use="optional" order="11" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:title="us-gaap_FinancingReceivablesPeriodPastDueDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:title="Definition : us-gaap_FinancingReceivablesPeriodPastDueAxis to us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:type="arc" use="optional" order="1" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:label="us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:title="us-gaap_FinancingReceivables30To59DaysPastDueMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:title="Definition : us-gaap_FinancingReceivablesPeriodPastDueDomain to us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:type="arc" use="optional" order="10" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:label="us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:title="us-gaap_FinancingReceivables60To89DaysPastDueMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:title="Definition : us-gaap_FinancingReceivablesPeriodPastDueDomain to us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:type="arc" use="optional" order="20" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:label="us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:title="us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:title="Definition : us-gaap_FinancingReceivablesPeriodPastDueDomain to us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:type="arc" use="optional" order="30" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:label="us-gaap_FinancingReceivablesPeriodPastDueDomain_1" xlink:title="us-gaap_FinancingReceivablesPeriodPastDueDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="us-gaap_FinancingReceivablesPeriodPastDueDomain_1" xlink:title="Definition : us-gaap_FinancingReceivablesPeriodPastDueAxis to us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:type="arc" use="optional" order="10" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoaitafllblcd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems to us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLosses" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward to us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:title="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward to us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward to us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:title="us-gaap_ProvisionForLoanLeaseAndOtherLosses" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:to="us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward to us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems to us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="us-gaap_UnallocatedFinancingReceivablesMember" xlink:title="us-gaap_UnallocatedFinancingReceivablesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_UnallocatedFinancingReceivablesMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_UnallocatedFinancingReceivablesMember" xlink:type="arc" order="61" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-lrnarafllsoablcd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems to us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_Residential1To4FamilyRealEstateMember" xlink:label="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="mgyr_Residential1To4FamilyRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_Residential1To4FamilyRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_Residential1To4FamilyRealEstateMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="us-gaap_LoansAndLeasesReceivableAllowance" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_LoansAndLeasesReceivableAllowance" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_LoansAndLeasesReceivableAllowance" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:title="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:title="Definition : us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable to us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:type="arc" order="2" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:type="arc" order="3" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:type="arc" order="4" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:type="arc" order="5" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:title="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:to="us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract to us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:type="arc" order="6" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:title="Definition : us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems to us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialRealEstateMember" xlink:label="us-gaap_CommercialRealEstateMember" xlink:title="us-gaap_CommercialRealEstateMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialRealEstateMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialRealEstateMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis to us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConstructionLoansMember" xlink:label="us-gaap_ConstructionLoansMember" xlink:title="us-gaap_ConstructionLoansMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_ConstructionLoansMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_ConstructionLoansMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HomeEquityMember" xlink:label="us-gaap_HomeEquityMember" xlink:title="us-gaap_HomeEquityMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_HomeEquityMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_HomeEquityMember" xlink:type="arc" order="31" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialLoanMember" xlink:label="us-gaap_CommercialLoanMember" xlink:title="us-gaap_CommercialLoanMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_CommercialLoanMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_CommercialLoanMember" xlink:type="arc" order="41" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancingReceivableOtherMember" xlink:label="mgyr_FinancingReceivableOtherMember" xlink:title="mgyr_FinancingReceivableOtherMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="mgyr_FinancingReceivableOtherMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to mgyr_FinancingReceivableOtherMember" xlink:type="arc" order="51" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnallocatedFinancingReceivablesMember" xlink:label="us-gaap_UnallocatedFinancingReceivablesMember" xlink:title="us-gaap_UnallocatedFinancingReceivablesMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="us-gaap_UnallocatedFinancingReceivablesMember" xlink:title="Definition : us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain to us-gaap_UnallocatedFinancingReceivablesMember" xlink:type="arc" order="61" xbrldt:closed="false" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://www.magbank.com/role/mgyr-fiwobsrsofiwcarcrd">
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:label="us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:title="us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_FinancialInstrumentsContractAmounts" xlink:label="mgyr_FinancialInstrumentsContractAmounts" xlink:title="mgyr_FinancialInstrumentsContractAmounts" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:to="mgyr_FinancialInstrumentsContractAmounts" xlink:title="Definition : us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems to mgyr_FinancialInstrumentsContractAmounts" xlink:type="arc" order="0" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:title="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnusedLinesOfCreditMember" xlink:label="us-gaap_UnusedLinesOfCreditMember" xlink:title="us-gaap_UnusedLinesOfCreditMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="us-gaap_UnusedLinesOfCreditMember" xlink:title="Definition : us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain to us-gaap_UnusedLinesOfCreditMember" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:label="us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:title="us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="us-gaap_FinancialInstrumentAxis" xlink:title="us-gaap_FinancialInstrumentAxis" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:to="us-gaap_FinancialInstrumentAxis" xlink:title="Definition : us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable to us-gaap_FinancialInstrumentAxis" xlink:type="arc" order="1" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems" xlink:to="us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:title="Definition : us-gaap_FairValueOffBalanceSheetRisksDisclosureInformationLineItems to us-gaap_ScheduleOfFairValueOffBalanceSheetRisksTable" xlink:type="arc" order="10" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoanOriginationCommitmentsMember" xlink:label="us-gaap_LoanOriginationCommitmentsMember" xlink:title="us-gaap_LoanOriginationCommitmentsMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="us-gaap_LoanOriginationCommitmentsMember" xlink:title="Definition : us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain to us-gaap_LoanOriginationCommitmentsMember" xlink:type="arc" order="11" xbrldt:closed="false" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FinancialInstrumentAxis" xlink:to="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:title="Definition : us-gaap_FinancialInstrumentAxis to us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:type="arc" order="20" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StandbyLettersOfCreditMember" xlink:label="us-gaap_StandbyLettersOfCreditMember" xlink:title="us-gaap_StandbyLettersOfCreditMember" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="us-gaap_StandbyLettersOfCreditMember" xlink:title="Definition : us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain to us-gaap_StandbyLettersOfCreditMember" xlink:type="arc" order="21" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1" xlink:title="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FinancialInstrumentAxis" xlink:to="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1" xlink:title="Definition : us-gaap_FinancialInstrumentAxis to us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:type="arc" order="30" xbrldt:closed="false" />
    <link:loc xlink:type="locator" xlink:href="mgyr-20150630.xsd#mgyr_LoanOriginationCommitments1Member" xlink:label="mgyr_LoanOriginationCommitments1Member" xlink:title="mgyr_LoanOriginationCommitments1Member" />
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="mgyr_LoanOriginationCommitments1Member" xlink:title="Definition : us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain to mgyr_LoanOriginationCommitments1Member" xlink:type="arc" order="31" xbrldt:closed="false" />
  </link:definitionLink>
</link:linkbase>
