<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>543</ContextCount>
  <ElementCount>545</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>191</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>16</UnitCount>
  <MyReports>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated statement of operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/StatementConsolidatedStatementOfOperations</Role>
      <ShortName>Consolidated statement of operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated statement of comprehensive loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/StatementConsolidatedStatementOfComprehensiveLoss</Role>
      <ShortName>Consolidated statement of comprehensive loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated statement of financial position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/StatementConsolidatedStatementOfFinancialPosition</Role>
      <ShortName>Consolidated statement of financial position</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated statement of changes in equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/StatementConsolidatedStatementOfChangesInEquity</Role>
      <ShortName>Consolidated statement of changes in equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated statement of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/StatementConsolidatedStatementOfCashFlows</Role>
      <ShortName>Consolidated statement of cash flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Corporate  information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCorporateInformation</Role>
      <ShortName>Corporate  information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Financial risk management</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagement</Role>
      <ShortName>Financial risk management</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Significant accounting judgments, estimates and assessments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSignificantAccountingJudgmentsEstimatesAndAssessments</Role>
      <ShortName>Significant accounting judgments, estimates and assessments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Segment information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformation</Role>
      <ShortName>Segment information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Depreciation Amortization and Impairment by Per Function</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureDepreciationAmortizationAndImpairmentByPerFunction</Role>
      <ShortName>Depreciation Amortization and Impairment by Per Function</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Employee and Personnel Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCosts</Role>
      <ShortName>Employee and Personnel Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Share-based payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPayments</Role>
      <ShortName>Share-based payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Finance income and expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinanceIncomeAndExpenses</Role>
      <ShortName>Finance income and expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Net Exchange Rate Differences</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureNetExchangeRateDifferences</Role>
      <ShortName>Net Exchange Rate Differences</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Income tax</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTax</Role>
      <ShortName>Income tax</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Investments in subsidiaries</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInvestmentsInSubsidiaries</Role>
      <ShortName>Investments in subsidiaries</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssets</Role>
      <ShortName>Intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Property, plant and equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, plant and equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Other non-current receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentReceivables</Role>
      <ShortName>Other non-current receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Financial instruments per category</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategory</Role>
      <ShortName>Financial instruments per category</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Trade receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureTradeReceivables</Role>
      <ShortName>Trade receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Other current receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentReceivables</Role>
      <ShortName>Other current receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Prepaid expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePrepaidExpenses</Role>
      <ShortName>Prepaid expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Cash and cash equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalents</Role>
      <ShortName>Cash and cash equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Share capital and other contributed capital</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareCapitalAndOtherContributedCapital</Role>
      <ShortName>Share capital and other contributed capital</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Liabilities to Credit Institutions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLiabilitiesToCreditInstitutions</Role>
      <ShortName>Liabilities to Credit Institutions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Other non-current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilities</Role>
      <ShortName>Other non-current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Provisions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureProvisions</Role>
      <ShortName>Provisions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Shareholder loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareholderLoans</Role>
      <ShortName>Shareholder loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentLiabilities</Role>
      <ShortName>Other current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Accrued expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureAccruedExpenses</Role>
      <ShortName>Accrued expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Related party disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureRelatedPartyDisclosures</Role>
      <ShortName>Related party disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Changes in liabilities attributable to financing activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureChangesInLiabilitiesAttributableToFinancingActivities</Role>
      <ShortName>Changes in liabilities attributable to financing activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Loss per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShare</Role>
      <ShortName>Loss per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Events after the end of the reporting period</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEventsAfterEndOfReportingPeriod</Role>
      <ShortName>Events after the end of the reporting period</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Financial risk management (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementTables</Role>
      <ShortName>Financial risk management (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagement</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Segment information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationTables</Role>
      <ShortName>Segment information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Depreciation Amortization and Impairment by Per Function (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureDepreciationAmortizationAndImpairmentByPerFunctionTables</Role>
      <ShortName>Depreciation Amortization and Impairment by Per Function (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureDepreciationAmortizationAndImpairmentByPerFunction</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Employee and Personnel Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCostsTables</Role>
      <ShortName>Employee and Personnel Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCosts</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Share-based payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsTables</Role>
      <ShortName>Share-based payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPayments</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Finance income and expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinanceIncomeAndExpensesTables</Role>
      <ShortName>Finance income and expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinanceIncomeAndExpenses</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Net Exchange Rate Differences (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureNetExchangeRateDifferencesTables</Role>
      <ShortName>Net Exchange Rate Differences (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureNetExchangeRateDifferences</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Income tax (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxTables</Role>
      <ShortName>Income tax (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTax</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Investments in subsidiaries (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInvestmentsInSubsidiariesTables</Role>
      <ShortName>Investments in subsidiaries (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureInvestmentsInSubsidiaries</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Intangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssetsTables</Role>
      <ShortName>Intangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssets</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Property, plant and equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, plant and equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeases</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Other non-current receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentReceivablesTables</Role>
      <ShortName>Other non-current receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentReceivables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Financial instruments per category (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategoryTables</Role>
      <ShortName>Financial instruments per category (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategory</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure -  Inventories  (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories  (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureInventories</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Trade receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureTradeReceivablesTables</Role>
      <ShortName>Trade receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureTradeReceivables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Other Current Receivables  (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentReceivablesTables</Role>
      <ShortName>Other Current Receivables  (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Prepaid expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePrepaidExpensesTables</Role>
      <ShortName>Prepaid expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosurePrepaidExpenses</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Cash and cash equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalentsTables</Role>
      <ShortName>Cash and cash equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalents</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Liabilities to Credit Institutions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLiabilitiesToCreditInstitutionsTables</Role>
      <ShortName>Liabilities to Credit Institutions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureLiabilitiesToCreditInstitutions</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Other non-current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesTables</Role>
      <ShortName>Other non-current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilities</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Provisions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureProvisionsTables</Role>
      <ShortName>Provisions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureProvisions</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Other current liabilities  (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentLiabilitiesTables</Role>
      <ShortName>Other current liabilities  (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentLiabilities</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Accrued expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureAccruedExpensesTables</Role>
      <ShortName>Accrued expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureAccruedExpenses</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Changes in liabilities attributable to financing activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureChangesInLiabilitiesAttributableToFinancingActivitiesTables</Role>
      <ShortName>Changes in liabilities attributable to financing activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureChangesInLiabilitiesAttributableToFinancingActivities</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Loss per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShareTables</Role>
      <ShortName>Loss per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShare</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Life of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLifeOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Estimated Useful Life of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Financial Risk Management - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementAdditionalInformationDetails</Role>
      <ShortName>Financial Risk Management - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Financial Risk Management - Summary of Exposure to Foreign Currency Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfExposureToForeignCurrencyRiskDetails</Role>
      <ShortName>Financial Risk Management - Summary of Exposure to Foreign Currency Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Financial Risk Management - Summary of Risk Exposure in Foreign Currencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfRiskExposureInForeignCurrenciesDetails</Role>
      <ShortName>Financial Risk Management - Summary of Risk Exposure in Foreign Currencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Financial Risk Management - Summary of Risk Exposure in Foreign Currencies (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfRiskExposureInForeignCurrenciesParentheticalDetails</Role>
      <ShortName>Financial Risk Management - Summary of Risk Exposure in Foreign Currencies (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Financial Risk Management - Sensitivity Analysis of Interest Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSensitivityAnalysisOfInterestRateDetails</Role>
      <ShortName>Financial Risk Management - Sensitivity Analysis of Interest Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Financial Risk Management - Sensitivity Analysis of Interest Rate (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSensitivityAnalysisOfInterestRateParentheticalDetails</Role>
      <ShortName>Financial Risk Management - Sensitivity Analysis of Interest Rate (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Financial Risk Management - Sensitivity to Changes In Fair Value From Short-term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSensitivityToChangesInFairValueFromShortTermInvestmentsDetails</Role>
      <ShortName>Financial Risk Management - Sensitivity to Changes In Fair Value From Short-term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Financial Risk Management - Sensitivity to Changes In Fair Value From Short-term Investments (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSensitivityToChangesInFairValueFromShortTermInvestmentsParentheticalDetails</Role>
      <ShortName>Financial Risk Management - Sensitivity to Changes In Fair Value From Short-term Investments (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Financial Risk Management - Summary of Aging of Groups Trade Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfAgingOfGroupsTradeReceivablesDetails</Role>
      <ShortName>Financial Risk Management - Summary of Aging of Groups Trade Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Financial Risk Management - Summary of Allowance for Expected Credit Losses of Trade Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfAllowanceForExpectedCreditLossesOfTradeReceivablesDetails</Role>
      <ShortName>Financial Risk Management - Summary of Allowance for Expected Credit Losses of Trade Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Financial Risk Management - Summary of Financial Liabilities into Maturity Groupings based on Contractual Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialRiskManagementSummaryOfFinancialLiabilitiesIntoMaturityGroupingsBasedOnContractualMaturitiesDetails</Role>
      <ShortName>Financial Risk Management - Summary of Financial Liabilities into Maturity Groupings based on Contractual Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Significant Accounting Judgments Estimates and Assessments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSignificantAccountingJudgmentsEstimatesAndAssessmentsAdditionalInformationDetails</Role>
      <ShortName>Significant Accounting Judgments Estimates and Assessments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Segment Information - Summary of Revenue and EBITDA (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationSummaryOfRevenueAndEBITDADetails</Role>
      <ShortName>Segment Information - Summary of Revenue and EBITDA (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Segment Information - Summary of Revenue and EBITDA (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationSummaryOfRevenueAndEBITDAParentheticalDetails</Role>
      <ShortName>Segment Information - Summary of Revenue and EBITDA (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Segment Information - Summary of Non-current Assets by Country (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationSummaryOfNonCurrentAssetsByCountryDetails</Role>
      <ShortName>Segment Information - Summary of Non-current Assets by Country (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Segment Information - Summary of Revenue from External Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureSegmentInformationSummaryOfRevenueFromExternalCustomersDetails</Role>
      <ShortName>Segment Information - Summary of Revenue from External Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Depreciation Amortization and Impairment by Per Function - Summary of Depreciation and Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureDepreciationAmortizationAndImpairmentByPerFunctionSummaryOfDepreciationAndAmortizationDetails</Role>
      <ShortName>Depreciation Amortization and Impairment by Per Function - Summary of Depreciation and Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Depreciation Amortization and Impairment by Per Function - Summary of Depreciation and Amortization (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureDepreciationAmortizationAndImpairmentByPerFunctionSummaryOfDepreciationAndAmortizationParentheticalDetails</Role>
      <ShortName>Depreciation Amortization and Impairment by Per Function - Summary of Depreciation and Amortization (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Employee and Personnel Costs - Summary of Employee Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCostsSummaryOfEmployeeBenefitsDetails</Role>
      <ShortName>Employee and Personnel Costs - Summary of Employee Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Employee and Personnel Costs - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCostsAdditionalInformationDetails</Role>
      <ShortName>Employee and Personnel Costs - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Employee and Personnel Costs - Summary of Employee Benefits Expenses by Function (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEmployeeAndPersonnelCostsSummaryOfEmployeeBenefitsExpensesByFunctionDetails</Role>
      <ShortName>Employee and Personnel Costs - Summary of Employee Benefits Expenses by Function (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Share-based payments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsAdditionalInformationDetails</Role>
      <ShortName>Share-based payments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Share-based payments - Summary of RSUs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfRsusDetails</Role>
      <ShortName>Share-based payments - Summary of RSUs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Share-based payments - Summary of Employee Stock Options Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfEmployeeStockOptionsGrantedDetails</Role>
      <ShortName>Share-based payments - Summary of Employee Stock Options Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Share-based payments - Summary of Employee Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfEmployeeStockOptionsDetails</Role>
      <ShortName>Share-based payments - Summary of Employee Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Share-based payments - Summary of Changes on Fair Value Per Employee Stock Option Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfChangesOnFairValuePerEmployeeStockOptionGrantedDetails</Role>
      <ShortName>Share-based payments - Summary of Changes on Fair Value Per Employee Stock Option Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>100970 - Disclosure - Share-based payments - Summary of Changes on Fair Value Per Employee Stock Option Granted (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfChangesOnFairValuePerEmployeeStockOptionGrantedParentheticalDetails</Role>
      <ShortName>Share-based payments - Summary of Changes on Fair Value Per Employee Stock Option Granted (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>100980 - Disclosure - Share-based payments - Summary of Warrants Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfWarrantsGrantedDetails</Role>
      <ShortName>Share-based payments - Summary of Warrants Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Share-based payments - Summary of Warrants Granted (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfWarrantsGrantedParentheticalDetails</Role>
      <ShortName>Share-based payments - Summary of Warrants Granted (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>101000 - Disclosure - Share-based payments - Summary of Model Inputs for Warrants Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfModelInputsForWarrantsGrantedDetails</Role>
      <ShortName>Share-based payments - Summary of Model Inputs for Warrants Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>101010 - Disclosure - Share-based payments - Summary of Changes on Fair Value Per Warrant Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfChangesOnFairValuePerWarrantGrantedDetails</Role>
      <ShortName>Share-based payments - Summary of Changes on Fair Value Per Warrant Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>101020 - Disclosure - Share-based payments - Summary of Changes on Fair Value Per Warrant Granted (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfChangesOnFairValuePerWarrantGrantedParentheticalDetails</Role>
      <ShortName>Share-based payments - Summary of Changes on Fair Value Per Warrant Granted (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>101030 - Disclosure - Share-based payments - Summary of Expenses Arising from Share-based Payment Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareBasedPaymentsSummaryOfExpensesArisingFromShareBasedPaymentTransactionsDetails</Role>
      <ShortName>Share-based payments - Summary of Expenses Arising from Share-based Payment Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>101040 - Disclosure - Finance income and expenses - Summary of Finance Income and Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinanceIncomeAndExpensesSummaryOfFinanceIncomeAndExpensesDetails</Role>
      <ShortName>Finance income and expenses - Summary of Finance Income and Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>101050 - Disclosure - Finance income and expenses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinanceIncomeAndExpensesAdditionalInformationDetails</Role>
      <ShortName>Finance income and expenses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>101060 - Disclosure - Net exchange-rate differences - Summary of Net exchange-rate differences (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureNetExchangeRateDifferencesSummaryOfNetExchangeRateDifferencesDetails</Role>
      <ShortName>Net exchange-rate differences - Summary of Net exchange-rate differences (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>101070 - Disclosure - Income tax - Major Components of Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxMajorComponentsOfIncomeTaxExpenseDetails</Role>
      <ShortName>Income tax - Major Components of Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>101080 - Disclosure - Income tax - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxAdditionalInformationDetails</Role>
      <ShortName>Income tax - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>101090 - Disclosure - Income tax - Summary of Reconciliation of Tax Expense and Accounting Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfReconciliationOfTaxExpenseAndAccountingLossDetails</Role>
      <ShortName>Income tax - Summary of Reconciliation of Tax Expense and Accounting Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>101100 - Disclosure - Income tax - Summary of Reconciliation of Tax Expense and Accounting Loss (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfReconciliationOfTaxExpenseAndAccountingLossParentheticalDetails</Role>
      <ShortName>Income tax - Summary of Reconciliation of Tax Expense and Accounting Loss (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>101110 - Disclosure - Income tax - Summary of Deferred Tax Relates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfDeferredTaxRelatesDetails</Role>
      <ShortName>Income tax - Summary of Deferred Tax Relates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>101120 - Disclosure - Income tax - Summary of Reconciliation of Net Deferred Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfReconciliationOfNetDeferredTaxDetails</Role>
      <ShortName>Income tax - Summary of Reconciliation of Net Deferred Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>101130 - Disclosure - Income tax - Summary of Deferred Tax Assets Not Been Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfDeferredTaxAssetsNotBeenRecognizedDetails</Role>
      <ShortName>Income tax - Summary of Deferred Tax Assets Not Been Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>101140 - Disclosure - Income tax - Summary of Tax Loss Carry-forwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIncomeTaxSummaryOfTaxLossCarryForwardsDetails</Role>
      <ShortName>Income tax - Summary of Tax Loss Carry-forwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>101150 - Disclosure - Investments in Subsidiaries - Summary of Principal Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInvestmentsInSubsidiariesSummaryOfPrincipalSubsidiariesDetails</Role>
      <ShortName>Investments in Subsidiaries - Summary of Principal Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>101160 - Disclosure - Intangible Assets - Summary of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssetsSummaryOfIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets - Summary of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>101170 - Disclosure - Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>101180 - Disclosure - Intangible Assets - Summary of Key Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureIntangibleAssetsSummaryOfKeyAssumptionsDetails</Role>
      <ShortName>Intangible Assets - Summary of Key Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>101190 - Disclosure - Property, Plant and Equipment - Summary of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment - Summary of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>101200 - Disclosure - Property, plant and equipment - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePropertyPlantAndEquipmentAdditionalInformationDetails</Role>
      <ShortName>Property, plant and equipment - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>101210 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>101220 - Disclosure - Leases - Summary of Consolidated Statement of Financial Position Amounts Relating to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfConsolidatedStatementOfFinancialPositionAmountsRelatingToLeasesDetails</Role>
      <ShortName>Leases - Summary of Consolidated Statement of Financial Position Amounts Relating to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>101230 - Disclosure - Leases - Summary of Changes in Right of Use Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfChangesInRightOfUseAssetsDetails</Role>
      <ShortName>Leases - Summary of Changes in Right of Use Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>101240 - Disclosure - Leases - Summary of Changes in Right of Use Assets (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfChangesInRightOfUseAssetsParentheticalDetails</Role>
      <ShortName>Leases - Summary of Changes in Right of Use Assets (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>101250 - Disclosure - Leases - Summary of Amounts Recognized in Statement of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfAmountsRecognizedInStatementOfOperationsDetails</Role>
      <ShortName>Leases - Summary of Amounts Recognized in Statement of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>126</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>101260 - Disclosure - Other Non-Current Receivables - Summary of Other Non-Current Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentReceivablesSummaryOfOtherNonCurrentReceivablesDetails</Role>
      <ShortName>Other Non-Current Receivables - Summary of Other Non-Current Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>101270 - Disclosure - Financial Instruments Per Category - Summary of Financial Instruments Per Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategorySummaryOfFinancialInstrumentsPerCategoryDetails</Role>
      <ShortName>Financial Instruments Per Category - Summary of Financial Instruments Per Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>128</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>101280 - Disclosure - Financial Instruments Per Category - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategoryAdditionalInformationDetails</Role>
      <ShortName>Financial Instruments Per Category - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>129</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>101290 - Disclosure - Financial Instruments Per Category - Summary of Financial Instruments Include Interest Rate Swaps, Present Value of Estimated Future Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureFinancialInstrumentsPerCategorySummaryOfFinancialInstrumentsIncludeInterestRateSwapsPresentValueOfEstimatedFutureCashFlowsDetails</Role>
      <ShortName>Financial Instruments Per Category - Summary of Financial Instruments Include Interest Rate Swaps, Present Value of Estimated Future Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>101300 - Disclosure - Inventories - Summary of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInventoriesSummaryOfInventoriesDetails</Role>
      <ShortName>Inventories - Summary of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>101310 - Disclosure - Inventories - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureInventoriesAdditionalInformationDetails</Role>
      <ShortName>Inventories - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>101320 - Disclosure - Trade receivables - Summary of Trade Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureTradeReceivablesSummaryOfTradeReceivablesDetails</Role>
      <ShortName>Trade receivables - Summary of Trade Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>101330 - Disclosure - Trade receivables - Summary of Carrying Amounts By Currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureTradeReceivablesSummaryOfCarryingAmountsByCurrencyDetails</Role>
      <ShortName>Trade receivables - Summary of Carrying Amounts By Currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>101340 - Disclosure - Other Current Receivables - Summary of Other Current Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentReceivablesSummaryOfOtherCurrentReceivablesDetails</Role>
      <ShortName>Other Current Receivables - Summary of Other Current Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>135</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>101350 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosurePrepaidExpensesSummaryOfPrepaidExpensesDetails</Role>
      <ShortName>Prepaid Expenses - Summary of Prepaid Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>136</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>101360 - Disclosure - Cash and Cash Equivalents - Summary of Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetails</Role>
      <ShortName>Cash and Cash Equivalents - Summary of Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>101370 - Disclosure - Share Capital and other Contributed Capital - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareCapitalAndOtherContributedCapitalAdditionalInformationDetails</Role>
      <ShortName>Share Capital and other Contributed Capital - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>101380 - Disclosure - Liabilities to Credit Institutions - Summary of Liabilities to Credit Institutions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLiabilitiesToCreditInstitutionsSummaryOfLiabilitiesToCreditInstitutionsDetails</Role>
      <ShortName>Liabilities to Credit Institutions - Summary of Liabilities to Credit Institutions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>139</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>101390 - Disclosure - Liabilities to Credit Institutions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLiabilitiesToCreditInstitutionsAdditionalInformationDetails</Role>
      <ShortName>Liabilities to Credit Institutions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>140</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>101400 - Disclosure - Other non-current liabilities - Summary of Other Non-current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherNonCurrentLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetails</Role>
      <ShortName>Other non-current liabilities - Summary of Other Non-current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>141</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>101410 - Disclosure - Provisions - Summary of Changes in Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureProvisionsSummaryOfChangesInProvisionsDetails</Role>
      <ShortName>Provisions - Summary of Changes in Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>142</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>101420 - Disclosure - Shareholder Loans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureShareholderLoansAdditionalInformationDetails</Role>
      <ShortName>Shareholder Loans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>143</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>101430 - Disclosure - Other Current Liabilities - Summary of Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureOtherCurrentLiabilitiesSummaryOfOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Other Current Liabilities - Summary of Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>144</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>101440 - Disclosure - Accrued Expenses - Summary of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureAccruedExpensesSummaryOfAccruedExpensesDetails</Role>
      <ShortName>Accrued Expenses - Summary of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>145</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R146.htm</HtmlFileName>
      <LongName>101450 - Disclosure - Related Party Disclosures - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureRelatedPartyDisclosuresAdditionalInformationDetails</Role>
      <ShortName>Related Party Disclosures - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>146</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R147.htm</HtmlFileName>
      <LongName>101460 - Disclosure - Changes in Liabilities Attributable to Financing Activities - Summary of Changes in Liabilities Attributable to Financing Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureChangesInLiabilitiesAttributableToFinancingActivitiesSummaryOfChangesInLiabilitiesAttributableToFinancingActivitiesDetails</Role>
      <ShortName>Changes in Liabilities Attributable to Financing Activities - Summary of Changes in Liabilities Attributable to Financing Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>147</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R148.htm</HtmlFileName>
      <LongName>101470 - Disclosure - Loss per Share - Summary of Weighted Average Number of Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShareSummaryOfWeightedAverageNumberOfSharesDetails</Role>
      <ShortName>Loss per Share - Summary of Weighted Average Number of Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>148</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R149.htm</HtmlFileName>
      <LongName>101480 - Disclosure - Loss per Share - Summary of Loss per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShareSummaryOfLossPerShareDetails</Role>
      <ShortName>Loss per Share - Summary of Loss per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>149</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R150.htm</HtmlFileName>
      <LongName>101490 - Disclosure - Loss per Share - Summary of Potential Dilutive Securities Not Included in Diluted Loss per Share Calculations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureLossPerShareSummaryOfPotentialDilutiveSecuritiesNotIncludedInDilutedLossPerShareCalculationsDetails</Role>
      <ShortName>Loss per Share - Summary of Potential Dilutive Securities Not Included in Diluted Loss per Share Calculations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>150</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R151.htm</HtmlFileName>
      <LongName>101500 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>151</Position>
    </Report>
    <Report instance="otly-20f_20211231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R152.htm</HtmlFileName>
      <LongName>101510 - Disclosure - Events After the End of the Reporting Period - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oatly.com/20211231/taxonomy/role/DisclosureEventsAfterEndOfReportingPeriodAdditionalInformationDetails</Role>
      <ShortName>Events After the End of the Reporting Period - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>152</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="20-F" original="otly-20f_20211231.htm">otly-20f_20211231.htm</File>
    <File>otly-20211231.xsd</File>
    <File>otly-20211231_cal.xml</File>
    <File>otly-20211231_def.xml</File>
    <File>otly-20211231_lab.xml</File>
    <File>otly-20211231_pre.xml</File>
    <File>otly-ex121_177.htm</File>
    <File>otly-ex122_176.htm</File>
    <File>otly-ex131_175.htm</File>
    <File>otly-ex132_174.htm</File>
    <File>otly-ex151_894.htm</File>
    <File>otly-ex21_321.htm</File>
    <File>otly-ex22_320.htm</File>
    <File>otly-ex25_273.htm</File>
    <File>otly-ex44_322.htm</File>
    <File>otly-ex81_272.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ghggn4b0okmd000001.jpg</File>
    <File>ghggn4b0okmd000002.jpg</File>
    <File>ghggn4b0okmd000003.jpg</File>
    <File>ghggn4b0okmd000004.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1334">http://xbrl.ifrs.org/taxonomy/2021-03-24/ifrs-full</BaseTaxonomy>
    <BaseTaxonomy items="42">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
