<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:_2="http://www.w3.org/1999/xhtml"
  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:utr="http://www.xbrl.org/2009/utr"
  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">0001043509</identifier>
        </entity>
        <period>
            <startDate>2026-05-05</startDate>
            <endDate>2026-05-05</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001043509</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-05</startDate>
            <endDate>2026-05-05</endDate>
        </period>
    </context>
    <unit id="share_unit_type">
        <measure>_2:share_unit_type</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="rate">
        <measure>utr:Rate</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-17">0001043509</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp contextRef="c-1" id="f-18">S-8</ffd:SubmissnTp>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-19">false</ffd:PrevslyPdFlg>
    <ffd:OffsetTableNa contextRef="c-1" id="f-21">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-1">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c-1" id="f-2">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">SONIC AUTOMOTIVE, INC.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Class A Common Stock, par value  $0.01 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-6">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c-2"
      decimals="INF"
      id="f-7"
      unitRef="share_unit_type">2000000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="INF" id="f-8" unitRef="usd">74.09</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="INF" id="f-9" unitRef="usd">148180000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="INF" id="f-10" unitRef="rate">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="INF" id="f-11" unitRef="usd">20463.66</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="0" id="f-12" unitRef="usd">148180000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="INF" id="f-13" unitRef="usd">20463.66</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="INF" id="f-14" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="INF" id="f-15" unitRef="usd">20463.66</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-16">(a) Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), the registration statement on Form&#160;S-8 to which this exhibit relates also covers any additional shares of the registrant&#x2019;s Class&#160;A Common Stock that may become issuable under the Sonic Automotive, Inc. 2026 Equity Incentive Plan by reason of any stock split, stock dividend or other similar transaction. &lt;div style="margin-bottom:5pt;margin-top:5pt;padding-right:-27pt"&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:10pt;font-weight:400;line-height:120%"&gt;(b) The proposed maximum offering price per unit and maximum aggregate offering price are estimated solely for purposes of calculating the registration fee pursuant to Rule 457(c) and Rule 457(h)(1) of the Securities Act. The proposed maximum offering price per unit and maximum aggregate offering price are based upon the average of the high and low prices of the Class A Common Stock on May 1, 2026, as reported on the New York Stock Exchange.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
