<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>8083</ContextCount>
  <ElementCount>1438</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>906</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>82</UnitCount>
  <MyReports>
    <Report instance="san-20251231.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-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Income Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedIncomeStatements</Role>
      <ShortName>Consolidated Income Statements</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Income Statements (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedIncomeStatementsParenthetical</Role>
      <ShortName>Consolidated Income Statements (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Statements of Recognised Income and Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedStatementsofRecognisedIncomeandExpense</Role>
      <ShortName>Consolidated Statements of Recognised Income and Expense</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952158 - Statement - Consolidated Statements of Changes in Total Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedStatementsofChangesinTotalEquity</Role>
      <ShortName>Consolidated Statements of Changes in Total Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952159 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Accountingpolicies</Role>
      <ShortName>Accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Grupo Santander</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantander</Role>
      <ShortName>Grupo Santander</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershare</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagers</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Loans and advances to central banks and credit institutions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Loansandadvancestocentralbanksandcreditinstitutions</Role>
      <ShortName>Loans and advances to central banks and credit institutions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Debt securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Debtsecurities</Role>
      <ShortName>Debt securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Equity instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Equityinstruments</Role>
      <ShortName>Equity instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Trading derivatives (assets and liabilities) and short positions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Tradingderivativesassetsandliabilitiesandshortpositions</Role>
      <ShortName>Trading derivatives (assets and liabilities) and short positions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Loans and advances to customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Loansandadvancestocustomers</Role>
      <ShortName>Loans and advances to customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Trading derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Tradingderivatives</Role>
      <ShortName>Trading derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952171 - 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>20</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Insurance contracts linked to pensions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Insurancecontractslinkedtopensions</Role>
      <ShortName>Insurance contracts linked to pensions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Liabilities under insurance contracts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Liabilitiesunderinsurancecontracts</Role>
      <ShortName>Liabilities under insurance contracts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - Tangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Tangibleassets</Role>
      <ShortName>Tangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - Intangible assets - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwill</Role>
      <ShortName>Intangible assets - Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952177 - Disclosure - Intangible assets - Other intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsOtherintangibleassets</Role>
      <ShortName>Intangible assets - Other intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952178 - Disclosure - Other assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherassets</Role>
      <ShortName>Other assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9952179 - Disclosure - Deposits from central banks and credit institutions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Depositsfromcentralbanksandcreditinstitutions</Role>
      <ShortName>Deposits from central banks and credit institutions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9952180 - Disclosure - Customer deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Customerdeposits</Role>
      <ShortName>Customer deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9952181 - Disclosure - Marketable debt securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Marketabledebtsecurities</Role>
      <ShortName>Marketable debt securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9952182 - Disclosure - Subordinated liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Subordinatedliabilities</Role>
      <ShortName>Subordinated liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9952183 - Disclosure - Other financial liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherfinancialliabilities</Role>
      <ShortName>Other financial liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9952184 - Disclosure - Provisions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Provisions</Role>
      <ShortName>Provisions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9952185 - Disclosure - Other liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherliabilities</Role>
      <ShortName>Other liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9952186 - Disclosure - Tax matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Taxmatters</Role>
      <ShortName>Tax matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9952187 - Disclosure - Non-controlling interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Noncontrollinginterests</Role>
      <ShortName>Non-controlling interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9952188 - Disclosure - Other comprehensive income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Othercomprehensiveincome</Role>
      <ShortName>Other comprehensive income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9952189 - Disclosure - Shareholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Shareholdersequity</Role>
      <ShortName>Shareholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9952190 - Disclosure - Issued capital</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Issuedcapital</Role>
      <ShortName>Issued capital</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9952191 - Disclosure - Share premium</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Sharepremium</Role>
      <ShortName>Share premium</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9952192 - Disclosure - Accumulated retained earnings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Accumulatedretainedearnings</Role>
      <ShortName>Accumulated retained earnings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9952193 - Disclosure - Other equity instruments and own shares</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherequityinstrumentsandownshares</Role>
      <ShortName>Other equity instruments and own shares</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9952194 - Disclosure - Memorandum items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Memorandumitems</Role>
      <ShortName>Memorandum items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9952195 - Disclosure - Hedging derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Hedgingderivatives</Role>
      <ShortName>Hedging derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9952196 - Disclosure - Discontinued operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Discontinuedoperations</Role>
      <ShortName>Discontinued operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9952197 - Disclosure - Interest income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Interestincome</Role>
      <ShortName>Interest income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9952198 - Disclosure - Interest expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Interestexpense</Role>
      <ShortName>Interest expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9952199 - Disclosure - Dividend income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Dividendincome</Role>
      <ShortName>Dividend income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9952200 - Disclosure - Commission income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Commissionincome</Role>
      <ShortName>Commission income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9952201 - Disclosure - Commission expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Commissionexpense</Role>
      <ShortName>Commission expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9952202 - Disclosure - Gains or losses on financial assets and liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Gainsorlossesonfinancialassetsandliabilities</Role>
      <ShortName>Gains or losses on financial assets and liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9952203 - Disclosure - Exchange differences, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Exchangedifferencesnet</Role>
      <ShortName>Exchange differences, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9952204 - Disclosure - Other operating income and expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otheroperatingincomeandexpenses</Role>
      <ShortName>Other operating income and expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9952205 - Disclosure - Staff costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Staffcosts</Role>
      <ShortName>Staff costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9952206 - Disclosure - Other general administrative expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Othergeneraladministrativeexpenses</Role>
      <ShortName>Other general administrative expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9952207 - Disclosure - Gains or losses on non financial assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Gainsorlossesonnonfinancialassetsnet</Role>
      <ShortName>Gains or losses on non financial assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9952208 - Disclosure - Gains or losses on non-current assets held for sale not classified as discontinued operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Gainsorlossesonnoncurrentassetsheldforsalenotclassifiedasdiscontinuedoperations</Role>
      <ShortName>Gains or losses on non-current assets held for sale not classified as discontinued operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9952209 - Disclosure - Fair value of financial instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Fairvalueoffinancialinstruments</Role>
      <ShortName>Fair value of financial instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9952210 - Disclosure - Other disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Otherdisclosures</Role>
      <ShortName>Other disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9952211 - Disclosure - Primary and secondary segments reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Primaryandsecondarysegmentsreporting</Role>
      <ShortName>Primary and secondary segments reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9952212 - Disclosure - Related parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Relatedparties</Role>
      <ShortName>Related parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9952213 - Disclosure - Risk management</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Riskmanagement</Role>
      <ShortName>Risk management</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9952214 - Disclosure - Additional disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/Additionaldisclosures</Role>
      <ShortName>Additional disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesPolicies</Role>
      <ShortName>Accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.santander.com/role/Accountingpolicies</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesTables</Role>
      <ShortName>Accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Accountingpolicies</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955513 - 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>66</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareTables</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershare</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersTables</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagers</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Loans and advances to central banks and credit institutions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocentralbanksandcreditinstitutionsTables</Role>
      <ShortName>Loans and advances to central banks and credit institutions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Loansandadvancestocentralbanksandcreditinstitutions</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Debt securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesTables</Role>
      <ShortName>Debt securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Debtsecurities</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Equity Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityInstrumentsTables</Role>
      <ShortName>Equity Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Trading derivatives (assets and liabilities) and short positions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsTables</Role>
      <ShortName>Trading derivatives (assets and liabilities) and short positions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Tradingderivativesassetsandliabilitiesandshortpositions</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Loans and advances to customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersTables</Role>
      <ShortName>Loans and advances to customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Loansandadvancestocustomers</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Trading derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TradingderivativesTables</Role>
      <ShortName>Trading derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Tradingderivativesassetsandliabilitiesandshortpositions</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955522 - 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>75</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Investments</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Insurance contracts linked to pensions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InsurancecontractslinkedtopensionsTables</Role>
      <ShortName>Insurance contracts linked to pensions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Insurancecontractslinkedtopensions</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Liabilities under insurance contracts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LiabilitiesunderinsurancecontractsTables</Role>
      <ShortName>Liabilities under insurance contracts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Liabilitiesunderinsurancecontracts</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Tangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsTables</Role>
      <ShortName>Tangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Tangibleassets</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Intangible assets - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwillTables</Role>
      <ShortName>Intangible assets - Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/IntangibleassetsGoodwill</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Intangible assets - Other intangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsOtherintangibleassetsTables</Role>
      <ShortName>Intangible assets - Other intangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/IntangibleassetsOtherintangibleassets</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Other assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherassetsTables</Role>
      <ShortName>Other assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otherassets</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Deposits from central banks and credit institutions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DepositsfromcentralbanksandcreditinstitutionsTables</Role>
      <ShortName>Deposits from central banks and credit institutions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Depositsfromcentralbanksandcreditinstitutions</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Customer deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CustomerdepositsTables</Role>
      <ShortName>Customer deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Customerdeposits</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Marketable debt securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesTables</Role>
      <ShortName>Marketable debt securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Marketabledebtsecurities</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Subordinated liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SubordinatedliabilitiesTables</Role>
      <ShortName>Subordinated liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Subordinatedliabilities</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Other financial liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherfinancialliabilitiesTables</Role>
      <ShortName>Other financial liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otherfinancialliabilities</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955535 - 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>88</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Other liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherliabilitiesTables</Role>
      <ShortName>Other liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otherliabilities</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Tax matters (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersTables</Role>
      <ShortName>Tax matters (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Taxmatters</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Non-controlling interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncontrollinginterestsTables</Role>
      <ShortName>Non-controlling interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Noncontrollinginterests</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Other comprehensive income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeTables</Role>
      <ShortName>Other comprehensive income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Othercomprehensiveincome</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Accumulated retained earnings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccumulatedretainedearningsTables</Role>
      <ShortName>Accumulated retained earnings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Accumulatedretainedearnings</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Memorandum items (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MemorandumitemsTables</Role>
      <ShortName>Memorandum items (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Memorandumitems</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Hedging derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesTables</Role>
      <ShortName>Hedging derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Hedgingderivatives</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Discontinued operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DiscontinuedoperationsTables</Role>
      <ShortName>Discontinued operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Discontinuedoperations</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Interest income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InterestincomeTables</Role>
      <ShortName>Interest income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Interestincome</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Interest expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InterestexpenseTables</Role>
      <ShortName>Interest expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Interestexpense</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Dividend income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DividendincomeTables</Role>
      <ShortName>Dividend income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Dividendincome</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Commission income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CommissionincomeTables</Role>
      <ShortName>Commission income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Commissionincome</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Commission expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CommissionexpenseTables</Role>
      <ShortName>Commission expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Commissionexpense</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Gains or losses on financial assets and liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesTables</Role>
      <ShortName>Gains or losses on financial assets and liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Gainsorlossesonfinancialassetsandliabilities</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Other operating income and expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtheroperatingincomeandexpensesTables</Role>
      <ShortName>Other operating income and expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otheroperatingincomeandexpenses</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Staff costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsTables</Role>
      <ShortName>Staff costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Staffcosts</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Other general administrative expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthergeneraladministrativeexpensesTables</Role>
      <ShortName>Other general administrative expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Othergeneraladministrativeexpenses</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Gains or losses on non financial assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonnonfinancialassetsnetTables</Role>
      <ShortName>Gains or losses on non financial assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Gainsorlossesonnonfinancialassetsnet</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Gains or losses on non-current assets held for sale not classified as discontinued operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonnoncurrentassetsheldforsalenotclassifiedasdiscontinuedoperationsTables</Role>
      <ShortName>Gains or losses on non-current assets held for sale not classified as discontinued operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Gainsorlossesonnoncurrentassetsheldforsalenotclassifiedasdiscontinuedoperations</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Fair value of financial instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FairvalueoffinancialinstrumentsTables</Role>
      <ShortName>Fair value of financial instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Fairvalueoffinancialinstruments</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>9955556 - 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>109</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Primary and secondary segments reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingTables</Role>
      <ShortName>Primary and secondary segments reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Primaryandsecondarysegmentsreporting</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>9955558 - 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>111</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Risk management (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementTables</Role>
      <ShortName>Risk management (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Riskmanagement</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Additional disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresTables</Role>
      <ShortName>Additional disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.santander.com/role/Additionaldisclosures</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Introduction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformationIntroductionDetails</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Introduction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Basis of presentation of the consolidated financial statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformationBasisofpresentationoftheconsolidatedfinancialstatementsDetails</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Basis of presentation of the consolidated financial statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Information relating to 2024 and 2023 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformationInformationrelatingto2024and2023Details</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Information relating to 2024 and 2023 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Capital management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformationCapitalmanagementDetails</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Capital management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Events after the reporting period (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntroductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformationEventsafterthereportingperiodDetails</Role>
      <ShortName>Introduction, basis of presentation of the consolidated financial statements (consolidated annual accounts) and other information - Events after the reporting period (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Introductionbasisofpresentationoftheconsolidatedfinancialstatementsconsolidatedannualaccountsandotherinformation</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Accounting policies - Foreign currency transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesForeigncurrencytransactionsDetails</Role>
      <ShortName>Accounting policies - Foreign currency transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Accounting policies - Schedule of estimated effect of a 1% change in the euro against the corresponding currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesScheduleofestimatedeffectofa1changeintheeuroagainstthecorrespondingcurrencyDetails</Role>
      <ShortName>Accounting policies - Schedule of estimated effect of a 1% change in the euro against the corresponding currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Accounting policies - Basis of consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesBasisofconsolidationDetails</Role>
      <ShortName>Accounting policies - Basis of consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Accounting policies - Impairment of financial assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesImpairmentoffinancialassetsDetails</Role>
      <ShortName>Accounting policies - Impairment of financial assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Accounting policies - Non-current assets and liabilities associated with non-current assets held for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesNoncurrentassetsandliabilitiesassociatedwithnoncurrentassetsheldforsaleDetails</Role>
      <ShortName>Accounting policies - Non-current assets and liabilities associated with non-current assets held for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Accounting policies - Schedule of depreciation rates of tangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesScheduleofdepreciationratesoftangibleassetsDetails</Role>
      <ShortName>Accounting policies - Schedule of depreciation rates of tangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Accounting policies - Income tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesIncometaxDetails</Role>
      <ShortName>Accounting policies - Income tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Accounting policies - Consolidated statement of cash flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccountingpoliciesConsolidatedstatementofcashflowsDetails</Role>
      <ShortName>Accounting policies - Consolidated statement of cash flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>126</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Grupo Santander - Agreement for the sale of Santander Bank Polska S.A. and accelerated placement of ordinary shares of Santander Bank Polska (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAgreementforthesaleofSantanderBankPolskaSAandacceleratedplacementofordinarysharesofSantanderBankPolskaDetails</Role>
      <ShortName>Grupo Santander - Agreement for the sale of Santander Bank Polska S.A. and accelerated placement of ordinary shares of Santander Bank Polska (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>9955575 - 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>128</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - Grupo Santander - Agreement for the sale of the stake in Caceis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAgreementforthesaleofthestakeinCaceisDetails</Role>
      <ShortName>Grupo Santander - Agreement for the sale of the stake in Caceis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>129</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Grupo Santander - Accelerated placement of ordinary shares of Santander Bank Polska (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderAcceleratedplacementofordinarysharesofSantanderBankPolskaDetails</Role>
      <ShortName>Grupo Santander - Accelerated placement of ordinary shares of Santander Bank Polska (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Grupo Santander - Tender offer for shares of Banco Santander M??xico, S.A., Instituci??n de Banca M??ltiple, Grupo Financiero Santander M??xico (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderTenderofferforsharesofBancoSantanderMxicoSAInstitucindeBancaMltipleGrupoFinancieroSantanderMxicoDetails</Role>
      <ShortName>Grupo Santander - Tender offer for shares of Banco Santander M??xico, S.A., Instituci??n de Banca M??ltiple, Grupo Financiero Santander M??xico (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Grupo Santander - Offshore entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderOffshoreentitiesDetails</Role>
      <ShortName>Grupo Santander - Offshore entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Grupo Santander - Schedule of list of offshore territories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GrupoSantanderScheduleoflistofoffshoreterritoriesDetails</Role>
      <ShortName>Grupo Santander - Schedule of list of offshore territories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of distribution of the Bank's net profit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareScheduleofdistributionoftheBanksnetprofitDetails</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of distribution of the Bank's net profit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareNarrativeDetails</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareTables</ParentRole>
      <Position>135</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of provisional accounting statement for interim dividend (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareScheduleofprovisionalaccountingstatementforinterimdividendDetails</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of provisional accounting statement for interim dividend (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>136</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of basic earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareScheduleofbasicearningspershareDetails</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of basic earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>9955585 - Disclosure - Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of diluted earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DistributionofBancoSantandersprofitshareholderremunerationschemeandearningspershareScheduleofdilutedearningspershareDetails</Role>
      <ShortName>Distribution of Banco Santander's profit, shareholder remuneration scheme and earnings per share - Schedule of diluted earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>9955586 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Remuneration of Directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersRemunerationofDirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Remuneration of Directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>139</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>9955587 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising annual emolument (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingannualemolumentDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising annual emolument (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>140</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>9955588 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising attendance fees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingattendancefeesDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising attendance fees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>141</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>9955589 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising short-term remuneration (excluding remuneration subject to long-term objectives), Directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingshorttermremunerationexcludingremunerationsubjecttolongtermobjectivesDirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising short-term remuneration (excluding remuneration subject to long-term objectives), Directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>142</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>9955590 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to multi-annual variable objectives, Directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingremunerationrelatedtomultiannualvariableobjectivesDirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to multi-annual variable objectives, Directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>143</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>9955591 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Remuneration of the board members as representatives of the Bank (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersRemunerationoftheboardmembersasrepresentativesoftheBankDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Remuneration of the board members as representatives of the Bank (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>144</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>9955592 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Post-employment and other long-term benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersPostemploymentandotherlongtermbenefitsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Post-employment and other long-term benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>145</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R146.htm</HtmlFileName>
      <LongName>9955593 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to provisions for retirement pensions and supplementary benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingremunerationrelatedtoprovisionsforretirementpensionsandsupplementarybenefitsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to provisions for retirement pensions and supplementary benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>146</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R147.htm</HtmlFileName>
      <LongName>9955594 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to welfare system (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingremunerationrelatedtowelfaresystemDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to welfare system (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>147</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R148.htm</HtmlFileName>
      <LongName>9955595 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to life and disability insurance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingremunerationrelatedtolifeanddisabilityinsuranceDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to life and disability insurance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>148</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R149.htm</HtmlFileName>
      <LongName>9955596 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Insurance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersInsuranceDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Insurance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersTables</ParentRole>
      <Position>149</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R150.htm</HtmlFileName>
      <LongName>9955597 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Deferred variable remuneration systems (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersDeferredvariableremunerationsystemsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Deferred variable remuneration systems (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>150</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R151.htm</HtmlFileName>
      <LongName>9955598 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising shares assigned for deferred variable remuneration plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingsharesassignedfordeferredvariableremunerationplansDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising shares assigned for deferred variable remuneration plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>151</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R152.htm</HtmlFileName>
      <LongName>9955599 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising the cash paid for awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingthecashpaidforawardsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising the cash paid for awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>152</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R153.htm</HtmlFileName>
      <LongName>9955600 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of shares to be delivered and actual number of shares delivered, former Directors (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingmaximumnumberofsharestobedeliveredandactualnumberofsharesdeliveredformerDirectorsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of shares to be delivered and actual number of shares delivered, former Directors (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>153</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R154.htm</HtmlFileName>
      <LongName>9955601 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule of direct risk exposure to bank's directors and the guarantees provided (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersScheduleofdirectriskexposuretobanksdirectorsandtheguaranteesprovidedDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule of direct risk exposure to bank's directors and the guarantees provided (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>154</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R155.htm</HtmlFileName>
      <LongName>9955602 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising short-term remuneration (excluding remuneration subject to long-term objectives), Senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingshorttermremunerationexcludingremunerationsubjecttolongtermobjectivesSeniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising short-term remuneration (excluding remuneration subject to long-term objectives), Senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>155</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R156.htm</HtmlFileName>
      <LongName>9955603 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Senior Management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSeniorManagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Senior Management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersTables</ParentRole>
      <Position>156</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R157.htm</HtmlFileName>
      <LongName>9955604 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to multi-annual variable objectives, Senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingremunerationrelatedtomultiannualvariableobjectivesSeniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising remuneration related to multi-annual variable objectives, Senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>157</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R158.htm</HtmlFileName>
      <LongName>9955605 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of shares to be delivered, Senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingmaximumnumberofsharestobedeliveredSeniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of shares to be delivered, Senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>158</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R159.htm</HtmlFileName>
      <LongName>9955606 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of actual shares delivered, Senior management (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersSchedulesummarisingmaximumnumberofactualsharesdeliveredSeniormanagementDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Schedule summarising maximum number of actual shares delivered, Senior management (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>159</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R160.htm</HtmlFileName>
      <LongName>9955607 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Post-employment benefits to former directors and former senior executive vice presidents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersPostemploymentbenefitstoformerdirectorsandformerseniorexecutivevicepresidentsDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Post-employment benefits to former directors and former senior executive vice presidents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>160</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R161.htm</HtmlFileName>
      <LongName>9955608 - Disclosure - Remuneration and other benefits paid to the Bank???s directors and senior managers - Contract termination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RemunerationandotherbenefitspaidtotheBanksdirectorsandseniormanagersContractterminationDetails</Role>
      <ShortName>Remuneration and other benefits paid to the Bank???s directors and senior managers - Contract termination (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>161</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R162.htm</HtmlFileName>
      <LongName>9955609 - Disclosure - Loans and advances to central banks and credit institutions - Schedule of loans and advances to banks and credit institutions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocentralbanksandcreditinstitutionsScheduleofloansandadvancestobanksandcreditinstitutionsDetails</Role>
      <ShortName>Loans and advances to central banks and credit institutions - Schedule of loans and advances to banks and credit institutions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>162</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R163.htm</HtmlFileName>
      <LongName>9955610 - Disclosure - Loans and advances to central banks and credit institutions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocentralbanksandcreditinstitutionsNarrativeDetails</Role>
      <ShortName>Loans and advances to central banks and credit institutions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/LoansandadvancestocentralbanksandcreditinstitutionsTables</ParentRole>
      <Position>163</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R164.htm</HtmlFileName>
      <LongName>9955611 - Disclosure - Debt securities - Disclosure of detailed information about debt instruments explanatory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesDisclosureofdetailedinformationaboutdebtinstrumentsexplanatoryDetails</Role>
      <ShortName>Debt securities - Disclosure of detailed information about debt instruments explanatory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>164</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R165.htm</HtmlFileName>
      <LongName>9955612 - Disclosure - Debt securities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesNarrativeDetails</Role>
      <ShortName>Debt securities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>165</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R166.htm</HtmlFileName>
      <LongName>9955613 - Disclosure - Debt securities - Schedule of debt instruments by origin of issuer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesScheduleofdebtinstrumentsbyoriginofissuerDetails</Role>
      <ShortName>Debt securities - Schedule of debt instruments by origin of issuer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>166</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R167.htm</HtmlFileName>
      <LongName>9955614 - Disclosure - Debt securities - Schedule of debt instruments by issuer rating (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesScheduleofdebtinstrumentsbyissuerratingDetails</Role>
      <ShortName>Debt securities - Schedule of debt instruments by issuer rating (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>167</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R168.htm</HtmlFileName>
      <LongName>9955615 - Disclosure - Debt securities - Schedule of breakdown by type of instrument (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesScheduleofbreakdownbytypeofinstrumentDetails</Role>
      <ShortName>Debt securities - Schedule of breakdown by type of instrument (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>168</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R169.htm</HtmlFileName>
      <LongName>9955616 - Disclosure - Debt securities - Schedule of changes in impairment losses on debt instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DebtsecuritiesScheduleofchangesinimpairmentlossesondebtinstrumentsDetails</Role>
      <ShortName>Debt securities - Schedule of changes in impairment losses on debt instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>169</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R170.htm</HtmlFileName>
      <LongName>9955617 - Disclosure - Equity instruments - Disclosure of breakdown of equity instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityinstrumentsDisclosureofbreakdownofequityinstrumentsDetails</Role>
      <ShortName>Equity instruments - Disclosure of breakdown of equity instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>170</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R171.htm</HtmlFileName>
      <LongName>9955618 - Disclosure - Equity instruments - Disclosure of changes in financial assets at fair value through other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/EquityinstrumentsDisclosureofchangesinfinancialassetsatfairvaluethroughothercomprehensiveincomeDetails</Role>
      <ShortName>Equity instruments - Disclosure of changes in financial assets at fair value through other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>171</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R172.htm</HtmlFileName>
      <LongName>9955619 - Disclosure - Trading derivatives (assets and liabilities) and short positions - Schedule by type of inherent risk of fair value of trading derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsSchedulebytypeofinherentriskoffairvalueoftradingderivativesDetails</Role>
      <ShortName>Trading derivatives (assets and liabilities) and short positions - Schedule by type of inherent risk of fair value of trading derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsTables</ParentRole>
      <Position>172</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R173.htm</HtmlFileName>
      <LongName>9955620 - Disclosure - Trading derivatives (assets and liabilities) and short positions - Schedule of short positions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsScheduleofshortpositionsDetails</Role>
      <ShortName>Trading derivatives (assets and liabilities) and short positions - Schedule of short positions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsTables</ParentRole>
      <Position>173</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R174.htm</HtmlFileName>
      <LongName>9955621 - Disclosure - Loans and advances to customers - Schedule of detail, by classification, of loans and advances to customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofdetailbyclassificationofloansandadvancestocustomersDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of detail, by classification, of loans and advances to customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>174</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R175.htm</HtmlFileName>
      <LongName>9955622 - Disclosure - Loans and advances to customers - Schedule of the breakdown of loans and advances to customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofthebreakdownofloansandadvancestocustomersDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of the breakdown of loans and advances to customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>175</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R176.htm</HtmlFileName>
      <LongName>9955623 - Disclosure - Loans and advances to customers - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersNarrativeDetails</Role>
      <ShortName>Loans and advances to customers - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>176</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R177.htm</HtmlFileName>
      <LongName>9955624 - Disclosure - Loans and advances to customers - Schedule of loans and advances to customers in detail by activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofloansandadvancestocustomersindetailbyactivityDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of loans and advances to customers in detail by activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>177</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R178.htm</HtmlFileName>
      <LongName>9955625 - Disclosure - Loans and advances to customers - Schedule of movement of gross exposure by impairment stage (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofmovementofgrossexposurebyimpairmentstageDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of movement of gross exposure by impairment stage (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>178</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R179.htm</HtmlFileName>
      <LongName>9955626 - Disclosure - Loans and advances to customers - Schedule of impairment loss and allowance for loans and advances to customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofimpairmentlossandallowanceforloansandadvancestocustomersDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of impairment loss and allowance for loans and advances to customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>179</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R180.htm</HtmlFileName>
      <LongName>9955627 - Disclosure - Loans and advances to customers - Schedule of changes in loss allowance and gross carrying amount (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofchangesinlossallowanceandgrosscarryingamountDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of changes in loss allowance and gross carrying amount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>180</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R181.htm</HtmlFileName>
      <LongName>9955628 - Disclosure - Loans and advances to customers - Schedule of changes in the impairment losses for loans and advances to customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofchangesintheimpairmentlossesforloansandadvancestocustomersDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of changes in the impairment losses for loans and advances to customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>181</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R182.htm</HtmlFileName>
      <LongName>9955629 - Disclosure - Loans and advances to customers - Schedule of financial assets that are either past due or impaired, with or without collateral (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleoffinancialassetsthatareeitherpastdueorimpairedwithorwithoutcollateralDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of financial assets that are either past due or impaired, with or without collateral (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>182</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R183.htm</HtmlFileName>
      <LongName>9955630 - Disclosure - Loans and advances to customers - Schedule of the breakdown of the securitized loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LoansandadvancestocustomersScheduleofthebreakdownofthesecuritizedloansDetails</Role>
      <ShortName>Loans and advances to customers - Schedule of the breakdown of the securitized loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>183</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R184.htm</HtmlFileName>
      <LongName>9955631 - Disclosure - Trading derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TradingderivativesDetails</Role>
      <ShortName>Trading derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/TradingderivativesassetsandliabilitiesandshortpositionsTables</ParentRole>
      <Position>184</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R185.htm</HtmlFileName>
      <LongName>9955632 - 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>185</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R186.htm</HtmlFileName>
      <LongName>9955633 - 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>186</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R187.htm</HtmlFileName>
      <LongName>9955634 - 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>187</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R188.htm</HtmlFileName>
      <LongName>9955635 - Disclosure - Investments - Summary of investments by company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InvestmentsSummaryofinvestmentsbycompanyDetails</Role>
      <ShortName>Investments - Summary of investments by company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>188</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R189.htm</HtmlFileName>
      <LongName>9955636 - Disclosure - Investments - Summary of goodwill of the main investments in joint ventures and associates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InvestmentsSummaryofgoodwillofthemaininvestmentsinjointventuresandassociatesDetails</Role>
      <ShortName>Investments - Summary of goodwill of the main investments in joint ventures and associates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>189</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R190.htm</HtmlFileName>
      <LongName>9955637 - Disclosure - Investments - Summary of changes in investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InvestmentsSummaryofchangesininvestmentsDetails</Role>
      <ShortName>Investments - Summary of changes in investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>190</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R191.htm</HtmlFileName>
      <LongName>9955638 - Disclosure - Investments - Summary of financial information on the main associates and joint ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InvestmentsSummaryoffinancialinformationonthemainassociatesandjointventuresDetails</Role>
      <ShortName>Investments - Summary of financial information on the main associates and joint ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>191</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R192.htm</HtmlFileName>
      <LongName>9955639 - Disclosure - Insurance contracts linked to pensions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InsurancecontractslinkedtopensionsDetails</Role>
      <ShortName>Insurance contracts linked to pensions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/InsurancecontractslinkedtopensionsTables</ParentRole>
      <Position>192</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R193.htm</HtmlFileName>
      <LongName>9955640 - Disclosure - Liabilities under insurance contracts - Schedule of liabilities under insurance contracts and reinsurance assets in the consolidated balance sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LiabilitiesunderinsurancecontractsScheduleofliabilitiesunderinsurancecontractsandreinsuranceassetsintheconsolidatedbalancesheetsDetails</Role>
      <ShortName>Liabilities under insurance contracts - Schedule of liabilities under insurance contracts and reinsurance assets in the consolidated balance sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>193</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R194.htm</HtmlFileName>
      <LongName>9955641 - Disclosure - Liabilities under insurance contracts - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/LiabilitiesunderinsurancecontractsNarrativeDetails</Role>
      <ShortName>Liabilities under insurance contracts - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>194</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R195.htm</HtmlFileName>
      <LongName>9955642 - Disclosure - Tangible assets - Disclosure of changes in tangible assets in the consolidated balance sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsDisclosureofchangesintangibleassetsintheconsolidatedbalancesheetsDetails</Role>
      <ShortName>Tangible assets - Disclosure of changes in tangible assets in the consolidated balance sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>195</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R196.htm</HtmlFileName>
      <LongName>9955643 - Disclosure - Tangible assets - Disclosure of detailed information about property, plant and equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsDisclosureofdetailedinformationaboutpropertyplantandequipmentDetails</Role>
      <ShortName>Tangible assets - Disclosure of detailed information about property, plant and equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>196</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R197.htm</HtmlFileName>
      <LongName>9955644 - Disclosure - Tangible assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsNarrativeDetails</Role>
      <ShortName>Tangible assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>197</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R198.htm</HtmlFileName>
      <LongName>9955645 - Disclosure - Tangible assets - Disclosure of maturity analysis of operating lease payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TangibleassetsDisclosureofmaturityanalysisofoperatingleasepaymentsDetails</Role>
      <ShortName>Tangible assets - Disclosure of maturity analysis of operating lease payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>198</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R199.htm</HtmlFileName>
      <LongName>9955646 - Disclosure - Intangible assets - Goodwill - Disclosure of detailed information about goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwillDisclosureofdetailedinformationaboutgoodwillDetails</Role>
      <ShortName>Intangible assets - Goodwill - Disclosure of detailed information about goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>199</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R200.htm</HtmlFileName>
      <LongName>9955647 - Disclosure - Intangible assets - Goodwill - Schedule of goodwill and changes in goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwillScheduleofgoodwillandchangesingoodwillDetails</Role>
      <ShortName>Intangible assets - Goodwill - Schedule of goodwill and changes in goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>200</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R201.htm</HtmlFileName>
      <LongName>9955648 - Disclosure - Intangible assets - Goodwill - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwillNarrativeDetails</Role>
      <ShortName>Intangible assets - Goodwill - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>201</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R202.htm</HtmlFileName>
      <LongName>9955649 - Disclosure - Intangible assets - Goodwill - Schedule of goodwill assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsGoodwillScheduleofgoodwillassumptionsDetails</Role>
      <ShortName>Intangible assets - Goodwill - Schedule of goodwill assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>202</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R203.htm</HtmlFileName>
      <LongName>9955650 - Disclosure - Intangible assets - Other intangible assets - Disclosure of detailed information about intangible assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsOtherintangibleassetsDisclosureofdetailedinformationaboutintangibleassetsDetails</Role>
      <ShortName>Intangible assets - Other intangible assets - Disclosure of detailed information about intangible assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>203</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R204.htm</HtmlFileName>
      <LongName>9955651 - Disclosure - Intangible assets - Other intangible assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IntangibleassetsOtherintangibleassetsNarrativeDetails</Role>
      <ShortName>Intangible assets - Other intangible assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>204</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R205.htm</HtmlFileName>
      <LongName>9955652 - Disclosure - Other assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherassetsDetails</Role>
      <ShortName>Other assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/OtherassetsTables</ParentRole>
      <Position>205</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R206.htm</HtmlFileName>
      <LongName>9955653 - Disclosure - Deposits from central banks and credit institutions - Schedule of deposits from central banks and credit institutions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DepositsfromcentralbanksandcreditinstitutionsScheduleofdepositsfromcentralbanksandcreditinstitutionsDetails</Role>
      <ShortName>Deposits from central banks and credit institutions - Schedule of deposits from central banks and credit institutions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>206</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R207.htm</HtmlFileName>
      <LongName>9955654 - Disclosure - Deposits from central banks and credit institutions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DepositsfromcentralbanksandcreditinstitutionsNarrativeDetails</Role>
      <ShortName>Deposits from central banks and credit institutions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/DepositsfromcentralbanksandcreditinstitutionsTables</ParentRole>
      <Position>207</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R208.htm</HtmlFileName>
      <LongName>9955655 - Disclosure - Customer deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CustomerdepositsDetails</Role>
      <ShortName>Customer deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/CustomerdepositsTables</ParentRole>
      <Position>208</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R209.htm</HtmlFileName>
      <LongName>9955656 - Disclosure - Marketable debt securities - Schedule of marketable securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesScheduleofmarketablesecuritiesDetails</Role>
      <ShortName>Marketable debt securities - Schedule of marketable securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>209</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R210.htm</HtmlFileName>
      <LongName>9955657 - Disclosure - Marketable debt securities - Disclosure of maturity analysis of debt instruments, book value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesDisclosureofmaturityanalysisofdebtinstrumentsbookvalueDetails</Role>
      <ShortName>Marketable debt securities - Disclosure of maturity analysis of debt instruments, book value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>210</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R211.htm</HtmlFileName>
      <LongName>9955658 - Disclosure - Marketable debt securities - Disclosure of maturity analysis of debt instruments, notional amounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesDisclosureofmaturityanalysisofdebtinstrumentsnotionalamountsDetails</Role>
      <ShortName>Marketable debt securities - Disclosure of maturity analysis of debt instruments, notional amounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>211</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R212.htm</HtmlFileName>
      <LongName>9955659 - Disclosure - Marketable debt securities - Disclosure of bonds and debentures by currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesDisclosureofbondsanddebenturesbycurrencyDetails</Role>
      <ShortName>Marketable debt securities - Disclosure of bonds and debentures by currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>212</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R213.htm</HtmlFileName>
      <LongName>9955660 - Disclosure - Marketable debt securities - Disclosure of changes in bonds and debentures outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesDisclosureofchangesinbondsanddebenturesoutstandingDetails</Role>
      <ShortName>Marketable debt securities - Disclosure of changes in bonds and debentures outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>213</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R214.htm</HtmlFileName>
      <LongName>9955661 - Disclosure - Marketable debt securities - Disclosure of information on liabilities secured by financial assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesDisclosureofinformationonliabilitiessecuredbyfinancialassetsDetails</Role>
      <ShortName>Marketable debt securities - Disclosure of information on liabilities secured by financial assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>214</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R215.htm</HtmlFileName>
      <LongName>9955662 - Disclosure - Marketable debt securities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MarketabledebtsecuritiesNarrativeDetails</Role>
      <ShortName>Marketable debt securities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>215</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R216.htm</HtmlFileName>
      <LongName>9955663 - Disclosure - Subordinated liabilities - Schedule of subordinated liabilities detail, by currency of issue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SubordinatedliabilitiesScheduleofsubordinatedliabilitiesdetailbycurrencyofissueDetails</Role>
      <ShortName>Subordinated liabilities - Schedule of subordinated liabilities detail, by currency of issue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>216</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R217.htm</HtmlFileName>
      <LongName>9955664 - Disclosure - Subordinated liabilities - Schedule of changes in subordinated liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SubordinatedliabilitiesScheduleofchangesinsubordinatedliabilitiesDetails</Role>
      <ShortName>Subordinated liabilities - Schedule of changes in subordinated liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>217</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R218.htm</HtmlFileName>
      <LongName>9955665 - Disclosure - Subordinated liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SubordinatedliabilitiesNarrativeDetails</Role>
      <ShortName>Subordinated liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>218</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R219.htm</HtmlFileName>
      <LongName>9955666 - Disclosure - Other financial liabilities - Schedule of other financial liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherfinancialliabilitiesScheduleofotherfinancialliabilitiesDetails</Role>
      <ShortName>Other financial liabilities - Schedule of other financial liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>219</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R220.htm</HtmlFileName>
      <LongName>9955667 - Disclosure - Other financial liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherfinancialliabilitiesNarrativeDetails</Role>
      <ShortName>Other financial liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>220</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R221.htm</HtmlFileName>
      <LongName>9955668 - Disclosure - Other financial liabilities - Disclosure of maturity analysis for non-derivative financial liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherfinancialliabilitiesDisclosureofmaturityanalysisfornonderivativefinancialliabilitiesDetails</Role>
      <ShortName>Other financial liabilities - Disclosure of maturity analysis for non-derivative financial liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>221</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R222.htm</HtmlFileName>
      <LongName>9955669 - Disclosure - Provisions - Schedule of details of provisions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofdetailsofprovisionsDetails</Role>
      <ShortName>Provisions - Schedule of details of provisions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>222</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R223.htm</HtmlFileName>
      <LongName>9955670 - Disclosure - Provisions - Schedule of changes in provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofchangesinprovisionDetails</Role>
      <ShortName>Provisions - Schedule of changes in provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>223</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R224.htm</HtmlFileName>
      <LongName>9955671 - Disclosure - Provisions - Schedule of provision for pensions and similar obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofprovisionforpensionsandsimilarobligationsDetails</Role>
      <ShortName>Provisions - Schedule of provision for pensions and similar obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>224</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R225.htm</HtmlFileName>
      <LongName>9955672 - Disclosure - Provisions - Provisions Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsProvisionsNarrativeDetails</Role>
      <ShortName>Provisions - Provisions Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>225</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R226.htm</HtmlFileName>
      <LongName>9955673 - Disclosure - Provisions - Litigation and other matters - Tax Litigation Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsLitigationandothermattersTaxLitigationNarrativeDetails</Role>
      <ShortName>Provisions - Litigation and other matters - Tax Litigation Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>226</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R227.htm</HtmlFileName>
      <LongName>9955674 - Disclosure - Provisions - Litigation and other matters - Non-tax-related proceedings Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsLitigationandothermattersNontaxrelatedproceedingsNarrativeDetails</Role>
      <ShortName>Provisions - Litigation and other matters - Non-tax-related proceedings Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>227</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R228.htm</HtmlFileName>
      <LongName>9955675 - Disclosure - Provisions - Schedule of actuarial assumptions used to calculate defined benefit obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofactuarialassumptionsusedtocalculatedefinedbenefitobligationsDetails</Role>
      <ShortName>Provisions - Schedule of actuarial assumptions used to calculate defined benefit obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>228</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R229.htm</HtmlFileName>
      <LongName>9955676 - Disclosure - Provisions - Disclosure of expected rate of return assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsDisclosureofexpectedrateofreturnassumptionsDetails</Role>
      <ShortName>Provisions - Disclosure of expected rate of return assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>229</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R230.htm</HtmlFileName>
      <LongName>9955677 - Disclosure - Provisions - Schedule of funding status of the defined benefit obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleoffundingstatusofthedefinedbenefitobligationsDetails</Role>
      <ShortName>Provisions - Schedule of funding status of the defined benefit obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>230</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R231.htm</HtmlFileName>
      <LongName>9955678 - Disclosure - Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofdefinedbenefitobligationexpensesrecognizedintheconsolidatedincomestatementsDetails</Role>
      <ShortName>Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>231</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R232.htm</HtmlFileName>
      <LongName>9955679 - Disclosure - Provisions - Schedule of status and changes of the defined benefit obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofstatusandchangesofthedefinedbenefitobligationsDetails</Role>
      <ShortName>Provisions - Schedule of status and changes of the defined benefit obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>232</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R233.htm</HtmlFileName>
      <LongName>9955680 - Disclosure - Provisions - Schedule of changes in fair value of plan assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofchangesinfairvalueofplanassetsDetails</Role>
      <ShortName>Provisions - Schedule of changes in fair value of plan assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>233</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R234.htm</HtmlFileName>
      <LongName>9955681 - Disclosure - Provisions - Schedule of insurance contracts linked to pensions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofinsurancecontractslinkedtopensionsDetails</Role>
      <ShortName>Provisions - Schedule of insurance contracts linked to pensions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>234</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R235.htm</HtmlFileName>
      <LongName>9955682 - Disclosure - Provisions - Schedule of maturity of estimated benefits payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofmaturityofestimatedbenefitspaymentsDetails</Role>
      <ShortName>Provisions - Schedule of maturity of estimated benefits payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>235</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R236.htm</HtmlFileName>
      <LongName>9955683 - Disclosure - Provisions - Schedule of actuarial assumptions used to calculate defined benefit obligations, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofactuarialassumptionsusedtocalculatedefinedbenefitobligationsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of actuarial assumptions used to calculate defined benefit obligations, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>236</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R237.htm</HtmlFileName>
      <LongName>9955684 - Disclosure - Provisions - Schedule of funding status of the defined benefit obligations, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleoffundingstatusofthedefinedbenefitobligationsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of funding status of the defined benefit obligations, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>237</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R238.htm</HtmlFileName>
      <LongName>9955685 - Disclosure - Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofdefinedbenefitobligationexpensesrecognizedintheconsolidatedincomestatementsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>238</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R239.htm</HtmlFileName>
      <LongName>9955686 - Disclosure - Provisions - Schedule of status and changes of the defined benefit obligations, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofstatusandchangesofthedefinedbenefitobligationsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of status and changes of the defined benefit obligations, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>239</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R240.htm</HtmlFileName>
      <LongName>9955687 - Disclosure - Provisions - Schedule of changes in fair value of plan assets, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofchangesinfairvalueofplanassetsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of changes in fair value of plan assets, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>240</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R241.htm</HtmlFileName>
      <LongName>9955688 - Disclosure - Provisions - Schedule of main categories of plan assets, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofmaincategoriesofplanassetsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of main categories of plan assets, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>241</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R242.htm</HtmlFileName>
      <LongName>9955689 - Disclosure - Provisions - Schedule of maturity of estimated benefits payments, United Kingdom (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofmaturityofestimatedbenefitspaymentsUnitedKingdomDetails</Role>
      <ShortName>Provisions - Schedule of maturity of estimated benefits payments, United Kingdom (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>242</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R243.htm</HtmlFileName>
      <LongName>9955690 - Disclosure - Provisions - Schedule of funding status of the defined benefit obligations, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleoffundingstatusofthedefinedbenefitobligationsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of funding status of the defined benefit obligations, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>243</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R244.htm</HtmlFileName>
      <LongName>9955691 - Disclosure - Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofdefinedbenefitobligationexpensesrecognizedintheconsolidatedincomestatementsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of defined benefit obligation expenses recognized in the consolidated income statements, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>244</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R245.htm</HtmlFileName>
      <LongName>9955692 - Disclosure - Provisions - Schedule of status and changes of the defined benefit obligations, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofstatusandchangesofthedefinedbenefitobligationsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of status and changes of the defined benefit obligations, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>245</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R246.htm</HtmlFileName>
      <LongName>9955693 - Disclosure - Provisions - Schedule of changes in fair value of plan assets, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofchangesinfairvalueofplanassetsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of changes in fair value of plan assets, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>246</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R247.htm</HtmlFileName>
      <LongName>9955694 - Disclosure - Provisions - Schedule of main categories of plan assets, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofmaincategoriesofplanassetsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of main categories of plan assets, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>247</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R248.htm</HtmlFileName>
      <LongName>9955695 - Disclosure - Provisions - Schedule of maturity of estimated benefits payments, Other Foreign Subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofmaturityofestimatedbenefitspaymentsOtherForeignSubsidiariesDetails</Role>
      <ShortName>Provisions - Schedule of maturity of estimated benefits payments, Other Foreign Subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>248</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R249.htm</HtmlFileName>
      <LongName>9955696 - Disclosure - Provisions - Schedule of other provisions by geographical area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/ProvisionsScheduleofotherprovisionsbygeographicalareaDetails</Role>
      <ShortName>Provisions - Schedule of other provisions by geographical area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>249</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R250.htm</HtmlFileName>
      <LongName>9955697 - 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>250</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R251.htm</HtmlFileName>
      <LongName>9955698 - Disclosure - Other liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherliabilitiesDetails</Role>
      <ShortName>Other liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/OtherliabilitiesTables</ParentRole>
      <Position>251</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R252.htm</HtmlFileName>
      <LongName>9955699 - Disclosure - Tax matters - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersNarrativeDetails</Role>
      <ShortName>Tax matters - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>252</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R253.htm</HtmlFileName>
      <LongName>9955700 - Disclosure - Tax matters - Schedule of reconciliation of income tax expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersScheduleofreconciliationofincometaxexpenseDetails</Role>
      <ShortName>Tax matters - Schedule of reconciliation of income tax expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>253</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R254.htm</HtmlFileName>
      <LongName>9955701 - Disclosure - Tax matters - Schedule of tax recognized in equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersScheduleoftaxrecognizedinequityDetails</Role>
      <ShortName>Tax matters - Schedule of tax recognized in equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>254</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R255.htm</HtmlFileName>
      <LongName>9955702 - Disclosure - Tax matters - Schedule of deferred tax assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersScheduleofdeferredtaxassetsandliabilitiesDetails</Role>
      <ShortName>Tax matters - Schedule of deferred tax assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>255</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R256.htm</HtmlFileName>
      <LongName>9955703 - Disclosure - Tax matters - Schedule of changes in deferred tax assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/TaxmattersScheduleofchangesindeferredtaxassetsandliabilitiesDetails</Role>
      <ShortName>Tax matters - Schedule of changes in deferred tax assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>256</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R257.htm</HtmlFileName>
      <LongName>9955704 - Disclosure - Non-controlling interests - Schedule of detail, by Group company, of non-controlling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncontrollinginterestsScheduleofdetailbyGroupcompanyofnoncontrollinginterestsDetails</Role>
      <ShortName>Non-controlling interests - Schedule of detail, by Group company, of non-controlling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>257</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R258.htm</HtmlFileName>
      <LongName>9955705 - Disclosure - Non-controlling interests - Schedule of changes in non-controlling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncontrollinginterestsScheduleofchangesinnoncontrollinginterestsDetails</Role>
      <ShortName>Non-controlling interests - Schedule of changes in non-controlling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>258</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R259.htm</HtmlFileName>
      <LongName>9955706 - Disclosure - Non-controlling interests - Schedule of financial information on the subsidiaries with significant non-controlling interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/NoncontrollinginterestsScheduleoffinancialinformationonthesubsidiarieswithsignificantnoncontrollinginterestsDetails</Role>
      <ShortName>Non-controlling interests - Schedule of financial information on the subsidiaries with significant non-controlling interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>259</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R260.htm</HtmlFileName>
      <LongName>9955707 - Disclosure - Other comprehensive income - Schedule of components of other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeScheduleofcomponentsofothercomprehensiveincomeDetails</Role>
      <ShortName>Other comprehensive income - Schedule of components of other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>260</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R261.htm</HtmlFileName>
      <LongName>9955708 - Disclosure - Other comprehensive income - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeNarrativeDetails</Role>
      <ShortName>Other comprehensive income - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>261</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R262.htm</HtmlFileName>
      <LongName>9955709 - Disclosure - Other comprehensive income - 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/OthercomprehensiveincomeScheduleofchangesinfairvalueofequityinstrumentsthatwillnotbereclassifiedDetails</Role>
      <ShortName>Other comprehensive income - Schedule of changes in fair value of equity instruments that will not be reclassified (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>262</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R263.htm</HtmlFileName>
      <LongName>9955710 - Disclosure - Other comprehensive income - Schedule of exchange differences included in other comprehensive income that may be reclassified to profit or loss, by country (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeScheduleofexchangedifferencesincludedinothercomprehensiveincomethatmaybereclassifiedtoprofitorlossbycountryDetails</Role>
      <ShortName>Other comprehensive income - Schedule of exchange differences included in other comprehensive income that may be reclassified to profit or loss, by country (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>263</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R264.htm</HtmlFileName>
      <LongName>9955711 - Disclosure - Other comprehensive income - Schedule of exchange differences included in other comprehensive income that may be reclassified to profit or loss, by currency (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeScheduleofexchangedifferencesincludedinothercomprehensiveincomethatmaybereclassifiedtoprofitorlossbycurrencyDetails</Role>
      <ShortName>Other comprehensive income - Schedule of exchange differences included in other comprehensive income that may be reclassified to profit or loss, by currency (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>264</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R265.htm</HtmlFileName>
      <LongName>9955712 - Disclosure - Other comprehensive income - 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/OthercomprehensiveincomeScheduleofothercomprehensiveincomethatmaybereclassifiedtoprofitorlossbytypeofinstrumentandgeographicaloriginoftheissuerDetails</Role>
      <ShortName>Other comprehensive income - 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>265</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R266.htm</HtmlFileName>
      <LongName>9955713 - Disclosure - Other comprehensive income - Schedule of changes in other comprehensive income for entities accounted for using the equity method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthercomprehensiveincomeScheduleofchangesinothercomprehensiveincomeforentitiesaccountedforusingtheequitymethodDetails</Role>
      <ShortName>Other comprehensive income - Schedule of changes in other comprehensive income for entities accounted for using the equity method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>266</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R267.htm</HtmlFileName>
      <LongName>9955714 - Disclosure - Issued capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/IssuedcapitalDetails</Role>
      <ShortName>Issued capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Issuedcapital</ParentRole>
      <Position>267</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R268.htm</HtmlFileName>
      <LongName>9955715 - Disclosure - Share premium (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/SharepremiumDetails</Role>
      <ShortName>Share premium (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Sharepremium</ParentRole>
      <Position>268</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R269.htm</HtmlFileName>
      <LongName>9955716 - Disclosure - Accumulated retained earnings - Schedule of accumulated retained earnings and reserves of entities accounted for using the equity method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccumulatedretainedearningsScheduleofaccumulatedretainedearningsandreservesofentitiesaccountedforusingtheequitymethodDetails</Role>
      <ShortName>Accumulated retained earnings - Schedule of accumulated retained earnings and reserves of entities accounted for using the equity method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>269</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R270.htm</HtmlFileName>
      <LongName>9955717 - Disclosure - Accumulated retained earnings - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccumulatedretainedearningsNarrativeDetails</Role>
      <ShortName>Accumulated retained earnings - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>270</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R271.htm</HtmlFileName>
      <LongName>9955718 - Disclosure - Accumulated retained earnings - Schedule of reserves of subsidiaries based on the companies' contribution to the Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AccumulatedretainedearningsScheduleofreservesofsubsidiariesbasedonthecompaniescontributiontotheGroupDetails</Role>
      <ShortName>Accumulated retained earnings - Schedule of reserves of subsidiaries based on the companies' contribution to the Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>271</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R272.htm</HtmlFileName>
      <LongName>9955719 - Disclosure - Other equity instruments and own shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherequityinstrumentsandownsharesDetails</Role>
      <ShortName>Other equity instruments and own shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/Otherequityinstrumentsandownshares</ParentRole>
      <Position>272</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R273.htm</HtmlFileName>
      <LongName>9955720 - Disclosure - Memorandum items - Schedule of contingent commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MemorandumitemsScheduleofcontingentcommitmentsDetails</Role>
      <ShortName>Memorandum items - Schedule of contingent commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>273</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R274.htm</HtmlFileName>
      <LongName>9955721 - Disclosure - Memorandum items - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MemorandumitemsNarrativeDetails</Role>
      <ShortName>Memorandum items - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>274</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R275.htm</HtmlFileName>
      <LongName>9955722 - Disclosure - Memorandum items - Schedule of off-balance sheet funds managed by the entity and joint ventures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/MemorandumitemsScheduleofoffbalancesheetfundsmanagedbytheentityandjointventuresDetails</Role>
      <ShortName>Memorandum items - Schedule of off-balance sheet funds managed by the entity and joint ventures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>275</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R276.htm</HtmlFileName>
      <LongName>9955723 - Disclosure - Hedging derivatives - Schedule of details of hedging instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofdetailsofhedginginstrumentsDetails</Role>
      <ShortName>Hedging derivatives - Schedule of details of hedging instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>276</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R277.htm</HtmlFileName>
      <LongName>9955724 - Disclosure - Hedging derivatives - Schedule of maturity profile of hedging instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofmaturityprofileofhedginginstrumentsDetails</Role>
      <ShortName>Hedging derivatives - Schedule of maturity profile of hedging instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>277</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R278.htm</HtmlFileName>
      <LongName>9955725 - Disclosure - Hedging derivatives - Schedule of average interest and exchange rate of hedging instruments by maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofaverageinterestandexchangerateofhedginginstrumentsbymaturityDetails</Role>
      <ShortName>Hedging derivatives - Schedule of average interest and exchange rate of hedging instruments by maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>278</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R279.htm</HtmlFileName>
      <LongName>9955726 - Disclosure - Hedging derivatives - Schedule of details of hedged exposure/hedged items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofdetailsofhedgedexposurehedgeditemsDetails</Role>
      <ShortName>Hedging derivatives - Schedule of details of hedged exposure/hedged items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>279</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R280.htm</HtmlFileName>
      <LongName>9955727 - Disclosure - Hedging derivatives - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesNarrativeDetails</Role>
      <ShortName>Hedging derivatives - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>280</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R281.htm</HtmlFileName>
      <LongName>9955728 - Disclosure - Hedging derivatives - Schedule of effectiveness of hedging, impacts on profit or loss and other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofeffectivenessofhedgingimpactsonprofitorlossandothercomprehensiveincomeDetails</Role>
      <ShortName>Hedging derivatives - Schedule of effectiveness of hedging, impacts on profit or loss and other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>281</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R282.htm</HtmlFileName>
      <LongName>9955729 - Disclosure - Hedging derivatives - Schedule of movement in hedging components in other comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/HedgingderivativesScheduleofmovementinhedgingcomponentsinothercomprehensiveincomeDetails</Role>
      <ShortName>Hedging derivatives - Schedule of movement in hedging components in other comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>282</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R283.htm</HtmlFileName>
      <LongName>9955730 - Disclosure - Discontinued operations - Discontinued operations, Condensed financial statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DiscontinuedoperationsDiscontinuedoperationsCondensedfinancialstatementsDetails</Role>
      <ShortName>Discontinued operations - Discontinued operations, Condensed financial statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>283</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R284.htm</HtmlFileName>
      <LongName>9955731 - Disclosure - Interest income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InterestincomeDetails</Role>
      <ShortName>Interest income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/InterestincomeTables</ParentRole>
      <Position>284</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R285.htm</HtmlFileName>
      <LongName>9955732 - Disclosure - Interest expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/InterestexpenseDetails</Role>
      <ShortName>Interest expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/InterestexpenseTables</ParentRole>
      <Position>285</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R286.htm</HtmlFileName>
      <LongName>9955733 - Disclosure - Dividend income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/DividendincomeDetails</Role>
      <ShortName>Dividend income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/DividendincomeTables</ParentRole>
      <Position>286</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R287.htm</HtmlFileName>
      <LongName>9955734 - Disclosure - Commission income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CommissionincomeDetails</Role>
      <ShortName>Commission income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/CommissionincomeTables</ParentRole>
      <Position>287</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R288.htm</HtmlFileName>
      <LongName>9955735 - Disclosure - Commission expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/CommissionexpenseDetails</Role>
      <ShortName>Commission expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/CommissionexpenseTables</ParentRole>
      <Position>288</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R289.htm</HtmlFileName>
      <LongName>9955736 - Disclosure - Gains or losses on financial assets and liabilities - Schedule of detail, by origin, of gains/losses on financial assets and liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesScheduleofdetailbyoriginofgainslossesonfinancialassetsandliabilityDetails</Role>
      <ShortName>Gains or losses on financial assets and liabilities - Schedule of detail, by origin, of gains/losses on financial assets and liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>289</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R290.htm</HtmlFileName>
      <LongName>9955737 - Disclosure - Gains or losses on financial assets and liabilities - Schedule of exchange differences, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesScheduleofexchangedifferencesnetDetails</Role>
      <ShortName>Gains or losses on financial assets and liabilities - Schedule of exchange differences, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>290</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R291.htm</HtmlFileName>
      <LongName>9955738 - Disclosure - Gains or losses on financial assets and liabilities - Schedule of detail of asset balances measured at fair value through profit or loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesScheduleofdetailofassetbalancesmeasuredatfairvaluethroughprofitorlossDetails</Role>
      <ShortName>Gains or losses on financial assets and liabilities - Schedule of detail of asset balances measured at fair value through profit or loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>291</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R292.htm</HtmlFileName>
      <LongName>9955739 - Disclosure - Gains or losses on financial assets and liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesNarrativeDetails</Role>
      <ShortName>Gains or losses on financial assets and liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesTables</ParentRole>
      <Position>292</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R293.htm</HtmlFileName>
      <LongName>9955740 - Disclosure - Gains or losses on financial assets and liabilities - Schedule of detail of liability balances measured at fair value through profit or loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonfinancialassetsandliabilitiesScheduleofdetailofliabilitybalancesmeasuredatfairvaluethroughprofitorlossDetails</Role>
      <ShortName>Gains or losses on financial assets and liabilities - Schedule of detail of liability balances measured at fair value through profit or loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>293</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R294.htm</HtmlFileName>
      <LongName>9955741 - Disclosure - Other operating income and expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtheroperatingincomeandexpensesDetails</Role>
      <ShortName>Other operating income and expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/OtheroperatingincomeandexpensesTables</ParentRole>
      <Position>294</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R295.htm</HtmlFileName>
      <LongName>9955742 - Disclosure - Staff costs - Schedule of detail of staff costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleofdetailofstaffcostsDetails</Role>
      <ShortName>Staff costs - Schedule of detail of staff costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>295</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R296.htm</HtmlFileName>
      <LongName>9955743 - Disclosure - Staff costs - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsNarrativeDetails</Role>
      <ShortName>Staff costs - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>296</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R297.htm</HtmlFileName>
      <LongName>9955744 - Disclosure - Staff costs - Schedule of functional breakdown of final employment by gender (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleoffunctionalbreakdownoffinalemploymentbygenderDetails</Role>
      <ShortName>Staff costs - Schedule of functional breakdown of final employment by gender (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>297</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R298.htm</HtmlFileName>
      <LongName>9955745 - Disclosure - Staff costs - Schedule of deferred variable remuneration systems, deferred and conditional variable remuneration plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleofdeferredvariableremunerationsystemsdeferredandconditionalvariableremunerationplanDetails</Role>
      <ShortName>Staff costs - Schedule of deferred variable remuneration systems, deferred and conditional variable remuneration plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>298</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R299.htm</HtmlFileName>
      <LongName>9955746 - Disclosure - Staff costs - Schedule of deferred variable remuneration systems, deferred multiyear objectives variable remuneration plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleofdeferredvariableremunerationsystemsdeferredmultiyearobjectivesvariableremunerationplanDetails</Role>
      <ShortName>Staff costs - Schedule of deferred variable remuneration systems, deferred multiyear objectives variable remuneration plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>299</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R300.htm</HtmlFileName>
      <LongName>9955747 - Disclosure - Staff costs - Schedule of deferred variable remuneration systems, digital transformation award (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleofdeferredvariableremunerationsystemsdigitaltransformationawardDetails</Role>
      <ShortName>Staff costs - Schedule of deferred variable remuneration systems, digital transformation award (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>300</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R301.htm</HtmlFileName>
      <LongName>9955748 - Disclosure - Staff costs - Schedule of options activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/StaffcostsScheduleofoptionsactivityDetails</Role>
      <ShortName>Staff costs - Schedule of options activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>301</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R302.htm</HtmlFileName>
      <LongName>9955749 - Disclosure - Other general administrative expenses - Schedule of detail of other general administrative expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthergeneraladministrativeexpensesScheduleofdetailofothergeneraladministrativeexpensesDetails</Role>
      <ShortName>Other general administrative expenses - Schedule of detail of other general administrative expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>302</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R303.htm</HtmlFileName>
      <LongName>9955750 - Disclosure - Other general administrative expenses - Schedule of technical reports includes the fees paid by various Group companies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthergeneraladministrativeexpensesScheduleoftechnicalreportsincludesthefeespaidbyvariousGroupcompaniesDetails</Role>
      <ShortName>Other general administrative expenses - Schedule of technical reports includes the fees paid by various Group companies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>303</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R304.htm</HtmlFileName>
      <LongName>9955751 - Disclosure - Other general administrative expenses - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthergeneraladministrativeexpensesNarrativeDetails</Role>
      <ShortName>Other general administrative expenses - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>304</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R305.htm</HtmlFileName>
      <LongName>9955752 - Disclosure - Other general administrative expenses - Schedule of number of offices (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OthergeneraladministrativeexpensesScheduleofnumberofofficesDetails</Role>
      <ShortName>Other general administrative expenses - Schedule of number of offices (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>305</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R306.htm</HtmlFileName>
      <LongName>9955753 - Disclosure - Gains or losses on non financial assets, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonnonfinancialassetsnetDetails</Role>
      <ShortName>Gains or losses on non financial assets, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/GainsorlossesonnonfinancialassetsnetTables</ParentRole>
      <Position>306</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R307.htm</HtmlFileName>
      <LongName>9955754 - Disclosure - Gains or losses on non-current assets held for sale not classified as discontinued operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/GainsorlossesonnoncurrentassetsheldforsalenotclassifiedasdiscontinuedoperationsDetails</Role>
      <ShortName>Gains or losses on non-current assets held for sale not classified as discontinued operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.santander.com/role/GainsorlossesonnoncurrentassetsheldforsalenotclassifiedasdiscontinuedoperationsTables</ParentRole>
      <Position>307</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R308.htm</HtmlFileName>
      <LongName>9955755 - Disclosure - Fair value of financial instruments - Schedule of fair values of financial assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FairvalueoffinancialinstrumentsScheduleoffairvaluesoffinancialassetsandliabilitiesDetails</Role>
      <ShortName>Fair value of financial instruments - Schedule of fair values of financial assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>308</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R309.htm</HtmlFileName>
      <LongName>9955756 - Disclosure - Fair value of financial instruments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FairvalueoffinancialinstrumentsNarrativeDetails</Role>
      <ShortName>Fair value of financial instruments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>309</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R310.htm</HtmlFileName>
      <LongName>9955757 - Disclosure - Fair value of financial instruments - Schedule of financial instruments at fair value whose measurement was based on internal models (Levels 2 and 3) (Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FairvalueoffinancialinstrumentsScheduleoffinancialinstrumentsatfairvaluewhosemeasurementwasbasedoninternalmodelsLevels2and3DetailsDetails</Role>
      <ShortName>Fair value of financial instruments - Schedule of financial instruments at fair value whose measurement was based on internal models (Levels 2 and 3) (Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>310</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R311.htm</HtmlFileName>
      <LongName>9955758 - Disclosure - Fair value of financial instruments - 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/FairvalueoffinancialinstrumentsScheduleofeffectonfairvalueoffinancialinstrumentsclassifiedasLevel3ofareasonablechangeintheassumptionsusedinthevaluationDetails</Role>
      <ShortName>Fair value of financial instruments - 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>311</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R312.htm</HtmlFileName>
      <LongName>9955759 - Disclosure - Fair value of financial instruments - Disclosure of changes in fair value of financial assets and liabilities calculated using internal models (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/FairvalueoffinancialinstrumentsDisclosureofchangesinfairvalueoffinancialassetsandliabilitiescalculatedusinginternalmodelsDetails</Role>
      <ShortName>Fair value of financial instruments - Disclosure of changes in fair value of financial assets and liabilities calculated using internal models (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>312</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R313.htm</HtmlFileName>
      <LongName>9955760 - Disclosure - Other disclosures - Schedule of certain financial assets and liabilities by maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofcertainfinancialassetsandliabilitiesbymaturityDetails</Role>
      <ShortName>Other disclosures - Schedule of certain financial assets and liabilities by maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>313</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R314.htm</HtmlFileName>
      <LongName>9955761 - Disclosure - Other disclosures - Schedule of undiscounted contractual maturities of financial liabilities at amortized cost by maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofundiscountedcontractualmaturitiesoffinancialliabilitiesatamortizedcostbymaturityDetails</Role>
      <ShortName>Other disclosures - Schedule of undiscounted contractual maturities of financial liabilities at amortized cost by maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>314</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R315.htm</HtmlFileName>
      <LongName>9955762 - Disclosure - Other disclosures - Schedule of remainder of financial assets and liabilities by maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofremainderoffinancialassetsandliabilitiesbymaturityDetails</Role>
      <ShortName>Other disclosures - Schedule of remainder of financial assets and liabilities by maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>315</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R316.htm</HtmlFileName>
      <LongName>9955763 - Disclosure - Other disclosures - Schedule of memorandum items by maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofmemorandumitemsbymaturityDetails</Role>
      <ShortName>Other disclosures - Schedule of memorandum items by maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>316</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R317.htm</HtmlFileName>
      <LongName>9955764 - Disclosure - Other disclosures - Schedule of equivalent euro value of assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofequivalenteurovalueofassetsandliabilitiesDetails</Role>
      <ShortName>Other disclosures - Schedule of equivalent euro value of assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>317</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R318.htm</HtmlFileName>
      <LongName>9955765 - Disclosure - Other disclosures - Schedule of financial assets measured at other than fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleoffinancialassetsmeasuredatotherthanfairvalueDetails</Role>
      <ShortName>Other disclosures - Schedule of financial assets measured at other than fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>318</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R319.htm</HtmlFileName>
      <LongName>9955766 - Disclosure - Other disclosures - Schedule of financial liabilities measured at other than fair value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleoffinancialliabilitiesmeasuredatotherthanfairvalueDetails</Role>
      <ShortName>Other disclosures - Schedule of financial liabilities measured at other than fair value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>319</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R320.htm</HtmlFileName>
      <LongName>9955767 - Disclosure - Other disclosures - Schedule of offsetting of financial instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresScheduleofoffsettingoffinancialinstrumentsDetails</Role>
      <ShortName>Other disclosures - Schedule of offsetting of financial instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>320</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R321.htm</HtmlFileName>
      <LongName>9955768 - Disclosure - Other disclosures - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/OtherdisclosuresNarrativeDetails</Role>
      <ShortName>Other disclosures - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>321</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R322.htm</HtmlFileName>
      <LongName>9955769 - Disclosure - Primary and secondary segments reporting - Primary segments, narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingPrimarysegmentsnarrativeDetails</Role>
      <ShortName>Primary and secondary segments reporting - Primary segments, narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>322</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R323.htm</HtmlFileName>
      <LongName>9955770 - Disclosure - Primary and secondary segments reporting - Schedule of condensed balance sheets and condensed underlying income statements by primary segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingScheduleofcondensedbalancesheetsandcondensedunderlyingincomestatementsbyprimarysegmentsDetails</Role>
      <ShortName>Primary and secondary segments reporting - Schedule of condensed balance sheets and condensed underlying income statements by primary segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>323</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R324.htm</HtmlFileName>
      <LongName>9955771 - Disclosure - Primary and secondary segments reporting - Schedule of condensed balance sheets and condensed income statements by secondary segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingScheduleofcondensedbalancesheetsandcondensedincomestatementsbysecondarysegmentsDetails</Role>
      <ShortName>Primary and secondary segments reporting - Schedule of condensed balance sheets and condensed income statements by secondary segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>324</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R325.htm</HtmlFileName>
      <LongName>9955772 - Disclosure - Primary and secondary segments reporting - Schedule of reconciliation of consolidated profit after tax to operating profit before tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingScheduleofreconciliationofconsolidatedprofitaftertaxtooperatingprofitbeforetaxDetails</Role>
      <ShortName>Primary and secondary segments reporting - Schedule of reconciliation of consolidated profit after tax to operating profit before tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>325</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R326.htm</HtmlFileName>
      <LongName>9955773 - Disclosure - Primary and secondary segments reporting - Schedule of reconciliation of consolidated profit after tax to operating profit before tax, narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/PrimaryandsecondarysegmentsreportingScheduleofreconciliationofconsolidatedprofitaftertaxtooperatingprofitbeforetaxnarrativeDetails</Role>
      <ShortName>Primary and secondary segments reporting - Schedule of reconciliation of consolidated profit after tax to operating profit before tax, narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>326</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R327.htm</HtmlFileName>
      <LongName>9955774 - 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>327</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R328.htm</HtmlFileName>
      <LongName>9955775 - Disclosure - Risk management - Risk principles and culture (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementRiskprinciplesandcultureDetails</Role>
      <ShortName>Risk management - Risk principles and culture (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>328</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R329.htm</HtmlFileName>
      <LongName>9955776 - Disclosure - Risk management - Credit risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementCreditriskDetails</Role>
      <ShortName>Risk management - Credit risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>329</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R330.htm</HtmlFileName>
      <LongName>9955777 - Disclosure - Risk management - Disclosure of main credit risk aggregates arising on customer business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofmaincreditriskaggregatesarisingoncustomerbusinessDetails</Role>
      <ShortName>Risk management - Disclosure of main credit risk aggregates arising on customer business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>330</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R331.htm</HtmlFileName>
      <LongName>9955778 - Disclosure - Risk management - Schedule of exposure and impairment losses by stage (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposureandimpairmentlossesbystageDetails</Role>
      <ShortName>Risk management - Schedule of exposure and impairment losses by stage (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>331</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R332.htm</HtmlFileName>
      <LongName>9955779 - Disclosure - Risk management - Schedule of exposure and impairment losses by stage, by entity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposureandimpairmentlossesbystagebyentityDetails</Role>
      <ShortName>Risk management - Schedule of exposure and impairment losses by stage, by entity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>332</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R333.htm</HtmlFileName>
      <LongName>9955780 - Disclosure - Risk management - Schedule of evolution projection based on main macroeconomic indicators, by entity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofevolutionprojectionbasedonmainmacroeconomicindicatorsbyentityDetails</Role>
      <ShortName>Risk management - Schedule of evolution projection based on main macroeconomic indicators, by entity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>333</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R334.htm</HtmlFileName>
      <LongName>9955781 - Disclosure - Risk management - Schedule of weights used for current political and economic positions, by entity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofweightsusedforcurrentpoliticalandeconomicpositionsbyentityDetails</Role>
      <ShortName>Risk management - Schedule of weights used for current political and economic positions, by entity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>334</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R335.htm</HtmlFileName>
      <LongName>9955782 - Disclosure - Risk management - Disclosure of sensitivity analysis, by entity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofsensitivityanalysisbyentityDetails</Role>
      <ShortName>Risk management - Disclosure of sensitivity analysis, by entity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>335</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R336.htm</HtmlFileName>
      <LongName>9955783 - Disclosure - Risk management - Schedule of exposure to risk, Spain residential mortgage (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretoriskSpainresidentialmortgageDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, Spain residential mortgage (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>336</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R337.htm</HtmlFileName>
      <LongName>9955784 - Disclosure - Risk management - Disclosure of concentrations, credit with mortgage guarantee to households for house acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofconcentrationscreditwithmortgageguaranteetohouseholdsforhouseacquisitionDetails</Role>
      <ShortName>Risk management - Disclosure of concentrations, credit with mortgage guarantee to households for house acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>337</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R338.htm</HtmlFileName>
      <LongName>9955785 - Disclosure - Risk management - Schedule of changes in impairment losses on debt instruments, Spain real estate business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofchangesinimpairmentlossesondebtinstrumentsSpainrealestatebusinessDetails</Role>
      <ShortName>Risk management - Schedule of changes in impairment losses on debt instruments, Spain real estate business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>338</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R339.htm</HtmlFileName>
      <LongName>9955786 - Disclosure - Risk management - Schedule of exposure to risk, Spain real estate business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretoriskSpainrealestatebusinessDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, Spain real estate business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>339</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R340.htm</HtmlFileName>
      <LongName>9955787 - Disclosure - Risk management - Schedule of exposure to risk, Spain real estate business, segment information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretoriskSpainrealestatebusinesssegmentinformationDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, Spain real estate business, segment information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>340</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R341.htm</HtmlFileName>
      <LongName>9955788 - Disclosure - Risk management - Disclosure of concentrations, Spain real estate business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofconcentrationsSpainrealestatebusinessDetails</Role>
      <ShortName>Risk management - Disclosure of concentrations, Spain real estate business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>341</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R342.htm</HtmlFileName>
      <LongName>9955789 - Disclosure - Risk management - Schedule of exposure to risk, Spain foreclosed properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretoriskSpainforeclosedpropertiesDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, Spain foreclosed properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>342</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R343.htm</HtmlFileName>
      <LongName>9955790 - Disclosure - Risk management - Disclosure of credit and concentration risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofcreditandconcentrationriskDetails</Role>
      <ShortName>Risk management - Disclosure of credit and concentration risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>343</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R344.htm</HtmlFileName>
      <LongName>9955791 - Disclosure - Risk management - Maximum exposure limits based on credit quality (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementMaximumexposurelimitsbasedoncreditqualityDetails</Role>
      <ShortName>Risk management - Maximum exposure limits based on credit quality (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>344</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R345.htm</HtmlFileName>
      <LongName>9955792 - Disclosure - Risk management - Schedule of exposure to risk, sovereign risk and exposure to other public sector entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretorisksovereignriskandexposuretootherpublicsectorentitiesDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, sovereign risk and exposure to other public sector entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>345</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R346.htm</HtmlFileName>
      <LongName>9955793 - Disclosure - Risk management - Schedule of exposure to risk, forborne loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofexposuretoriskforborneloansDetails</Role>
      <ShortName>Risk management - Schedule of exposure to risk, forborne loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>346</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R347.htm</HtmlFileName>
      <LongName>9955794 - Disclosure - Risk management - Market, structural and liquidity risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementMarketstructuralandliquidityriskDetails</Role>
      <ShortName>Risk management - Market, structural and liquidity risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>347</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R348.htm</HtmlFileName>
      <LongName>9955795 - Disclosure - Risk management - Schedule of balance sheet items subject to trading market risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofbalancesheetitemssubjecttotradingmarketriskDetails</Role>
      <ShortName>Risk management - Schedule of balance sheet items subject to trading market risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>348</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R349.htm</HtmlFileName>
      <LongName>9955796 - Disclosure - Risk management - Disclosure of concentrations by risk factor, trading risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofconcentrationsbyriskfactortradingriskDetails</Role>
      <ShortName>Risk management - Disclosure of concentrations by risk factor, trading risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>349</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R350.htm</HtmlFileName>
      <LongName>9955797 - Disclosure - Risk management - Disclosure of concentrations by risk factor, structural risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofconcentrationsbyriskfactorstructuralriskDetails</Role>
      <ShortName>Risk management - Disclosure of concentrations by risk factor, structural risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>350</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R351.htm</HtmlFileName>
      <LongName>9955798 - Disclosure - Risk management - Disclosure of high quality liquid assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofhighqualityliquidassetsDetails</Role>
      <ShortName>Risk management - Disclosure of high quality liquid assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>351</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R352.htm</HtmlFileName>
      <LongName>9955799 - Disclosure - Risk management - Disclosure of liquidity coverage ratio by component (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementDisclosureofliquiditycoverageratiobycomponentDetails</Role>
      <ShortName>Risk management - Disclosure of liquidity coverage ratio by component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>352</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R353.htm</HtmlFileName>
      <LongName>9955800 - Disclosure - Risk management - Schedule of maturity analysis of assets and guarantees received and committed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofmaturityanalysisofassetsandguaranteesreceivedandcommittedDetails</Role>
      <ShortName>Risk management - Schedule of maturity analysis of assets and guarantees received and committed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>353</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R354.htm</HtmlFileName>
      <LongName>9955801 - Disclosure - Risk management - Schedule of on-balance-sheet encumbered assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofonbalancesheetencumberedassetsDetails</Role>
      <ShortName>Risk management - Schedule of on-balance-sheet encumbered assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>354</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R355.htm</HtmlFileName>
      <LongName>9955802 - Disclosure - Risk management - Schedule of encumbrance of collateral received (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofencumbranceofcollateralreceivedDetails</Role>
      <ShortName>Risk management - Schedule of encumbrance of collateral received (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>355</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R356.htm</HtmlFileName>
      <LongName>9955803 - Disclosure - Risk management - Schedule of encumbered assets and collateral received and matching liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofencumberedassetsandcollateralreceivedandmatchingliabilitiesDetails</Role>
      <ShortName>Risk management - Schedule of encumbered assets and collateral received and matching liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>356</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R357.htm</HtmlFileName>
      <LongName>9955804 - Disclosure - Risk management - Capital risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementCapitalriskDetails</Role>
      <ShortName>Risk management - Capital risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>357</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R358.htm</HtmlFileName>
      <LongName>9955805 - Disclosure - Risk management - Schedule of reconciliation of accounting capital with regulatory capital (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofreconciliationofaccountingcapitalwithregulatorycapitalDetails</Role>
      <ShortName>Risk management - Schedule of reconciliation of accounting capital with regulatory capital (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>358</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R359.htm</HtmlFileName>
      <LongName>9955806 - Disclosure - Risk management - Schedule of regulatory capital phase-in coefficients (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofregulatorycapitalphaseincoefficientsDetails</Role>
      <ShortName>Risk management - Schedule of regulatory capital phase-in coefficients (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>359</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R360.htm</HtmlFileName>
      <LongName>9955807 - Disclosure - Risk management - Schedule of regulatory capital alternative standard (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofregulatorycapitalalternativestandardDetails</Role>
      <ShortName>Risk management - Schedule of regulatory capital alternative standard (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>360</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R361.htm</HtmlFileName>
      <LongName>9955808 - Disclosure - Risk management - Schedule of leverage capital and ratios (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/RiskmanagementScheduleofleveragecapitalandratiosDetails</Role>
      <ShortName>Risk management - Schedule of leverage capital and ratios (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>361</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R362.htm</HtmlFileName>
      <LongName>9955809 - Disclosure - Additional disclosures - Parent company condensed balance sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresParentcompanycondensedbalancesheetsDetails</Role>
      <ShortName>Additional disclosures - Parent company condensed balance sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>362</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R363.htm</HtmlFileName>
      <LongName>9955810 - Disclosure - Additional disclosures - Parent company condensed statements of income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresParentcompanycondensedstatementsofincomeDetails</Role>
      <ShortName>Additional disclosures - Parent company condensed statements of income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>363</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R364.htm</HtmlFileName>
      <LongName>9955811 - Disclosure - Additional disclosures - Parent company condensed statements of comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresParentcompanycondensedstatementsofcomprehensiveincomeDetails</Role>
      <ShortName>Additional disclosures - Parent company condensed statements of comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>364</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R365.htm</HtmlFileName>
      <LongName>9955812 - Disclosure - Additional disclosures - Parent company condensed cash flow statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresParentcompanycondensedcashflowstatementsDetails</Role>
      <ShortName>Additional disclosures - Parent company condensed cash flow statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>365</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R366.htm</HtmlFileName>
      <LongName>9955813 - Disclosure - Additional disclosures - Schedule of preferred shares and securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresScheduleofpreferredsharesandsecuritiesDetails</Role>
      <ShortName>Additional disclosures - Schedule of preferred shares and securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>366</Position>
    </Report>
    <Report instance="san-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R367.htm</HtmlFileName>
      <LongName>9955814 - Disclosure - Additional disclosures - Schedule of preferred shares and securities by issuer (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.santander.com/role/AdditionaldisclosuresScheduleofpreferredsharesandsecuritiesbyissuerDetails</Role>
      <ShortName>Additional disclosures - Schedule of preferred shares and securities by issuer (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>367</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-20251231.htm">san-20251231.htm</File>
    <File>san-20251231.xsd</File>
    <File>san-20251231_cal.xml</File>
    <File>san-20251231_def.xml</File>
    <File>san-20251231_lab.xml</File>
    <File>san-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>san-20251231_g1.jpg</File>
    <File>san-20251231_g10.jpg</File>
    <File>san-20251231_g11.jpg</File>
    <File>san-20251231_g12.jpg</File>
    <File>san-20251231_g13.jpg</File>
    <File>san-20251231_g14.jpg</File>
    <File>san-20251231_g15.jpg</File>
    <File>san-20251231_g16.jpg</File>
    <File>san-20251231_g17.jpg</File>
    <File>san-20251231_g18.jpg</File>
    <File>san-20251231_g19.jpg</File>
    <File>san-20251231_g2.jpg</File>
    <File>san-20251231_g20.jpg</File>
    <File>san-20251231_g21.jpg</File>
    <File>san-20251231_g22.jpg</File>
    <File>san-20251231_g23.jpg</File>
    <File>san-20251231_g24.jpg</File>
    <File>san-20251231_g25.jpg</File>
    <File>san-20251231_g26.jpg</File>
    <File>san-20251231_g27.jpg</File>
    <File>san-20251231_g28.jpg</File>
    <File>san-20251231_g29.jpg</File>
    <File>san-20251231_g3.jpg</File>
    <File>san-20251231_g30.jpg</File>
    <File>san-20251231_g31.jpg</File>
    <File>san-20251231_g32.jpg</File>
    <File>san-20251231_g33.jpg</File>
    <File>san-20251231_g34.jpg</File>
    <File>san-20251231_g35.jpg</File>
    <File>san-20251231_g36.jpg</File>
    <File>san-20251231_g37.jpg</File>
    <File>san-20251231_g38.jpg</File>
    <File>san-20251231_g39.jpg</File>
    <File>san-20251231_g4.jpg</File>
    <File>san-20251231_g40.jpg</File>
    <File>san-20251231_g41.jpg</File>
    <File>san-20251231_g42.jpg</File>
    <File>san-20251231_g43.jpg</File>
    <File>san-20251231_g44.jpg</File>
    <File>san-20251231_g45.jpg</File>
    <File>san-20251231_g46.jpg</File>
    <File>san-20251231_g47.jpg</File>
    <File>san-20251231_g48.jpg</File>
    <File>san-20251231_g49.jpg</File>
    <File>san-20251231_g5.jpg</File>
    <File>san-20251231_g50.jpg</File>
    <File>san-20251231_g51.jpg</File>
    <File>san-20251231_g52.jpg</File>
    <File>san-20251231_g53.jpg</File>
    <File>san-20251231_g54.jpg</File>
    <File>san-20251231_g55.jpg</File>
    <File>san-20251231_g56.jpg</File>
    <File>san-20251231_g57.jpg</File>
    <File>san-20251231_g58.jpg</File>
    <File>san-20251231_g59.jpg</File>
    <File>san-20251231_g6.jpg</File>
    <File>san-20251231_g60.jpg</File>
    <File>san-20251231_g61.jpg</File>
    <File>san-20251231_g62.jpg</File>
    <File>san-20251231_g63.jpg</File>
    <File>san-20251231_g64.jpg</File>
    <File>san-20251231_g65.jpg</File>
    <File>san-20251231_g66.jpg</File>
    <File>san-20251231_g67.jpg</File>
    <File>san-20251231_g68.jpg</File>
    <File>san-20251231_g69.gif</File>
    <File>san-20251231_g7.jpg</File>
    <File>san-20251231_g70.jpg</File>
    <File>san-20251231_g71.jpg</File>
    <File>san-20251231_g72.jpg</File>
    <File>san-20251231_g73.jpg</File>
    <File>san-20251231_g74.jpg</File>
    <File>san-20251231_g8.jpg</File>
    <File>san-20251231_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="12464">https://xbrl.ifrs.org/taxonomy/2025-03-27/ifrs-full</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
