<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>680</ContextCount>
  <ElementCount>509</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>204</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Profit or Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofProfitorLoss</Role>
      <ShortName>Consolidated Statements of Profit or Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Profit or Loss (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofProfitorLossParenthetical</Role>
      <ShortName>Consolidated Statements of Profit or Loss (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Comprehensive Income / (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income / (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statements of Financial Position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofFinancialPosition</Role>
      <ShortName>Consolidated Statements of Financial Position</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100080 - Statement - Consolidated Statements of Changes in Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofChangesinStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100100 - Statement - Consolidated Statements of Changes in Stockholders??? Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofChangesinStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders??? Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100110 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Corporate Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/CorporateInformation</Role>
      <ShortName>Corporate Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Significant Accounting Judgments, Estimates and Assumptions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingJudgmentsEstimatesandAssumptions</Role>
      <ShortName>Significant Accounting Judgments, Estimates and Assumptions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Group Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/GroupInformation</Role>
      <ShortName>Group Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Revenues from Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomers</Role>
      <ShortName>Revenues from Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Income and Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpenses</Role>
      <ShortName>Income and Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTax</Role>
      <ShortName>Income Tax</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EarningsperShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/PropertyPlantandEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Financial Assets and Financial Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilities</Role>
      <ShortName>Financial Assets and Financial Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherAssets</Role>
      <ShortName>Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Deferred Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/DeferredExpenses</Role>
      <ShortName>Deferred Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Issued Capital and Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IssuedCapitalandReserves</Role>
      <ShortName>Issued Capital and Reserves</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Share-Based Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPayments</Role>
      <ShortName>Share-Based Payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Provisions and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ProvisionsandContingencies</Role>
      <ShortName>Provisions and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherLiabilities</Role>
      <ShortName>Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Related Party Disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosures</Role>
      <ShortName>Related Party Disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Events After the Reporting Period</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EventsAftertheReportingPeriod</Role>
      <ShortName>Events After the Reporting Period</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesTables</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Group Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/GroupInformationTables</Role>
      <ShortName>Group Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/GroupInformation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinations</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Revenues from Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersTables</Role>
      <ShortName>Revenues from Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomers</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Income and Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesTables</Role>
      <ShortName>Income and Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpenses</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Income Tax (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxTables</Role>
      <ShortName>Income Tax (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/IncomeTax</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EarningsperShareTables</Role>
      <ShortName>Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/EarningsperShare</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/PropertyPlantandEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/PropertyPlantandEquipment</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssets</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Financial Assets and Financial Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesTables</Role>
      <ShortName>Financial Assets and Financial Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilities</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/Inventories</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherAssetsTables</Role>
      <ShortName>Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/OtherAssets</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Deferred Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/DeferredExpensesTables</Role>
      <ShortName>Deferred Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/DeferredExpenses</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Issued Capital and Reserves (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IssuedCapitalandReservesTables</Role>
      <ShortName>Issued Capital and Reserves (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/IssuedCapitalandReserves</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Share-Based Payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsTables</Role>
      <ShortName>Share-Based Payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPayments</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherLiabilitiesTables</Role>
      <ShortName>Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/OtherLiabilities</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/Leases</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Related Party Disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresTables</Role>
      <ShortName>Related Party Disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosures</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Corporate Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/CorporateInformationDetails</Role>
      <ShortName>Corporate Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.biontech.de/20211231/taxonomy/role/CorporateInformation</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Significant Accounting Policies - Useful Lives Applied to the Group's Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesUsefulLivesAppliedtotheGroupsPropertyPlantandEquipmentDetails</Role>
      <ShortName>Significant Accounting Policies - Useful Lives Applied to the Group's Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Significant Accounting Policies - Useful Lives Applied to the Group's right-of-use Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesUsefulLivesAppliedtotheGroupsrightofuseAssetsDetails</Role>
      <ShortName>Significant Accounting Policies - Useful Lives Applied to the Group's right-of-use Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Significant Accounting Policies - Useful Lives Applied to the group's Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingPoliciesUsefulLivesAppliedtothegroupsIntangibleAssetsDetails</Role>
      <ShortName>Significant Accounting Policies - Useful Lives Applied to the group's Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Significant Accounting Judgments, Estimates and Assumptions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/SignificantAccountingJudgmentsEstimatesandAssumptionsAdditionalInformationDetails</Role>
      <ShortName>Significant Accounting Judgments, Estimates and Assumptions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Group Information - Summary of Information about Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/GroupInformationSummaryofInformationaboutSubsidiariesDetails</Role>
      <ShortName>Group Information - Summary of Information about Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Group Information - Summary of Information about Parent Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/GroupInformationSummaryofInformationaboutParentCompanyDetails</Role>
      <ShortName>Group Information - Summary of Information about Parent Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Group Information - Summary of Information about Entity with Significant Influence Over Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/GroupInformationSummaryofInformationaboutEntitywithSignificantInfluenceOverGroupDetails</Role>
      <ShortName>Group Information - Summary of Information about Entity with Significant Influence Over Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Business Combinations - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinationsAdditionalInformationDetails</Role>
      <ShortName>Business Combinations - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Business Combinations - Summary of Fair Values of Identifiable Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinationsSummaryofFairValuesofIdentifiableNetAssetsDetails</Role>
      <ShortName>Business Combinations - Summary of Fair Values of Identifiable Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Business Combinations - Net Cash Flow on Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/BusinessCombinationsNetCashFlowonAcquisitionDetails</Role>
      <ShortName>Business Combinations - Net Cash Flow on Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Revenues from Contracts with Customers - Summary of Disaggregation of Revenues from Contracts with Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersSummaryofDisaggregationofRevenuesfromContractswithCustomersDetails</Role>
      <ShortName>Revenues from Contracts with Customers - Summary of Disaggregation of Revenues from Contracts with Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Revenues from Contracts with Customers - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersAdditionalInformationDetails</Role>
      <ShortName>Revenues from Contracts with Customers - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Revenues from Contracts with Customers - Summary of Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersSummaryofContractBalancesDetails</Role>
      <ShortName>Revenues from Contracts with Customers - Summary of Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Revenues from Contracts with Customers - Summary of Revenue Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersSummaryofRevenueRecognizedDetails</Role>
      <ShortName>Revenues from Contracts with Customers - Summary of Revenue Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Revenues from Contracts with Customers - Summary of Contract Liabilities Allocated to Remaining Performance Obligations (Unsatisfied or Partially Unsatisfied) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RevenuesfromContractswithCustomersSummaryofContractLiabilitiesAllocatedtoRemainingPerformanceObligationsUnsatisfiedorPartiallyUnsatisfiedDetails</Role>
      <ShortName>Revenues from Contracts with Customers - Summary of Contract Liabilities Allocated to Remaining Performance Obligations (Unsatisfied or Partially Unsatisfied) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Income and Expenses - Cost of Sales (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesCostofSalesDetails</Role>
      <ShortName>Income and Expenses - Cost of Sales (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Income and Expenses - Research and Development Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesResearchandDevelopmentExpensesDetails</Role>
      <ShortName>Income and Expenses - Research and Development Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Income and Expenses - Sales and Marketing Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesSalesandMarketingExpenseDetails</Role>
      <ShortName>Income and Expenses - Sales and Marketing Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Income and Expenses - General And Administrative Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesGeneralAndAdministrativeExpensesDetails</Role>
      <ShortName>Income and Expenses - General And Administrative Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Income and Expenses - Other Operating Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesOtherOperatingExpenseDetails</Role>
      <ShortName>Income and Expenses - Other Operating Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Income and Expenses - Other Operating Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesOtherOperatingIncomeDetails</Role>
      <ShortName>Income and Expenses - Other Operating Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Income and Expenses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesAdditionalInformationDetails</Role>
      <ShortName>Income and Expenses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Income and Expenses - Changes Regarding Government Grants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesChangesRegardingGovernmentGrantsDetails</Role>
      <ShortName>Income and Expenses - Changes Regarding Government Grants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Income and Expenses - Finance Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesFinanceIncomeDetails</Role>
      <ShortName>Income and Expenses - Finance Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Income and Expenses - Finance Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesFinanceExpenseDetails</Role>
      <ShortName>Income and Expenses - Finance Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Income and Expenses - Employee Benefits Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeandExpensesEmployeeBenefitsExpenseDetails</Role>
      <ShortName>Income and Expenses - Employee Benefits Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Income Tax - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxAdditionalInformationDetails</Role>
      <ShortName>Income Tax - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Income Tax - Summary of Current and Deferred Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxSummaryofCurrentandDeferredTaxExpenseDetails</Role>
      <ShortName>Income Tax - Summary of Current and Deferred Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Income Tax - Summary of Reconciliation of Expected Income Tax Benefit to Actual Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxSummaryofReconciliationofExpectedIncomeTaxBenefittoActualIncomeDetails</Role>
      <ShortName>Income Tax - Summary of Reconciliation of Expected Income Tax Benefit to Actual Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Income Tax - Summary of Deferred Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxSummaryofDeferredTaxesDetails</Role>
      <ShortName>Income Tax - Summary of Deferred Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Income Tax - Summary of Accumulated Tax Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IncomeTaxSummaryofAccumulatedTaxLossesDetails</Role>
      <ShortName>Income Tax - Summary of Accumulated Tax Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Earnings per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EarningsperShareAdditionalInformationDetails</Role>
      <ShortName>Earnings per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Earnings per Share - Summary of Income and Share Data Used in the Basic and diluted EPS Calculations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EarningsperShareSummaryofIncomeandShareDataUsedintheBasicanddilutedEPSCalculationsDetails</Role>
      <ShortName>Earnings per Share - Summary of Income and Share Data Used in the Basic and diluted EPS Calculations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Property, Plant and Equipment - Summary of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/PropertyPlantandEquipmentSummaryofPropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment - Summary of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Intangible Assets - Summary of Detailed Information About Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssetsSummaryofDetailedInformationAboutIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Summary of Detailed Information About Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Intangible Assets - Summary of Goodwill Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssetsSummaryofGoodwillRecognizedDetails</Role>
      <ShortName>Intangible Assets - Summary of Goodwill Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Financial Assets and Financial Liabilities - Summary of Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofCashandCashEquivalentsDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Financial Assets and Financial Liabilities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesAdditionalInformationDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Financial Assets and Financial Liabilities - Summary of Financial Assets at Amortized Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofFinancialAssetsatAmortizedCostDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Financial Assets at Amortized Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100970 - Disclosure - Financial Assets and Financial Liabilities - Summary of Financial Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofFinancialLiabilitiesDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Financial Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Financial Assets and Financial Liabilities - Summary of Carrying Amount of Monetary Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofCarryingAmountofMonetaryAssetsDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Carrying Amount of Monetary Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>101000 - Disclosure - Financial Assets and Financial Liabilities - Summary of Effect of Changes in foreign Exchange Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofEffectofChangesinforeignExchangeRatesDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Effect of Changes in foreign Exchange Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>101010 - Disclosure - Financial Assets and Financial Liabilities - Summary of Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofMaturityProfileofFinancialLiabilitiesBasedonContractualUndiscountedPaymentsDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>101020 - Disclosure - Financial Assets and Financial Liabilities - Summary of Changes in Liabilities Arising From Financing Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/FinancialAssetsandFinancialLiabilitiesSummaryofChangesinLiabilitiesArisingFromFinancingActivitiesDetails</Role>
      <ShortName>Financial Assets and Financial Liabilities - Summary of Changes in Liabilities Arising From Financing Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>101030 - Disclosure - Inventories - Summary of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/InventoriesSummaryofInventoriesDetails</Role>
      <ShortName>Inventories - Summary of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>101040 - Disclosure - Inventories - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/InventoriesAdditionalInformationDetails</Role>
      <ShortName>Inventories - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>101050 - Disclosure - Other Assets - Summary of Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherAssetsSummaryofOtherAssetsDetails</Role>
      <ShortName>Other Assets - Summary of Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>101060 - Disclosure - Deferred Expenses - Summary of Deferred Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/DeferredExpensesSummaryofDeferredExpensesDetails</Role>
      <ShortName>Deferred Expenses - Summary of Deferred Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>101070 - Disclosure - Issued Capital and Reserves - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IssuedCapitalandReservesAdditionalInformationDetails</Role>
      <ShortName>Issued Capital and Reserves - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>101080 - Disclosure - Issued Capital and Reserves - Proposed Cash Dividend Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/IssuedCapitalandReservesProposedCashDividendDistributionsDetails</Role>
      <ShortName>Issued Capital and Reserves - Proposed Cash Dividend Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>101090 - Disclosure - Share-Based Payments - Schedule Of Expense Recognized for Employee Services Received (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsScheduleOfExpenseRecognizedforEmployeeServicesReceivedDetails</Role>
      <ShortName>Share-Based Payments - Schedule Of Expense Recognized for Employee Services Received (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>101100 - Disclosure - Share-Based Payments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsAdditionalInformationDetails</Role>
      <ShortName>Share-Based Payments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>101110 - Disclosure - Share-Based Payments - Schedule of Number and Share Price of Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsScheduleofNumberandSharePriceofRestrictedStockUnitsDetails</Role>
      <ShortName>Share-Based Payments - Schedule of Number and Share Price of Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>101120 - Disclosure - Share-Based Payments - Schedule of Number and Weighted-Average Exercise Price of Share Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsScheduleofNumberandWeightedAverageExercisePriceofShareOptionsDetails</Role>
      <ShortName>Share-Based Payments - Schedule of Number and Weighted-Average Exercise Price of Share Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>101130 - Disclosure - Share-Based Payments - Summary of Inputs Used in Measurement of Fair Value at Grant Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsSummaryofInputsUsedinMeasurementofFairValueatGrantDateDetails</Role>
      <ShortName>Share-Based Payments - Summary of Inputs Used in Measurement of Fair Value at Grant Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>101140 - Disclosure - Share-Based Payments -Schedule of Number and Weighted-Average Exercise Price of Share Options Allocated and Expected to be Allocated (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsScheduleofNumberandWeightedAverageExercisePriceofShareOptionsAllocatedandExpectedtobeAllocatedDetails</Role>
      <ShortName>Share-Based Payments -Schedule of Number and Weighted-Average Exercise Price of Share Options Allocated and Expected to be Allocated (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>101150 - Disclosure - Share-Based Payments - Reconciliation of Outstanding Share-Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsReconciliationofOutstandingShareOptionsDetails</Role>
      <ShortName>Share-Based Payments - Reconciliation of Outstanding Share-Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>101160 - Disclosure - Share-Based Payments - Schedule of Number Of Share Options Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ShareBasedPaymentsScheduleofNumberOfShareOptionsOutstandingDetails</Role>
      <ShortName>Share-Based Payments - Schedule of Number Of Share Options Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>101170 - Disclosure - Provisions and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/ProvisionsandContingenciesAdditionalInformationDetails</Role>
      <ShortName>Provisions and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>101180 - Disclosure - Other Liabilities - Summary of Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/OtherLiabilitiesSummaryofOtherLiabilitiesDetails</Role>
      <ShortName>Other Liabilities - Summary of Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>101190 - Disclosure - Leases - Summary of Right-of-Use Assets within Consolidated Statements of Financial Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/LeasesSummaryofRightofUseAssetswithinConsolidatedStatementsofFinancialPositionDetails</Role>
      <ShortName>Leases - Summary of Right-of-Use Assets within Consolidated Statements of Financial Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>101210 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>101220 - Disclosure - Leases - Summary of Lease Liability Included in Interest-Bearing Loans and Borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/LeasesSummaryofLeaseLiabilityIncludedinInterestBearingLoansandBorrowingsDetails</Role>
      <ShortName>Leases - Summary of Lease Liability Included in Interest-Bearing Loans and Borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>101230 - Disclosure - Leases - summary of Amounts Recognized in Consolidated Statement of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/LeasessummaryofAmountsRecognizedinConsolidatedStatementofOperationsDetails</Role>
      <ShortName>Leases - summary of Amounts Recognized in Consolidated Statement of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>101240 - Disclosure - Related Party Disclosures - Summary of Compensation of Key Management Personnel (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresSummaryofCompensationofKeyManagementPersonnelDetails</Role>
      <ShortName>Related Party Disclosures - Summary of Compensation of Key Management Personnel (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>101250 - Disclosure - Related Party Disclosures - Summary of Aggregate Value of Transactions Related to Key Management Personnel (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresSummaryofAggregateValueofTransactionsRelatedtoKeyManagementPersonnelDetails</Role>
      <ShortName>Related Party Disclosures - Summary of Aggregate Value of Transactions Related to Key Management Personnel (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>101260 - Disclosure - Related Party Disclosures - Summary of Outstanding Balances of Transactions Related to Key Management Personnel (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresSummaryofOutstandingBalancesofTransactionsRelatedtoKeyManagementPersonnelDetails</Role>
      <ShortName>Related Party Disclosures - Summary of Outstanding Balances of Transactions Related to Key Management Personnel (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>101270 - Disclosure - Related Party Disclosures - Summary of Transactions Between Related Parties Amount (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresSummaryofTransactionsBetweenRelatedPartiesAmountDetails</Role>
      <ShortName>Related Party Disclosures - Summary of Transactions Between Related Parties Amount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>101280 - Disclosure - Related Party Disclosures - Summary of Transactions Between Related Parties Outstanding Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresSummaryofTransactionsBetweenRelatedPartiesOutstandingBalancesDetails</Role>
      <ShortName>Related Party Disclosures - Summary of Transactions Between Related Parties Outstanding Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>101290 - Disclosure - Related Party Disclosures - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/RelatedPartyDisclosuresAdditionalInformationDetails</Role>
      <ShortName>Related Party Disclosures - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="bntx-20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>101300 - Disclosure - Events After the Reporting Period - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.biontech.de/20211231/taxonomy/role/EventsAftertheReportingPeriodAdditionalInformationDetails</Role>
      <ShortName>Events After the Reporting Period - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 7 fact(s) appearing in ix:hidden were eligible for transformation: bntx:StockSplitConversionRatio, dei:CurrentFiscalYearEndDate, dei:SecurityExchangeName -  bntx-20211231.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="20-F/A" original="bntx-20211231.htm">bntx-20211231.htm</File>
    <File>bntx-20211231.xsd</File>
    <File>bntx-20211231_cal.xml</File>
    <File>bntx-20211231_def.xml</File>
    <File>bntx-20211231_lab.xml</File>
    <File>bntx-20211231_pre.xml</File>
    <File>bntx-ex12_1.htm</File>
    <File>bntx-ex12_2.htm</File>
    <File>bntx-ex13_1.htm</File>
    <File>bntx-ex13_2.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img64277529_0.jpg</File>
    <File>img64277529_1.jpg</File>
    <File>img64277529_10.jpg</File>
    <File>img64277529_11.jpg</File>
    <File>img64277529_12.jpg</File>
    <File>img64277529_13.jpg</File>
    <File>img64277529_14.jpg</File>
    <File>img64277529_15.jpg</File>
    <File>img64277529_16.jpg</File>
    <File>img64277529_17.jpg</File>
    <File>img64277529_18.jpg</File>
    <File>img64277529_19.jpg</File>
    <File>img64277529_2.jpg</File>
    <File>img64277529_20.jpg</File>
    <File>img64277529_21.jpg</File>
    <File>img64277529_22.jpg</File>
    <File>img64277529_23.jpg</File>
    <File>img64277529_24.jpg</File>
    <File>img64277529_25.jpg</File>
    <File>img64277529_26.jpg</File>
    <File>img64277529_27.jpg</File>
    <File>img64277529_28.jpg</File>
    <File>img64277529_29.jpg</File>
    <File>img64277529_3.jpg</File>
    <File>img64277529_30.jpg</File>
    <File>img64277529_31.jpg</File>
    <File>img64277529_4.jpg</File>
    <File>img64277529_5.jpg</File>
    <File>img64277529_6.jpg</File>
    <File>img64277529_7.jpg</File>
    <File>img64277529_8.jpg</File>
    <File>img64277529_9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1699">http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full</BaseTaxonomy>
    <BaseTaxonomy items="47">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
