<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mgld-20260630.xsd" xlink:type="simple"/>
    <context id="From2025-07-01to2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005101</identifier>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2025-07-012026-06-30_2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005101</identifier>
            <segment>
                <xbrldi:typedMember dimension="ecd:RestatementDateAxis">
                    <ecd:RestatementDateAxis.domain>2026-06-30</ecd:RestatementDateAxis.domain>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2024-07-012025-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005101</identifier>
        </entity>
        <period>
            <startDate>2024-07-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="From2023-07-012024-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005101</identifier>
        </entity>
        <period>
            <startDate>2023-07-01</startDate>
            <endDate>2024-06-30</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:AmendmentFlag contextRef="From2025-07-01to2026-06-30" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="From2025-07-01to2026-06-30" id="Fact000004">0001005101</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="From2025-07-01to2026-06-30" id="xdx2ixbrl0011">DEF 14A</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="From2025-07-01to2026-06-30" id="Fact000012">THE     MARYGOLD COMPANIES, INC.</dei:EntityRegistrantName>
    <ecd:RestatementDoesNotRequireRecoveryTextBlock
      contextRef="From2025-07-012026-06-30_2026-06-30"
      id="Fact000013">&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;In
accordance with the NYSE listing standards amendment, the Company has adopted a compensation recoupment policy that provides the Board
discretion to recover incentive compensation paid to current and former executive officers in the event of an accounting restatement
triggered by material noncompliance with financial reporting requirements under the securities laws.&lt;/span&gt;</ecd:RestatementDoesNotRequireRecoveryTextBlock>
    <ecd:Additional402vDisclosureTextBlock contextRef="From2025-07-01to2026-06-30" id="Fact000014">&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"&gt;The
