<?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:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  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="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <context id="c-7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-12</startDate>
            <endDate>2026-05-12</endDate>
        </period>
    </context>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-43">0000874238</dei:EntityCentralIndexKey>
    <ffd:FormTp contextRef="c-1" id="f-44">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-45">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-46">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-47">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c-1" id="f-48">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">Sterling Infrastructure, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-2">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-3">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-4">Common Stock, $0.01 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-2" id="f-5">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-6" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="c-3" id="f-7">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-3" id="f-8">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-3" id="f-9">Preferred Stock</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-3" id="f-10">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-3" decimals="7" id="f-11" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="c-4" id="f-12">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-4" id="f-13">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-4" id="f-14">Depositary Shares</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-4" id="f-15">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-4" decimals="7" id="f-16" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="c-5" id="f-17">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-5" id="f-18">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-5" id="f-19">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-5" id="f-20">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-5" decimals="7" id="f-21" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="c-6" id="f-22">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-6" id="f-23">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-6" id="f-24">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-6" id="f-25">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-6" decimals="7" id="f-26" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:PrevslyPdFlg contextRef="c-7" id="f-27">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-7" id="f-28">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-7" id="f-29">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-7" id="f-30">true</ffd:Rule457rFlg>
    <ffd:FeeRate contextRef="c-7" decimals="7" id="f-31" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="0" id="f-32" unitRef="usd">0.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="0" id="f-33" unitRef="usd">0.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c-1" decimals="0" id="f-34" unitRef="usd">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="0" id="f-35" unitRef="usd">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="0" id="f-36" unitRef="usd">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-7" id="f-42">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-6" id="f-41">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-5" id="f-40">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-4" id="f-39">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-3" id="f-38">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-2" id="f-37">&lt;span style="color:#000000;font-family:'Arial',sans-serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:8.5pt"&gt;1-6. An indeterminate aggregate initial offering price or number of securities of each identified class is being registered as may from time to time be issued at indeterminate prices and as may be issuable upon conversion, redemption, exchange, exercise or settlement of any securities registered hereunder, including under any applicable anti-dilution provisions. Any securities registered hereunder may be sold separately or together with other securities registered hereunder. The proposed maximum per security and aggregate offering prices per class of securities will be determined from time to time by the Registrant in connection with the issuance by the Registrant of the securities registered hereunder and is not specified as to each class of security. Separate consideration may or may not be received for securities that are issuable on exercise, conversion or exchange of other securities, or that are issued in units. In accordance with Rules 456(b) and 457(r), the Registrant is deferring payment of all of the registration fee. Registration fees will be paid subsequently on a pay-as-you-go basis. The Registrant will calculate the registration fee applicable to an offer of securities pursuant to this &lt;/span&gt;registration statement based on the fee payment rate in effect on the date of such fee payment. The warrants covered by this registration statement may be warrants to purchase common stock, preferred stock or other securities of the Registrant.</ffd:OfferingNote>
</xbrl>
