<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="From2026-10-16to2026-10-16">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000924719</identifier>
        </entity>
        <period>
            <startDate>2026-10-16</startDate>
            <endDate>2026-10-16</endDate>
        </period>
    </context>
    <context id="OfferingAxis_From2026-10-16to2026-10-16_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000924719</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-16</startDate>
            <endDate>2026-10-16</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Pure">
        <measure>pure</measure>
    </unit>
    <ffd:OffsetTableNa contextRef="From2026-10-16to2026-10-16" id="ixv-410">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp contextRef="From2026-10-16to2026-10-16" id="ixv-411">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp contextRef="From2026-10-16to2026-10-16" id="ixv-412">S-8</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey contextRef="From2026-10-16to2026-10-16" id="ixv-413">0000924719</dei:EntityCentralIndexKey>
    <ffd:FormTp contextRef="From2026-10-16to2026-10-16" id="fid_b776de0b">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="From2026-10-16to2026-10-16" id="ixv-439">Smith-Midland Corporation</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      id="fid_ab31c7d1">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      id="fid_46284ae9">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      id="fid_3ff021ab">Common Stock, par value $.01</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      id="fid_d2bec668">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      decimals="INF"
      id="fid_1c584bc4"
      unitRef="Pure">400000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      decimals="INF"
      id="fid_cabc5624"
      unitRef="Pure">22.45</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      decimals="INF"
      id="fid_394482ff"
      unitRef="USD">8980000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      decimals="INF"
      id="fid_fb954a9b"
      unitRef="Pure">0.00008700</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      decimals="INF"
      id="fid_a12e873f"
      unitRef="USD">781.26</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="From2026-10-16to2026-10-16"
      decimals="INF"
      id="fid_d8191852"
      unitRef="USD">8980000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="From2026-10-16to2026-10-16"
      decimals="INF"
      id="fid_c5ab5944"
      unitRef="USD">781.26</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="From2026-10-16to2026-10-16"
      decimals="INF"
      id="fid_74910cb9"
      unitRef="USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="From2026-10-16to2026-10-16"
      decimals="INF"
      id="fid_110ec94f"
      unitRef="USD">781.26</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="OfferingAxis_From2026-10-16to2026-10-16_1"
      id="fid_6993287a">&lt;table cellpadding="0" style="border-spacing:0;text-align:justify;font:10pt times new roman;width:100%"&gt;&lt;tbody&gt;&lt;tr style="height:15px"&gt;&lt;td style="width:4%;vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;1.&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;Represents the shares of common stock, par value $.01 per share (&#x201c;Common Stock&#x201d;), of Smith-Midland Corporation issuable pursuant to the Smith-Midland Corporation 2026 Equity Incentive Plan. Pursuant to Rule 416 promulgated under the Securities Act of 1933, as amended, there are also being registered such indeterminable number of additional shares of Common Stock as may become issuable pursuant to anti-dilution provisions contained in such plan.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:15px"&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;2.&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;Estimated solely for the purpose of calculating the registration fee.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:15px"&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;3.&lt;/p&gt;&lt;/td&gt;&lt;td style="vertical-align:top;"&gt;&lt;p style="font-size:10pt;font-family:times new roman;margin:0px"&gt;Computed in accordance with Rule 457(c) and 457(h), based upon the average of the high and low prices for the Common Stock reported on NASDAQ Stock Market on October 14, 2026.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;</ffd:OfferingNote>
</xbrl>
