<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  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:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="qti-20260630.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001844505</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-2">0001844505</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c-1" id="f-3">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="c-1" id="f-4">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">QT Imaging Holdings, Inc.</dei:EntityRegistrantName>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="c-1" id="f-5">&lt;div style="margin-bottom:8pt;text-indent:18pt"&gt;&lt;span style="background-color:#ffffff;color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;The Company uses equity-based awards to reward long-term performance of the NEOs. The Company believes that providing a meaningful portion of the total compensation package in the form of equity-based awards aligns the incentives of its NEOs with the interests of its stockholders and serves to motivate and retain the individual NEOs. Any awards would be made in accordance with the executive compensation program discussed above. Although the Company has not used a specific predetermined schedule to grant equity-based awards as 2024 was the first year that the Company made such awards as a public company, it is the policy of the Company regarding our grants of equity-based awards that the Company does not (a) backdate equity award grants, (b) time the public release of material information or (c) purposely accelerate or delay equity award grants with the intent of allowing an award recipient to benefit from a more favorable stock price. The Company is currently using time-based stock option awards to encourage long term performance.&lt;/span&gt;&lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c-1" id="f-7">Any awards would be made in accordance with the executive compensation program discussed above. Although the Company has not used a specific predetermined schedule to grant equity-based awards as 2024 was the first year that the Company made such awards as a public company, it is the policy of the Company regarding our grants of equity-based awards that the Company does not (a) backdate equity award grants, (b) time the public release of material information or (c) purposely accelerate or delay equity award grants with the intent of allowing an award recipient to benefit from a more favorable stock price. The Company is currently using time-based stock option awards to encourage long term performance.</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMethodTextBlock contextRef="c-1" id="f-6">Any awards would be made in accordance with the executive compensation program discussed above. Although the Company has not used a specific predetermined schedule to grant equity-based awards as 2024 was the first year that the Company made such awards as a public company, it is the policy of the Company regarding our grants of equity-based awards that the Company does not (a) backdate equity award grants, (b) time the public release of material information or (c) purposely accelerate or delay equity award grants with the intent of allowing an award recipient to benefit from a more favorable stock price. The Company is currently using time-based stock option awards to encourage long term performance.</ecd:AwardTmgMethodTextBlock>
    <ecd:AwardTmgPredtrmndFlag contextRef="c-1" id="f-8">false</ecd:AwardTmgPredtrmndFlag>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="c-1" id="f-9">true</ecd:AwardTmgMnpiCnsdrdFlag>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="c-1" id="f-10">false</ecd:MnpiDiscTimedForCompValFlag>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c-1" id="f-11">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
</xbrl>