Company is a smaller reporting company for the fiscal year ended June 30, 2026. Pursuant to Item 402(v) of Regulation S-K, the following
table and disclosure presents the most recent three years of Pay versus Performance information.&lt;/span&gt;</ecd:Additional402vDisclosureTextBlock>
    <ecd:PvpTableTextBlock contextRef="From2025-07-01to2026-06-30" id="Fact000016">&lt;table cellpadding="0" cellspacing="0" id="xdx_88E_eecd--PvpTableTextBlock_zNAPY3cHsKwa" style="font: 10pt Times New Roman, Times, Serif; border-collapse: collapse; width: 100%" summary="xdx: Disclosure - Pay vs Performance Disclosure"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_482_eecd--PeoTotalCompAmt_zT5jgwplV0k4" style="font-weight: bold; text-align: center"&gt;&lt;b&gt;(a)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_48F_eecd--PeoActuallyPaidCompAmt_zuvDEEl3W83f" style="font-weight: bold; text-align: center"&gt;&lt;b&gt;(b)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_483_eecd--NonPeoNeoAvgTotalCompAmt_zxXPmV2xBVqg" style="font-weight: bold; text-align: center"&gt;&lt;b&gt;(c)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_48D_eecd--NonPeoNeoAvgCompActuallyPaidAmt_zO79Vv6EasL5" style="font-weight: bold; text-align: center"&gt;&lt;b&gt;(d)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_48D_eecd--TotalShareholderRtnAmt_pp2d_z06C1Ttf9QCa" style="text-align: center; font-weight: bold"&gt;&lt;b&gt;(f)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" id="xdx_485_eus-gaap--NetIncomeLoss_pn3n3_zH4R8LWZlfQ" style="font-weight: bold; text-align: center"&gt;&lt;b&gt;(g)&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;Fiscal Year&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;Summary Compensation Table Total for
    PEO &lt;span&gt;(1)&lt;/span&gt; ($)&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;Compensation Actually Paid to PEO&#160;&#160;($)&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;Average Summary Compensation Table
    Total for Non-PEO Named Executive Officers &lt;span&gt;(2)&lt;/span&gt; ($)&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;&lt;p style="margin-top: 0; margin-bottom: 0"&gt;Average Compensation Actually Paid to Non-PEO Named Executive&lt;/p&gt;
                                                                                &lt;p style="margin-top: 0; margin-bottom: 0"&gt;Officers ($)&lt;/p&gt;&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; text-align: center; font-weight: bold"&gt;Value of Initial Fixed $100 Investment Based on Total Shareholder Return ($)&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center; font-weight: bold; padding-bottom: 1pt"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="border-bottom: Black 1pt solid; font-weight: bold; text-align: center"&gt;&lt;p style="margin-top: 0; margin-bottom: 0"&gt;Net Income (Loss) ($) &lt;i&gt;&lt;/i&gt;&lt;/p&gt;
                                                                                &lt;p style="margin-top: 0; margin-bottom: 0"&gt;&lt;i&gt;(in thousands)&lt;/i&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="text-align: center; padding-bottom: 1pt; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_416_20250701__20260630_zruiA8ZduXNd" style="vertical-align: bottom; background-color: rgb(204,238,255)"&gt;
    &lt;td style="width: 12%; text-align: center"&gt;2026&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 11%; text-align: right"&gt;457,198&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 11%; text-align: right"&gt;457,198&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 11%; text-align: right"&gt;508,273&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;508,273&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;85.00&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;(4,371&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;)&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_410_20240701__20250630_zACytmqjwSF9" style="vertical-align: bottom; background-color: White"&gt;
    &lt;td style="text-align: center"&gt;2025&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;457,303&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;457,303&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;493,872&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;493,872&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;38.95&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(5,820&lt;/td&gt;&lt;td style="text-align: left"&gt;)&lt;/td&gt;&lt;/tr&gt;
  &lt;tr id="xdx_415_20230701__20240630_z9lFALnINdEk" style="vertical-align: bottom; background-color: rgb(204,238,255)"&gt;
    &lt;td style="text-align: center"&gt;2024&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;454,032&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;454,032&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;481,637&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;481,637&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;75.00&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,069&lt;/td&gt;&lt;td style="text-align: left"&gt;)&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;</ecd:PvpTableTextBlock>
    <ecd:PeoTotalCompAmt
      contextRef="From2025-07-01to2026-06-30"
      decimals="0"
      id="Fact000017"
      unitRef="USD">457198</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="From2025-07-01to2026-06-30"
      decimals="0"
      id="Fact000018"
      unitRef="USD">457198</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="From2025-07-01to2026-06-30"
      decimals="0"
      id="Fact000019"
      unitRef="USD">508273</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="From2025-07-01to2026-06-30"
      decimals="0"
      id="Fact000020"
      unitRef="USD">508273</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="From2025-07-01to2026-06-30"
      decimals="2"
      id="Fact000021"
      unitRef="USD">85.00</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="From2025-07-01to2026-06-30"
      decimals="-3"
      id="Fact000022"
      unitRef="USD">-4371000</us-gaap:NetIncomeLoss>
    <ecd:PeoTotalCompAmt
      contextRef="From2024-07-012025-06-30"
      decimals="0"
      id="Fact000023"
      unitRef="USD">457303</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="From2024-07-012025-06-30"
      decimals="0"
      id="Fact000024"
      unitRef="USD">457303</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="From2024-07-012025-06-30"
      decimals="0"
      id="Fact000025"
      unitRef="USD">493872</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="From2024-07-012025-06-30"
      decimals="0"
      id="Fact000026"
      unitRef="USD">493872</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="From2024-07-012025-06-30"
      decimals="2"
      id="Fact000027"
      unitRef="USD">38.95</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="From2024-07-012025-06-30"
      decimals="-3"
      id="Fact000028"
      unitRef="USD">-5820000</us-gaap:NetIncomeLoss>
    <ecd:PeoTotalCompAmt
      contextRef="From2023-07-012024-06-30"
      decimals="0"
      id="Fact000029"
      unitRef="USD">454032</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="From2023-07-012024-06-30"
      decimals="0"
      id="Fact000030"
      unitRef="USD">454032</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="From2023-07-012024-06-30"
      decimals="0"
      id="Fact000031"
      unitRef="USD">481637</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="From2023-07-012024-06-30"
      decimals="0"
      id="Fact000032"
      unitRef="USD">481637</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="From2023-07-012024-06-30"
      decimals="2"
      id="Fact000033"
      unitRef="USD">75.00</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="From2023-07-012024-06-30"
      decimals="-3"
      id="Fact000034"
      unitRef="USD">-4069000</us-gaap:NetIncomeLoss>
    <ecd:PeoName contextRef="From2025-07-01to2026-06-30" id="Fact000035">Mr. Gerber</ecd:PeoName>
    <ecd:PeoName contextRef="From2024-07-012025-06-30" id="Fact000036">Mr. Gerber</ecd:PeoName>
    <ecd:PeoName contextRef="From2023-07-012024-06-30" id="Fact000037">Mr. Gerber</ecd:PeoName>
</xbrl>
