<?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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001776985</identifier>
        </entity>
        <period>
            <startDate>2025-10-21</startDate>
            <endDate>2025-10-21</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001776985</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-21</startDate>
            <endDate>2025-10-21</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001776985</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-21</startDate>
            <endDate>2025-10-21</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001776985</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-21</startDate>
            <endDate>2025-10-21</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-188">SC TO</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-189">SC TO-T</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-190">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-191">0001776985</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-192">BioNTech SE</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:Rule011Flg contextRef="offrl_1" id="ixv-195">true</ffd:Rule011Flg>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-196">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-197">false</ffd:OffsetClmdInd>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-240">false</ffd:PrevslyPdFlg>
    <ffd:TxValtn
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-241"
      unitRef="USD">1253580823.88</ffd:TxValtn>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-242"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-243"
      unitRef="USD">173119.51</ffd:FeeAmt>
    <ffd:TtlTxValtn contextRef="rc" decimals="INF" id="ixv-244" unitRef="USD">1253580823.88</ffd:TtlTxValtn>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-245" unitRef="USD">173119.51</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-246" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-247" unitRef="USD">173119.51</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-248" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-249">Transaction valuation estimated solely for purposes of calculating the filing fee. The transaction valuation was calculated by multiplying the product of (i) $5.39, which is the average of the high and low prices of ordinary shares of CureVac N.V. ("CureVac"), par value EUR0.12 per share ("CureVac shares") on October 15, 2025, as reported on the Nasdaq Global Market by (ii) 232,575,292, the number of CureVac shares outstanding on a fully diluted basis as of October 17, 2025. The calculation of the filing fee is based on information provided by CureVac. The filing fee was calculated in accordance with Rule 0-11 under the Securities Exchange Act of 1934, as amended, and Fee Rate Advisory for Fiscal Year 2026, effective October 1, 2025, issued August 25, 2025, by multiplying the transaction value by 0.00013810.</ffd:OfferingNote>
    <ffd:Rule011a2OffsetFlg contextRef="ofst_1" id="ixv-250">true</ffd:Rule011a2OffsetFlg>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-251">F-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-252">333-289468</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-253">2025-08-11</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-254"
      unitRef="USD">173119.51</ffd:OffsetClmdAmt>
    <ffd:Rule011a2OffsetFlg contextRef="ofst_2" id="ixv-255">true</ffd:Rule011a2OffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-256">BioNTech SE</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-257">F-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-258">333-289468</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-259">2025-08-11</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="ofst_2"
      decimals="INF"
      id="ixv-260"
      unitRef="USD">187883.02</ffd:OffsetPrrFeeAmt>
    <ffd:OffsetExpltnForClmdAmt contextRef="ofst_1" id="ixv-261">In connection with the Registration Statement on Form F-4 filed with the Securities and Exchange Commission on August 11, 2025 (File No. 333-289468), the registrant paid $187,883.02 with that submission.</ffd:OffsetExpltnForClmdAmt>
    <ffd:OffsetNote contextRef="ofst_2" id="ixv-262">In connection with the Registration Statement on Form F-4 filed with the Securities and Exchange Commission on August 11, 2025 (File No. 333-289468), the registrant paid $187,883.02 with that submission. </ffd:OffsetNote>
</xbrl>
