<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>794</ContextCount>
  <ElementCount>389</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>202</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Coverpage</Role>
      <ShortName>Cover page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Income Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedIncomeStatements</Role>
      <ShortName>Consolidated Income Statements</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Statements of Changes in Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedStatementsofChangesinEquity</Role>
      <ShortName>Consolidated Statements of Changes in Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Statements of Changes in Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedStatementsofChangesinEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedStatementsofCashFlowsParenthetical</Role>
      <ShortName>Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Introduction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Introduction</Role>
      <ShortName>Introduction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Basis of Preparation of the Half-Year Financial Statements and Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPolicies</Role>
      <ShortName>Basis of Preparation of the Half-Year Financial Statements and Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalChangesinScopeofConsolidationinthePeriodandAmendmentstoPrincipalAgreements</Role>
      <ShortName>Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyPlantandEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Impairment of Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ImpairmentofIntangibleAssets</Role>
      <ShortName>Impairment of Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Investments Accounted for Using the Equity Method</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsAccountedforUsingtheEquityMethod</Role>
      <ShortName>Investments Accounted for Using the Equity Method</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Other Non-Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherNonCurrentAssets</Role>
      <ShortName>Other Non-Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Consolidated Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquity</Role>
      <ShortName>Consolidated Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Debt, Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalents</Role>
      <ShortName>Debt, Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Liabilities Related to Business Combinations and to Non-Controlling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterests</Role>
      <ShortName>Liabilities Related to Business Combinations and to Non-Controlling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Non-Current Provisions And Other Non-Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilities</Role>
      <ShortName>Non-Current Provisions And Other Non-Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Off Balance Sheet Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffBalanceSheetCommitments</Role>
      <ShortName>Off Balance Sheet Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Litigation and Arbitration Proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LitigationandArbitrationProceedings</Role>
      <ShortName>Litigation and Arbitration Proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Other Operating Income And Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherOperatingIncomeAndExpenses</Role>
      <ShortName>Other Operating Income And Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Restructuring Costs and Similar Items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RestructuringCostsandSimilarItems</Role>
      <ShortName>Restructuring Costs and Similar Items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Other Gains and Losses, and Litigation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherGainsandLossesandLitigation</Role>
      <ShortName>Other Gains and Losses, and Litigation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Financial Expenses and Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/FinancialExpensesandIncome</Role>
      <ShortName>Financial Expenses and Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Income Tax Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/IncomeTaxExpense</Role>
      <ShortName>Income Tax Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Events Subsequent to June 30, 2023</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/EventsSubsequenttoJune302023</Role>
      <ShortName>Events Subsequent to June 30, 2023</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPoliciesTables</Role>
      <ShortName>Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyPlantandEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/PropertyPlantandEquipment</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/GoodwillandOtherIntangibleAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - Investments Accounted for Using the Equity Method (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsAccountedforUsingtheEquityMethodTables</Role>
      <ShortName>Investments Accounted for Using the Equity Method (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/InvestmentsAccountedforUsingtheEquityMethod</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - Other Non-Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherNonCurrentAssetsTables</Role>
      <ShortName>Other Non-Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OtherNonCurrentAssets</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AccountsReceivableTables</Role>
      <ShortName>Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/AccountsReceivable</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Consolidated Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquityTables</Role>
      <ShortName>Consolidated Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/ConsolidatedShareholdersEquity</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Debt, Cash and Cash Equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsTables</Role>
      <ShortName>Debt, Cash and Cash Equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/DebtCashandCashEquivalents</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Liabilities Related to Business Combinations and to Non-Controlling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterestsTables</Role>
      <ShortName>Liabilities Related to Business Combinations and to Non-Controlling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/LiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterests</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Non-Current Provisions And Other Non-Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilitiesTables</Role>
      <ShortName>Non-Current Provisions And Other Non-Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilities</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Other Operating Income And Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherOperatingIncomeAndExpensesTables</Role>
      <ShortName>Other Operating Income And Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OtherOperatingIncomeAndExpenses</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Restructuring Costs and Similar Items (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RestructuringCostsandSimilarItemsTables</Role>
      <ShortName>Restructuring Costs and Similar Items (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/RestructuringCostsandSimilarItems</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Financial Expenses and Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/FinancialExpensesandIncomeTables</Role>
      <ShortName>Financial Expenses and Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/FinancialExpensesandIncome</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Income Tax Expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/IncomeTaxExpenseTables</Role>
      <ShortName>Income Tax Expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/IncomeTaxExpense</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/SegmentInformation</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPoliciesDetails</Role>
      <ShortName>Basis of Preparation of the Half-Year Financial Statements and Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/BasisofPreparationoftheHalfYearFinancialStatementsandAccountingPoliciesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements - Principal Changes in Scope of Consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalChangesinScopeofConsolidationinthePeriodandAmendmentstoPrincipalAgreementsPrincipalChangesinScopeofConsolidationDetails</Role>
      <ShortName>Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements - Principal Changes in Scope of Consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements - Amendments to Principal Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalChangesinScopeofConsolidationinthePeriodandAmendmentstoPrincipalAgreementsAmendmentstoPrincipalAgreementsDetails</Role>
      <ShortName>Principal Changes in Scope of Consolidation in the Period and Amendments to Principal Agreements - Amendments to Principal Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Property, Plant and Equipment - Summary of Acquisitions and Capitalized Interest by Operating Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyPlantandEquipmentSummaryofAcquisitionsandCapitalizedInterestbyOperatingSegmentDetails</Role>
      <ShortName>Property, Plant and Equipment - Summary of Acquisitions and Capitalized Interest by Operating Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Property, Plant and Equipment - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyPlantandEquipmentAdditionalInformationDetails</Role>
      <ShortName>Property, Plant and Equipment - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandOtherIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Movements in Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandOtherIntangibleAssetsScheduleofMovementsinOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Movements in Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Impairment of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ImpairmentofIntangibleAssetsDetails</Role>
      <ShortName>Impairment of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/ImpairmentofIntangibleAssets</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Investments Accounted for Using the Equity Method - Summary of Investments in Associates and Joint Ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsAccountedforUsingtheEquityMethodSummaryofInvestmentsinAssociatesandJointVenturesDetails</Role>
      <ShortName>Investments Accounted for Using the Equity Method - Summary of Investments in Associates and Joint Ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Investments Accounted for Using the Equity Method - Summary of Principal Transactions and Balances with Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsAccountedforUsingtheEquityMethodSummaryofPrincipalTransactionsandBalanceswithRelatedPartiesDetails</Role>
      <ShortName>Investments Accounted for Using the Equity Method - Summary of Principal Transactions and Balances with Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Other Non-Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherNonCurrentAssetsDetails</Role>
      <ShortName>Other Non-Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OtherNonCurrentAssetsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Accounts Receivable - Summary of Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AccountsReceivableSummaryofAccountsReceivableDetails</Role>
      <ShortName>Accounts Receivable - Summary of Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Accounts Receivable - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AccountsReceivableAdditionalInformationDetails</Role>
      <ShortName>Accounts Receivable - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - Accounts Receivable - Summary of Gross Value of Overdue Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AccountsReceivableSummaryofGrossValueofOverdueReceivablesDetails</Role>
      <ShortName>Accounts Receivable - Summary of Gross Value of Overdue Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Consolidated Shareholders' Equity - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Consolidated Shareholders' Equity - Summary of Treasury Shares Held (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofTreasurySharesHeldDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Treasury Shares Held (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - Consolidated Shareholders' Equity - Summary of Principal Characteristics of Restricted Share Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofPrincipalCharacteristicsofRestrictedSharePlansDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Principal Characteristics of Restricted Share Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Consolidated Shareholders' Equity - Summary of Number of Restricted Shares Not Yet Fully Vested (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofNumberofRestrictedSharesNotYetFullyVestedDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Number of Restricted Shares Not Yet Fully Vested (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Consolidated Shareholders' Equity - Summary of Options Outstanding and Exercisable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofOptionsOutstandingandExercisableDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Options Outstanding and Exercisable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - Consolidated Shareholders' Equity - Summary of Number of Shares Used to Compute Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofNumberofSharesUsedtoComputeDilutedEarningsPerShareDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Number of Shares Used to Compute Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Consolidated Shareholders' Equity - Summary of Movements within Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedShareholdersEquitySummaryofMovementswithinOtherComprehensiveIncomeDetails</Role>
      <ShortName>Consolidated Shareholders' Equity - Summary of Movements within Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - Debt, Cash and Cash Equivalents - Summary of Changes in Financial Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsSummaryofChangesinFinancialPositionDetails</Role>
      <ShortName>Debt, Cash and Cash Equivalents - Summary of Changes in Financial Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Debt, Cash and Cash Equivalents - Summary of Reconciliation of Carrying Amount to Value on Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsSummaryofReconciliationofCarryingAmounttoValueonRedemptionDetails</Role>
      <ShortName>Debt, Cash and Cash Equivalents - Summary of Reconciliation of Carrying Amount to Value on Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - Debt, Cash and Cash Equivalents - Summary of Net Debt by Type Valuation of Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsSummaryofNetDebtbyTypeValuationofRedemptionDetails</Role>
      <ShortName>Debt, Cash and Cash Equivalents - Summary of Net Debt by Type Valuation of Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Debt, Cash and Cash Equivalents - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsAdditionalInformationDetails</Role>
      <ShortName>Debt, Cash and Cash Equivalents - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Debt, Cash and Cash Equivalents - Summary of Market Value of Net Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtCashandCashEquivalentsSummaryofMarketValueofNetDebtDetails</Role>
      <ShortName>Debt, Cash and Cash Equivalents - Summary of Market Value of Net Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Derivative Financial Instruments - Summary of Operating Currency Hedging Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativeFinancialInstrumentsSummaryofOperatingCurrencyHedgingInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments - Summary of Operating Currency Hedging Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Derivative Financial Instruments - Disclosure of Financial Currency Hedging Instruments in Place with Notional Amount Translated (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativeFinancialInstrumentsDisclosureofFinancialCurrencyHedgingInstrumentsinPlacewithNotionalAmountTranslatedDetails</Role>
      <ShortName>Derivative Financial Instruments - Disclosure of Financial Currency Hedging Instruments in Place with Notional Amount Translated (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - Derivative Financial Instruments - Disclosure of Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativeFinancialInstrumentsDisclosureofInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments - Disclosure of Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Liabilities Related to Business Combinations and to Non-Controlling Interests - Summary of Movements in Liabilities Related to Business Combinations and to Non-Controlling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterestsSummaryofMovementsinLiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterestsDetails</Role>
      <ShortName>Liabilities Related to Business Combinations and to Non-Controlling Interests - Summary of Movements in Liabilities Related to Business Combinations and to Non-Controlling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Liabilities Related to Business Combinations and to Non-Controlling Interests - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LiabilitiesRelatedtoBusinessCombinationsandtoNonControllingInterestsAdditionalInformationDetails</Role>
      <ShortName>Liabilities Related to Business Combinations and to Non-Controlling Interests - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Non-Current Provisions And Other Non-Current Liabilities - Summary of Non-Current Provisions and Other Non-Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilitiesSummaryofNonCurrentProvisionsandOtherNonCurrentLiabilitiesDetails</Role>
      <ShortName>Non-Current Provisions And Other Non-Current Liabilities - Summary of Non-Current Provisions and Other Non-Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Non-Current Provisions And Other Non-Current Liabilities - Summary of Movements in Non-Current Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilitiesSummaryofMovementsinNonCurrentProvisionsDetails</Role>
      <ShortName>Non-Current Provisions And Other Non-Current Liabilities - Summary of Movements in Non-Current Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Non-Current Provisions And Other Non-Current Liabilities - Disclosure of Remeasurement of Net Defined Benefit Liability Asset (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NonCurrentProvisionsAndOtherNonCurrentLiabilitiesDisclosureofRemeasurementofNetDefinedBenefitLiabilityAssetDetails</Role>
      <ShortName>Non-Current Provisions And Other Non-Current Liabilities - Disclosure of Remeasurement of Net Defined Benefit Liability Asset (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - Disclosure - Off Balance Sheet Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffBalanceSheetCommitmentsDetails</Role>
      <ShortName>Off Balance Sheet Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OffBalanceSheetCommitments</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - Litigation and Arbitration Proceedings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LitigationandArbitrationProceedingsDetails</Role>
      <ShortName>Litigation and Arbitration Proceedings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/LitigationandArbitrationProceedings</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - Other Operating Income And Expenses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherOperatingIncomeAndExpensesAdditionalInformationDetails</Role>
      <ShortName>Other Operating Income And Expenses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - Disclosure - Other Operating Income And Expenses - Schedule of Other Operating Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherOperatingIncomeAndExpensesScheduleofOtherOperatingExpensesDetails</Role>
      <ShortName>Other Operating Income And Expenses - Schedule of Other Operating Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - Restructuring Costs and Similar Items - Summary of Restructuring Costs and Similar Items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RestructuringCostsandSimilarItemsSummaryofRestructuringCostsandSimilarItemsDetails</Role>
      <ShortName>Restructuring Costs and Similar Items - Summary of Restructuring Costs and Similar Items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Restructuring Costs and Similar Items - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RestructuringCostsandSimilarItemsAdditionalInformationDetails</Role>
      <ShortName>Restructuring Costs and Similar Items - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Other Gains and Losses, and Litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherGainsandLossesandLitigationDetails</Role>
      <ShortName>Other Gains and Losses, and Litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OtherGainsandLossesandLitigation</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - Financial Expenses and Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/FinancialExpensesandIncomeDetails</Role>
      <ShortName>Financial Expenses and Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/FinancialExpensesandIncomeTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - Disclosure - Income Tax Expense - Summary of Allocation of Income Tax Expense Between Current and Deferred Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/IncomeTaxExpenseSummaryofAllocationofIncomeTaxExpenseBetweenCurrentandDeferredTaxesDetails</Role>
      <ShortName>Income Tax Expense - Summary of Allocation of Income Tax Expense Between Current and Deferred Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - Disclosure - Income Tax Expense - Summary of Difference Between Effective Tax Rate and Standard Corporate Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/IncomeTaxExpenseSummaryofDifferenceBetweenEffectiveTaxRateandStandardCorporateIncomeTaxRateDetails</Role>
      <ShortName>Income Tax Expense - Summary of Difference Between Effective Tax Rate and Standard Corporate Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>0000093 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>0000094 - Disclosure - Segment Information - Summary of Net Sales by Segment and Geographical Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationSummaryofNetSalesbySegmentandGeographicalAreaDetails</Role>
      <ShortName>Segment Information - Summary of Net Sales by Segment and Geographical Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>0000095 - Disclosure - Segment Information - Schedule of Segment Results (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationScheduleofSegmentResultsDetails</Role>
      <ShortName>Segment Information - Schedule of Segment Results (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>0000096 - Disclosure - Segment Information - Schedule of Reconciliation Between Business Operating Income for the Segments and Income Before Tax and Investments Accounted for Using the Equity Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationScheduleofReconciliationBetweenBusinessOperatingIncomefortheSegmentsandIncomeBeforeTaxandInvestmentsAccountedforUsingtheEquityMethodDetails</Role>
      <ShortName>Segment Information - Schedule of Reconciliation Between Business Operating Income for the Segments and Income Before Tax and Investments Accounted for Using the Equity Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>0000097 - Disclosure - Segment Information - Schedule of Acquisition of Intangible Assets, Property, Plant and Equipment and Investments Accounted for Using the Equity Method by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationScheduleofAcquisitionofIntangibleAssetsPropertyPlantandEquipmentandInvestmentsAccountedforUsingtheEquityMethodbySegmentDetails</Role>
      <ShortName>Segment Information - Schedule of Acquisition of Intangible Assets, Property, Plant and Equipment and Investments Accounted for Using the Equity Method by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>0000098 - Disclosure - Segment Information - Summary of Geographical Information on Net Sales and Non-Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationSummaryofGeographicalInformationonNetSalesandNonCurrentAssetsDetails</Role>
      <ShortName>Segment Information - Summary of Geographical Information on Net Sales and Non-Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>0000099 - Disclosure - Segment Information - Principal Customers and Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SegmentInformationPrincipalCustomersandCreditRiskDetails</Role>
      <ShortName>Segment Information - Principal Customers and Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="sny-20230630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>0000100 - Disclosure - Events Subsequent to June 30, 2023 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/EventsSubsequenttoJune302023Details</Role>
      <ShortName>Events Subsequent to June 30, 2023 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/EventsSubsequenttoJune302023</ParentRole>
      <Position>100</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="6-K" original="sny-20230630.htm">sny-20230630.htm</File>
    <File doctype="6-K" original="sny-20230630_d2.htm">sny-20230630_d2.htm</File>
    <File>sny-20230630.xsd</File>
    <File>sny-20230630_cal.xml</File>
    <File>sny-20230630_def.xml</File>
    <File>sny-20230630_lab.xml</File>
    <File>sny-20230630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
    <BaseTaxonomy items="1321">https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
