XML 55 R44.htm IDEA: XBRL DOCUMENT
v3.26.1

INVESTMENT SECURITIES - Schedule of Amortized Cost and Fair Values of Securities Held to Maturity (Details) - USD ($) $ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2026 | Sep. 30, 2025
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | $ 25,220 |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 68,105 | $ 67,266
Total investment securities, Fair Value | 24,265 |
Debt Securities [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 31,720 | 21,915
Securities Available-For-Sale, Gross Unrealized Gains | 351 | 357
Securities Available-For-Sale, Gross Unrealized Losses | (1,015) | (1,090)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 31,056 | 21,182
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 68,105 | 67,266
Securities held-to-maturity, Gross Unrealized Gains | 36 | 40
Securities held-to-maturity, Gross Unrealized Losses | (5,971) | (6,146)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 62,170 | 61,160
Total investment securities, Amortized Cost | 99,825 | 89,181
Total investment securities, Gross Unrealized Gains | 387 | 397
Total investment securities, Gross Unrealized Losses | (6,986) | (7,236)
Total investment securities, Allowance for Credit Losses |  |
Total investment securities, Fair Value | 93,226 | 82,342
Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 9,459 | 9,449
Securities held-to-maturity, Gross Unrealized Gains | 1 | 12
Securities held-to-maturity, Gross Unrealized Losses | (387) | (455)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 9,073 | 9,006
Debt Securities [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 6,031 | 90
Securities Available-For-Sale, Gross Unrealized Gains |  |
Securities Available-For-Sale, Gross Unrealized Losses | (8) | (8)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 6,027 | 82
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 7,715 | 6,558
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (712) | (629)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 7,003 | 5,929
Debt Securities [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 19,189 | 15,325
Securities Available-For-Sale, Gross Unrealized Gains | 56 | 70
Securities Available-For-Sale, Gross Unrealized Losses | (1,007) | (1,082)
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 18,238 | 14,313
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 40,780 | 40,741
Securities held-to-maturity, Gross Unrealized Gains | 0 | 4
Securities held-to-maturity, Gross Unrealized Losses | (4,514) | (4,679)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 36,266 | 36,066
Debt Securities [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities available-for-sale: |  |
Securities Available-For-Sale, Amortized Cost | 6,500 | 6,500
Securities Available-For-Sale, Gross Unrealized Gains | 291 | 287
Securities Available-For-Sale, Gross Unrealized Losses |  |
Securities Available-For-Sale, Allowance for Credit Losses |  |
Securities Available-For-Sale, Fair Value | 6,791 | 6,787
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,000 | 3,000
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (54) | (86)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 2,946 | 2,914
Debt Securities [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,649 | 3,913
Securities held-to-maturity, Gross Unrealized Gains | 34 | 19
Securities held-to-maturity, Gross Unrealized Losses | (8) | (17)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 3,675 | 3,915
Debt Securities [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 80 | 174
Securities held-to-maturity, Gross Unrealized Gains |  |
Securities held-to-maturity, Gross Unrealized Losses | (1) | (2)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 79 | 172
Debt Securities [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,422 | 3,431
Securities held-to-maturity, Gross Unrealized Gains | 1 | 5
Securities held-to-maturity, Gross Unrealized Losses | (295) | (278)
Securities held-to-maturity, Allowance for Credit Losses |  |
Total securities held-to-maturity | 3,128 | 3,158
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage backed securities - residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  | 40,741
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 7,715 | 6,558
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 40,780 |
Standard & Poor's, AAA/AA/A Rating [Member] | Corporate securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, AAA/AA/A Rating [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, AAA/AA/A Rating [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,649 | 3,913
Standard & Poor's, AAA/AA/A Rating [Member] | Private label mortgage-backed securities residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  | 174
Standard & Poor's, AAA/AA/A Rating [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 80 |
Standard & Poor's, AAA/AA/A Rating [Member] | Obligations of state and political subdivisions [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  | 3,431
Standard & Poor's, AAA/AA/A Rating [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,422 |
Standard & Poor's, AAA/AA/A Rating [Member] | Debt Securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 65,105 | 64,266
Standard & Poor's, AAA/AA/A Rating [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 9,459 | 9,449
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage backed securities - residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Corporate securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  | 3,000
Standard & Poor's, BBB/BB/B Rating [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,000 |
Standard & Poor's, BBB/BB/B Rating [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Private label mortgage-backed securities residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Obligations of state and political subdivisions [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Standard & Poor's, BBB/BB/B Rating [Member] | Debt Securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost | 3,000 | 3,000
Standard & Poor's, BBB/BB/B Rating [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Mortgage backed securities - residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Mortgage backed securities - residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Corporate securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Corporate securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Mortgage-backed securities - commercial [Member] | Obligations of U.S. government agencies [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Private label mortgage-backed securities residential [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Private label mortgage-backed securities residential [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Obligations of state and political subdivisions [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Obligations of state and political subdivisions [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Debt Securities [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |
Non-rated [Member] | Debt Securities [Member] | Obligations of U.S. government-sponsored enterprises [Member] |  |
Securities held-to-maturity: |  |
Securities held-to-maturity, Amortized Cost |  |

X
- Definition Gross unrealized losses. + References No definition available. + Details
Name: | mgyr_AvailableForSaleHeldtoMaturityDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross unrealized losses. + References No definition available. + Details
Name: | mgyr_HeldtoMaturityDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Securities available-for-sale, fair value. + References No definition available. + Details
Name: | mgyr_SecuritiesAvailableForSaleFairValue
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of securities held-to-maturity. + References No definition available. + Details
Name: | mgyr_SecuritiesHeldtomaturity
Namespace Prefix: | mgyr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (fff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (ff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity), and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (fff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (ff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 80 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480078/944-80-55-14 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 80 -Name Accounting Standards Codification -Section 55 -Paragraph 9 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480078/944-80-55-9 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_DebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost, after allowance for credit loss, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DebtSecuritiesAvailableforsaleAmortizedCostAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (fff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (ff) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 320 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477268/942-320-50-2 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477657/942-210-S45-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478478/942-210-S50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 860 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481420/860-30-50-1A Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityFairValueAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(9)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 + Details
Name: | us-gaap_DebtSecuritiesUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-14 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482736/825-10-45-1A Reference 4: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-7A Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5 + Details
Name: | us-gaap_HeldToMaturitySecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) from transfer of investment in debt security measured at amortized cost (held-to-maturity), to investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-10 + Details
Name: | us-gaap_HeldToMaturitySecuritiesTransferredSecurityUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_DebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=mgyr_ObligationsOfUSGovernmentsponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=mgyr_ObligationsOfUSGovernmentAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_CorporateSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_PrivateLabelMortgagebackedSecuritiesResidentialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mgyr_ObligationsOfStateAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_StandardPoorsAAAAAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_StandardPoorsBBBBBBRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=mgyr_NonratedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |