<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>3276</ContextCount>
  <ElementCount>770</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>1801</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>23</UnitCount>
  <MyReports>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONSOLIDATED STATEMENT OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/StatementConsolidatedStatementOfIncome</Role>
      <ShortName>CONSOLIDATED STATEMENT OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/StatementConsolidatedStatementOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONSOLIDATED BALANCE SHEET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/StatementConsolidatedBalanceSheet</Role>
      <ShortName>CONSOLIDATED BALANCE SHEET</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONSOLIDATED STATEMENT OF CASH FLOW</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/StatementConsolidatedStatementOfCashFlow</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CASH FLOW</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200500 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/StatementConsolidatedStatementOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995210001 - Disclosure - Notes to the Consolidated Financial Statements</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureNotesToConsolidatedFinancialStatements</Role>
      <ShortName>Notes to the Consolidated Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - General accounting principles</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureGeneralAccountingPrinciples</Role>
      <ShortName>General accounting principles</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Changes in TotalEnergies' perimeter</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeter</Role>
      <ShortName>Changes in TotalEnergies' perimeter</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Business segment information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformation</Role>
      <ShortName>Business segment information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Segment Information by geographical area</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureSegmentInformationByGeographicalArea</Role>
      <ShortName>Segment Information by geographical area</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Main items related to operating activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivities</Role>
      <ShortName>Main items related to operating activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Other items from operating activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivities</Role>
      <ShortName>Other items from operating activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Intangible and tangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssets</Role>
      <ShortName>Intangible and tangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Equity affiliates, other investments and related parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedParties</Role>
      <ShortName>Equity affiliates, other investments and related parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Shareholders' equity and share-based payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPayments</Role>
      <ShortName>Shareholders' equity and share-based payments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Payroll, staff and employee benefits obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligations</Role>
      <ShortName>Payroll, staff and employee benefits obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Provisions and other non-current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilities</Role>
      <ShortName>Provisions and other non-current liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Off balance sheet commitments and lease contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContracts</Role>
      <ShortName>Off balance sheet commitments and lease contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Financial assets and liabilities analysis per instrument class and strategy</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialAssetsAndLiabilitiesAnalysisPerInstrumentClassAndStrategy</Role>
      <ShortName>Financial assets and liabilities analysis per instrument class and strategy</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Financial structure and financial costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCosts</Role>
      <ShortName>Financial structure and financial costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Financial instruments related to commodity contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContracts</Role>
      <ShortName>Financial instruments related to commodity contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995211701 - Disclosure - Post closing events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePostClosingEvents</Role>
      <ShortName>Post closing events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995211801 - Disclosure - Consolidation scope</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureConsolidationScope</Role>
      <ShortName>Consolidation scope</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.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>27</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99920102 - Disclosure - Accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureAccountingPoliciesPolicies</Role>
      <ShortName>Accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Changes in TotalEnergies' perimeter (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeterTables</Role>
      <ShortName>Changes in TotalEnergies' perimeter (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeter</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Business segment information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformationTables</Role>
      <ShortName>Business segment information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Segment Information by geographical area (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureSegmentInformationByGeographicalAreaTables</Role>
      <ShortName>Segment Information by geographical area (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureSegmentInformationByGeographicalArea</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Main items related to operating activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesTables</Role>
      <ShortName>Main items related to operating activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivities</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Other items from operating activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivitiesTables</Role>
      <ShortName>Other items from operating activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Intangible and tangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsTables</Role>
      <ShortName>Intangible and tangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssets</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Equity affiliates, other investments and related parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesTables</Role>
      <ShortName>Equity affiliates, other investments and related parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedParties</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - Shareholders' equity and share-based payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTables</Role>
      <ShortName>Shareholders' equity and share-based payments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPayments</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Payroll, staff and employee benefits obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsTables</Role>
      <ShortName>Payroll, staff and employee benefits obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligations</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99931103 - Disclosure - Income taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Provisions and other non-current liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesTables</Role>
      <ShortName>Provisions and other non-current liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilities</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99931303 - Disclosure - Off balance sheet commitments and lease contracts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContractsTables</Role>
      <ShortName>Off balance sheet commitments and lease contracts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContracts</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99931403 - Disclosure - Financial assets and liabilities analysis per instrument class and strategy (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialAssetsAndLiabilitiesAnalysisPerInstrumentClassAndStrategyTables</Role>
      <ShortName>Financial assets and liabilities analysis per instrument class and strategy (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureFinancialAssetsAndLiabilitiesAnalysisPerInstrumentClassAndStrategy</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99931503 - Disclosure - Financial structure and financial costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsTables</Role>
      <ShortName>Financial structure and financial costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCosts</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99931603 - Disclosure - Financial instruments related to commodity contracts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsTables</Role>
      <ShortName>Financial instruments related to commodity contracts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContracts</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99931803 - Disclosure - Consolidation scope (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureConsolidationScopeTables</Role>
      <ShortName>Consolidation scope (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureConsolidationScope</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Notes to the Consolidated Financial Statements - Climate change and energy transition (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureNotesToConsolidatedFinancialStatementsClimateChangeAndEnergyTransitionDetails</Role>
      <ShortName>Notes to the Consolidated Financial Statements - Climate change and energy transition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940102 - Disclosure - Notes to the Consolidated Financial Statements - Asset impairment and Asset retirement obligation (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureNotesToConsolidatedFinancialStatementsAssetImpairmentAndAssetRetirementObligationDetails</Role>
      <ShortName>Notes to the Consolidated Financial Statements - Asset impairment and Asset retirement obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940103 - Disclosure - Notes to the Consolidated Financial Statements - Russian-Ukrainian conflict (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureNotesToConsolidatedFinancialStatementsRussianUkrainianConflictDetails</Role>
      <ShortName>Notes to the Consolidated Financial Statements - Russian-Ukrainian conflict (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Changes in TotalEnergies' perimeter (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeterDetails</Role>
      <ShortName>Changes in TotalEnergies' perimeter (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeterTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Changes in TotalEnergies' perimeter - Major business combinations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeterMajorBusinessCombinationsDetails</Role>
      <ShortName>Changes in TotalEnergies' perimeter - Major business combinations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - Changes in TotalEnergies' perimeter - Divestment projects (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureChangesInTotalenergiesPerimeterDivestmentProjectsDetails</Role>
      <ShortName>Changes in TotalEnergies' perimeter - Divestment projects (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Business segment information - Information by business segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformationInformationByBusinessSegmentDetails</Role>
      <ShortName>Business segment information - Information by business segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Business segment information - Adjustment items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformationAdjustmentItemsDetails</Role>
      <ShortName>Business segment information - Adjustment items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940303 - Disclosure - Business segment information - Asset impairment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureBusinessSegmentInformationAssetImpairmentDetails</Role>
      <ShortName>Business segment information - Asset impairment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Segment Information by geographical area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureSegmentInformationByGeographicalAreaDetails</Role>
      <ShortName>Segment Information by geographical area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureSegmentInformationByGeographicalAreaTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Main items related to operating activities - Operating expenses, research and development costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesOperatingExpensesResearchAndDevelopmentCostsDetails</Role>
      <ShortName>Main items related to operating activities - Operating expenses, research and development costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - Main items related to operating activities - Amortization, depreciation and impairment of tangible assets and mineral interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesAmortizationDepreciationAndImpairmentOfTangibleAssetsAndMineralInterestsDetails</Role>
      <ShortName>Main items related to operating activities - Amortization, depreciation and impairment of tangible assets and mineral interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940503 - Disclosure - Main items related to operating activities - Inventories, Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesInventoriesComponentsDetails</Role>
      <ShortName>Main items related to operating activities - Inventories, Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940504 - Disclosure - Main items related to operating activities - Inventories, Valuation Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesInventoriesValuationAllowanceDetails</Role>
      <ShortName>Main items related to operating activities - Inventories, Valuation Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99940505 - Disclosure - Main items related to operating activities - Accounts receivable and other current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesAccountsReceivableAndOtherCurrentAssetsDetails</Role>
      <ShortName>Main items related to operating activities - Accounts receivable and other current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99940506 - Disclosure - Main items related to operating activities - Valuation allowances and overdue receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesValuationAllowancesAndOverdueReceivablesDetails</Role>
      <ShortName>Main items related to operating activities - Valuation allowances and overdue receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99940507 - Disclosure - Main items related to operating activities - Other creditors and accrued liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesOtherCreditorsAndAccruedLiabilitiesDetails</Role>
      <ShortName>Main items related to operating activities - Other creditors and accrued liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99940508 - Disclosure - Main items related to operating activities - Cash flow from operating activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureMainItemsRelatedToOperatingActivitiesCashFlowFromOperatingActivitiesDetails</Role>
      <ShortName>Main items related to operating activities - Cash flow from operating activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Other items from operating activities - Other income and other expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivitiesOtherIncomeAndOtherExpenseDetails</Role>
      <ShortName>Other items from operating activities - Other income and other expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Other items from operating activities - Other financial income and expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivitiesOtherFinancialIncomeAndExpenseDetails</Role>
      <ShortName>Other items from operating activities - Other financial income and expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99940603 - Disclosure - Other items from operating activities - Other non-current assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivitiesOtherNonCurrentAssetsDetails</Role>
      <ShortName>Other items from operating activities - Other non-current assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99940604 - Disclosure - Other items from operating activities - Loans and advances, valuation allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOtherItemsFromOperatingActivitiesLoansAndAdvancesValuationAllowanceDetails</Role>
      <ShortName>Other items from operating activities - Loans and advances, valuation allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Intangible and tangible assets - Intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsIntangibleAssetsDetails</Role>
      <ShortName>Intangible and tangible assets - Intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99940702 - Disclosure - Intangible and tangible assets - Change in net intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsChangeInNetIntangibleAssetsDetails</Role>
      <ShortName>Intangible and tangible assets - Change in net intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99940703 - Disclosure - Intangible and tangible assets - Changes in carrying amount of goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsChangesInCarryingAmountOfGoodwillDetails</Role>
      <ShortName>Intangible and tangible assets - Changes in carrying amount of goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99940704 - Disclosure - Intangible and tangible assets - Other property, plant and equipment, useful lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsOtherPropertyPlantAndEquipmentUsefulLivesDetails</Role>
      <ShortName>Intangible and tangible assets - Other property, plant and equipment, useful lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99940705 - Disclosure - Intangible and tangible assets - Total property, plant and equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsTotalPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Intangible and tangible assets - Total property, plant and equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>99940706 - Disclosure - Intangible and tangible assets - Change in net property, plant and equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsChangeInNetPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Intangible and tangible assets - Change in net property, plant and equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>99940707 - Disclosure - Intangible and tangible assets - Facilities and equipment under leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIntangibleAndTangibleAssetsFacilitiesAndEquipmentUnderLeasesDetails</Role>
      <ShortName>Intangible and tangible assets - Facilities and equipment under leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Equity affiliates, other investments and related parties - Contribution of equity affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesContributionOfEquityAffiliatesDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Contribution of equity affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Equity affiliates, other investments and related parties - Associates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesAssociatesDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Associates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Equity affiliates, other investments and related parties - Joint Ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesJointVenturesDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Joint Ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>99940804 - Disclosure - Equity affiliates, other investments and related parties - Other associates and joint-ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesOtherAssociatesAndJointVenturesDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Other associates and joint-ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>99940805 - Disclosure - Equity affiliates, other investments and related parties - Equity instruments reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesEquityInstrumentsReconciliationDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Equity instruments reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>99940806 - Disclosure - Equity affiliates, other investments and related parties - Related parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesRelatedPartiesDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Related parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>99940807 - Disclosure - Equity affiliates, other investments and related parties - Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureEquityAffiliatesOtherInvestmentsAndRelatedPartiesCompensationDetails</Role>
      <ShortName>Equity affiliates, other investments and related parties - Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Shareholders' equity and share-based payments - Number of shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsNumberOfSharesDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Number of shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - Shareholders' equity and share-based payments - Share cancellation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsShareCancellationDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Share cancellation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>99940903 - Disclosure - Shareholders' equity and share-based payments - Variation of the number of shares composing the share capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsVariationOfNumberOfSharesComposingShareCapitalDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Variation of the number of shares composing the share capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>99940904 - Disclosure - Shareholders' equity and share-based payments - Capital increase reserved for Group employees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsCapitalIncreaseReservedForGroupEmployeesDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Capital increase reserved for Group employees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>99940905 - Disclosure - Shareholders' equity and share-based payments - Treasury shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTreasurySharesDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Treasury shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>99940906 - Disclosure - Shareholders' equity and share-based payments - Paid-in surplus and Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsPaidInSurplusAndReservesDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Paid-in surplus and Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>99940907 - Disclosure - Shareholders' equity and share-based payments - Earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsEarningsPerShareDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>99940908 - Disclosure - Shareholders' equity and share-based payments - Dividend (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsDividendDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Dividend (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>99940909 - Disclosure - Shareholders' equity and share-based payments - Perpetual subordinated notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsPerpetualSubordinatedNotesDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Perpetual subordinated notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>99940910 - Disclosure - Shareholders' equity and share-based payments - Other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsOtherComprehensiveIncomeDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>99940911 - Disclosure - Shareholders' equity and share-based payments - Currency translation adjustment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsCurrencyTranslationAdjustmentDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Currency translation adjustment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>99940912 - Disclosure - Shareholders' equity and share-based payments - Tax effects of other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTaxEffectsOfOtherComprehensiveIncomeDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Tax effects of other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>99940913 - Disclosure - Shareholders' equity and share-based payments - TOTALEnergies performance share plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTotalenergiesPerformanceSharePlansDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - TOTALEnergies performance share plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>99940914 - Disclosure - Shareholders' equity and share-based payments - Worldwide Plan 2024 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsWorldwidePlan2024Details</Role>
      <ShortName>Shareholders' equity and share-based payments - Worldwide Plan 2024 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>99940915 - Disclosure - Shareholders' equity and share-based payments - Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsExpenseDetails</Role>
      <ShortName>Shareholders' equity and share-based payments - Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureShareholdersEquityAndShareBasedPaymentsTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Payroll, staff and employee benefits obligations - Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsLiabilitiesDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>99941002 - Disclosure - Payroll, staff and employee benefits obligations - Plans and risk management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsPlansAndRiskManagementDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Plans and risk management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>99941003 - Disclosure - Payroll, staff and employee benefits obligations - Change in benefit obligations and plan assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsChangeInBenefitObligationsAndPlanAssetsDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Change in benefit obligations and plan assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>99941004 - Disclosure - Payroll, staff and employee benefits obligations - Recognized in income and comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsRecognizedInIncomeAndComprehensiveIncomeDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Recognized in income and comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>99941005 - Disclosure - Payroll, staff and employee benefits obligations - Expected future cash outflows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsExpectedFutureCashOutflowsDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Expected future cash outflows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>99941006 - Disclosure - Payroll, staff and employee benefits obligations - Type of assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsTypeOfAssetsDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Type of assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>99941007 - Disclosure - Payroll, staff and employee benefits obligations - Actuarial assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsActuarialAssumptionsDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Actuarial assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>99941008 - Disclosure - Payroll, staff and employee benefits obligations - Sensitivity analysis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsSensitivityAnalysisDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Sensitivity analysis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>99941009 - Disclosure - Payroll, staff and employee benefits obligations - Payroll and staff (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosurePayrollStaffAndEmployeeBenefitsObligationsPayrollAndStaffDetails</Role>
      <ShortName>Payroll, staff and employee benefits obligations - Payroll and staff (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Income taxes - Current and deferred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesCurrentAndDeferredDetails</Role>
      <ShortName>Income taxes - Current and deferred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - Income taxes - Deferred tax balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesDeferredTaxBalancesDetails</Role>
      <ShortName>Income taxes - Deferred tax balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>99941103 - Disclosure - Income taxes - Deferred tax assets not recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesDeferredTaxAssetsNotRecognizedDetails</Role>
      <ShortName>Income taxes - Deferred tax assets not recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>99941104 - Disclosure - Income taxes - Deferred tax balance sheet presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesDeferredTaxBalanceSheetPresentationDetails</Role>
      <ShortName>Income taxes - Deferred tax balance sheet presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>99941105 - Disclosure - Income taxes - Deferred tax variation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesDeferredTaxVariationDetails</Role>
      <ShortName>Income taxes - Deferred tax variation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>99941106 - Disclosure - Income taxes - Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesReconciliationDetails</Role>
      <ShortName>Income taxes - Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>99941107 - Disclosure - Income taxes - Carried forward tax credits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureIncomeTaxesCarriedForwardTaxCreditsDetails</Role>
      <ShortName>Income taxes - Carried forward tax credits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Provisions and other non-current liabilities - Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesComponentsDetails</Role>
      <ShortName>Provisions and other non-current liabilities - Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>99941202 - Disclosure - Provisions and other non-current liabilities - Changes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesChangesDetails</Role>
      <ShortName>Provisions and other non-current liabilities - Changes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>99941203 - Disclosure - Provisions and other non-current liabilities - Asset retirement obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesAssetRetirementObligationDetails</Role>
      <ShortName>Provisions and other non-current liabilities - Asset retirement obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>99941204 - Disclosure - Provisions and other non-current liabilities - Other risks and contingent liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureProvisionsAndOtherNonCurrentLiabilitiesOtherRisksAndContingentLiabilitiesDetails</Role>
      <ShortName>Provisions and other non-current liabilities - Other risks and contingent liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Off balance sheet commitments and lease contracts - Off balance sheet commitments and contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContractsOffBalanceSheetCommitmentsAndContingenciesDetails</Role>
      <ShortName>Off balance sheet commitments and lease contracts - Off balance sheet commitments and contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>99941302 - Disclosure - Off balance sheet commitments and lease contracts - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContractsLeasesDetails</Role>
      <ShortName>Off balance sheet commitments and lease contracts - Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureOffBalanceSheetCommitmentsAndLeaseContractsTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Financial assets and liabilities analysis per instrument class and strategy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialAssetsAndLiabilitiesAnalysisPerInstrumentClassAndStrategyDetails</Role>
      <ShortName>Financial assets and liabilities analysis per instrument class and strategy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureFinancialAssetsAndLiabilitiesAnalysisPerInstrumentClassAndStrategyTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Financial structure and financial costs - Non-current financial debt and derivative financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsNonCurrentFinancialDebtAndDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Financial structure and financial costs - Non-current financial debt and derivative financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>99941502 - Disclosure - Financial structure and financial costs - Fair value of bonds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsFairValueOfBondsDetails</Role>
      <ShortName>Financial structure and financial costs - Fair value of bonds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>99941503 - Disclosure - Financial structure and financial costs - Loan repayment schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsLoanRepaymentScheduleDetails</Role>
      <ShortName>Financial structure and financial costs - Loan repayment schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>99941504 - Disclosure - Financial structure and financial costs - Analysis by currency and interest rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsAnalysisByCurrencyAndInterestRateDetails</Role>
      <ShortName>Financial structure and financial costs - Analysis by currency and interest rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>99941505 - Disclosure - Financial structure and financial costs - Current financial assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsCurrentFinancialAssetsAndLiabilitiesDetails</Role>
      <ShortName>Financial structure and financial costs - Current financial assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>99941506 - Disclosure - Financial structure and financial costs - Variations of financial debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsVariationsOfFinancialDebtDetails</Role>
      <ShortName>Financial structure and financial costs - Variations of financial debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>99941507 - Disclosure - Financial structure and financial costs - Financing cash flows, Cash and cash equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsFinancingCashFlowsCashAndCashEquivalentsDetails</Role>
      <ShortName>Financial structure and financial costs - Financing cash flows, Cash and cash equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>99941508 - Disclosure - Financial structure and financial costs - Net-debt-to-capital ratio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsNetDebtToCapitalRatioDetails</Role>
      <ShortName>Financial structure and financial costs - Net-debt-to-capital ratio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>126</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>99941509 - Disclosure - Financial structure and financial costs - Impact on statement of income, Impact of hedging strategies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsImpactOnStatementOfIncomeImpactOfHedgingStrategiesDetails</Role>
      <ShortName>Financial structure and financial costs - Impact on statement of income, Impact of hedging strategies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>99941510 - Disclosure - Financial structure and financial costs - Hedging instruments and hedged items by strategy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsHedgingInstrumentsAndHedgedItemsByStrategyDetails</Role>
      <ShortName>Financial structure and financial costs - Hedging instruments and hedged items by strategy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>128</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>99941511 - Disclosure - Financial structure and financial costs - Maturity of derivative instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsMaturityOfDerivativeInstrumentsDetails</Role>
      <ShortName>Financial structure and financial costs - Maturity of derivative instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>129</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>99941512 - Disclosure - Financial structure and financial costs - Fair value hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsFairValueHierarchyDetails</Role>
      <ShortName>Financial structure and financial costs - Fair value hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>99941513 - Disclosure - Financial structure and financial costs - Interest rate risk sensitivity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsInterestRateRiskSensitivityDetails</Role>
      <ShortName>Financial structure and financial costs - Interest rate risk sensitivity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>99941514 - Disclosure - Financial structure and financial costs - Foreign exchange risk sensitivity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsForeignExchangeRiskSensitivityDetails</Role>
      <ShortName>Financial structure and financial costs - Foreign exchange risk sensitivity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>99941515 - Disclosure - Financial structure and financial costs - Liquidity risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsLiquidityRiskDetails</Role>
      <ShortName>Financial structure and financial costs - Liquidity risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>99941516 - Disclosure - Financial structure and financial costs - Credit risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialStructureAndFinancialCostsCreditRiskDetails</Role>
      <ShortName>Financial structure and financial costs - Credit risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Financial instruments related to commodity contracts - Offsetting of financial assets and financial liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsOffsettingOfFinancialAssetsAndFinancialLiabilitiesDetails</Role>
      <ShortName>Financial instruments related to commodity contracts - Offsetting of financial assets and financial liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>135</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>99941602 - Disclosure - Financial instruments related to commodity contracts - Changes in fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsChangesInFairValueDetails</Role>
      <ShortName>Financial instruments related to commodity contracts - Changes in fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>136</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>99941603 - Disclosure - Financial instruments related to commodity contracts - Fair value hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsFairValueHierarchyDetails</Role>
      <ShortName>Financial instruments related to commodity contracts - Fair value hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>99941604 - Disclosure - Financial instruments related to commodity contracts - Cash flow hedge (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsCashFlowHedgeDetails</Role>
      <ShortName>Financial instruments related to commodity contracts - Cash flow hedge (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>99941605 - Disclosure - Financial instruments related to commodity contracts - Markets related risks (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureFinancialInstrumentsRelatedToCommodityContractsMarketsRelatedRisksDetails</Role>
      <ShortName>Financial instruments related to commodity contracts - Markets related risks (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>139</Position>
    </Report>
    <Report instance="tot-20251231x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>99941801 - Disclosure - Consolidation scope (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.totalenergies.com/role/DisclosureConsolidationScopeDetails</Role>
      <ShortName>Consolidation scope (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.totalenergies.com/role/DisclosureConsolidationScopeTables</ParentRole>
      <Position>140</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>tot-20251231.xsd</File>
    <File>tot-20251231_cal.xml</File>
    <File>tot-20251231_def.xml</File>
    <File>tot-20251231_lab.xml</File>
    <File>tot-20251231_pre.xml</File>
    <File doctype="20-F" isDefinitelyFs="true" isIfrs="true" isUsgaap="true" original="tot-20251231x20f.htm">tot-20251231x20f.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="16">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="50">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
    <BaseTaxonomy items="4989">https://xbrl.ifrs.org/taxonomy/2025-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
