<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>1788</ContextCount>
  <ElementCount>579</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>345</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>17</UnitCount>
  <MyReports>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - Condensed Consolidated Income Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedIncomeStatements</Role>
      <ShortName>Condensed Consolidated Income Statements</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Condensed Consolidated Income Statements (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedIncomeStatementsParenthetical</Role>
      <ShortName>Condensed Consolidated Income Statements (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Condensed Consolidated Statements of Recognized Income and Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedStatementsofRecognizedIncomeandExpense</Role>
      <ShortName>Condensed Consolidated Statements of Recognized Income and Expense</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952156 - Statement - Condensed Consolidated Statements of Changes in Total Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedStatementsofChangesinTotalEquity</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Total Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952157 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CondensedConsolidatedStatementsofCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Introduction, basis of presentation of the interim condensed consolidated financial statements and other information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Introductionbasisofpresentationoftheinterimcondensedconsolidatedfinancialstatementsandotherinformation</Role>
      <ShortName>Introduction, basis of presentation of the interim condensed consolidated financial statements and other information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Grupo Santander</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantander</Role>
      <ShortName>Grupo Santander</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Shareholder remuneration system and earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Shareholderremunerationsystemandearningspershare</Role>
      <ShortName>Shareholder remuneration system and earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagers</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Financial assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Financialassets</Role>
      <ShortName>Financial assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Non-current assets held for sale and liabilities associated with non-current assets held for sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Noncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsale</Role>
      <ShortName>Non-current assets held for sale and liabilities associated with non-current assets held for sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Tangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Tangibleassets</Role>
      <ShortName>Tangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Intangibleassets</Role>
      <ShortName>Intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Financial liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Financialliabilities</Role>
      <ShortName>Financial liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Provisions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Provisions</Role>
      <ShortName>Provisions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Segment information (Primary segments)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SegmentinformationPrimarysegments</Role>
      <ShortName>Segment information (Primary segments)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Related parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Relatedparties</Role>
      <ShortName>Related parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Off-balance-sheet exposures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Offbalancesheetexposures</Role>
      <ShortName>Off-balance-sheet exposures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Average headcount and number of branches</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Averageheadcountandnumberofbranches</Role>
      <ShortName>Average headcount and number of branches</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Other disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherdisclosures</Role>
      <ShortName>Other disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Additional disclosure requirements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Additionaldisclosurerequirements</Role>
      <ShortName>Additional disclosure requirements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Introduction, basis of presentation of the interim condensed consolidated financial statements and other information (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheinterimcondensedconsolidatedfinancialstatementsandotherinformationPolicies</Role>
      <ShortName>Introduction, basis of presentation of the interim condensed consolidated financial statements and other information (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Grupo Santander (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderTables</Role>
      <ShortName>Grupo Santander (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/GrupoSantander</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Shareholder remuneration system and earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareTables</Role>
      <ShortName>Shareholder remuneration system and earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Shareholderremunerationsystemandearningspershare</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagersTables</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagers</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Financial assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsTables</Role>
      <ShortName>Financial assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Financialassets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Non-current assets held for sale and liabilities associated with non-current assets held for sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsaleTables</Role>
      <ShortName>Non-current assets held for sale and liabilities associated with non-current assets held for sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Noncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsale</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Intangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsTables</Role>
      <ShortName>Intangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Intangibleassets</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Financial liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesTables</Role>
      <ShortName>Financial liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Financialliabilities</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Provisions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsTables</Role>
      <ShortName>Provisions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Provisions</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Equity</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Segment information (Primary segments) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SegmentinformationPrimarysegmentsTables</Role>
      <ShortName>Segment information (Primary segments) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/SegmentinformationPrimarysegments</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Related parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RelatedpartiesTables</Role>
      <ShortName>Related parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Relatedparties</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Off-balance-sheet exposures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OffbalancesheetexposuresTables</Role>
      <ShortName>Off-balance-sheet exposures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Offbalancesheetexposures</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Average headcount and number of branches (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AverageheadcountandnumberofbranchesTables</Role>
      <ShortName>Average headcount and number of branches (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Averageheadcountandnumberofbranches</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Other disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresTables</Role>
      <ShortName>Other disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otherdisclosures</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Additional disclosure requirements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsTables</Role>
      <ShortName>Additional disclosure requirements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Additionaldisclosurerequirements</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Introduction, basis of presentation of the interim condensed consolidated financial statements and other information - Comparative information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheinterimcondensedconsolidatedfinancialstatementsandotherinformationComparativeinformationDetails</Role>
      <ShortName>Introduction, basis of presentation of the interim condensed consolidated financial statements and other information - Comparative information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/IntroductionbasisofpresentationoftheinterimcondensedconsolidatedfinancialstatementsandotherinformationPolicies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Grupo Santander - Agreement for the acquisition of Webster Financial Corporation ('Webster') (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAgreementfortheacquisitionofWebsterFinancialCorporationWebsterDetails</Role>
      <ShortName>Grupo Santander - Agreement for the acquisition of Webster Financial Corporation ('Webster') (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Grupo Santander - Agreement for the sale of 49% of Santander Bank Polska S.A and accelerated placement of ordinary shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAgreementforthesaleof49ofSantanderBankPolskaSAandacceleratedplacementofordinarysharesDetails</Role>
      <ShortName>Grupo Santander - Agreement for the sale of 49% of Santander Bank Polska S.A and accelerated placement of ordinary shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Grupo Santander - Agreement for the acquisition of TSB Banking Group plc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAgreementfortheacquisitionofTSBBankingGroupplcDetails</Role>
      <ShortName>Grupo Santander - Agreement for the acquisition of TSB Banking Group plc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Grupo Santander - TSD Banking Group plc, Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderTSDBankingGroupplcAssetsAcquiredandLiabilitiesAssumedDetails</Role>
      <ShortName>Grupo Santander - TSD Banking Group plc, Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Shareholder remuneration system and earnings per share - Schedule of shareholder remuneration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareScheduleofshareholderremunerationDetails</Role>
      <ShortName>Shareholder remuneration system and earnings per share - Schedule of shareholder remuneration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Shareholder remuneration system and earnings per share - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareNarrativeDetails</Role>
      <ShortName>Shareholder remuneration system and earnings per share - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Shareholder remuneration system and earnings per share - Schedule of basic earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareScheduleofbasicearningspershareDetails</Role>
      <ShortName>Shareholder remuneration system and earnings per share - Schedule of basic earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Shareholder remuneration system and earnings per share - Schedule of diluted earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ShareholderremunerationsystemandearningspershareScheduleofdilutedearningspershareDetails</Role>
      <ShortName>Shareholder remuneration system and earnings per share - Schedule of diluted earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of remuneration of members of the board of directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagersScheduleofremunerationofmembersoftheboardofdirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of remuneration of members of the board of directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of other benefits of members of the board of directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagersScheduleofotherbenefitsofmembersoftheboardofdirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of other benefits of members of the board of directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of remuneration of senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagersScheduleofremunerationofseniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of remuneration of senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of funds and pension plans of senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtoBancoSantandersdirectorsandseniormanagersScheduleoffundsandpensionplansofseniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to Banco Santander’s directors and senior managers - Schedule of funds and pension plans of senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Financial assets - Schedule of components of financial assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsScheduleofcomponentsoffinancialassetsDetails</Role>
      <ShortName>Financial assets - Schedule of components of financial assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Financial assets - Disclosure of gross exposure by stages of impairment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsDisclosureofgrossexposurebystagesofimpairmentDetails</Role>
      <ShortName>Financial assets - Disclosure of gross exposure by stages of impairment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Financial assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsNarrativeDetails</Role>
      <ShortName>Financial assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Financial assets - Disclosure of reconciliation of changes in loss allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsDisclosureofreconciliationofchangesinlossallowanceDetails</Role>
      <ShortName>Financial assets - Disclosure of reconciliation of changes in loss allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Financial assets - Disclosure of reconciliation of changes in gross carrying amount for financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsDisclosureofreconciliationofchangesingrosscarryingamountforfinancialinstrumentsDetails</Role>
      <ShortName>Financial assets - Disclosure of reconciliation of changes in gross carrying amount for financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Financial assets - Disclosure of reconciliation of financial assets classified at amortised cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsDisclosureofreconciliationoffinancialassetsclassifiedatamortisedcostDetails</Role>
      <ShortName>Financial assets - Disclosure of reconciliation of financial assets classified at amortised cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Financial assets - Schedule of collaterals received for financial assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsScheduleofcollateralsreceivedforfinancialassetsDetails</Role>
      <ShortName>Financial assets - Schedule of collaterals received for financial assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Financial assets - Schedule of financial assets measured at other than fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialassetsScheduleoffinancialassetsmeasuredatotherthanfairvalueDetails</Role>
      <ShortName>Financial assets - Schedule of financial assets measured at other than fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Non-current assets held for sale and liabilities associated with non-current assets held for sale - Schedule of non-current assets classified as held for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsaleScheduleofnoncurrentassetsclassifiedasheldforsaleDetails</Role>
      <ShortName>Non-current assets held for sale and liabilities associated with non-current assets held for sale - Schedule of non-current assets classified as held for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Non-current assets held for sale and liabilities associated with non-current assets held for sale - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsaleNarrativeDetails</Role>
      <ShortName>Non-current assets held for sale and liabilities associated with non-current assets held for sale - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/NoncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsaleTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Non-current assets held for sale and liabilities associated with non-current assets held for sale - Discontinued operations, Condensed financial statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncurrentassetsheldforsaleandliabilitiesassociatedwithnoncurrentassetsheldforsaleDiscontinuedoperationsCondensedfinancialstatementsDetails</Role>
      <ShortName>Non-current assets held for sale and liabilities associated with non-current assets held for sale - Discontinued operations, Condensed financial statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Tangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsDetails</Role>
      <ShortName>Tangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Tangibleassets</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Intangible assets - Schedule of goodwill based on cash-generating units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsScheduleofgoodwillbasedoncashgeneratingunitsDetails</Role>
      <ShortName>Intangible assets - Schedule of goodwill based on cash-generating units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Intangible assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsNarrativeDetails</Role>
      <ShortName>Intangible assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Financial liabilities - Schedule of components of financial liabilities other than hedging derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesScheduleofcomponentsoffinancialliabilitiesotherthanhedgingderivativesDetails</Role>
      <ShortName>Financial liabilities - Schedule of components of financial liabilities other than hedging derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Financial liabilities - Disclosure of composition of debt instruments excluding promissory notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesDisclosureofcompositionofdebtinstrumentsexcludingpromissorynotesDetails</Role>
      <ShortName>Financial liabilities - Disclosure of composition of debt instruments excluding promissory notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Financial liabilities - Disclosure of reconciliation of debt instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesDisclosureofreconciliationofdebtinstrumentsDetails</Role>
      <ShortName>Financial liabilities - Disclosure of reconciliation of debt instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Financial liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesNarrativeDetails</Role>
      <ShortName>Financial liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Financial liabilities - Schedule of financial liabilities measured at other than fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FinancialliabilitiesScheduleoffinancialliabilitiesmeasuredatotherthanfairvalueDetails</Role>
      <ShortName>Financial liabilities - Schedule of financial liabilities measured at other than fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Provisions - Schedule of other provisions by type of provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofotherprovisionsbytypeofprovisionDetails</Role>
      <ShortName>Provisions - Schedule of other provisions by type of provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Provisions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsNarrativeDetails</Role>
      <ShortName>Provisions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Provisions - Tax-related litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsTaxrelatedlitigationDetails</Role>
      <ShortName>Provisions - Tax-related litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Provisions - Non-tax-related proceedings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsNontaxrelatedproceedingsDetails</Role>
      <ShortName>Provisions - Non-tax-related proceedings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Equity - Capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityCapitalDetails</Role>
      <ShortName>Equity - Capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Equity - Schedule of other comprehensive income components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityScheduleofothercomprehensiveincomecomponentsDetails</Role>
      <ShortName>Equity - Schedule of other comprehensive income components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Equity - Accumulated other comprehensive income, items that will not be reclassified to profit or loss - Actuarial gains or losses on defined benefit benefit pension plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityAccumulatedothercomprehensiveincomeitemsthatwillnotbereclassifiedtoprofitorlossActuarialgainsorlossesondefinedbenefitbenefitpensionplansDetails</Role>
      <ShortName>Equity - Accumulated other comprehensive income, items that will not be reclassified to profit or loss - Actuarial gains or losses on defined benefit benefit pension plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Equity - Schedule of changes in fair value of equity instruments that will not be reclassified (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityScheduleofchangesinfairvalueofequityinstrumentsthatwillnotbereclassifiedDetails</Role>
      <ShortName>Equity - Schedule of changes in fair value of equity instruments that will not be reclassified (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Equity - Other comprehensive income, items that may be reclassified to profit or loss – Hedges of net investments in foreign operations and exchange differences (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityOthercomprehensiveincomeitemsthatmaybereclassifiedtoprofitorlossHedgesofnetinvestmentsinforeignoperationsandexchangedifferencesDetails</Role>
      <ShortName>Equity - Other comprehensive income, items that may be reclassified to profit or loss – Hedges of net investments in foreign operations and exchange differences (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Equity - Schedule of other comprehensive income, that may be reclassified to profit or loss, by type of instrument and geographical origin of the issuer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityScheduleofothercomprehensiveincomethatmaybereclassifiedtoprofitorlossbytypeofinstrumentandgeographicaloriginoftheissuerDetails</Role>
      <ShortName>Equity - Schedule of other comprehensive income, that may be reclassified to profit or loss, by type of instrument and geographical origin of the issuer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Segment information (Primary segments) - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SegmentinformationPrimarysegmentsNarrativeDetails</Role>
      <ShortName>Segment information (Primary segments) - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/SegmentinformationPrimarysegmentsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Segment information (Primary segments) - Disclosure of reconciliation between adjusted profit and statutory profit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SegmentinformationPrimarysegmentsDisclosureofreconciliationbetweenadjustedprofitandstatutoryprofitDetails</Role>
      <ShortName>Segment information (Primary segments) - Disclosure of reconciliation between adjusted profit and statutory profit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/SegmentinformationPrimarysegmentsTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Related parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RelatedpartiesDetails</Role>
      <ShortName>Related parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/RelatedpartiesTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Off-balance-sheet exposures - Schedule of contingent commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OffbalancesheetexposuresScheduleofcontingentcommitmentsDetails</Role>
      <ShortName>Off-balance-sheet exposures - Schedule of contingent commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Off-balance-sheet exposures - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OffbalancesheetexposuresNarrativeDetails</Role>
      <ShortName>Off-balance-sheet exposures - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Average headcount and number of branches - Schedule of average number of employees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AverageheadcountandnumberofbranchesScheduleofaveragenumberofemployeesDetails</Role>
      <ShortName>Average headcount and number of branches - Schedule of average number of employees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - Average headcount and number of branches - Schedule of number of branches (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AverageheadcountandnumberofbranchesScheduleofnumberofbranchesDetails</Role>
      <ShortName>Average headcount and number of branches - Schedule of number of branches (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - Other disclosures - Summary of fair values of financial assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresSummaryoffairvaluesoffinancialassetsandliabilitiesDetails</Role>
      <ShortName>Other disclosures - Summary of fair values of financial assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Other disclosures - Valuation techniques for financial assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresValuationtechniquesforfinancialassetsandliabilitiesDetails</Role>
      <ShortName>Other disclosures - Valuation techniques for financial assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Other disclosures - Schedule of financial instruments at fair value whose measurement was based on internal models (Levels 2 and 3) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleoffinancialinstrumentsatfairvaluewhosemeasurementwasbasedoninternalmodelsLevels2and3Details</Role>
      <ShortName>Other disclosures - Schedule of financial instruments at fair value whose measurement was based on internal models (Levels 2 and 3) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Other disclosures - Schedule of effect on fair value of financial instruments classified as Level 3 of a reasonable change in the assumptions used in the valuation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofeffectonfairvalueoffinancialinstrumentsclassifiedasLevel3ofareasonablechangeintheassumptionsusedinthevaluationDetails</Role>
      <ShortName>Other disclosures - Schedule of effect on fair value of financial instruments classified as Level 3 of a reasonable change in the assumptions used in the valuation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Other disclosures - Schedule of changes in financial instruments classified as Level 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofchangesinfinancialinstrumentsclassifiedasLevel3Details</Role>
      <ShortName>Other disclosures - Schedule of changes in financial instruments classified as Level 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - Other disclosures - Schedule of forborne loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofforborneloansDetails</Role>
      <ShortName>Other disclosures - Schedule of forborne loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Other disclosures - Disclosure of home purchase loans in Spain (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofhomepurchaseloansinSpainDetails</Role>
      <ShortName>Other disclosures - Disclosure of home purchase loans in Spain (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - Other disclosures - Real estate business - Spain (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresRealestatebusinessSpainDetails</Role>
      <ShortName>Other disclosures - Real estate business - Spain (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Other disclosures - Disclosure of gross exposure by stages of impairment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofgrossexposurebystagesofimpairmentDetails</Role>
      <ShortName>Other disclosures - Disclosure of gross exposure by stages of impairment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955585 - Disclosure - Other disclosures - Disclosure of financing for construction and real estate business in Spain (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureoffinancingforconstructionandrealestatebusinessinSpainDetails</Role>
      <ShortName>Other disclosures - Disclosure of financing for construction and real estate business in Spain (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955586 - Disclosure - Other disclosures - Disclosure of financing for construction and real estate business in Spain, memorandum items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureoffinancingforconstructionandrealestatebusinessinSpainmemorandumitemsDetails</Role>
      <ShortName>Other disclosures - Disclosure of financing for construction and real estate business in Spain, memorandum items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955587 - Disclosure - Other disclosures - Disclosure of concentration of portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofconcentrationofportfolioDetails</Role>
      <ShortName>Other disclosures - Disclosure of concentration of portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955588 - Disclosure - Other disclosures - Disclosure of foreclosed real estate assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofforeclosedrealestateassetsDetails</Role>
      <ShortName>Other disclosures - Disclosure of foreclosed real estate assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955589 - Disclosure - Other disclosures - Foreclosed real estate assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresForeclosedrealestateassetsDetails</Role>
      <ShortName>Other disclosures - Foreclosed real estate assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955590 - Disclosure - Other disclosures - Solvency information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresSolvencyinformationDetails</Role>
      <ShortName>Other disclosures - Solvency information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955591 - Disclosure - Other disclosures - Disclosure of capital ratio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofcapitalratioDetails</Role>
      <ShortName>Other disclosures - Disclosure of capital ratio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955592 - Disclosure - Other disclosures - Disclosure of leverage capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresDisclosureofleveragecapitalDetails</Role>
      <ShortName>Other disclosures - Disclosure of leverage capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955593 - Disclosure - Additional disclosure requirements - Condensed Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsCondensedBalanceSheetsDetails</Role>
      <ShortName>Additional disclosure requirements - Condensed Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>9955594 - Disclosure - Additional disclosure requirements - Condensed Statements of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsCondensedStatementsofIncomeDetails</Role>
      <ShortName>Additional disclosure requirements - Condensed Statements of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>9955595 - Disclosure - Additional disclosure requirements - Condensed Statements of Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsCondensedStatementsofComprehensiveIncomeDetails</Role>
      <ShortName>Additional disclosure requirements - Condensed Statements of Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>9955596 - Disclosure - Additional disclosure requirements - Condensed Cash Flow Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsCondensedCashFlowStatementsDetails</Role>
      <ShortName>Additional disclosure requirements - Condensed Cash Flow Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>9955597 - Disclosure - Additional disclosure requirements - Schedule of preference shares and preferred securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsScheduleofpreferencesharesandpreferredsecuritiesDetails</Role>
      <ShortName>Additional disclosure requirements - Schedule of preference shares and preferred securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="san-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>9955598 - Disclosure - Additional disclosure requirements - Schedule of preference shares and preferred securities by issuer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosurerequirementsScheduleofpreferencesharesandpreferredsecuritiesbyissuerDetails</Role>
      <ShortName>Additional disclosure requirements - Schedule of preference shares and preferred securities by issuer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="6-K" isDefinitelyFs="true" isIfrs="true" original="san-20260630.htm">san-20260630.htm</File>
    <File>san-20260630.xsd</File>
    <File>san-20260630_cal.xml</File>
    <File>san-20260630_def.xml</File>
    <File>san-20260630_lab.xml</File>
    <File>san-20260630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>san-20260630_g1.jpg</File>
    <File>san-20260630_g10.jpg</File>
    <File>san-20260630_g11.jpg</File>
    <File>san-20260630_g12.jpg</File>
    <File>san-20260630_g13.jpg</File>
    <File>san-20260630_g14.jpg</File>
    <File>san-20260630_g15.jpg</File>
    <File>san-20260630_g16.jpg</File>
    <File>san-20260630_g17.jpg</File>
    <File>san-20260630_g18.jpg</File>
    <File>san-20260630_g19.jpg</File>
    <File>san-20260630_g2.gif</File>
    <File>san-20260630_g20.jpg</File>
    <File>san-20260630_g21.jpg</File>
    <File>san-20260630_g22.jpg</File>
    <File>san-20260630_g23.jpg</File>
    <File>san-20260630_g24.jpg</File>
    <File>san-20260630_g25.jpg</File>
    <File>san-20260630_g26.gif</File>
    <File>san-20260630_g27.jpg</File>
    <File>san-20260630_g28.jpg</File>
    <File>san-20260630_g29.jpg</File>
    <File>san-20260630_g3.jpg</File>
    <File>san-20260630_g30.jpg</File>
    <File>san-20260630_g31.jpg</File>
    <File>san-20260630_g32.jpg</File>
    <File>san-20260630_g33.jpg</File>
    <File>san-20260630_g34.jpg</File>
    <File>san-20260630_g35.jpg</File>
    <File>san-20260630_g36.jpg</File>
    <File>san-20260630_g37.jpg</File>
    <File>san-20260630_g38.jpg</File>
    <File>san-20260630_g39.jpg</File>
    <File>san-20260630_g4.jpg</File>
    <File>san-20260630_g40.jpg</File>
    <File>san-20260630_g41.jpg</File>
    <File>san-20260630_g42.jpg</File>
    <File>san-20260630_g43.jpg</File>
    <File>san-20260630_g44.jpg</File>
    <File>san-20260630_g45.jpg</File>
    <File>san-20260630_g46.jpg</File>
    <File>san-20260630_g47.jpg</File>
    <File>san-20260630_g48.gif</File>
    <File>san-20260630_g49.jpg</File>
    <File>san-20260630_g5.jpg</File>
    <File>san-20260630_g50.jpg</File>
    <File>san-20260630_g51.jpg</File>
    <File>san-20260630_g52.jpg</File>
    <File>san-20260630_g53.jpg</File>
    <File>san-20260630_g54.jpg</File>
    <File>san-20260630_g55.jpg</File>
    <File>san-20260630_g56.jpg</File>
    <File>san-20260630_g57.jpg</File>
    <File>san-20260630_g58.jpg</File>
    <File>san-20260630_g59.jpg</File>
    <File>san-20260630_g6.jpg</File>
    <File>san-20260630_g60.jpg</File>
    <File>san-20260630_g61.jpg</File>
    <File>san-20260630_g62.jpg</File>
    <File>san-20260630_g63.jpg</File>
    <File>san-20260630_g64.jpg</File>
    <File>san-20260630_g65.jpg</File>
    <File>san-20260630_g66.jpg</File>
    <File>san-20260630_g67.jpg</File>
    <File>san-20260630_g68.jpg</File>
    <File>san-20260630_g69.jpg</File>
    <File>san-20260630_g7.jpg</File>
    <File>san-20260630_g70.jpg</File>
    <File>san-20260630_g71.jpg</File>
    <File>san-20260630_g72.jpg</File>
    <File>san-20260630_g73.jpg</File>
    <File>san-20260630_g74.jpg</File>
    <File>san-20260630_g75.jpg</File>
    <File>san-20260630_g76.jpg</File>
    <File>san-20260630_g77.jpg</File>
    <File>san-20260630_g78.jpg</File>
    <File>san-20260630_g79.jpg</File>
    <File>san-20260630_g8.jpg</File>
    <File>san-20260630_g80.jpg</File>
    <File>san-20260630_g81.jpg</File>
    <File>san-20260630_g9.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="2991">https://xbrl.ifrs.org/taxonomy/2025-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
