<?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">0001648416</identifier>
        </entity>
        <period>
            <startDate>2026-05-15</startDate>
            <endDate>2026-05-15</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001648416</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-15</startDate>
            <endDate>2026-05-15</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001648416</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-15</startDate>
            <endDate>2026-05-15</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-28">0001648416</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-29">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-30">N/A</ffd:OffsetTableNa>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-2">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">Ferrari N.V.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-4">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-5">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-6">Common Shares, par value0.01 euros per share ("Common Shares") reserved for awards under the Ferrari N.V. 2026-2028 Equity Incentive Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-7">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="INF" id="f-8" unitRef="shares">115288</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="INF" id="f-9" unitRef="usd">340.96</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="INF" id="f-10" unitRef="usd">39308596.48</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="INF" id="f-11" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="INF" id="f-12" unitRef="usd">5428.52</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c-3" id="f-13">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-3" id="f-14">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-3" id="f-15">Common Shares reserved for awards under the Ferrari N.V. Share Plan Addressed to All Employees 2024-2027(3)</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-3" id="f-16">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-3" decimals="INF" id="f-17" unitRef="shares">69640</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-3" decimals="INF" id="f-18" unitRef="usd">340.96</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-3" decimals="INF" id="f-19" unitRef="usd">23744454.4</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-3" decimals="INF" id="f-20" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-3" decimals="INF" id="f-21" unitRef="usd">3279.11</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="INF" id="f-22" unitRef="usd">63053050.88</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="INF" id="f-23" unitRef="usd">8707.63</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="INF" id="f-24" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="INF" id="f-25" unitRef="usd">8707.63</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-27">&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:112%"&gt;Pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover additional Common Shares which may become issuable by reason of any stock split, stock dividend, recapitalization, or other similar transaction effected without consideration which results in the increase in the number of the Registrant&#x2019;s outstanding Common Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:112%"&gt;Estimated solely for purposes of calculating the registration fee. Pursuant to Rule 457(c) and Rule 457(h) under the Securities Act, the proposed maximum offering price per share and proposed maximum aggregate offering price are based on the reported average of the high and low prices for the Registrant&#x2019;s Common Shares on the New York Stock Exchange of $340.96 on May 8, 2026.&lt;/span&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c-3" id="f-26">&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:112%"&gt;Pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover additional Common Shares which may become issuable by reason of any stock split, stock dividend, recapitalization, or other similar transaction effected without consideration which results in the increase in the number of the Registrant&#x2019;s outstanding Common Shares.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:112%"&gt;Estimated solely for purposes of calculating the registration fee. Pursuant to Rule 457(c) and Rule 457(h) under the Securities Act, the proposed maximum offering price per share and proposed maximum aggregate offering price are based on the reported average of the high and low prices for the Registrant&#x2019;s Common Shares on the New York Stock Exchange of $340.96 on May 8, 2026.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:112%"&gt;Additional shares being registered and reserved for awards under the Ferrari N.V. Share Plan Addressed to All Employees 2024-2027, with respect to which a Form S-8 was filed by the Registrant with the Securities and Exchange Commission on May 15, 2024 (File No. 333-279413) and is effective.&lt;/span&gt;</ffd:OfferingNote>
</xbrl>
