| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.22.2 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 692 </ContextCount> |
| <ElementCount> 339 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 106 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 4 </UnitCount> |
| <MyReports> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0001001 - Document - Cover page </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Coverpage </Role> |
| | | <ShortName> Cover page </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 1001002 - Statement - Consolidated Statements of Income </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ConsolidatedStatementsofIncome </Role> |
| | | <ShortName> Consolidated Statements of Income </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 1002003 - Statement - Consolidated Statements of Comprehensive Income </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ConsolidatedStatementsofComprehensiveIncome </Role> |
| | | <ShortName> Consolidated Statements of Comprehensive Income </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 1003004 - Statement - Consolidated Balance Sheets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ConsolidatedBalanceSheets </Role> |
| | | <ShortName> Consolidated Balance Sheets </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 1004005 - Statement - Consolidated Statements of Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ConsolidatedStatementsofEquity </Role> |
| | | <ShortName> Consolidated Statements of Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 1005006 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ConsolidatedStatementsofCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 2101101 - Disclosure - Basis of presentation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Basisofpresentation </Role> |
| | | <ShortName> Basis of presentation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 2103102 - Disclosure - New accounting standards </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Newaccountingstandards </Role> |
| | | <ShortName> New accounting standards </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 2105103 - Disclosure - Seasonality of operations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Seasonalityofoperations </Role> |
| | | <ShortName> Seasonality of operations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 2106104 - Disclosure - Receivables and allowance for expected credit losses </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Receivablesandallowanceforexpectedcreditlosses </Role> |
| | | <ShortName> Receivables and allowance for expected credit losses </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 2111105 - Disclosure - Inventories and natural gas in storage </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Inventoriesandnaturalgasinstorage </Role> |
| | | <ShortName> Inventories and natural gas in storage </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 2115106 - Disclosure - Earnings per share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Earningspershare </Role> |
| | | <ShortName> Earnings per share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 2119107 - Disclosure - Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Equity </Role> |
| | | <ShortName> Equity </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 2122108 - Disclosure - Accumulated other comprehensive loss </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Accumulatedothercomprehensiveloss </Role> |
| | | <ShortName> Accumulated other comprehensive loss </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 2126109 - Disclosure - Revenue from contracts with customers </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Revenuefromcontractswithcustomers </Role> |
| | | <ShortName> Revenue from contracts with customers </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 2132110 - Disclosure - Business Combinations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinessCombinations </Role> |
| | | <ShortName> Business Combinations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 2135111 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Leases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 2137112 - Disclosure - Goodwill and other intangible assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Goodwillandotherintangibleassets </Role> |
| | | <ShortName> Goodwill and other intangible assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 2142113 - Disclosure - Regulatory assets and liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Regulatoryassetsandliabilities </Role> |
| | | <ShortName> Regulatory assets and liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 2146114 - Disclosure - Fair value measurements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Fairvaluemeasurements </Role> |
| | | <ShortName> Fair value measurements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 2153115 - Disclosure - Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Debt </Role> |
| | | <ShortName> Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 2158116 - Disclosure - Cash flow information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Cashflowinformation </Role> |
| | | <ShortName> Cash flow information </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 2161117 - Disclosure - Business segment data </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Businesssegmentdata </Role> |
| | | <ShortName> Business segment data </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 2165118 - Disclosure - Employee benefit plans </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Employeebenefitplans </Role> |
| | | <ShortName> Employee benefit plans </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 2168119 - Disclosure - Regulatory matters </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Regulatorymatters </Role> |
| | | <ShortName> Regulatory matters </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 2174120 - Disclosure - Contingencies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/Contingencies </Role> |
| | | <ShortName> Contingencies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 2202201 - Disclosure - Basis of presentation (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BasisofpresentationPolicies </Role> |
| | | <ShortName> Basis of presentation (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 2204202 - Disclosure - New accounting standards (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/NewaccountingstandardsPolicies </Role> |
| | | <ShortName> New accounting standards (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 2207203 - Disclosure - Receivables and allowance for expected credit losses (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesPolicies </Role> |
| | | <ShortName> Receivables and allowance for expected credit losses (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 2212204 - Disclosure - Inventories and natural gas in storage (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/InventoriesandnaturalgasinstoragePolicies </Role> |
| | | <ShortName> Inventories and natural gas in storage (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 2216205 - Disclosure - Earnings per share (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EarningspersharePolicies </Role> |
| | | <ShortName> Earnings per share (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 2227206 - Disclosure - Revenue from contracts with customers (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RevenuefromcontractswithcustomersPolicies </Role> |
| | | <ShortName> Revenue from contracts with customers (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 2233207 - Disclosure - Business Combinations (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinessCombinationsPolicies </Role> |
| | | <ShortName> Business Combinations (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 2247208 - Disclosure - Fair value disclosures (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FairvaluedisclosuresPolicies </Role> |
| | | <ShortName> Fair value disclosures (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 2262209 - Disclosure - Business segment data (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinesssegmentdataPolicies </Role> |
| | | <ShortName> Business segment data (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 2275210 - Disclosure - Contingencies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ContingenciesPolicies </Role> |
| | | <ShortName> Contingencies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 2308301 - Disclosure - Receivables and allowance for expected credit losses (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesTables </Role> |
| | | <ShortName> Receivables and allowance for expected credit losses (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Receivablesandallowanceforexpectedcreditlosses </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 2313302 - Disclosure - Inventories and natural gas in storage (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/InventoriesandnaturalgasinstorageTables </Role> |
| | | <ShortName> Inventories and natural gas in storage (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Inventoriesandnaturalgasinstorage </ParentRole> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 2317303 - Disclosure - Earnings per share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EarningspershareTables </Role> |
| | | <ShortName> Earnings per share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Earningspershare </ParentRole> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 2320304 - Disclosure - Equity (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EquityTables </Role> |
| | | <ShortName> Equity (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Equity </ParentRole> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 2323305 - Disclosure - Accumulated other comprehensive loss (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/AccumulatedothercomprehensivelossTables </Role> |
| | | <ShortName> Accumulated other comprehensive loss (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Accumulatedothercomprehensiveloss </ParentRole> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 2328306 - Disclosure - Revenue from contracts with customers (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RevenuefromcontractswithcustomersTables </Role> |
| | | <ShortName> Revenue from contracts with customers (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Revenuefromcontractswithcustomers </ParentRole> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 2338307 - Disclosure - Goodwill and other intangible assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/GoodwillandotherintangibleassetsTables </Role> |
| | | <ShortName> Goodwill and other intangible assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Goodwillandotherintangibleassets </ParentRole> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 2343308 - Disclosure - Regulatory assets and liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RegulatoryassetsandliabilitiesTables </Role> |
| | | <ShortName> Regulatory assets and liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Regulatoryassetsandliabilities </ParentRole> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 2348309 - Disclosure - Fair value measurements (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FairvaluemeasurementsTables </Role> |
| | | <ShortName> Fair value measurements (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Fairvaluemeasurements </ParentRole> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 2354310 - Disclosure - Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/DebtTables </Role> |
| | | <ShortName> Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Debt </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 2359311 - Disclosure - Cash flow information (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/CashflowinformationTables </Role> |
| | | <ShortName> Cash flow information (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Cashflowinformation </ParentRole> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 2363312 - Disclosure - Business segment data (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinesssegmentdataTables </Role> |
| | | <ShortName> Business segment data (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Businesssegmentdata </ParentRole> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 2366313 - Disclosure - Employee benefit plans (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EmployeebenefitplansTables </Role> |
| | | <ShortName> Employee benefit plans (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/Employeebenefitplans </ParentRole> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 2409401 - Disclosure - Receivables and allowance for expected credit losses (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesDetails </Role> |
| | | <ShortName> Receivables and allowance for expected credit losses (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesTables </ParentRole> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 2410402 - Disclosure - Receivables and allowance for expected credit losses (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesDetails2 </Role> |
| | | <ShortName> Receivables and allowance for expected credit losses (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/ReceivablesandallowanceforexpectedcreditlossesTables </ParentRole> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 2414403 - Disclosure - Inventories and natural gas in storage (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/InventoriesandnaturalgasinstorageDetails </Role> |
| | | <ShortName> Inventories and natural gas in storage (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/InventoriesandnaturalgasinstorageTables </ParentRole> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 2418404 - Disclosure - Earnings per share (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EarningspershareDetails </Role> |
| | | <ShortName> Earnings per share (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/EarningspershareTables </ParentRole> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 2421405 - Disclosure - Equity (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EquityDetails </Role> |
| | | <ShortName> Equity (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/EquityTables </ParentRole> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 2424406 - Disclosure - Accumulated other comprehensive loss (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/AccumulatedothercomprehensivelossDetails </Role> |
| | | <ShortName> Accumulated other comprehensive loss (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/AccumulatedothercomprehensivelossTables </ParentRole> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 2425407 - Disclosure - Reclassification out of accumulated other comprehensive loss (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ReclassificationoutofaccumulatedothercomprehensivelossDetails2 </Role> |
| | | <ShortName> Reclassification out of accumulated other comprehensive loss (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 2429408 - Disclosure - Disaggregation of revenue (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/DisaggregationofrevenueDetails </Role> |
| | | <ShortName> Disaggregation of revenue (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 2430409 - Disclosure - Contract balances (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ContractbalancesDetails2 </Role> |
| | | <ShortName> Contract balances (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 2431410 - Disclosure - Revenue from contracts with customers Remaining performance obligations (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RevenuefromcontractswithcustomersRemainingperformanceobligationsDetails3 </Role> |
| | | <ShortName> Revenue from contracts with customers Remaining performance obligations (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 2434411 - Disclosure - Business Combinations (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinessCombinationsDetails </Role> |
| | | <ShortName> Business Combinations (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/BusinessCombinationsPolicies </ParentRole> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 2436412 - Disclosure - Lessor accounting (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/LessoraccountingDetails </Role> |
| | | <ShortName> Lessor accounting (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 2439413 - Disclosure - Goodwill rollforward (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/GoodwillrollforwardDetails </Role> |
| | | <ShortName> Goodwill rollforward (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 2440414 - Disclosure - Other intangible assets (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/OtherintangibleassetsDetails2 </Role> |
| | | <ShortName> Other intangible assets (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 2441415 - Disclosure - Future amortization expense (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FutureamortizationexpenseDetails3 </Role> |
| | | <ShortName> Future amortization expense (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 2444416 - Disclosure - Regulatory assets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RegulatoryassetsDetails </Role> |
| | | <ShortName> Regulatory assets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/RegulatoryassetsandliabilitiesTables </ParentRole> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 2445417 - Disclosure - Regulatory liabilities (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/RegulatoryliabilitiesDetails2 </Role> |
| | | <ShortName> Regulatory liabilities (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 2449418 - Disclosure - Fair value measurements Insurance contracts (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FairvaluemeasurementsInsurancecontractsDetails </Role> |
| | | <ShortName> Fair value measurements Insurance contracts (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 2450419 - Disclosure - Available-for-sale securities (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/AvailableforsalesecuritiesDetails2 </Role> |
| | | <ShortName> Available-for-sale securities (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 2451420 - Disclosure - Fair value measurements (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FairvaluemeasurementsDetails3 </Role> |
| | | <ShortName> Fair value measurements (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/FairvaluemeasurementsTables </ParentRole> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R70.htm </HtmlFileName> |
| | | <LongName> 2452421 - Disclosure - Fair value measurements (Details 4) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/FairvaluemeasurementsDetails4 </Role> |
| | | <ShortName> Fair value measurements (Details 4) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/FairvaluemeasurementsTables </ParentRole> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R71.htm </HtmlFileName> |
| | | <LongName> 2455422 - Disclosure - Short-term Debt (Details 1) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ShorttermDebtDetails1 </Role> |
| | | <ShortName> Short-term Debt (Details 1) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 71 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R72.htm </HtmlFileName> |
| | | <LongName> 2456423 - Disclosure - Long-term debt outstanding (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/LongtermdebtoutstandingDetails2 </Role> |
| | | <ShortName> Long-term debt outstanding (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 72 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R73.htm </HtmlFileName> |
| | | <LongName> 2457424 - Disclosure - Schedule of debt maturities (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/ScheduleofdebtmaturitiesDetails3 </Role> |
| | | <ShortName> Schedule of debt maturities (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 73 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R74.htm </HtmlFileName> |
| | | <LongName> 2460425 - Disclosure - Cash flow information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/CashflowinformationDetails </Role> |
| | | <ShortName> Cash flow information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/CashflowinformationTables </ParentRole> |
| | | <Position> 74 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R75.htm </HtmlFileName> |
| | | <LongName> 2464426 - Disclosure - Business segment data (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/BusinesssegmentdataDetails </Role> |
| | | <ShortName> Business segment data (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/BusinesssegmentdataTables </ParentRole> |
| | | <Position> 75 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R76.htm </HtmlFileName> |
| | | <LongName> 2467427 - Disclosure - Employee benefit plans (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/EmployeebenefitplansDetails </Role> |
| | | <ShortName> Employee benefit plans (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.mdu.com/role/EmployeebenefitplansTables </ParentRole> |
| | | <Position> 76 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R77.htm </HtmlFileName> |
| | | <LongName> 2469428 - Disclosure - IPUC (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/IPUCDetails </Role> |
| | | <ShortName> IPUC (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 77 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R78.htm </HtmlFileName> |
| | | <LongName> 2470429 - Disclosure - MNPUC (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/MNPUCDetails2 </Role> |
| | | <ShortName> MNPUC (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 78 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R79.htm </HtmlFileName> |
| | | <LongName> 2471430 - Disclosure - NDPSC (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/NDPSCDetails3 </Role> |
| | | <ShortName> NDPSC (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 79 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R80.htm </HtmlFileName> |
| | | <LongName> 2472431 - Disclosure - SDPUC (Details 4) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/SDPUCDetails4 </Role> |
| | | <ShortName> SDPUC (Details 4) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 80 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R81.htm </HtmlFileName> |
| | | <LongName> 2473432 - Disclosure - WUTC (Details 5) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/WUTCDetails5 </Role> |
| | | <ShortName> WUTC (Details 5) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 81 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R82.htm </HtmlFileName> |
| | | <LongName> 2476433 - Disclosure - Litigation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/LitigationDetails </Role> |
| | | <ShortName> Litigation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 82 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R83.htm </HtmlFileName> |
| | | <LongName> 2477434 - Disclosure - Guarantees (Details 2) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/GuaranteesDetails2 </Role> |
| | | <ShortName> Guarantees (Details 2) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 83 </Position> |
| | | </Report> |
| | <Report instance="mdu-20220630.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R84.htm </HtmlFileName> |
| | | <LongName> 2478435 - Disclosure - Variable interest entities (Details 3) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.mdu.com/role/VariableinterestentitiesDetails3 </Role> |
| | | <ShortName> Variable interest entities (Details 3) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 84 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-Q" original="mdu-20220630.htm"> mdu-20220630.htm </File> |
| | <File> a2022ex10b.htm </File> |
| | <File> a2022q2ex31a.htm </File> |
| | <File> a2022q2ex31b.htm </File> |
| | <File> a2022q2ex32.htm </File> |
| | <File> a2022q2ex95.htm </File> |
| | <File> mdu-20220630.xsd </File> |
| | <File> mdu-20220630_cal.xml </File> |
| | <File> mdu-20220630_def.xml </File> |
| | <File> mdu-20220630_lab.xml </File> |
| | <File> mdu-20220630_pre.xml </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="1680"> http://fasb.org/us-gaap/2022 </BaseTaxonomy> |
| | <BaseTaxonomy items="30"> http://xbrl.sec.gov/dei/2022 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |