<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>2627</ContextCount>
  <ElementCount>951</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>622</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>38</UnitCount>
  <MyReports>
    <Report instance="sny-20251231.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-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - 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>3</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - 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>4</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - 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>5</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - 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>6</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - 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>7</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - 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>8</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - 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>9</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Introduction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Introduction</Role>
      <ShortName>Introduction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Basis of preparation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Basisofpreparation</Role>
      <ShortName>Basis of preparation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Summaryofsignificantaccountingpolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Principal alliances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalalliances</Role>
      <ShortName>Principal alliances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Principal changes in the scope of consolidation in 2023</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalchangesinthescopeofconsolidationin2023</Role>
      <ShortName>Principal changes in the scope of consolidation in 2023</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Principal changes in the scope of consolidation in 2022 and 2021</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalchangesinthescopeofconsolidationin2022and2021</Role>
      <ShortName>Principal changes in the scope of consolidation in 2022 and 2021</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Financial instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Financialinstruments</Role>
      <ShortName>Financial instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - 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>17</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - 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>18</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Impairment of intangible assets and property, plant and equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Impairmentofintangibleassetsandpropertyplantandequipment</Role>
      <ShortName>Impairment of intangible assets and property, plant and equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - 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>20</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - 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>21</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Assets held for sale or exchange and liabilities related to assets held for sale or exchange</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Assetsheldforsaleorexchangeandliabilitiesrelatedtoassetsheldforsaleorexchange</Role>
      <ShortName>Assets held for sale or exchange and liabilities related to assets held for sale or exchange</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Accounts receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Accountsreceivable</Role>
      <ShortName>Accounts receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Other current assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Othercurrentassets</Role>
      <ShortName>Other current assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Financial assets and liabilities measured at fair value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Financialassetsandliabilitiesmeasuredatfairvalue</Role>
      <ShortName>Financial assets and liabilities measured at fair value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - Cash and cash equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Cashandcashequivalents</Role>
      <ShortName>Cash and cash equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - Net deferred tax position</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Netdeferredtaxposition</Role>
      <ShortName>Net deferred tax position</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9952177 - 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>29</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9952178 - Disclosure - Non-controlling interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Noncontrollinginterests</Role>
      <ShortName>Non-controlling interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9952179 - Disclosure - Debt, cash and cash equivalents and lease liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Debtcashandcashequivalentsandleaseliabilities</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9952180 - 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>32</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9952181 - Disclosure - Provisions, income tax liabilities and other liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Provisionsincometaxliabilitiesandotherliabilities</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9952182 - Disclosure - Derivative financial instruments and market risks</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Derivativefinancialinstrumentsandmarketrisks</Role>
      <ShortName>Derivative financial instruments and market risks</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9952183 - 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>35</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9952184 - Disclosure - Legal and arbitral proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Legalandarbitralproceedings</Role>
      <ShortName>Legal and arbitral proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9952185 - Disclosure - Provisions for discounts, rebates and sales returns</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Provisionsfordiscountsrebatesandsalesreturns</Role>
      <ShortName>Provisions for discounts, rebates and sales returns</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9952187 - Disclosure - Other operating income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Otheroperatingincome</Role>
      <ShortName>Other operating income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9952188 - Disclosure - Other operating expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Otheroperatingexpenses</Role>
      <ShortName>Other operating expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9952189 - 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>40</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9952190 - 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>41</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9952191 - 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>42</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9952192 - 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>43</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9952193 - Disclosure - Share of profit/loss from investments accounted for using the equity method</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Shareofprofitlossfrominvestmentsaccountedforusingtheequitymethod</Role>
      <ShortName>Share of profit/loss from investments accounted for using the equity method</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9952194 - Disclosure - Net income attributable to non-controlling interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Netincomeattributabletononcontrollinginterests</Role>
      <ShortName>Net income attributable to non-controlling interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9952195 - Disclosure - Related party transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Relatedpartytransactions</Role>
      <ShortName>Related party transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9952196 - Disclosure - Disclosures about major customers and credit risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Disclosuresaboutmajorcustomersandcreditrisk</Role>
      <ShortName>Disclosures about major customers and credit risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9952197 - Disclosure - Segment information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Segmentinformation</Role>
      <ShortName>Segment information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9952198 - Disclosure - Non-current asset held for sale and discontinued operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Noncurrentassetheldforsaleanddiscontinuedoperations</Role>
      <ShortName>Non-current asset held for sale and discontinued operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9952199 - Disclosure - Principal accountants' fees and services</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalaccountantsfeesandservices</Role>
      <ShortName>Principal accountants' fees and services</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9952200 - Disclosure - List of principal companies included in the scope of consolidation during??2023</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Listofprincipalcompaniesincludedinthescopeofconsolidationduring2023</Role>
      <ShortName>List of principal companies included in the scope of consolidation during??2023</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9952201 - Disclosure - Events subsequent to December 31, 2023</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/EventssubsequenttoDecember312023</Role>
      <ShortName>Events subsequent to December 31, 2023</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9952202 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/CybersecurityRiskManagementandStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesPolicies</Role>
      <ShortName>Summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesTables</Role>
      <ShortName>Summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Summaryofsignificantaccountingpolicies</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955517 - 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>58</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955518 - 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>59</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Impairment of intangible assets and property, plant and equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ImpairmentofintangibleassetsandpropertyplantandequipmentTables</Role>
      <ShortName>Impairment of intangible assets and property, plant and equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Impairmentofintangibleassetsandpropertyplantandequipment</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955520 - 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>61</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955521 - 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>62</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Assets held for sale or exchange and liabilities related to assets held for sale or exchange (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AssetsheldforsaleorexchangeandliabilitiesrelatedtoassetsheldforsaleorexchangeTables</Role>
      <ShortName>Assets held for sale or exchange and liabilities related to assets held for sale or exchange (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Assetsheldforsaleorexchangeandliabilitiesrelatedtoassetsheldforsaleorexchange</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Inventories</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955524 - 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>65</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Other current assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OthercurrentassetsTables</Role>
      <ShortName>Other current assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Othercurrentassets</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Financial assets and liabilities measured at fair value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/FinancialassetsandliabilitiesmeasuredatfairvalueTables</Role>
      <ShortName>Financial assets and liabilities measured at fair value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Financialassetsandliabilitiesmeasuredatfairvalue</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Cash and cash equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/CashandcashequivalentsTables</Role>
      <ShortName>Cash and cash equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Cashandcashequivalents</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Net deferred tax position (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetdeferredtaxpositionTables</Role>
      <ShortName>Net deferred tax position (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Netdeferredtaxposition</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955529 - 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>70</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Debt, cash and cash equivalents and lease liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesTables</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Debtcashandcashequivalentsandleaseliabilities</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955531 - 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>72</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Provisions, income tax liabilities and other liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesTables</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Provisionsincometaxliabilitiesandotherliabilities</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Derivative financial instruments and market risks (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksTables</Role>
      <ShortName>Derivative financial instruments and market risks (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Derivativefinancialinstrumentsandmarketrisks</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Off balance sheet commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffbalancesheetcommitmentsTables</Role>
      <ShortName>Off balance sheet commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Offbalancesheetcommitments</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Provisions for discounts, rebates and sales returns (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsfordiscountsrebatesandsalesreturnsTables</Role>
      <ShortName>Provisions for discounts, rebates and sales returns (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Provisionsfordiscountsrebatesandsalesreturns</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Personnel costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PersonnelcostsTables</Role>
      <ShortName>Personnel costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Other operating expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtheroperatingexpensesTables</Role>
      <ShortName>Other operating expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Otheroperatingexpenses</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955538 - 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>79</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955539 - 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>80</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955540 - 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>81</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Net income attributable to non-controlling interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetincomeattributabletononcontrollinginterestsTables</Role>
      <ShortName>Net income attributable to non-controlling interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Netincomeattributabletononcontrollinginterests</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Related party transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RelatedpartytransactionsTables</Role>
      <ShortName>Related party transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Relatedpartytransactions</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955543 - 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>84</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Non-current asset held for sale and discontinued operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NoncurrentassetheldforsaleanddiscontinuedoperationsTables</Role>
      <ShortName>Non-current asset held for sale and discontinued operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Noncurrentassetheldforsaleanddiscontinuedoperations</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Principal accountants' fees and services (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalaccountantsfeesandservicesTables</Role>
      <ShortName>Principal accountants' fees and services (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Principalaccountantsfeesandservices</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - List of principal companies included in the scope of consolidation during??2023 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Listofprincipalcompaniesincludedinthescopeofconsolidationduring2023Tables</Role>
      <ShortName>List of principal companies included in the scope of consolidation during??2023 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Listofprincipalcompaniesincludedinthescopeofconsolidationduring2023</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Basis of preparation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/BasisofpreparationDetails</Role>
      <ShortName>Basis of preparation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Basisofpreparation</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Summary of significant accounting policies - Other Intangible Assets not Acquired in Business Combination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesOtherIntangibleAssetsnotAcquiredinBusinessCombinationDetails</Role>
      <ShortName>Summary of significant accounting policies - Other Intangible Assets not Acquired in Business Combination (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Summary of significant accounting policies - Summary of Useful Lives of Property Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesSummaryofUsefulLivesofPropertyPlantandEquipmentDetails</Role>
      <ShortName>Summary of significant accounting policies - Summary of Useful Lives of Property Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Summary of significant accounting policies - Treasury Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesTreasurySharesDetails</Role>
      <ShortName>Summary of significant accounting policies - Treasury Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Summary of significant accounting policies - Provision for Risks (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesProvisionforRisksDetails</Role>
      <ShortName>Summary of significant accounting policies - Provision for Risks (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Summary of significant accounting policies - Income Tax Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesIncomeTaxExpenseDetails</Role>
      <ShortName>Summary of significant accounting policies - Income Tax Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Summary of significant accounting policies - Share-Based Payment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/SummaryofsignificantaccountingpoliciesShareBasedPaymentDetails</Role>
      <ShortName>Summary of significant accounting policies - Share-Based Payment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Principal alliances - Collaboration agreements on human therapeutic antibodies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalalliancesCollaborationagreementsonhumantherapeuticantibodiesDetails</Role>
      <ShortName>Principal alliances - Collaboration agreements on human therapeutic antibodies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Principal alliances - Immuno-Oncology Agreement with Regeneron Pharmaceuticals, Inc. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalalliancesImmunoOncologyAgreementwithRegeneronPharmaceuticalsIncDetails</Role>
      <ShortName>Principal alliances - Immuno-Oncology Agreement with Regeneron Pharmaceuticals, Inc. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Principal alliances - Agreements on the commercialization of Beyfortus??? (nirsevimab, previously MEDI8897) in the US (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalalliancesAgreementsonthecommercializationofBeyfortusnirsevimabpreviouslyMEDI8897intheUSDetails</Role>
      <ShortName>Principal alliances - Agreements on the commercialization of Beyfortus??? (nirsevimab, previously MEDI8897) in the US (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Principal alliances Significant Transactions of 2025 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalalliancesSignificantTransactionsof2025Details</Role>
      <ShortName>Principal alliances Significant Transactions of 2025 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Principal alliances - Significant transactions of 2024 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalalliancesSignificanttransactionsof2024Details</Role>
      <ShortName>Principal alliances - Significant transactions of 2024 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Principal changes in the scope of consolidation in 2023 - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalchangesinthescopeofconsolidationin2023AdditionalInformationDetails</Role>
      <ShortName>Principal changes in the scope of consolidation in 2023 - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Principal changes in the scope of consolidation in 2023 - Summary of Provisional Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalchangesinthescopeofconsolidationin2023SummaryofProvisionalPurchasePriceAllocationDetails</Role>
      <ShortName>Principal changes in the scope of consolidation in 2023 - Summary of Provisional Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Principal changes in the scope of consolidation in 2022 and 2021 - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Principalchangesinthescopeofconsolidationin2022and2021AdditionalInformationDetails</Role>
      <ShortName>Principal changes in the scope of consolidation in 2022 and 2021 - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Property, plant and equipment - Schedule of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyplantandequipmentScheduleofPropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, plant and equipment - Schedule of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955568 - 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>104</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Property, plant and equipment - Summary of Off Balance Sheet Commitments Relating to Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyplantandequipmentSummaryofOffBalanceSheetCommitmentsRelatingtoPropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, plant and equipment - Summary of Off Balance Sheet Commitments Relating to Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Property, plant and equipment - Summary of Impairment Losses Recognised in Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyplantandequipmentSummaryofImpairmentLossesRecognisedinPropertyPlantandEquipmentDetails</Role>
      <ShortName>Property, plant and equipment - Summary of Impairment Losses Recognised in Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Property, plant and equipment - Summary of Property, Plant and Equipment Leased (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PropertyplantandequipmentSummaryofPropertyPlantandEquipmentLeasedDetails</Role>
      <ShortName>Property, plant and equipment - Summary of Property, Plant and Equipment Leased (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>9955572 - 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>108</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Goodwill and other intangible assets - Schedule of Movements in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandotherintangibleassetsScheduleofMovementsinGoodwillDetails</Role>
      <ShortName>Goodwill and other intangible assets - Schedule of Movements in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Goodwill and other intangible assets - Schedule of Allocation of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandotherintangibleassetsScheduleofAllocationofGoodwillDetails</Role>
      <ShortName>Goodwill and other intangible assets - Schedule of Allocation of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>9955575 - 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>111</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>9955576 - 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>112</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Goodwill and other intangible assets - Detailed Information for Principal Marketed Products (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandotherintangibleassetsDetailedInformationforPrincipalMarketedProductsDetails</Role>
      <ShortName>Goodwill and other intangible assets - Detailed Information for Principal Marketed Products (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Goodwill and other intangible assets - Amortization of Softwares Recognized in Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/GoodwillandotherintangibleassetsAmortizationofSoftwaresRecognizedinIncomeStatementDetails</Role>
      <ShortName>Goodwill and other intangible assets - Amortization of Softwares Recognized in Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Impairment of intangible assets and property, plant and equipment - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ImpairmentofintangibleassetsandpropertyplantandequipmentAdditionalInformationDetails</Role>
      <ShortName>Impairment of intangible assets and property, plant and equipment - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Impairment of intangible assets and property, plant and equipment - Summary of Net Impairment Losses of Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ImpairmentofintangibleassetsandpropertyplantandequipmentSummaryofNetImpairmentLossesofOtherIntangibleAssetsDetails</Role>
      <ShortName>Impairment of intangible assets and property, plant and equipment - Summary of Net Impairment Losses of Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>9955581 - 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>117</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Investments accounted for using the equity method - Summary of Share of Profit or Loss and Other Comprehensive Income of Associates and Joint Ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsaccountedforusingtheequitymethodSummaryofShareofProfitorLossandOtherComprehensiveIncomeofAssociatesandJointVenturesDetails</Role>
      <ShortName>Investments accounted for using the equity method - Summary of Share of Profit or Loss and Other Comprehensive Income of Associates and Joint Ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>9955583 - 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>119</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Investments accounted for using the equity method - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsaccountedforusingtheequitymethodAdditionalInformationDetails</Role>
      <ShortName>Investments accounted for using the equity method - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>9955585 - Disclosure - Investments accounted for using the equity method - Key items from the OPAL JV Co (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InvestmentsaccountedforusingtheequitymethodKeyitemsfromtheOPALJVCoDetails</Role>
      <ShortName>Investments accounted for using the equity method - Key items from the OPAL JV Co (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>9955586 - Disclosure - Other non-current assets - Summary of Other Non-current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OthernoncurrentassetsSummaryofOtherNoncurrentAssetsDetails</Role>
      <ShortName>Other non-current assets - Summary of Other Non-current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>9955587 - Disclosure - Other non-current assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OthernoncurrentassetsAdditionalInformationDetails</Role>
      <ShortName>Other non-current assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>9955588 - Disclosure - Assets held for sale or exchange and liabilities related to assets held for sale or exchange - Summary of Assets Held for Sale or Exchange, and Liabilities Related to Assets Held for Sale or Exchange (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/AssetsheldforsaleorexchangeandliabilitiesrelatedtoassetsheldforsaleorexchangeSummaryofAssetsHeldforSaleorExchangeandLiabilitiesRelatedtoAssetsHeldforSaleorExchangeDetails</Role>
      <ShortName>Assets held for sale or exchange and liabilities related to assets held for sale or exchange - Summary of Assets Held for Sale or Exchange, and Liabilities Related to Assets Held for Sale or Exchange (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>9955589 - Disclosure - Inventories - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/InventoriesScheduleofInventoriesDetails</Role>
      <ShortName>Inventories - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>9955591 - 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>126</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>9955592 - 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>127</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>9955593 - 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>128</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>9955594 - Disclosure - Other current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OthercurrentassetsDetails</Role>
      <ShortName>Other current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/OthercurrentassetsTables</ParentRole>
      <Position>129</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>9955595 - Disclosure - Financial assets and liabilities measured at fair value - Summary of Assets and Liabilities Measured at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/FinancialassetsandliabilitiesmeasuredatfairvalueSummaryofAssetsandLiabilitiesMeasuredatFairValueDetails</Role>
      <ShortName>Financial assets and liabilities measured at fair value - Summary of Assets and Liabilities Measured at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>9955596 - Disclosure - Cash and cash equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/CashandcashequivalentsDetails</Role>
      <ShortName>Cash and cash equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/CashandcashequivalentsTables</ParentRole>
      <Position>131</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>9955597 - Disclosure - Net deferred tax position - Summary of Net Deferred Tax Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetdeferredtaxpositionSummaryofNetDeferredTaxPositionDetails</Role>
      <ShortName>Net deferred tax position - Summary of Net Deferred Tax Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>9955598 - Disclosure - Net deferred tax position - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetdeferredtaxpositionAdditionalinformationDetails</Role>
      <ShortName>Net deferred tax position - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>9955599 - Disclosure - Net deferred tax position - Summary of Tax Losses Available for Carry-forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetdeferredtaxpositionSummaryofTaxLossesAvailableforCarryforwardDetails</Role>
      <ShortName>Net deferred tax position - Summary of Tax Losses Available for Carry-forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>9955600 - 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>135</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>9955601 - 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>136</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>9955602 - Disclosure - Consolidated shareholders??? equity - Summary of Movements Share Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofMovementsShareCapitalDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Movements Share Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>9955603 - Disclosure - Consolidated shareholders??? equity - Principal Characteristics of Restricted Share Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequityPrincipalCharacteristicsofRestrictedSharePlansDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Principal Characteristics of Restricted Share Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>9955604 - 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>139</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>9955605 - Disclosure - Consolidated shareholders??? equity - Summary of Characteristics of Employee Share Ownership Plans Awarded (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofCharacteristicsofEmployeeShareOwnershipPlansAwardedDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Characteristics of Employee Share Ownership Plans Awarded (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>140</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>9955606 - Disclosure - Consolidated shareholders??? equity - Summary of Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofExpensesDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>141</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>9955607 - Disclosure - Consolidated shareholders??? equity - Summary of Repurchases Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofRepurchasesProgramDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Repurchases Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>142</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>9955608 - Disclosure - Consolidated shareholders??? equity - Summary of Currency Translation Differences (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofCurrencyTranslationDifferencesDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Currency Translation Differences (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>143</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>9955609 - 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>144</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>9955610 - Disclosure - Consolidated shareholders??? equity - Disclosure of Stock Subscription Option Plan Outstanding and Option Exercised (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequityDisclosureofStockSubscriptionOptionPlanOutstandingandOptionExercisedDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Disclosure of Stock Subscription Option Plan Outstanding and Option Exercised (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>145</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R146.htm</HtmlFileName>
      <LongName>9955611 - Disclosure - Consolidated shareholders??? equity - Summary of Stock Options Outstanding at Each Balance Sheet Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ConsolidatedshareholdersequitySummaryofStockOptionsOutstandingatEachBalanceSheetDateDetails</Role>
      <ShortName>Consolidated shareholders??? equity - Summary of Stock Options Outstanding at Each Balance Sheet Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>146</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R147.htm</HtmlFileName>
      <LongName>9955612 - 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>147</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R148.htm</HtmlFileName>
      <LongName>9955613 - 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>148</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R149.htm</HtmlFileName>
      <LongName>9955614 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Changes in Financial Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofChangesinFinancialPositionDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Changes in Financial Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>149</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R150.htm</HtmlFileName>
      <LongName>9955615 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Reconciliation of Carrying Amount to Value on Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofReconciliationofCarryingAmounttoValueonRedemptionDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Reconciliation of Carrying Amount to Value on Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>150</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R151.htm</HtmlFileName>
      <LongName>9955616 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Disclosure of Movement In Total Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesDisclosureofMovementInTotalDebtDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Disclosure of Movement In Total Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>151</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R152.htm</HtmlFileName>
      <LongName>9955617 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesAdditionalInformationDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>152</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R153.htm</HtmlFileName>
      <LongName>9955618 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Net Debt by Type Valuation of Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofNetDebtbyTypeValuationofRedemptionDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Net Debt by Type Valuation of Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>153</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R154.htm</HtmlFileName>
      <LongName>9955619 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Bond Issues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofBondIssuesDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Bond Issues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>154</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R155.htm</HtmlFileName>
      <LongName>9955620 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Maturity at Value on Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofDebtbyMaturityatValueonRedemptionDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Maturity at Value on Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>155</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R156.htm</HtmlFileName>
      <LongName>9955621 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Interest Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofDebtbyInterestRateDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Interest Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>156</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R157.htm</HtmlFileName>
      <LongName>9955622 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Interest Rate of Net Debt at Value on Redemption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofInterestRateofNetDebtatValueonRedemptionDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Interest Rate of Net Debt at Value on Redemption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>157</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R158.htm</HtmlFileName>
      <LongName>9955623 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Interest Rate Fluctuations of Debt Net of Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofInterestRateFluctuationsofDebtNetofCashandCashEquivalentsDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Interest Rate Fluctuations of Debt Net of Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>158</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R159.htm</HtmlFileName>
      <LongName>9955624 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofDebtbyCurrencyDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Debt by Currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>159</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R160.htm</HtmlFileName>
      <LongName>9955625 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Summary of Market Value of Net Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesSummaryofMarketValueofNetDebtDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Summary of Market Value of Net Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>160</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R161.htm</HtmlFileName>
      <LongName>9955626 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Amount of Future Undiscounted Contractual Cash Flows Relating to Debt and Derivative Instruments Designated as Hedges of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesAmountofFutureUndiscountedContractualCashFlowsRelatingtoDebtandDerivativeInstrumentsDesignatedasHedgesofDebtDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Amount of Future Undiscounted Contractual Cash Flows Relating to Debt and Derivative Instruments Designated as Hedges of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>161</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R162.htm</HtmlFileName>
      <LongName>9955627 - Disclosure - Debt, cash and cash equivalents and lease liabilities - Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DebtcashandcashequivalentsandleaseliabilitiesLeaseLiabilitiesDetails</Role>
      <ShortName>Debt, cash and cash equivalents and lease liabilities - Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>162</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R163.htm</HtmlFileName>
      <LongName>9955628 - 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>163</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R164.htm</HtmlFileName>
      <LongName>9955629 - 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>164</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R165.htm</HtmlFileName>
      <LongName>9955630 - Disclosure - Liabilities related to business combinations and to non-controlling interests - Summary of Maximum Amount of Contingent Consideration Payable and Firm Commitments to Buy Out Non-Controlling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LiabilitiesrelatedtobusinesscombinationsandtononcontrollinginterestsSummaryofMaximumAmountofContingentConsiderationPayableandFirmCommitmentstoBuyOutNonControllingInterestsDetails</Role>
      <ShortName>Liabilities related to business combinations and to non-controlling interests - Summary of Maximum Amount of Contingent Consideration Payable and Firm Commitments to Buy Out Non-Controlling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>165</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R166.htm</HtmlFileName>
      <LongName>9955631 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Non Current Provisions and Other Non-current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofNonCurrentProvisionsandOtherNoncurrentLiabilitiesDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Non Current Provisions and Other Non-current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>166</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R167.htm</HtmlFileName>
      <LongName>9955632 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Movements in Non-current Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofMovementsinNoncurrentProvisionsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Movements in Non-current Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>167</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R168.htm</HtmlFileName>
      <LongName>9955633 - Disclosure - Provisions, income tax liabilities and other liabilities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesAdditionalInformationDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>168</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R169.htm</HtmlFileName>
      <LongName>9955634 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Financial and Demographic Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofFinancialandDemographicAssumptionsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Financial and Demographic Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>169</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R170.htm</HtmlFileName>
      <LongName>9955635 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Weighted Average Duration of Obligation for Pensions and Other Long-term Benefits in Principal Countries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofWeightedAverageDurationofObligationforPensionsandOtherLongtermBenefitsinPrincipalCountriesDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Weighted Average Duration of Obligation for Pensions and Other Long-term Benefits in Principal Countries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>170</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R171.htm</HtmlFileName>
      <LongName>9955636 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Sensitivity for Pensions and Other Post-Employment Benefits to Changes in Key Actuarial Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofSensitivityforPensionsandOtherPostEmploymentBenefitstoChangesinKeyActuarialAssumptionsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Sensitivity for Pensions and Other Post-Employment Benefits to Changes in Key Actuarial Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>171</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R172.htm</HtmlFileName>
      <LongName>9955637 - Disclosure - Provisions, income tax liabilities and other liabilities - Reconciliation of Net Amount Recognized in Respect of Pension and Other Post-employment Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesReconciliationofNetAmountRecognizedinRespectofPensionandOtherPostemploymentBenefitPlansDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Reconciliation of Net Amount Recognized in Respect of Pension and Other Post-employment Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>172</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R173.htm</HtmlFileName>
      <LongName>9955638 - Disclosure - Provisions, income tax liabilities and other liabilities - Net Liability in Respect of Pension Plans and Other Post-employment Benefits by Geographical Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesNetLiabilityinRespectofPensionPlansandOtherPostemploymentBenefitsbyGeographicalRegionDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Net Liability in Respect of Pension Plans and Other Post-employment Benefits by Geographical Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>173</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R174.htm</HtmlFileName>
      <LongName>9955639 - Disclosure - Provisions, income tax liabilities and other liabilities - Fair Value of Plans Assets relating to Pension Plans and Other Post-employment Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesFairValueofPlansAssetsrelatingtoPensionPlansandOtherPostemploymentPlansDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Fair Value of Plans Assets relating to Pension Plans and Other Post-employment Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>174</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R175.htm</HtmlFileName>
      <LongName>9955640 - Disclosure - Provisions, income tax liabilities and other liabilities - Service Cost for Pension and Other post-employment Benefit Plans, by Geographical Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesServiceCostforPensionandOtherpostemploymentBenefitPlansbyGeographicalRegionDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Service Cost for Pension and Other post-employment Benefit Plans, by Geographical Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>175</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R176.htm</HtmlFileName>
      <LongName>9955641 - Disclosure - Provisions, income tax liabilities and other liabilities - Remeasurement of Net Defined-benefit (Asset)/Liability (Actuarial Gains and Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesRemeasurementofNetDefinedbenefitAssetLiabilityActuarialGainsandLossesDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Remeasurement of Net Defined-benefit (Asset)/Liability (Actuarial Gains and Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>176</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R177.htm</HtmlFileName>
      <LongName>9955642 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Net Pre-tax Actuarial Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofNetPretaxActuarialLossDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Net Pre-tax Actuarial Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>177</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R178.htm</HtmlFileName>
      <LongName>9955643 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Present Value of Pension and Other Post Employment Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofPresentValueofPensionandOtherPostEmploymentBenefitsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Present Value of Pension and Other Post Employment Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>178</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R179.htm</HtmlFileName>
      <LongName>9955644 - Disclosure - Provisions, income tax liabilities and other liabilities - Total Expense for Pensions and Other Post-employment Benefits Allocated between Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesTotalExpenseforPensionsandOtherPostemploymentBenefitsAllocatedbetweenIncomeStatementDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Total Expense for Pensions and Other Post-employment Benefits Allocated between Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>179</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R180.htm</HtmlFileName>
      <LongName>9955645 - Disclosure - Provisions, income tax liabilities and other liabilities - Estimated Amounts of Employer's Contributions to Plan Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesEstimatedAmountsofEmployersContributionstoPlanAssetsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Estimated Amounts of Employer's Contributions to Plan Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>180</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R181.htm</HtmlFileName>
      <LongName>9955646 - Disclosure - Provisions, income tax liabilities and other liabilities - Expected Timing of Benefit Payments under Pension and Other Post-employment Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesExpectedTimingofBenefitPaymentsunderPensionandOtherPostemploymentBenefitPlansDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Expected Timing of Benefit Payments under Pension and Other Post-employment Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>181</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R182.htm</HtmlFileName>
      <LongName>9955647 - Disclosure - Provisions, income tax liabilities and other liabilities - Timing of Future Payments in Respect of Unfunded Pension and Other Post-employment Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesTimingofFuturePaymentsinRespectofUnfundedPensionandOtherPostemploymentBenefitPlansDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Timing of Future Payments in Respect of Unfunded Pension and Other Post-employment Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>182</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R183.htm</HtmlFileName>
      <LongName>9955648 - Disclosure - Provisions, income tax liabilities and other liabilities - Movements in Restructuring Provisions Classified in Non-current and Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesMovementsinRestructuringProvisionsClassifiedinNoncurrentandCurrentLiabilitiesDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Movements in Restructuring Provisions Classified in Non-current and Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>183</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R184.htm</HtmlFileName>
      <LongName>9955649 - Disclosure - Provisions, income tax liabilities and other liabilities - Timing of Future Termination Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesTimingofFutureTerminationBenefitPaymentsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Timing of Future Termination Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>184</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R185.htm</HtmlFileName>
      <LongName>9955650 - Disclosure - Provisions, income tax liabilities and other liabilities - Summary of Other Provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesSummaryofOtherProvisionsDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Summary of Other Provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>185</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R186.htm</HtmlFileName>
      <LongName>9955651 - Disclosure - Provisions, income tax liabilities and other liabilities - Current Provisions and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsincometaxliabilitiesandotherliabilitiesCurrentProvisionsandOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Provisions, income tax liabilities and other liabilities - Current Provisions and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>186</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R187.htm</HtmlFileName>
      <LongName>9955652 - Disclosure - Derivative financial instruments and market risks - Summary of Fair Value of Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksSummaryofFairValueofDerivativeInstrumentsDetails</Role>
      <ShortName>Derivative financial instruments and market risks - Summary of Fair Value of Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>187</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R188.htm</HtmlFileName>
      <LongName>9955653 - Disclosure - Derivative financial instruments and market risks - Summary of Operating Currency Hedging Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksSummaryofOperatingCurrencyHedgingInstrumentsDetails</Role>
      <ShortName>Derivative financial instruments and market risks - Summary of Operating Currency Hedging Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>188</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R189.htm</HtmlFileName>
      <LongName>9955654 - Disclosure - Derivative financial instruments and market risks - Disclosure of Financial Currency Hedging Instruments in Place with Notional Amount Translated (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksDisclosureofFinancialCurrencyHedgingInstrumentsinPlacewithNotionalAmountTranslatedDetails</Role>
      <ShortName>Derivative financial instruments and market risks - Disclosure of Financial Currency Hedging Instruments in Place with Notional Amount Translated (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>189</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R190.htm</HtmlFileName>
      <LongName>9955655 - Disclosure - Derivative financial instruments and market risks - Disclosure of Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksDisclosureofInstrumentsDetails</Role>
      <ShortName>Derivative financial instruments and market risks - Disclosure of Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>190</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R191.htm</HtmlFileName>
      <LongName>9955656 - Disclosure - Derivative financial instruments and market risks - Disclosure of Actual or Potential Effects of Netting Arrangements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DerivativefinancialinstrumentsandmarketrisksDisclosureofActualorPotentialEffectsofNettingArrangementsDetails</Role>
      <ShortName>Derivative financial instruments and market risks - Disclosure of Actual or Potential Effects of Netting Arrangements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>191</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R192.htm</HtmlFileName>
      <LongName>9955657 - Disclosure - Off balance sheet commitments - Summary of Off Balance Sheet Commitments Relating to Operating Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffbalancesheetcommitmentsSummaryofOffBalanceSheetCommitmentsRelatingtoOperatingActivitiesDetails</Role>
      <ShortName>Off balance sheet commitments - Summary of Off Balance Sheet Commitments Relating to Operating Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>192</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R193.htm</HtmlFileName>
      <LongName>9955658 - Disclosure - Off balance sheet commitments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffbalancesheetcommitmentsAdditionalInformationDetails</Role>
      <ShortName>Off balance sheet commitments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>193</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R194.htm</HtmlFileName>
      <LongName>9955659 - Disclosure - Off balance sheet commitments - Summary of Undrawn Credit Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffbalancesheetcommitmentsSummaryofUndrawnCreditFacilitiesDetails</Role>
      <ShortName>Off balance sheet commitments - Summary of Undrawn Credit Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>194</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R195.htm</HtmlFileName>
      <LongName>9955660 - Disclosure - Off balance sheet commitments - Summary of Amount of Guarantees Given and Received (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OffbalancesheetcommitmentsSummaryofAmountofGuaranteesGivenandReceivedDetails</Role>
      <ShortName>Off balance sheet commitments - Summary of Amount of Guarantees Given and Received (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>195</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R196.htm</HtmlFileName>
      <LongName>9955661 - Disclosure - Legal and arbitral proceedings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/LegalandarbitralproceedingsDetails</Role>
      <ShortName>Legal and arbitral proceedings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Legalandarbitralproceedings</ParentRole>
      <Position>196</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R197.htm</HtmlFileName>
      <LongName>9955662 - Disclosure - Provisions for discounts, rebates and sales returns - Summary of Movement in Provisions for Discounts, Rebates and Sales Returns (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ProvisionsfordiscountsrebatesandsalesreturnsSummaryofMovementinProvisionsforDiscountsRebatesandSalesReturnsDetails</Role>
      <ShortName>Provisions for discounts, rebates and sales returns - Summary of Movement in Provisions for Discounts, Rebates and Sales Returns (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>197</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R198.htm</HtmlFileName>
      <LongName>9955663 - Disclosure - Personnel costs - Summary of Personal Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PersonnelcostsSummaryofPersonalCostsDetails</Role>
      <ShortName>Personnel costs - Summary of Personal Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>198</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R199.htm</HtmlFileName>
      <LongName>9955664 - Disclosure - Personnel costs - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PersonnelcostsAdditionalInformationDetails</Role>
      <ShortName>Personnel costs - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>199</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R200.htm</HtmlFileName>
      <LongName>9955665 - Disclosure - Other operating income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtheroperatingincomeDetails</Role>
      <ShortName>Other operating income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Otheroperatingincome</ParentRole>
      <Position>200</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R201.htm</HtmlFileName>
      <LongName>9955666 - Disclosure - Other operating expenses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtheroperatingexpensesAdditionalInformationDetails</Role>
      <ShortName>Other operating expenses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>201</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R202.htm</HtmlFileName>
      <LongName>9955667 - Disclosure - Other operating expenses - Other Income and Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtheroperatingexpensesOtherIncomeandExpenseDetails</Role>
      <ShortName>Other operating expenses - Other Income and Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>202</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R203.htm</HtmlFileName>
      <LongName>9955668 - 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>203</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R204.htm</HtmlFileName>
      <LongName>9955669 - 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>204</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R205.htm</HtmlFileName>
      <LongName>9955670 - 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>205</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R206.htm</HtmlFileName>
      <LongName>9955671 - 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>206</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R207.htm</HtmlFileName>
      <LongName>9955672 - 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>207</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R208.htm</HtmlFileName>
      <LongName>9955673 - 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>208</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R209.htm</HtmlFileName>
      <LongName>9955674 - Disclosure - Share of profit/loss from investments accounted for using the equity method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/ShareofprofitlossfrominvestmentsaccountedforusingtheequitymethodDetails</Role>
      <ShortName>Share of profit/loss from investments accounted for using the equity method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Shareofprofitlossfrominvestmentsaccountedforusingtheequitymethod</ParentRole>
      <Position>209</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R210.htm</HtmlFileName>
      <LongName>9955675 - Disclosure - Net income attributable to non-controlling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NetincomeattributabletononcontrollinginterestsDetails</Role>
      <ShortName>Net income attributable to non-controlling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/NetincomeattributabletononcontrollinginterestsTables</ParentRole>
      <Position>210</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R211.htm</HtmlFileName>
      <LongName>9955676 - Disclosure - Related party transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RelatedpartytransactionsAdditionalInformationDetails</Role>
      <ShortName>Related party transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>211</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R212.htm</HtmlFileName>
      <LongName>9955677 - Disclosure - Related party transactions - Schedule of Compensation Paid to Key Management Personnel (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RelatedpartytransactionsScheduleofCompensationPaidtoKeyManagementPersonnelDetails</Role>
      <ShortName>Related party transactions - Schedule of Compensation Paid to Key Management Personnel (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>212</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R213.htm</HtmlFileName>
      <LongName>9955678 - Disclosure - Related party transactions - Summary of aggregate amounts Payable to Key Management Personnel (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/RelatedpartytransactionsSummaryofaggregateamountsPayabletoKeyManagementPersonnelDetails</Role>
      <ShortName>Related party transactions - Summary of aggregate amounts Payable to Key Management Personnel (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>213</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R214.htm</HtmlFileName>
      <LongName>9955679 - Disclosure - Disclosures about major customers and credit risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/DisclosuresaboutmajorcustomersandcreditriskDetails</Role>
      <ShortName>Disclosures about major customers and credit risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/Disclosuresaboutmajorcustomersandcreditrisk</ParentRole>
      <Position>214</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R215.htm</HtmlFileName>
      <LongName>9955680 - Disclosure - Other revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/OtherrevenueDetails</Role>
      <ShortName>Other revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>215</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R216.htm</HtmlFileName>
      <LongName>9955682 - 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>216</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R217.htm</HtmlFileName>
      <LongName>9955683 - 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>217</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R218.htm</HtmlFileName>
      <LongName>9955684 - 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>218</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R219.htm</HtmlFileName>
      <LongName>9955685 - 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>219</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R220.htm</HtmlFileName>
      <LongName>9955686 - 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>220</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R221.htm</HtmlFileName>
      <LongName>9955687 - Disclosure - Non-current asset held for sale and discontinued operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/NoncurrentassetheldforsaleanddiscontinuedoperationsDetails</Role>
      <ShortName>Non-current asset held for sale and discontinued operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/NoncurrentassetheldforsaleanddiscontinuedoperationsTables</ParentRole>
      <Position>221</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R222.htm</HtmlFileName>
      <LongName>9955688 - Disclosure - Principal accountants' fees and services (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/PrincipalaccountantsfeesandservicesDetails</Role>
      <ShortName>Principal accountants' fees and services (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/PrincipalaccountantsfeesandservicesTables</ParentRole>
      <Position>222</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R223.htm</HtmlFileName>
      <LongName>9955689 - Disclosure - List of principal companies included in the scope of consolidation during??2023 - Summary of Principal Companies and their Country of Incorporation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Listofprincipalcompaniesincludedinthescopeofconsolidationduring2023SummaryofPrincipalCompaniesandtheirCountryofIncorporationDetails</Role>
      <ShortName>List of principal companies included in the scope of consolidation during??2023 - Summary of Principal Companies and their Country of Incorporation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>223</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R224.htm</HtmlFileName>
      <LongName>9955690 - Disclosure - List of principal companies included in the scope of consolidation during??2023 - Summary of Principal Investments Accounted for Using the Equity Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/Listofprincipalcompaniesincludedinthescopeofconsolidationduring2023SummaryofPrincipalInvestmentsAccountedforUsingtheEquityMethodDetails</Role>
      <ShortName>List of principal companies included in the scope of consolidation during??2023 - Summary of Principal Investments Accounted for Using the Equity Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>224</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R225.htm</HtmlFileName>
      <LongName>9955691 - Disclosure - Events subsequent to December 31, 2023 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.sanofi.com/role/EventssubsequenttoDecember312023Details</Role>
      <ShortName>Events subsequent to December 31, 2023 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.sanofi.com/role/EventssubsequenttoDecember312023</ParentRole>
      <Position>225</Position>
    </Report>
    <Report instance="sny-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - sny-20251231.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - sny-20251231.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>226</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" isDefinitelyFs="true" isIfrs="true" isUsgaap="true" original="sny-20251231.htm">sny-20251231.htm</File>
    <File>sny-20251231.xsd</File>
    <File>sny-20251231_cal.xml</File>
    <File>sny-20251231_def.xml</File>
    <File>sny-20251231_lab.xml</File>
    <File>sny-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>sny-20251231_g1.jpg</File>
    <File>sny-20251231_g10.gif</File>
    <File>sny-20251231_g11.jpg</File>
    <File>sny-20251231_g12.jpg</File>
    <File>sny-20251231_g13.jpg</File>
    <File>sny-20251231_g14.jpg</File>
    <File>sny-20251231_g15.gif</File>
    <File>sny-20251231_g16.jpg</File>
    <File>sny-20251231_g17.jpg</File>
    <File>sny-20251231_g18.gif</File>
    <File>sny-20251231_g19.jpg</File>
    <File>sny-20251231_g2.gif</File>
    <File>sny-20251231_g20.jpg</File>
    <File>sny-20251231_g21.jpg</File>
    <File>sny-20251231_g22.jpg</File>
    <File>sny-20251231_g23.gif</File>
    <File>sny-20251231_g24.jpg</File>
    <File>sny-20251231_g25.gif</File>
    <File>sny-20251231_g26.jpg</File>
    <File>sny-20251231_g27.gif</File>
    <File>sny-20251231_g28.jpg</File>
    <File>sny-20251231_g29.gif</File>
    <File>sny-20251231_g3.gif</File>
    <File>sny-20251231_g30.jpg</File>
    <File>sny-20251231_g31.gif</File>
    <File>sny-20251231_g32.gif</File>
    <File>sny-20251231_g33.gif</File>
    <File>sny-20251231_g34.gif</File>
    <File>sny-20251231_g35.gif</File>
    <File>sny-20251231_g36.gif</File>
    <File>sny-20251231_g37.gif</File>
    <File>sny-20251231_g38.gif</File>
    <File>sny-20251231_g39.gif</File>
    <File>sny-20251231_g4.gif</File>
    <File>sny-20251231_g40.gif</File>
    <File>sny-20251231_g41.gif</File>
    <File>sny-20251231_g42.gif</File>
    <File>sny-20251231_g43.gif</File>
    <File>sny-20251231_g44.gif</File>
    <File>sny-20251231_g45.gif</File>
    <File>sny-20251231_g46.jpg</File>
    <File>sny-20251231_g47.gif</File>
    <File>sny-20251231_g48.gif</File>
    <File>sny-20251231_g5.gif</File>
    <File>sny-20251231_g6.gif</File>
    <File>sny-20251231_g7.jpg</File>
    <File>sny-20251231_g8.gif</File>
    <File>sny-20251231_g9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/cyd/2024</BaseTaxonomy>
    <BaseTaxonomy items="47">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
    <BaseTaxonomy items="3555">https://xbrl.ifrs.org/taxonomy/2024-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
