XML 115 R94.htm IDEA: XBRL DOCUMENT
v3.25.4

Derivative and Hedging Instruments (Details-4) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024
Current And Long Term Reg Asset Liability [Member] |  |
Derivative Unrealized Realized Gains Losses On Balance Sheet [Line Items] |  |
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Utilities Operating Expense, Purchased Power, Utilities Operating Expense, Cost of Gas Sold | Utilities Operating Expense, Purchased Power, Utilities Operating Expense, Cost of Gas Sold
Change In Derivative Fair Value [Roll Forward] |  |
Unrealized loss (gain) | $ 3,149 | $ 5,041
Realized (loss) gain reclassified to a deferred account | (153) | (3,821)
Realized (loss) gain reclassified to income statement | $ (1,522) | $ (6,506)
Derivatives Other Current Assets [Member] |  |
Derivative Unrealized Realized Gains Losses On Balance Sheet [Line Items] |  |
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Utilities Operating Expense, Purchased Power, Utilities Operating Expense, Cost of Gas Sold | Utilities Operating Expense, Purchased Power, Utilities Operating Expense, Cost of Gas Sold
Change In Derivative Fair Value [Roll Forward] |  |
Unrealized loss (gain) | $ 0 | $ 0
Realized (loss) gain reclassified to a deferred account | 153 | 3,821
Realized (loss) gain reclassified to income statement | $ 27 | $ (5,002)

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

X
- Definition Change in realized derivative gains and losses deferred. + References No definition available. + Details
Name: | mgee_DerivativeRealizedGainLossDeferred
Namespace Prefix: | mgee_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 10 -SubTopic 10 -Topic 825 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-10 + Details
Name: | us-gaap_DerivativeGainLossOnDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes gain (loss) from derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition The net change in the difference between the fair value and the carrying value, or in the comparative fair values, of derivative instruments, including options, swaps, futures, and forward contracts, held at each balance sheet date, that was included in earnings for the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(7)(c)(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 5A -Subparagraph (SX 210.12-13A(Column F)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-5A + Details
Name: | us-gaap_UnrealizedGainLossOnDerivatives
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mgee_CurrentAndLongTermRegAssetLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mgee_DerivativesOtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |