<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="foxx-20260630.xsd" xlink:type="simple"/>
    <context id="cref_2051717800">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002013807</identifier>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_1401876126">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002013807</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>
    <dei:DocumentType contextRef="cref_2051717800" id="fc_1087264687">PRE 14A</dei:DocumentType>
    <dei:EntityCentralIndexKey contextRef="cref_2051717800" id="ixv-2844">0002013807</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="cref_2051717800" id="ixv-2845">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="cref_2051717800" id="ixv-2864">FOXX DEVELOPMENT HOLDINGS, INC.</dei:EntityRegistrantName>
    <ecd:ErrCompAnalysisTextBlock contextRef="cref_1401876126" id="ixv-1617">&lt;p style="font: 10pt Times New Roman, Times, Serif; text-align: justify; margin: 0pt 0;"&gt;We have adopted a clawback policy that applies to our executive officers (the &#x201c;Policy&#x201d;) to comply with Nasdaq rules.&lt;/p&gt;&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0;"&gt;&#160;&lt;/p&gt;&lt;p style="font: 10pt Times New Roman, Times, Serif; text-align: justify; margin: 0pt 0;"&gt;The policy gives the Compensation Committee the discretion to require executive officers to reimburse us for any Erroneously Awarded Compensation (as defined in the Policy) that was based on financial results that were subsequently restated as a result of that person&#x2019;s misconduct.&lt;/p&gt;</ecd:ErrCompAnalysisTextBlock>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="cref_2051717800" id="ixv-2865">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="cref_2051717800" id="ixv-1645">&lt;p style="font: 10pt Times New Roman, Times, Serif; text-align: justify; margin: 0pt 0;"&gt;The Company has not adopted a formal policy governing the timing and
approval of equity awards. However, equity awards are not granted in anticipation of the release of material nonpublic information, and
the release of material nonpublic information is not timed based on equity award grant dates. The Company did not grant stock options
or similar equity awards in fiscal 2026 or 2025.&lt;/p&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgMethodTextBlock contextRef="cref_2051717800" id="ixv-2866">The Company has not adopted a formal policy governing the timing and
approval of equity awards.</ecd:AwardTmgMethodTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="cref_2051717800" id="ixv-2867">the release of material nonpublic information is not timed based on equity award grant dates.</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="cref_2051717800" id="ixv-2868">true</ecd:AwardTmgMnpiCnsdrdFlag>
</xbrl>
