XML 66 R54.htm IDEA: XBRL DOCUMENT
v3.26.1

Derivative and Hedging Instruments (Details-5) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Jun. 30, 2026 USD ($) Counterparty | Jun. 30, 2025 USD ($) | Jun. 30, 2026 USD ($) Counterparty | Jun. 30, 2025 USD ($) | Dec. 31, 2025 USD ($)
Counterparties in net liability position or default [Abstract] |  |  |  |  |
Derivative, net liability position of counterparties | $ 0 |  | $ 0 |  | $ 0
Number of counterparties in default | Counterparty | 0 |  | 0 |  |
Commodity Contract [Member] | Fuel For Electric Generation Purchased Power [Member] |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Realized losses (gains) on income statement | $ 306 | $ 198 | $ (566) | $ 596 |
Commodity Contract [Member] | Cost Of Gas Sold Expense [Member] |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Realized losses (gains) on income statement | 0 | 0 | (2,231) | (203) |
Financial Transmission Rights [Member] | Fuel For Electric Generation Purchased Power [Member] |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Realized losses (gains) on income statement | 315 | 439 | (232) | 598 |
Financial Transmission Rights [Member] | Cost Of Gas Sold Expense [Member] |  |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |  |
Realized losses (gains) on income statement | $ 0 | $ 0 | $ 0 | $ 0 |

X
- Definition Number of counterparites in default as of the balance sheet date. + References No definition available. + Details
Name: | mgee_CounterpartiesInDefault
Namespace Prefix: | mgee_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Counterparties In Net Liability Position Or Default Abstract + References No definition available. + Details
Name: | mgee_CounterpartiesInNetLiabilityPositionOrDefaultAbstract
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 -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -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 Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(5) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4D -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4D Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CCC -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CCC Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (bb) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4C Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4E + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate fair value amounts of derivative instruments that contain credit-risk-related contingent features that are in a net liability position at the end of the reporting period. For nonderivative instruments that are designated and qualify as hedging instruments, the fair value amounts are the carrying value of the nonderivative hedging instrument, including the adjustment for the foreign currency transaction gain (loss) on that instrument. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 185 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-185 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4H -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4H + Details
Name: | us-gaap_DerivativeNetLiabilityPositionAggregateFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mgee_DerivativeActivityAxis=mgee_FuelForElectricGenerationPurchasedPowerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mgee_DerivativeActivityAxis=mgee_CostOfGasSoldExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mgee_FinancialTransmissionRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |