<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:98246495-41f6-423a-b1a5-14dfcc979731,g:eec49481-8011-4224-85cc-0517e7816f01-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:arcroleRef arcroleURI="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd#wider-narrower"/>
  <link:roleRef roleURI="http://www.repsol.com/role/EstadodecambiosenelpatrimonionetoStatement" xlink:type="simple" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#EstadodecambiosenelpatrimonionetoStatement"/>
  <link:definitionLink xlink:role="http://www.repsol.com/role/EstadodecambiosenelpatrimonionetoStatement" xlink:type="extended" id="i786eb0dc215143cfbe0e84195e99688b_EstadodecambiosenelpatrimonionetoStatement">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_StatementOfChangesInEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_1653bd1f-9607-4916-b9b2-20100234deb3" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_Equity_1653bd1f-9607-4916-b9b2-20100234deb3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_f7b168ce-20f2-4892-8bde-5ecb39d4f73f" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_ComprehensiveIncome_f7b168ce-20f2-4892-8bde-5ecb39d4f73f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_AmpliacionReduccionDeCapital_749e9109-fa9e-433c-9dcc-5cef60915470" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_AmpliacionReduccionDeCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_repsol_AmpliacionReduccionDeCapital_749e9109-fa9e-433c-9dcc-5cef60915470" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaid_ed905e19-689a-4043-91b7-9e3a7f371b3c" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_DividendsPaid_ed905e19-689a-4043-91b7-9e3a7f371b3c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions_89abfae0-5466-42b3-85a8-6d94216dfde5" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions_89abfae0-5466-42b3-85a8-6d94216dfde5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughDisposalOfSubsidiary_d900ef08-4bdd-4835-b30e-e3f15065cfd5" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughDisposalOfSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughDisposalOfSubsidiary_d900ef08-4bdd-4835-b30e-e3f15065cfd5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners_4887f9e0-e55f-4e62-abad-406f80c9d02b" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners_4887f9e0-e55f-4e62-abad-406f80c9d02b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_TransferenciasEntrePartidasDelPatrimonioNeto_e445b175-970a-4f49-be23-e846acdc7b47" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_TransferenciasEntrePartidasDelPatrimonioNeto"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_repsol_TransferenciasEntrePartidasDelPatrimonioNeto_e445b175-970a-4f49-be23-e846acdc7b47" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_ObligacionesPerpetuasSubordinadas_09a47754-0fbb-4076-9c83-648d5df4737b" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_ObligacionesPerpetuasSubordinadas"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_repsol_ObligacionesPerpetuasSubordinadas_09a47754-0fbb-4076-9c83-648d5df4737b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity_10c770c1-d1f9-446e-a536-63b711ada3e7" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity_10c770c1-d1f9-446e-a536-63b711ada3e7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityTable_18b9b507-3b0d-47bd-afef-a771bccb802f" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_StatementOfChangesInEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_34ea3a3f-7223-479f-84e0-4ac5c3a564be" xlink:to="loc_ifrs-full_StatementOfChangesInEquityTable_18b9b507-3b0d-47bd-afef-a771bccb802f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="scenario"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis_26d65ae2-ce57-48db-9581-0e1a1e3d2e3c" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable_18b9b507-3b0d-47bd-afef-a771bccb802f" xlink:to="loc_ifrs-full_ComponentsOfEquityAxis_26d65ae2-ce57-48db-9581-0e1a1e3d2e3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_26d65ae2-ce57-48db-9581-0e1a1e3d2e3c" xlink:to="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssuedCapitalMember_ccdd43aa-0e4f-42e4-920f-0a2a9175845a" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IssuedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_ifrs-full_IssuedCapitalMember_ccdd43aa-0e4f-42e4-920f-0a2a9175845a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PrimaDeEmisionYReservasMember_be1699bc-4626-47e0-9882-8103d524dcf7" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PrimaDeEmisionYReservasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_repsol_PrimaDeEmisionYReservasMember_be1699bc-4626-47e0-9882-8103d524dcf7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TreasurySharesMember_feb2c62a-29dc-4602-a695-5675740629ed" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_TreasurySharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_ifrs-full_TreasurySharesMember_feb2c62a-29dc-4602-a695-5675740629ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_ResultadoDelEjercicioMiembroMember_95bd6dff-fc50-45ce-89e7-e99ce3cbe957" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_ResultadoDelEjercicioMiembroMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_repsol_ResultadoDelEjercicioMiembroMember_95bd6dff-fc50-45ce-89e7-e99ce3cbe957" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherEquitySecuritiesMember_4b8b7dec-222e-4ee5-9069-ec8d473da0a7" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_ifrs-full_OtherEquitySecuritiesMember_4b8b7dec-222e-4ee5-9069-ec8d473da0a7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_bd25b45d-526b-46ca-9eb5-34ac7de750ab" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_bd25b45d-526b-46ca-9eb5-34ac7de750ab" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterestsMember_fc3d03e7-6544-418e-ab60-73d5888f01da" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncontrollingInterestsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_a3bbf4e3-f13b-4dcd-a57c-2e45e0a8a3b3" xlink:to="loc_ifrs-full_NoncontrollingInterestsMember_fc3d03e7-6544-418e-ab60-73d5888f01da" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.esma.europa.eu/xbrl/role/cor/esef_role-999999" xlink:type="simple" xlink:href="http://www.esma.europa.eu/taxonomy/2021-03-24/esef_cor.xsd#esef_role-999999"/>
  <link:definitionLink xlink:role="http://www.esma.europa.eu/xbrl/role/cor/esef_role-999999" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:href="http://www.esma.europa.eu/taxonomy/2021-03-24/esef_cor.xsd#esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IntangibleAssetsAndGoodwill_81e2d8c2-45f0-4f7c-9d2b-db82df983bb2NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IntangibleAssetsAndGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IntangibleAssetsAndGoodwill_81e2d8c2-45f0-4f7c-9d2b-db82df983bb2NotDimensionallyQualified" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipment_ae102633-a60d-474d-9cb5-40b7544dde6eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PropertyPlantAndEquipment_ae102633-a60d-474d-9cb5-40b7544dde6eNotDimensionallyQualified" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_72e71cbd-986d-44ae-b4df-dabf7ce5d278NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_InvestmentAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_InvestmentAccountedForUsingEquityMethod_72e71cbd-986d-44ae-b4df-dabf7ce5d278NotDimensionallyQualified" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentFinancialAssets_659e3faf-dd74-4d04-a3f9-7d2882c115ddNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentFinancialAssets_659e3faf-dd74-4d04-a3f9-7d2882c115ddNotDimensionallyQualified" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxAssets_09bd488c-bcae-4c5e-bac8-cc1de40ebf5fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DeferredTaxAssets_09bd488c-bcae-4c5e-bac8-cc1de40ebf5fNotDimensionallyQualified" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherNoncurrentNonfinancialAssets_59492a08-b109-42b0-b12e-5e1d70f26c96NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherNoncurrentNonfinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherNoncurrentNonfinancialAssets_59492a08-b109-42b0-b12e-5e1d70f26c96NotDimensionallyQualified" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_eea969d8-79de-4b53-9fa7-ecd9f89ba763NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentAssets_eea969d8-79de-4b53-9fa7-ecd9f89ba763NotDimensionallyQualified" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_8134691e-46dd-4ff6-ab52-03b93cbc4ca2NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners_8134691e-46dd-4ff6-ab52-03b93cbc4ca2NotDimensionallyQualified" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Inventories_f9e05157-1b51-49fd-8152-9daa30564060NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Inventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Inventories_f9e05157-1b51-49fd-8152-9daa30564060NotDimensionallyQualified" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherCurrentReceivables_36addcb7-2756-4cc3-ae35-eb85124d86a6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_TradeAndOtherCurrentReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_TradeAndOtherCurrentReceivables_36addcb7-2756-4cc3-ae35-eb85124d86a6NotDimensionallyQualified" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCurrentAssets_a24405fa-2b5f-4ca1-935b-ffbf77a4226fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherCurrentAssets_a24405fa-2b5f-4ca1-935b-ffbf77a4226fNotDimensionallyQualified" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCurrentFinancialAssets_1dc159b6-9044-4c55-abc3-04248a8826b5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherCurrentFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherCurrentFinancialAssets_1dc159b6-9044-4c55-abc3-04248a8826b5NotDimensionallyQualified" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_08988d94-9129-4d01-b0d4-59296419a242NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashAndCashEquivalents_08988d94-9129-4d01-b0d4-59296419a242NotDimensionallyQualified" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets_8cc18c2f-b5ab-4cbe-9d6e-9b7006e392f3NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentAssets_8cc18c2f-b5ab-4cbe-9d6e-9b7006e392f3NotDimensionallyQualified" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Assets_d3fb6e89-0afa-43ff-9035-809a38a730d2NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Assets_d3fb6e89-0afa-43ff-9035-809a38a730d2NotDimensionallyQualified" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_FondosPropios_6fd98add-edde-46d4-b44d-174f71fc8444NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_FondosPropios"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_FondosPropios_6fd98add-edde-46d4-b44d-174f71fc8444NotDimensionallyQualified" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedOtherComprehensiveIncome_1795b0b6-ac50-4b00-88de-b4eff42d810fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_AccumulatedOtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_AccumulatedOtherComprehensiveIncome_1795b0b6-ac50-4b00-88de-b4eff42d810fNotDimensionallyQualified" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterests_f949b6b4-ec75-4a05-97f9-bd5b87ea6be6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncontrollingInterests_f949b6b4-ec75-4a05-97f9-bd5b87ea6be6NotDimensionallyQualified" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_0d1f58e1-224f-491c-a19e-dcf157a48cb9NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Equity_0d1f58e1-224f-491c-a19e-dcf157a48cb9NotDimensionallyQualified" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentProvisions_4f4ba15e-5974-46c8-bbcb-344c75975a96NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentProvisions_4f4ba15e-5974-46c8-bbcb-344c75975a96NotDimensionallyQualified" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentFinancialLiabilities_ea54a015-afe0-463b-9a04-9734d9809197NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentFinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentFinancialLiabilities_ea54a015-afe0-463b-9a04-9734d9809197NotDimensionallyQualified" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxLiabilities_d7d025b5-95bf-45c9-941f-25efb50bbbd8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DeferredTaxLiabilities_d7d025b5-95bf-45c9-941f-25efb50bbbd8NotDimensionallyQualified" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherNoncurrentLiabilities_6f076e37-33f9-48cd-99ce-eea8c1c21c8dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherNoncurrentLiabilities_6f076e37-33f9-48cd-99ce-eea8c1c21c8dNotDimensionallyQualified" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities_9423ef40-efc7-4e55-8405-000a5a1fc05dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NoncurrentLiabilities_9423ef40-efc7-4e55-8405-000a5a1fc05dNotDimensionallyQualified" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_519b7635-ab2b-4b77-a25d-7ef740966c6bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale_519b7635-ab2b-4b77-a25d-7ef740966c6bNotDimensionallyQualified" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentProvisions_011e9d38-8779-4533-8617-aa00b776c43cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CurrentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentProvisions_011e9d38-8779-4533-8617-aa00b776c43cNotDimensionallyQualified" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentFinancialLiabilities_04cc260f-a75f-43d5-a8bd-42ee9179d9a8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CurrentFinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentFinancialLiabilities_04cc260f-a75f-43d5-a8bd-42ee9179d9a8NotDimensionallyQualified" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherCurrentPayables_1ddd592c-b65d-4585-8cd9-96a8b9a72ae0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_TradeAndOtherCurrentPayables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_TradeAndOtherCurrentPayables_1ddd592c-b65d-4585-8cd9-96a8b9a72ae0NotDimensionallyQualified" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_a0ee7075-0d6e-42a0-af21-7f6f86dc8c6aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CurrentLiabilities_a0ee7075-0d6e-42a0-af21-7f6f86dc8c6aNotDimensionallyQualified" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAndLiabilities_ab9221e8-88e8-43e3-8f18-cb1645a95d56NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_EquityAndLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EquityAndLiabilities_ab9221e8-88e8-43e3-8f18-cb1645a95d56NotDimensionallyQualified" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RevenueFromSaleOfGoods_48baa8aa-c2d7-4a38-bbd0-b2682d50deecNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RevenueFromSaleOfGoods"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RevenueFromSaleOfGoods_48baa8aa-c2d7-4a38-bbd0-b2682d50deecNotDimensionallyQualified" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RevenueFromRenderingOfServices_883db389-ac58-4194-a1f0-e86bd33b27e3NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RevenueFromRenderingOfServices"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RevenueFromRenderingOfServices_883db389-ac58-4194-a1f0-e86bd33b27e3NotDimensionallyQualified" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ChangesInInventoriesOfFinishedGoodsAndWorkInProgress_2c2e11a4-7518-440c-8ec6-3f148ce7eedaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ChangesInInventoriesOfFinishedGoodsAndWorkInProgress"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ChangesInInventoriesOfFinishedGoodsAndWorkInProgress_2c2e11a4-7518-440c-8ec6-3f148ce7eedaNotDimensionallyQualified" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RawMaterialsAndConsumablesUsed_183f813f-a62e-408b-a39a-81c9a6262639NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RawMaterialsAndConsumablesUsed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_RawMaterialsAndConsumablesUsed_183f813f-a62e-408b-a39a-81c9a6262639NotDimensionallyQualified" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DepreciationAndAmortisationExpense_f4698ac5-0d8b-4989-87e4-128acfdafd74NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DepreciationAndAmortisationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DepreciationAndAmortisationExpense_f4698ac5-0d8b-4989-87e4-128acfdafd74NotDimensionallyQualified" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss_e5e10576-7f25-4f1a-9c94-11e07390272dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss_e5e10576-7f25-4f1a-9c94-11e07390272dNotDimensionallyQualified" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EmployeeBenefitsExpense_915ae8c4-b77b-451d-b0c1-7b65fadc9596NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_EmployeeBenefitsExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EmployeeBenefitsExpense_915ae8c4-b77b-451d-b0c1-7b65fadc9596NotDimensionallyQualified" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TransportationExpense_2049335e-893d-4ce5-abf6-022d1815f3f1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_TransportationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_TransportationExpense_2049335e-893d-4ce5-abf6-022d1815f3f1NotDimensionallyQualified" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_Suministros_fd579d7b-c6cf-4f1e-8ef5-5e5fdaa9bae2NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_Suministros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_Suministros_fd579d7b-c6cf-4f1e-8ef5-5e5fdaa9bae2NotDimensionallyQualified" xlink:type="arc" order="38"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets_88f422ea-50ac-402f-b200-752070c97b8aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets_88f422ea-50ac-402f-b200-752070c97b8aNotDimensionallyQualified" xlink:type="arc" order="39"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherOperatingIncomeExpense_87891450-c5ff-497f-86c7-199f1461101bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherOperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherOperatingIncomeExpense_87891450-c5ff-497f-86c7-199f1461101bNotDimensionallyQualified" xlink:type="arc" order="40"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromOperatingActivities_b96f95a2-6d4f-4e02-a939-a737c8628358NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProfitLossFromOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossFromOperatingActivities_b96f95a2-6d4f-4e02-a939-a737c8628358NotDimensionallyQualified" xlink:type="arc" order="41"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRevenueExpense_58df1072-24bb-4a55-af6f-7c85a74f5624NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_InterestRevenueExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_InterestRevenueExpense_58df1072-24bb-4a55-af6f-7c85a74f5624NotDimensionallyQualified" xlink:type="arc" order="42"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnChangeInFairValueOfDerivatives_0c2e4a60-6c67-4b84-9455-0f6c3e0d5078NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_GainsLossesOnChangeInFairValueOfDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnChangeInFairValueOfDerivatives_0c2e4a60-6c67-4b84-9455-0f6c3e0d5078NotDimensionallyQualified" xlink:type="arc" order="43"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss_cb785ccb-a45e-4360-adf8-9b20b2815b38NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss_cb785ccb-a45e-4360-adf8-9b20b2815b38NotDimensionallyQualified" xlink:type="arc" order="44"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ImpairmentLossOnFinancialAssets_f1a809af-73b0-40fc-98e0-5013537521a1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ImpairmentLossOnFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ImpairmentLossOnFinancialAssets_f1a809af-73b0-40fc-98e0-5013537521a1NotDimensionallyQualified" xlink:type="arc" order="45"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherFinanceIncomeCost_6a62276b-f5f6-40b2-a766-69d1528b7802NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherFinanceIncomeCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherFinanceIncomeCost_6a62276b-f5f6-40b2-a766-69d1528b7802NotDimensionallyQualified" xlink:type="arc" order="46"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncomeCost_4e9c25d1-6c54-4873-92c7-37a37de9750bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_FinanceIncomeCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_FinanceIncomeCost_4e9c25d1-6c54-4873-92c7-37a37de9750bNotDimensionallyQualified" xlink:type="arc" order="47"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_51a33c5e-ee10-4b3f-aa32-bb76f0c2249eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod_51a33c5e-ee10-4b3f-aa32-bb76f0c2249eNotDimensionallyQualified" xlink:type="arc" order="48"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossBeforeTax_6a8878a6-816d-49d3-afbe-680bcc7e13cfNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProfitLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossBeforeTax_6a8878a6-816d-49d3-afbe-680bcc7e13cfNotDimensionallyQualified" xlink:type="arc" order="49"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_41481e88-1953-4118-aa6e-6edbeddf2be8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_41481e88-1953-4118-aa6e-6edbeddf2be8NotDimensionallyQualified" xlink:type="arc" order="50"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_b57a1597-a4af-4752-80a9-e59ef0dd6f92NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLoss_b57a1597-a4af-4752-80a9-e59ef0dd6f92NotDimensionallyQualified" xlink:type="arc" order="51"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_2433b6a0-14fb-4f36-ac74-7292c3076e08NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProfitLossAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossAttributableToNoncontrollingInterests_2433b6a0-14fb-4f36-ac74-7292c3076e08NotDimensionallyQualified" xlink:type="arc" order="52"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_860d850f-7eb9-410b-bd74-2f380a040e2dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProfitLossAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProfitLossAttributableToOwnersOfParent_860d850f-7eb9-410b-bd74-2f380a040e2dNotDimensionallyQualified" xlink:type="arc" order="53"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BasicEarningsLossPerShare_51644a2d-76b5-45b8-aa0c-cef6e7139632NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_BasicEarningsLossPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_BasicEarningsLossPerShare_51644a2d-76b5-45b8-aa0c-cef6e7139632NotDimensionallyQualified" xlink:type="arc" order="54"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DilutedEarningsLossPerShare_34188f82-c66b-4c70-9919-80f70787f34dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DilutedEarningsLossPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DilutedEarningsLossPerShare_34188f82-c66b-4c70-9919-80f70787f34dNotDimensionallyQualified" xlink:type="arc" order="55"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_08cdc664-6692-4927-9413-363cd6c727e5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans_08cdc664-6692-4927-9413-363cd6c727e5NotDimensionallyQualified" xlink:type="arc" order="56"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax_2bd89397-7a1f-4ae7-929b-b8d2755e5a55NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax_2bd89397-7a1f-4ae7-929b-b8d2755e5a55NotDimensionallyQualified" xlink:type="arc" order="57"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesFromInvestmentsInEquityInstruments_d5a36dd8-10f6-471c-b68d-8573142d55f0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesFromInvestmentsInEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesFromInvestmentsInEquityInstruments_d5a36dd8-10f6-471c-b68d-8573142d55f0NotDimensionallyQualified" xlink:type="arc" order="58"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss_309ee1af-c9da-4580-b269-76241d932a61NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss_309ee1af-c9da-4580-b269-76241d932a61NotDimensionallyQualified" xlink:type="arc" order="59"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_64818549-9762-4356-ace3-0be55f92c409NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax_64818549-9762-4356-ace3-0be55f92c409NotDimensionallyQualified" xlink:type="arc" order="60"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxCashFlowHedges_026a96b7-2175-49ee-a84e-1d78580d1ba1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxCashFlowHedges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxCashFlowHedges_026a96b7-2175-49ee-a84e-1d78580d1ba1NotDimensionallyQualified" xlink:type="arc" order="61"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_12bdfdc6-963d-41a2-8998-50c6971d3eadNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax_12bdfdc6-963d-41a2-8998-50c6971d3eadNotDimensionallyQualified" xlink:type="arc" order="62"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_b1d7ab0c-298f-49fb-b192-79124df23f9aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax_b1d7ab0c-298f-49fb-b192-79124df23f9aNotDimensionallyQualified" xlink:type="arc" order="63"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation_9d5bc16a-525d-4523-a324-7aed71a57e88NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation_9d5bc16a-525d-4523-a324-7aed71a57e88NotDimensionallyQualified" xlink:type="arc" order="64"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax_1ba7617d-9896-4726-bc0d-da856917e5cfNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax_1ba7617d-9896-4726-bc0d-da856917e5cfNotDimensionallyQualified" xlink:type="arc" order="65"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationBeforeTax_0edcf392-75ce-4421-932f-3d65ae34096cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationBeforeTax_0edcf392-75ce-4421-932f-3d65ae34096cNotDimensionallyQualified" xlink:type="arc" order="66"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax_7b9d33b9-de3e-437c-b178-3df4698d2b2cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax_7b9d33b9-de3e-437c-b178-3df4698d2b2cNotDimensionallyQualified" xlink:type="arc" order="67"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_GananciasPerdidasPorValoracion_a8392790-9c7a-4835-99b2-29119647192cNotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_GananciasPerdidasPorValoracion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_GananciasPerdidasPorValoracion_a8392790-9c7a-4835-99b2-29119647192cNotDimensionallyQualified" xlink:type="arc" order="68"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias_f192426a-0b29-4ede-aab5-182c05994ee1NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias_f192426a-0b29-4ede-aab5-182c05994ee1NotDimensionallyQualified" xlink:type="arc" order="69"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss_e1fb0537-8037-4c3b-b4e9-71235a77f7e8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss_e1fb0537-8037-4c3b-b4e9-71235a77f7e8NotDimensionallyQualified" xlink:type="arc" order="70"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_8b551195-cefe-456b-94dc-1807008b89efNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax_8b551195-cefe-456b-94dc-1807008b89efNotDimensionallyQualified" xlink:type="arc" order="71"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome_45bc1bba-a49f-4dc4-9d30-ba0830378efaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherComprehensiveIncome_45bc1bba-a49f-4dc4-9d30-ba0830378efaNotDimensionallyQualified" xlink:type="arc" order="72"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncome_9f57efbc-0ae2-4ef9-ac13-1c004a498a2eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncome_9f57efbc-0ae2-4ef9-ac13-1c004a498a2eNotDimensionallyQualified" xlink:type="arc" order="73"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_6bfd2f87-b957-4ea0-b3a4-fd75bcbaabf1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent_6bfd2f87-b957-4ea0-b3a4-fd75bcbaabf1NotDimensionallyQualified" xlink:type="arc" order="74"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_df68bbd5-6712-45f0-b810-8c44e1643e34NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests_df68bbd5-6712-45f0-b810-8c44e1643e34NotDimensionallyQualified" xlink:type="arc" order="75"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdjustmentsForReconcileProfitLoss_a2b548b8-3532-47dc-9ace-22ae297c8feaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_AdjustmentsForReconcileProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_AdjustmentsForReconcileProfitLoss_a2b548b8-3532-47dc-9ace-22ae297c8feaNotDimensionallyQualified" xlink:type="arc" order="76"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdjustmentsForDepreciationAndAmortisationExpense_363a2495-6c45-469c-bc81-6aa19b2f3705NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_AdjustmentsForDepreciationAndAmortisationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_AdjustmentsForDepreciationAndAmortisationExpense_363a2495-6c45-469c-bc81-6aa19b2f3705NotDimensionallyQualified" xlink:type="arc" order="77"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherAdjustmentsToReconcileProfitLoss_98c939f9-c5f0-4392-8f79-0b4735115904NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherAdjustmentsToReconcileProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherAdjustmentsToReconcileProfitLoss_98c939f9-c5f0-4392-8f79-0b4735115904NotDimensionallyQualified" xlink:type="arc" order="78"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInWorkingCapital_bcdd727a-e5a6-4e94-a0f2-c1cefcae5093NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseInWorkingCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncreaseDecreaseInWorkingCapital_bcdd727a-e5a6-4e94-a0f2-c1cefcae5093NotDimensionallyQualified" xlink:type="arc" order="79"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_OtrosFlujosDeEfectivoDeLasActividadesDeExplotacion_2d310940-2274-41d8-9b19-612382727ce1NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_OtrosFlujosDeEfectivoDeLasActividadesDeExplotacion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_OtrosFlujosDeEfectivoDeLasActividadesDeExplotacion_2d310940-2274-41d8-9b19-612382727ce1NotDimensionallyQualified" xlink:type="arc" order="80"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsReceivedClassifiedAsOperatingActivities_647aafac-060a-4b69-81d1-da0731b1369fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendsReceivedClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DividendsReceivedClassifiedAsOperatingActivities_647aafac-060a-4b69-81d1-da0731b1369fNotDimensionallyQualified" xlink:type="arc" order="81"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxesPaidClassifiedAsOperatingActivities_9036aba6-481a-4002-a916-70c2824c5a90NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncomeTaxesPaidClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncomeTaxesPaidClassifiedAsOperatingActivities_9036aba6-481a-4002-a916-70c2824c5a90NotDimensionallyQualified" xlink:type="arc" order="82"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsOperatingActivities_6584b4bb-55c4-4d31-93a8-f000fd955416NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsOperatingActivities_6584b4bb-55c4-4d31-93a8-f000fd955416NotDimensionallyQualified" xlink:type="arc" order="83"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_7368388b-cf5b-4c44-90f2-641e2a27f07bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_7368388b-cf5b-4c44-90f2-641e2a27f07bNotDimensionallyQualified" xlink:type="arc" order="84"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagoPorInversiones_17578f2c-d08e-4e67-a5df-d25d2d838b78NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagoPorInversiones"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_PagoPorInversiones_17578f2c-d08e-4e67-a5df-d25d2d838b78NotDimensionallyQualified" xlink:type="arc" order="85"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_9b72c28e-fd0a-42ac-a922-94bd681e7e32NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_9b72c28e-fd0a-42ac-a922-94bd681e7e32NotDimensionallyQualified" xlink:type="arc" order="86"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets_973fca46-4aba-4a83-957e-81d3d88c02d8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PurchaseOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PurchaseOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets_973fca46-4aba-4a83-957e-81d3d88c02d8NotDimensionallyQualified" xlink:type="arc" order="87"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfFinancialInstrumentsClassifiedAsInvestingActivities_1eddcb7a-75a1-44ac-8fd0-61ed1bb2d10bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PurchaseOfFinancialInstrumentsClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PurchaseOfFinancialInstrumentsClassifiedAsInvestingActivities_1eddcb7a-75a1-44ac-8fd0-61ed1bb2d10bNotDimensionallyQualified" xlink:type="arc" order="88"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobroPorDesinversiones_38771adf-9096-4e88-a1ac-dd856f0f6075NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobroPorDesinversiones"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobroPorDesinversiones_38771adf-9096-4e88-a1ac-dd856f0f6075NotDimensionallyQualified" xlink:type="arc" order="89"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_f4be827c-56d1-43fc-9158-f46071e909a3NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_f4be827c-56d1-43fc-9158-f46071e909a3NotDimensionallyQualified" xlink:type="arc" order="90"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets_7b379243-c644-4800-8db9-4a0ea3306fcaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets_7b379243-c644-4800-8db9-4a0ea3306fcaNotDimensionallyQualified" xlink:type="arc" order="91"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSalesOrMaturityOfFinancialInstrumentsClassifiedAsInvestingActivities_4dc680ff-3799-42b3-af79-ef380d2b20ecNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromSalesOrMaturityOfFinancialInstrumentsClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromSalesOrMaturityOfFinancialInstrumentsClassifiedAsInvestingActivities_4dc680ff-3799-42b3-af79-ef380d2b20ecNotDimensionallyQualified" xlink:type="arc" order="92"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities_ec7b70d5-88e8-4414-8096-104648e4fc4dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsInvestingActivities_ec7b70d5-88e8-4414-8096-104648e4fc4dNotDimensionallyQualified" xlink:type="arc" order="93"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_0389821f-febb-42b8-b212-98fb6b55e47eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_0389821f-febb-42b8-b212-98fb6b55e47eNotDimensionallyQualified" xlink:type="arc" order="94"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPagosPorInstrumentosDePatrimonio_f78a230c-7006-41f0-b773-f59c2c874503NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPagosPorInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobrosPagosPorInstrumentosDePatrimonio_f78a230c-7006-41f0-b773-f59c2c874503NotDimensionallyQualified" xlink:type="arc" order="95"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_Emision_16e6746e-79bf-422a-8680-99ba6d62af5eNotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_Emision"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_Emision_16e6746e-79bf-422a-8680-99ba6d62af5eNotDimensionallyQualified" xlink:type="arc" order="96"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_DevolucionYAmortizacion_a9f6751e-0f32-4a56-b80d-cadf62915820NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_DevolucionYAmortizacion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_DevolucionYAmortizacion_a9f6751e-0f32-4a56-b80d-cadf62915820NotDimensionallyQualified" xlink:type="arc" order="97"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPorInstrumentosDePatrimonio_0c0631bf-2706-4d76-9bf7-f9ec878e649dNotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPorInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobrosPorInstrumentosDePatrimonio_0c0631bf-2706-4d76-9bf7-f9ec878e649dNotDimensionallyQualified" xlink:type="arc" order="98"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorInstrumentosDePatrimonio_47387a86-9faa-451f-8629-d1b2ff14a344NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_PagosPorInstrumentosDePatrimonio_47387a86-9faa-451f-8629-d1b2ff14a344NotDimensionallyQualified" xlink:type="arc" order="99"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl_d8c04142-113e-4390-b22a-e32ff884ec92NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl_d8c04142-113e-4390-b22a-e32ff884ec92NotDimensionallyQualified" xlink:type="arc" order="100"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries_162eab97-6cb1-4906-8e06-dc4451694c20NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PaymentsFromChangesInOwnershipInterestsInSubsidiaries_162eab97-6cb1-4906-8e06-dc4451694c20NotDimensionallyQualified" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries_d2341842-0993-4628-83bb-94ebac9f773cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries_d2341842-0993-4628-83bb-94ebac9f773cNotDimensionallyQualified" xlink:type="arc" order="102"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPagosPorInstrumentosDePasivoFinanciero_fa188d22-5bda-4ed5-a11d-49c97fa83c14NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPagosPorInstrumentosDePasivoFinanciero"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobrosPagosPorInstrumentosDePasivoFinanciero_fa188d22-5bda-4ed5-a11d-49c97fa83c14NotDimensionallyQualified" xlink:type="arc" order="103"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPorLaEmisionDePasivosFinancieros_54e5d68e-f162-478f-8c92-6ef1e060edfcNotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPorLaEmisionDePasivosFinancieros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_CobrosPorLaEmisionDePasivosFinancieros_54e5d68e-f162-478f-8c92-6ef1e060edfcNotDimensionallyQualified" xlink:type="arc" order="104"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros_d3d5b58f-4061-45e4-9cc2-cdc681688f10NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros_d3d5b58f-4061-45e4-9cc2-cdc681688f10NotDimensionallyQualified" xlink:type="arc" order="105"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio_5e7d9f4f-b9c0-435d-8c90-a8a8de9bf053NotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio_5e7d9f4f-b9c0-435d-8c90-a8a8de9bf053NotDimensionallyQualified" xlink:type="arc" order="106"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_OtrosFlujosDeEfectivoDeActividadesDeFinanciacion_4db05c3f-6306-4cb3-85a8-f633154db74aNotDimensionallyQualified" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_OtrosFlujosDeEfectivoDeActividadesDeFinanciacion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_repsol_OtrosFlujosDeEfectivoDeActividadesDeFinanciacion_4db05c3f-6306-4cb3-85a8-f633154db74aNotDimensionallyQualified" xlink:type="arc" order="107"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestPaidClassifiedAsFinancingActivities_2fa48056-ff45-4638-af27-7a161da8a86fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_InterestPaidClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_InterestPaidClassifiedAsFinancingActivities_2fa48056-ff45-4638-af27-7a161da8a86fNotDimensionallyQualified" xlink:type="arc" order="108"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsFinancingActivities_261edcb3-7cef-4923-a2f2-9d4b8ba813cfNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_OtherInflowsOutflowsOfCashClassifiedAsFinancingActivities_261edcb3-7cef-4923-a2f2-9d4b8ba813cfNotDimensionallyQualified" xlink:type="arc" order="109"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_3fd73ef9-399d-4f74-b853-888b9233afbdNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_3fd73ef9-399d-4f74-b853-888b9233afbdNotDimensionallyQualified" xlink:type="arc" order="110"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_69ec0230-ffab-475f-a5c0-d9705e770436NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents_69ec0230-ffab-475f-a5c0-d9705e770436NotDimensionallyQualified" xlink:type="arc" order="111"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_bacb7c69-8cf4-45c4-a1df-c3839c5174d6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseInCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_IncreaseDecreaseInCashAndCashEquivalents_bacb7c69-8cf4-45c4-a1df-c3839c5174d6NotDimensionallyQualified" xlink:type="arc" order="112"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Cash_de843cee-4e4b-44d5-b2b6-25963eb2687bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Cash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_Cash_de843cee-4e4b-44d5-b2b6-25963eb2687bNotDimensionallyQualified" xlink:type="arc" order="113"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashEquivalents_8af5d5ce-b8b9-4c84-9296-25beda98ddcdNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CashEquivalents_8af5d5ce-b8b9-4c84-9296-25beda98ddcdNotDimensionallyQualified" xlink:type="arc" order="114"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfUltimateParentOfGroup_caf1a6b8-2b31-49e2-aead-214a1696d39aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NameOfUltimateParentOfGroup"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfUltimateParentOfGroup_caf1a6b8-2b31-49e2-aead-214a1696d39aNotDimensionallyQualified" xlink:type="arc" order="115"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfParentEntity_5b681a69-b7ae-4fa1-a7b9-c1594025adcdNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NameOfParentEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfParentEntity_5b681a69-b7ae-4fa1-a7b9-c1594025adcdNotDimensionallyQualified" xlink:type="arc" order="116"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LegalFormOfEntity_670859e5-2c43-455a-a3d0-1ec0eb0a132aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_LegalFormOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_LegalFormOfEntity_670859e5-2c43-455a-a3d0-1ec0eb0a132aNotDimensionallyQualified" xlink:type="arc" order="117"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification_582cd860-ed3f-417c-93ba-428af8193c87NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_NameOfReportingEntityOrOtherMeansOfIdentification_582cd860-ed3f-417c-93ba-428af8193c87NotDimensionallyQualified" xlink:type="arc" order="118"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNotesAndOtherExplanatoryInformationExplanatory_e84de34e-c4c2-45b5-beba-13d4057844a8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfNotesAndOtherExplanatoryInformationExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfNotesAndOtherExplanatoryInformationExplanatory_e84de34e-c4c2-45b5-beba-13d4057844a8NotDimensionallyQualified" xlink:type="arc" order="119"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory_0323a1d2-d2fc-42f0-8e0c-a58076a5c72bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory_0323a1d2-d2fc-42f0-8e0c-a58076a5c72bNotDimensionallyQualified" xlink:type="arc" order="120"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfAuthorisationOfFinancialStatementsExplanatory_b58bd26e-35a2-4916-8b2c-a69e5736f7a0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfAuthorisationOfFinancialStatementsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfAuthorisationOfFinancialStatementsExplanatory_b58bd26e-35a2-4916-8b2c-a69e5736f7a0NotDimensionallyQualified" xlink:type="arc" order="121"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfIFRSCompliance_1c756781-5650-4c8e-b907-2881ad8004c1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_StatementOfIFRSCompliance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_StatementOfIFRSCompliance_1c756781-5650-4c8e-b907-2881ad8004c1NotDimensionallyQualified" xlink:type="arc" order="122"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfBasisOfConsolidationExplanatory_36e6f76b-ba9c-4ff0-a82a-8e050fcfd36fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfBasisOfConsolidationExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfBasisOfConsolidationExplanatory_36e6f76b-ba9c-4ff0-a82a-8e050fcfd36fNotDimensionallyQualified" xlink:type="arc" order="123"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities_0a874dc1-afc3-477f-bc30-5a4b3db9dbceNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities_0a874dc1-afc3-477f-bc30-5a4b3db9dbceNotDimensionallyQualified" xlink:type="arc" order="124"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CountryOfIncorporation_9e74bb5c-a419-4e1f-baa3-d5001686c7c6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CountryOfIncorporation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_CountryOfIncorporation_9e74bb5c-a419-4e1f-baa3-d5001686c7c6NotDimensionallyQualified" xlink:type="arc" order="125"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DomicileOfEntity_34251237-c35f-48db-97d7-22128457ab95NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DomicileOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DomicileOfEntity_34251237-c35f-48db-97d7-22128457ab95NotDimensionallyQualified" xlink:type="arc" order="126"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity_73564d14-ecb1-4daf-956d-2d2f3623c079NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_AddressOfRegisteredOfficeOfEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_AddressOfRegisteredOfficeOfEntity_73564d14-ecb1-4daf-956d-2d2f3623c079NotDimensionallyQualified" xlink:type="arc" order="127"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PrincipalPlaceOfBusiness_be979639-0d86-481e-b4f6-c3d5b23d5091NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PrincipalPlaceOfBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_PrincipalPlaceOfBusiness_be979639-0d86-481e-b4f6-c3d5b23d5091NotDimensionallyQualified" xlink:type="arc" order="128"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfEntitysReportableSegmentsExplanatory_f7086277-de6c-464a-9e19-d1532a06071aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfEntitysReportableSegmentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfEntitysReportableSegmentsExplanatory_f7086277-de6c-464a-9e19-d1532a06071aNotDimensionallyQualified" xlink:type="arc" order="129"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfBasisOfPreparationOfFinancialStatementsExplanatory_196eb340-8d36-46b6-b757-101eac0558c3NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfBasisOfPreparationOfFinancialStatementsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfBasisOfPreparationOfFinancialStatementsExplanatory_196eb340-8d36-46b6-b757-101eac0558c3NotDimensionallyQualified" xlink:type="arc" order="130"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations_f374e4e3-47a6-4752-ad62-26d4c59ed6e7NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations_f374e4e3-47a6-4752-ad62-26d4c59ed6e7NotDimensionallyQualified" xlink:type="arc" order="131"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory_70aaeefd-a94c-4bc3-8ed7-94259921e62eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfSummaryOfSignificantAccountingPoliciesExplanatory_70aaeefd-a94c-4bc3-8ed7-94259921e62eNotDimensionallyQualified" xlink:type="arc" order="132"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForSubsidiariesExplanatory_1b65b988-7740-4336-bf8f-ef0923f901a8NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForSubsidiariesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForSubsidiariesExplanatory_1b65b988-7740-4336-bf8f-ef0923f901a8NotDimensionallyQualified" xlink:type="arc" order="133"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory_5dcafa8b-bd4d-4ee0-be05-faffc818417bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory_5dcafa8b-bd4d-4ee0-be05-faffc818417bNotDimensionallyQualified" xlink:type="arc" order="134"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentsInJointVentures_cee12d16-cc5d-4b54-8a5d-f6abae46c5fbNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForInvestmentsInJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentsInJointVentures_cee12d16-cc5d-4b54-8a5d-f6abae46c5fbNotDimensionallyQualified" xlink:type="arc" order="135"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory_132f2089-dcdd-4b4c-ba5f-80188dfd5544NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory_132f2089-dcdd-4b4c-ba5f-80188dfd5544NotDimensionallyQualified" xlink:type="arc" order="136"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory_143fc92e-0305-46d1-98e9-d6c54812a6b1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory_143fc92e-0305-46d1-98e9-d6c54812a6b1NotDimensionallyQualified" xlink:type="arc" order="137"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForFunctionalCurrencyExplanatory_931f22cf-771a-4dd9-a7c7-51635df966f7NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForFunctionalCurrencyExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForFunctionalCurrencyExplanatory_931f22cf-771a-4dd9-a7c7-51635df966f7NotDimensionallyQualified" xlink:type="arc" order="138"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfAccountingJudgementsAndEstimatesExplanatory_92201650-0bcf-4d9c-95b8-fa46a4d0315aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfAccountingJudgementsAndEstimatesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfAccountingJudgementsAndEstimatesExplanatory_92201650-0bcf-4d9c-95b8-fa46a4d0315aNotDimensionallyQualified" xlink:type="arc" order="139"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory_12ea8f97-e526-4dda-826a-e53d0ccef239NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory_12ea8f97-e526-4dda-826a-e53d0ccef239NotDimensionallyQualified" xlink:type="arc" order="140"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForOilAndGasAssetsExplanatory_3261592b-6501-42a2-a86b-e7c8afb906d0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForOilAndGasAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForOilAndGasAssetsExplanatory_3261592b-6501-42a2-a86b-e7c8afb906d0NotDimensionallyQualified" xlink:type="arc" order="141"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociates_373eed00-0c0c-4231-8ef9-6b9e59f54882NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociates"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociates_373eed00-0c0c-4231-8ef9-6b9e59f54882NotDimensionallyQualified" xlink:type="arc" order="142"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForSegmentReportingExplanatory_3296e096-af9d-4d38-b481-091819434f62NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForSegmentReportingExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForSegmentReportingExplanatory_3296e096-af9d-4d38-b481-091819434f62NotDimensionallyQualified" xlink:type="arc" order="143"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory_3ab4e925-88cb-442d-a11d-1533d722afc2NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory_3ab4e925-88cb-442d-a11d-1533d722afc2NotDimensionallyQualified" xlink:type="arc" order="144"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfIssuedCapitalExplanatory_e7129b8c-8a81-47e2-909f-22f00aa90a12NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfIssuedCapitalExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfIssuedCapitalExplanatory_e7129b8c-8a81-47e2-909f-22f00aa90a12NotDimensionallyQualified" xlink:type="arc" order="145"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDividendsExplanatory_7b2b9e8d-69c8-4f9d-828e-e427fb47b0f5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfDividendsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfDividendsExplanatory_7b2b9e8d-69c8-4f9d-828e-e427fb47b0f5NotDimensionallyQualified" xlink:type="arc" order="146"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory_b91e3569-a360-4b54-a374-554d17a9afaeNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory_b91e3569-a360-4b54-a374-554d17a9afaeNotDimensionallyQualified" xlink:type="arc" order="147"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfReservesAndOtherEquityInterestExplanatory_7af37170-8260-4830-a6e5-78504e4a4426NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfReservesAndOtherEquityInterestExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfReservesAndOtherEquityInterestExplanatory_7af37170-8260-4830-a6e5-78504e4a4426NotDimensionallyQualified" xlink:type="arc" order="148"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNoncontrollingInterestsExplanatory_7f6bc1bf-62d3-4f4b-9016-a5fb7f1d54e5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfNoncontrollingInterestsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfNoncontrollingInterestsExplanatory_7f6bc1bf-62d3-4f4b-9016-a5fb7f1d54e5NotDimensionallyQualified" xlink:type="arc" order="149"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTreasurySharesExplanatory_add0a5dd-0c34-4fa8-be32-3e6c87761e13NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTreasurySharesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTreasurySharesExplanatory_add0a5dd-0c34-4fa8-be32-3e6c87761e13NotDimensionallyQualified" xlink:type="arc" order="150"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsRecognisedAsDistributionsToOwnersPerShare_ef479573-311e-4990-894c-eb0d9a409a00NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendsRecognisedAsDistributionsToOwnersPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DividendsRecognisedAsDistributionsToOwnersPerShare_ef479573-311e-4990-894c-eb0d9a409a00NotDimensionallyQualified" xlink:type="arc" order="151"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwnersPerShare_03eb8670-239b-4e09-9c64-241227d966ffNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwnersPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwnersPerShare_03eb8670-239b-4e09-9c64-241227d966ffNotDimensionallyQualified" xlink:type="arc" order="152"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSubordinatedLiabilitiesExplanatory_487c657e-464c-4748-ae1f-d70fcba01a93NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfSubordinatedLiabilitiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfSubordinatedLiabilitiesExplanatory_487c657e-464c-4748-ae1f-d70fcba01a93NotDimensionallyQualified" xlink:type="arc" order="153"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsExplanatory_0afc726d-6b75-471e-8815-2b8510434d5dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinancialInstrumentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinancialInstrumentsExplanatory_0afc726d-6b75-471e-8815-2b8510434d5dNotDimensionallyQualified" xlink:type="arc" order="154"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfBorrowingsExplanatory_5965f10c-f6b3-4ebc-af9c-973d4045d96eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfBorrowingsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfBorrowingsExplanatory_5965f10c-f6b3-4ebc-af9c-973d4045d96eNotDimensionallyQualified" xlink:type="arc" order="155"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory_857e033a-1b71-494b-9a0b-0c470b51504eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory_857e033a-1b71-494b-9a0b-0c470b51504eNotDimensionallyQualified" xlink:type="arc" order="156"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDebtSecuritiesExplanatory_82d37485-0959-40af-a216-b01890ea5436NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfDebtSecuritiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfDebtSecuritiesExplanatory_82d37485-0959-40af-a216-b01890ea5436NotDimensionallyQualified" xlink:type="arc" order="157"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfLeasesExplanatory_ef9e15ed-ac4a-421f-b92f-6312444d51caNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfLeasesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfLeasesExplanatory_ef9e15ed-ac4a-421f-b92f-6312444d51caNotDimensionallyQualified" xlink:type="arc" order="158"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFairValueMeasurementExplanatory_5d812469-bdb8-4c59-9fbb-ba69de660322NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFairValueMeasurementExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFairValueMeasurementExplanatory_5d812469-bdb8-4c59-9fbb-ba69de660322NotDimensionallyQualified" xlink:type="arc" order="159"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughProfitOrLossExplanatory_1440ffb8-bbf7-4387-b58f-e42013b361b9NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughProfitOrLossExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughProfitOrLossExplanatory_1440ffb8-bbf7-4387-b58f-e42013b361b9NotDimensionallyQualified" xlink:type="arc" order="160"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory_44b16b74-508b-453d-88dc-f23d0fe47d83NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory_44b16b74-508b-453d-88dc-f23d0fe47d83NotDimensionallyQualified" xlink:type="arc" order="161"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFairValueOfFinancialInstrumentsExplanatory_513a66df-c6b4-4f78-9a4b-2618df47e00cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFairValueOfFinancialInstrumentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFairValueOfFinancialInstrumentsExplanatory_513a66df-c6b4-4f78-9a4b-2618df47e00cNotDimensionallyQualified" xlink:type="arc" order="162"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDerivativeFinancialInstrumentsExplanatory_4999ae60-b6e7-4441-886a-9a4fde0860efNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfDerivativeFinancialInstrumentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfDerivativeFinancialInstrumentsExplanatory_4999ae60-b6e7-4441-886a-9a4fde0860efNotDimensionallyQualified" xlink:type="arc" order="163"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForHedgingExplanatory_493476a8-81ee-4b61-9a67-bc9a22b30e2dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForHedgingExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForHedgingExplanatory_493476a8-81ee-4b61-9a67-bc9a22b30e2dNotDimensionallyQualified" xlink:type="arc" order="164"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForDerivativeFinancialInstrumentsAndHedgingExplanatory_93c8fe58-4b2d-4427-b3d9-01abfdf27d5aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForDerivativeFinancialInstrumentsAndHedgingExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForDerivativeFinancialInstrumentsAndHedgingExplanatory_93c8fe58-4b2d-4427-b3d9-01abfdf27d5aNotDimensionallyQualified" xlink:type="arc" order="165"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialRiskManagementExplanatory_b7de3a9f-d647-41e5-a306-bb4e256ae4faNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinancialRiskManagementExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinancialRiskManagementExplanatory_b7de3a9f-d647-41e5-a306-bb4e256ae4faNotDimensionallyQualified" xlink:type="arc" order="166"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfMarketRiskExplanatory_5670b064-c0f8-4d42-a19f-0f99c88b5f7eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfMarketRiskExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfMarketRiskExplanatory_5670b064-c0f8-4d42-a19f-0f99c88b5f7eNotDimensionallyQualified" xlink:type="arc" order="167"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SensitivityAnalysisForEachTypeOfMarketRisk_5a3cf657-8a01-4edc-a603-e411473b4c9eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_SensitivityAnalysisForEachTypeOfMarketRisk"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_SensitivityAnalysisForEachTypeOfMarketRisk_5a3cf657-8a01-4edc-a603-e411473b4c9eNotDimensionallyQualified" xlink:type="arc" order="168"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfManagingLiquidityRisk_017ba4ed-f548-41fc-bcf9-61837bcf042aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfManagingLiquidityRisk"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfManagingLiquidityRisk_017ba4ed-f548-41fc-bcf9-61837bcf042aNotDimensionallyQualified" xlink:type="arc" order="169"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfLiquidityRiskExplanatory_10d948b3-adf2-4e3a-9109-4a5f58ffe531NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfLiquidityRiskExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfLiquidityRiskExplanatory_10d948b3-adf2-4e3a-9109-4a5f58ffe531NotDimensionallyQualified" xlink:type="arc" order="170"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfCreditRiskExplanatory_3098fbf2-b19d-4fa8-96bf-7efeae6f3f4eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfCreditRiskExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfCreditRiskExplanatory_3098fbf2-b19d-4fa8-96bf-7efeae6f3f4eNotDimensionallyQualified" xlink:type="arc" order="171"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfNonfinancialAssetsExplanatory_1ac2e12a-b5b4-4308-9084-d36e36e481f6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfNonfinancialAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfNonfinancialAssetsExplanatory_1ac2e12a-b5b4-4308-9084-d36e36e481f6NotDimensionallyQualified" xlink:type="arc" order="172"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfAllowanceForCreditLossesExplanatory_1c0250e5-ba6c-4d38-8000-545488f7c594NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfAllowanceForCreditLossesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfAllowanceForCreditLossesExplanatory_1c0250e5-ba6c-4d38-8000-545488f7c594NotDimensionallyQualified" xlink:type="arc" order="173"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTradeAndOtherReceivablesExplanatory_4008e9de-8413-4e75-b641-092d3494d04eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTradeAndOtherReceivablesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTradeAndOtherReceivablesExplanatory_4008e9de-8413-4e75-b641-092d3494d04eNotDimensionallyQualified" xlink:type="arc" order="174"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfImpairmentOfAssetsExplanatory_8b9953a5-afc1-40f8-b848-46fab4f6993fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfImpairmentOfAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfImpairmentOfAssetsExplanatory_8b9953a5-afc1-40f8-b848-46fab4f6993fNotDimensionallyQualified" xlink:type="arc" order="175"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDepreciationAndAmortisationExpenseExplanatory_357a51f3-2173-43e5-a387-ec17d7cd2076NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfDepreciationAndAmortisationExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfDepreciationAndAmortisationExpenseExplanatory_357a51f3-2173-43e5-a387-ec17d7cd2076NotDimensionallyQualified" xlink:type="arc" order="176"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfIntangibleAssetsAndGoodwillExplanatory_a6f0ad73-aba3-4a34-a6a2-62c6fc9590beNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfIntangibleAssetsAndGoodwillExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfIntangibleAssetsAndGoodwillExplanatory_a6f0ad73-aba3-4a34-a6a2-62c6fc9590beNotDimensionallyQualified" xlink:type="arc" order="177"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory_b1cf041c-003c-456f-b596-71aee176e84fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory_b1cf041c-003c-456f-b596-71aee176e84fNotDimensionallyQualified" xlink:type="arc" order="178"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGoodwillExplanatory_6d900c1a-9f15-4a74-9e4c-92e6297eb863NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfGoodwillExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfGoodwillExplanatory_6d900c1a-9f15-4a74-9e4c-92e6297eb863NotDimensionallyQualified" xlink:type="arc" order="179"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfIntangibleAssetsExplanatory_52fc4076-982f-401d-8916-a4f54489b1adNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfIntangibleAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfIntangibleAssetsExplanatory_52fc4076-982f-401d-8916-a4f54489b1adNotDimensionallyQualified" xlink:type="arc" order="180"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory_8b30754d-a04f-4ad1-adf7-881de460d4beNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory_8b30754d-a04f-4ad1-adf7-881de460d4beNotDimensionallyQualified" xlink:type="arc" order="181"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInterestsInJointArrangementsExplanatory_683b45a1-6812-49b0-b553-3d4d38f117a7NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInterestsInJointArrangementsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInterestsInJointArrangementsExplanatory_683b45a1-6812-49b0-b553-3d4d38f117a7NotDimensionallyQualified" xlink:type="arc" order="182"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesExplanatory_5f376334-5539-4e30-aeeb-69404ac48d41NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesExplanatory_5f376334-5539-4e30-aeeb-69404ac48d41NotDimensionallyQualified" xlink:type="arc" order="183"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory_3cbeeecc-e46e-4fba-bd5e-73b733a67041NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory_3cbeeecc-e46e-4fba-bd5e-73b733a67041NotDimensionallyQualified" xlink:type="arc" order="184"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherNoncurrentLiabilitiesExplanatory_6ace55b5-2c21-4f14-902f-0b85a9d45e03NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherNoncurrentLiabilitiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherNoncurrentLiabilitiesExplanatory_6ace55b5-2c21-4f14-902f-0b85a9d45e03NotDimensionallyQualified" xlink:type="arc" order="185"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherNoncurrentAssetsExplanatory_7c3f2a29-d48d-44ae-ba8f-76b213c5074fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherNoncurrentAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherNoncurrentAssetsExplanatory_7c3f2a29-d48d-44ae-ba8f-76b213c5074fNotDimensionallyQualified" xlink:type="arc" order="186"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherLiabilitiesExplanatory_1a8b3106-c2d9-40bb-b09d-a6b7703929c3NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherLiabilitiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherLiabilitiesExplanatory_1a8b3106-c2d9-40bb-b09d-a6b7703929c3NotDimensionallyQualified" xlink:type="arc" order="187"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherAssetsExplanatory_2301258a-53ce-4532-a02a-6e98aa7519b4NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherAssetsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherAssetsExplanatory_2301258a-53ce-4532-a02a-6e98aa7519b4NotDimensionallyQualified" xlink:type="arc" order="188"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForDecommissioningRestorationAndRehabilitationProvisionsExplanatory_c556541f-a26e-435d-89a5-f2887cb85f61NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForDecommissioningRestorationAndRehabilitationProvisionsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForDecommissioningRestorationAndRehabilitationProvisionsExplanatory_c556541f-a26e-435d-89a5-f2887cb85f61NotDimensionallyQualified" xlink:type="arc" order="189"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfProvisionsExplanatory_1a2b0e32-c6b1-4aee-ad72-36a7b2b1968bNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfProvisionsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfProvisionsExplanatory_1a2b0e32-c6b1-4aee-ad72-36a7b2b1968bNotDimensionallyQualified" xlink:type="arc" order="190"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForProvisionsExplanatory_c162cfd2-8ffa-4f3b-95c3-c99b2cfe2339NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForProvisionsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForProvisionsExplanatory_c162cfd2-8ffa-4f3b-95c3-c99b2cfe2339NotDimensionallyQualified" xlink:type="arc" order="191"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfContingentLiabilitiesExplanatory_2753dbe5-2f56-4106-8acf-502b81bff5f1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfContingentLiabilitiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfContingentLiabilitiesExplanatory_2753dbe5-2f56-4106-8acf-502b81bff5f1NotDimensionallyQualified" xlink:type="arc" order="192"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInventoriesExplanatory_01f21f16-a02d-4dcc-a610-d731a749bbe6NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInventoriesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInventoriesExplanatory_01f21f16-a02d-4dcc-a610-d731a749bbe6NotDimensionallyQualified" xlink:type="arc" order="193"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForMeasuringInventories_059c9689-8ed9-4b69-aa65-d5f5eca1d95fNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForMeasuringInventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForMeasuringInventories_059c9689-8ed9-4b69-aa65-d5f5eca1d95fNotDimensionallyQualified" xlink:type="arc" order="194"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForEmissionRightsExplanatory_51c1c975-a3fe-4d64-8a86-0fda9994c81aNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForEmissionRightsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForEmissionRightsExplanatory_51c1c975-a3fe-4d64-8a86-0fda9994c81aNotDimensionallyQualified" xlink:type="arc" order="195"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTradeAndOtherPayablesExplanatory_82392aae-fc0d-4875-b615-b98fa2a4f9a1NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTradeAndOtherPayablesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTradeAndOtherPayablesExplanatory_82392aae-fc0d-4875-b615-b98fa2a4f9a1NotDimensionallyQualified" xlink:type="arc" order="196"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTaxReceivablesAndPayablesExplanatory_76747d53-29b9-4c02-b70a-259ed71e439eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTaxReceivablesAndPayablesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTaxReceivablesAndPayablesExplanatory_76747d53-29b9-4c02-b70a-259ed71e439eNotDimensionallyQualified" xlink:type="arc" order="197"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfProfitLossFromOperatingActivitiesExplanatory_29f57597-3e17-44ca-8b4d-3f2f70995ec0NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfProfitLossFromOperatingActivitiesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfProfitLossFromOperatingActivitiesExplanatory_29f57597-3e17-44ca-8b4d-3f2f70995ec0NotDimensionallyQualified" xlink:type="arc" order="198"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInformationAboutEmployeesExplanatory_ad6ac4d7-afe1-4c65-9788-af15035d41b5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInformationAboutEmployeesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInformationAboutEmployeesExplanatory_ad6ac4d7-afe1-4c65-9788-af15035d41b5NotDimensionallyQualified" xlink:type="arc" order="199"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfJointVenturesExplanatory_7ae95af9-d144-4d64-a382-6261bad18a02NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfJointVenturesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfJointVenturesExplanatory_7ae95af9-d144-4d64-a382-6261bad18a02NotDimensionallyQualified" xlink:type="arc" order="200"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForRecognitionOfRevenue_9c78195f-da19-47e1-8b83-0f23ba9ccd32NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForRecognitionOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForRecognitionOfRevenue_9c78195f-da19-47e1-8b83-0f23ba9ccd32NotDimensionallyQualified" xlink:type="arc" order="201"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForTaxesOtherThanIncomeTaxExplanatory_0868617d-6c7d-47c6-b53d-336bdc0a4d3cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForTaxesOtherThanIncomeTaxExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForTaxesOtherThanIncomeTaxExplanatory_0868617d-6c7d-47c6-b53d-336bdc0a4d3cNotDimensionallyQualified" xlink:type="arc" order="202"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfRevenueExplanatory_02da7e6b-85f6-43ca-83d2-dc5c740a361cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfRevenueExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfRevenueExplanatory_02da7e6b-85f6-43ca-83d2-dc5c740a361cNotDimensionallyQualified" xlink:type="arc" order="203"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfCostOfSalesExplanatory_9d462b76-1f3d-433b-92bd-53dbbd202031NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfCostOfSalesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfCostOfSalesExplanatory_9d462b76-1f3d-433b-92bd-53dbbd202031NotDimensionallyQualified" xlink:type="arc" order="204"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeographicalAreasExplanatory_4ccfce7b-7c7a-46a6-8fc4-59589928e077NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfGeographicalAreasExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfGeographicalAreasExplanatory_4ccfce7b-7c7a-46a6-8fc4-59589928e077NotDimensionallyQualified" xlink:type="arc" order="205"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfAuditorsRemunerationExplanatory_3fb69711-2fc2-4e7d-83e8-1a27ff614c89NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfAuditorsRemunerationExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfAuditorsRemunerationExplanatory_3fb69711-2fc2-4e7d-83e8-1a27ff614c89NotDimensionallyQualified" xlink:type="arc" order="206"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherOperatingIncomeExpenseExplanatory_025ac8f7-c92c-42e1-8d8c-96107a271fa5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherOperatingIncomeExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherOperatingIncomeExpenseExplanatory_025ac8f7-c92c-42e1-8d8c-96107a271fa5NotDimensionallyQualified" xlink:type="arc" order="207"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherOperatingIncomeExplanatory_62c9a627-673a-4006-b7d7-d4d455f4f2baNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherOperatingIncomeExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherOperatingIncomeExplanatory_62c9a627-673a-4006-b7d7-d4d455f4f2baNotDimensionallyQualified" xlink:type="arc" order="208"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherOperatingExpenseExplanatory_3346d97a-7699-4fa5-9a3e-43909297ec94NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfOtherOperatingExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfOtherOperatingExpenseExplanatory_3346d97a-7699-4fa5-9a3e-43909297ec94NotDimensionallyQualified" xlink:type="arc" order="209"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForIncomeTaxExplanatory_6c42fac6-a5f1-4bf5-a140-1ad25e50ce5dNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForIncomeTaxExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForIncomeTaxExplanatory_6c42fac6-a5f1-4bf5-a140-1ad25e50ce5dNotDimensionallyQualified" xlink:type="arc" order="210"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeneralAndAdministrativeExpenseExplanatory_afabcaa5-a324-4f91-8b4d-c12b09b7864eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfGeneralAndAdministrativeExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfGeneralAndAdministrativeExpenseExplanatory_afabcaa5-a324-4f91-8b4d-c12b09b7864eNotDimensionallyQualified" xlink:type="arc" order="211"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfAccountingPolicyForResearchAndDevelopmentExpenseExplanatory_f629207b-656f-4a6f-9679-6180f77fdec9NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DescriptionOfAccountingPolicyForResearchAndDevelopmentExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DescriptionOfAccountingPolicyForResearchAndDevelopmentExpenseExplanatory_f629207b-656f-4a6f-9679-6180f77fdec9NotDimensionallyQualified" xlink:type="arc" order="212"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfResearchAndDevelopmentExpenseExplanatory_01a5470b-bdce-4bdf-9cfe-c7d9f5086534NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfResearchAndDevelopmentExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfResearchAndDevelopmentExpenseExplanatory_01a5470b-bdce-4bdf-9cfe-c7d9f5086534NotDimensionallyQualified" xlink:type="arc" order="213"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinanceCostExplanatory_069ef4f3-5771-4458-9e1d-fda868f98945NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinanceCostExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinanceCostExplanatory_069ef4f3-5771-4458-9e1d-fda868f98945NotDimensionallyQualified" xlink:type="arc" order="214"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinanceIncomeExplanatory_b89fc9f8-a8fa-4595-85e0-f4d186eed5feNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinanceIncomeExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinanceIncomeExplanatory_b89fc9f8-a8fa-4595-85e0-f4d186eed5feNotDimensionallyQualified" xlink:type="arc" order="215"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinanceIncomeExpenseExplanatory_3cb13d7f-d321-4f57-83b5-8d8cf17f4d66NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfFinanceIncomeExpenseExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfFinanceIncomeExpenseExplanatory_3cb13d7f-d321-4f57-83b5-8d8cf17f4d66NotDimensionallyQualified" xlink:type="arc" order="216"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInterestIncomeExplanatory_1a58b726-8b00-485a-8130-85f6afd5a908NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInterestIncomeExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInterestIncomeExplanatory_1a58b726-8b00-485a-8130-85f6afd5a908NotDimensionallyQualified" xlink:type="arc" order="217"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfIncomeTaxExplanatory_646f9217-1c83-43d2-a092-d6221e78c025NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfIncomeTaxExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfIncomeTaxExplanatory_646f9217-1c83-43d2-a092-d6221e78c025NotDimensionallyQualified" xlink:type="arc" order="218"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsExplanatory_8faf90bf-7af0-4bc8-b2f2-55ee0d067eceNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsExplanatory_8faf90bf-7af0-4bc8-b2f2-55ee0d067eceNotDimensionallyQualified" xlink:type="arc" order="219"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDeferredTaxesExplanatory_804db3bd-fce9-4919-8e93-c716615bdad5NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfDeferredTaxesExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfDeferredTaxesExplanatory_804db3bd-fce9-4919-8e93-c716615bdad5NotDimensionallyQualified" xlink:type="arc" order="220"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfCashFlowStatementExplanatory_ec937bd2-b142-4c82-99fe-c3d7b05a228eNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfCashFlowStatementExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfCashFlowStatementExplanatory_ec937bd2-b142-4c82-99fe-c3d7b05a228eNotDimensionallyQualified" xlink:type="arc" order="221"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfCommitmentsExplanatory_16747c3a-2a81-4391-ba44-92f6c004d7aaNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfCommitmentsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfCommitmentsExplanatory_16747c3a-2a81-4391-ba44-92f6c004d7aaNotDimensionallyQualified" xlink:type="arc" order="222"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfRelatedPartyExplanatory_f78cbb65-d121-4d00-9b3e-5e0cab059995NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfRelatedPartyExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfRelatedPartyExplanatory_f78cbb65-d121-4d00-9b3e-5e0cab059995NotDimensionallyQualified" xlink:type="arc" order="223"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfEmployeeBenefitsExplanatory_dc13a5eb-2319-41e1-9921-56d33dee2830NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfEmployeeBenefitsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfEmployeeBenefitsExplanatory_dc13a5eb-2319-41e1-9921-56d33dee2830NotDimensionallyQualified" xlink:type="arc" order="224"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfEarningsPerShareExplanatory_96c2eef7-eba5-4a06-92a1-40bb5294e52cNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfEarningsPerShareExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfEarningsPerShareExplanatory_96c2eef7-eba5-4a06-92a1-40bb5294e52cNotDimensionallyQualified" xlink:type="arc" order="225"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSharebasedPaymentArrangementsExplanatory_8967101d-7a62-40a7-9c40-7a98be97f3faNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfSharebasedPaymentArrangementsExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfSharebasedPaymentArrangementsExplanatory_8967101d-7a62-40a7-9c40-7a98be97f3faNotDimensionallyQualified" xlink:type="arc" order="226"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory_79d2fc24-104c-43e3-84e3-b10f9ad8bb55NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory_79d2fc24-104c-43e3-84e3-b10f9ad8bb55NotDimensionallyQualified" xlink:type="arc" order="227"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfInformationAboutKeyManagementPersonnelExplanatory_f2d6a0cc-f7c9-40ba-983f-5b38153ba4cbNotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfInformationAboutKeyManagementPersonnelExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfInformationAboutKeyManagementPersonnelExplanatory_f2d6a0cc-f7c9-40ba-983f-5b38153ba4cbNotDimensionallyQualified" xlink:type="arc" order="228"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory_01b889c5-2e98-48e1-8ac7-d0e2f4dcb324NotDimensionallyQualified" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_esef_cor_LineItemsNotDimensionallyQualifiedPlaceholder" xlink:to="loc_ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory_01b889c5-2e98-48e1-8ac7-d0e2f4dcb324NotDimensionallyQualified" xlink:type="arc" order="229"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.repsol.com/role/Anchoring" xlink:type="simple" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#Anchoring"/>
  <link:definitionLink xlink:role="http://www.repsol.com/role/Anchoring" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_repsol_AmpliacionReduccionDeCapital_3464eac4-aa32-4320-bb09-7c0fb0020adb" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_AmpliacionReduccionDeCapital"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners" xlink:to="loc_repsol_AmpliacionReduccionDeCapital_3464eac4-aa32-4320-bb09-7c0fb0020adb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssueOfEquity" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IssueOfEquity"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_AmpliacionReduccionDeCapital_3464eac4-aa32-4320-bb09-7c0fb0020adb" xlink:to="loc_ifrs-full_IssueOfEquity" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReductionOfIssuedCapital" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ReductionOfIssuedCapital"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_AmpliacionReduccionDeCapital_3464eac4-aa32-4320-bb09-7c0fb0020adb" xlink:to="loc_ifrs-full_ReductionOfIssuedCapital" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_d66b9df6-5229-4ada-b806-ab2c8b9bdd14" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:to="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_d66b9df6-5229-4ada-b806-ab2c8b9bdd14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSalesOfInvestmentsAccountedForUsingEquityMethod" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromSalesOfInvestmentsAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_d66b9df6-5229-4ada-b806-ab2c8b9bdd14" xlink:to="loc_ifrs-full_ProceedsFromSalesOfInvestmentsAccountedForUsingEquityMethod" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_d66b9df6-5229-4ada-b806-ab2c8b9bdd14" xlink:to="loc_ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSalesOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromSalesOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_CobroPorDesinversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_d66b9df6-5229-4ada-b806-ab2c8b9bdd14" xlink:to="loc_ifrs-full_ProceedsFromSalesOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl_adc37f32-6a05-4899-bc19-b6a0cbab7519" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries" xlink:to="loc_repsol_CobrosPagosPorCambiosEnLasParticipacionesEnLaPropriedadDeDependientesQueNoDenLugarAPerdidaDeControl_adc37f32-6a05-4899-bc19-b6a0cbab7519" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPorInstrumentosDePatrimonio_b75514ae-2432-4f2d-ada7-7488f8e82827" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPorInstrumentosDePatrimonio"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsToAcquireOrRedeemEntitysShares" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PaymentsToAcquireOrRedeemEntitysShares"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_PaymentsToAcquireOrRedeemEntitysShares" xlink:to="loc_repsol_CobrosPorInstrumentosDePatrimonio_b75514ae-2432-4f2d-ada7-7488f8e82827" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_CobrosPorLaEmisionDePasivosFinancieros_ae51a667-7578-4a2e-b11c-fa2c2ca78780" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_CobrosPorLaEmisionDePasivosFinancieros"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities" xlink:to="loc_repsol_CobrosPorLaEmisionDePasivosFinancieros_ae51a667-7578-4a2e-b11c-fa2c2ca78780" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_CobrosPorLaEmisionDePasivosFinancieros_ae51a667-7578-4a2e-b11c-fa2c2ca78780" xlink:to="loc_ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_DevolucionYAmortizacion_2c598783-e9c0-494f-96b4-509cbe2de61a" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_DevolucionYAmortizacion"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsOfOtherEquityInstruments" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PaymentsOfOtherEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_PaymentsOfOtherEquityInstruments" xlink:to="loc_repsol_DevolucionYAmortizacion_2c598783-e9c0-494f-96b4-509cbe2de61a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_Emision_9234e728-1658-42c5-ab38-53077ae0b362" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_Emision"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromIssuingOtherEquityInstruments" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromIssuingOtherEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ProceedsFromIssuingOtherEquityInstruments" xlink:to="loc_repsol_Emision_9234e728-1658-42c5-ab38-53077ae0b362" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_FondosPropios"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_Equity" xlink:to="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharePremium" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_SharePremium"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_SharePremium" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherReserves" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OtherReserves"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_OtherReserves" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendPayables" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendPayables"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_DividendPayables" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssuedCapital" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IssuedCapital"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_IssuedCapital" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TreasuryShares" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_TreasuryShares"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_TreasuryShares" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatutoryReserve" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_StatutoryReserve"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_StatutoryReserve" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RetainedEarnings" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RetainedEarnings"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_FondosPropios_dcb2a3c7-eb5d-4854-a621-1b4fbc5909f9" xlink:to="loc_ifrs-full_RetainedEarnings" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_GananciasPerdidasPorValoracion_b6422271-402a-4856-878d-c8a8aa07d6c6" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_GananciasPerdidasPorValoracion"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod" xlink:to="loc_repsol_GananciasPerdidasPorValoracion_b6422271-402a-4856-878d-c8a8aa07d6c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias_be3464ad-3a30-4d70-aee4-3a56f160f47b" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod" xlink:to="loc_repsol_ImportesTransferidosALaCuentaDePerdidasYGanancias_be3464ad-3a30-4d70-aee4-3a56f160f47b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_ObligacionesPerpetuasSubordinadas_6f51f140-688a-414f-9c0f-303949ef07a9" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_ObligacionesPerpetuasSubordinadas"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity" xlink:to="loc_repsol_ObligacionesPerpetuasSubordinadas_6f51f140-688a-414f-9c0f-303949ef07a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_0044071a-c9e9-4c30-9123-84f5365c96d2" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities" xlink:to="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_0044071a-c9e9-4c30-9123-84f5365c96d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_0044071a-c9e9-4c30-9123-84f5365c96d2" xlink:to="loc_ifrs-full_PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_0044071a-c9e9-4c30-9123-84f5365c96d2" xlink:to="loc_ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PurchaseOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_PurchaseOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_PagoPorInversionesEnEmpresasDelGrupoAsociadasYUnidadesDeNegocio_0044071a-c9e9-4c30-9123-84f5365c96d2" xlink:to="loc_ifrs-full_PurchaseOfInvestmentsOtherThanInvestmentsAccountedForUsingEquityMethod" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorInstrumentosDePatrimonio_afd25087-891e-4ad3-8a87-04c4dd7b09a0" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorInstrumentosDePatrimonio"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromSaleOrIssueOfTreasuryShares" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_ProceedsFromSaleOrIssueOfTreasuryShares"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_ProceedsFromSaleOrIssueOfTreasuryShares" xlink:to="loc_repsol_PagosPorInstrumentosDePatrimonio_afd25087-891e-4ad3-8a87-04c4dd7b09a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros_c798cd3d-1c66-489f-89d8-055e0719d80c" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities" xlink:to="loc_repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros_c798cd3d-1c66-489f-89d8-055e0719d80c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_RepaymentsOfBondsNotesAndDebentures"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_PagosPorLaDevolucionYAmortizacionDePasivosFinancieros_c798cd3d-1c66-489f-89d8-055e0719d80c" xlink:to="loc_ifrs-full_RepaymentsOfBondsNotesAndDebentures" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio_7b046ddc-dbf8-4580-acd5-312c5d80fe2b" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_PaymentsOfOtherEquityInstruments" xlink:to="loc_repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio_7b046ddc-dbf8-4580-acd5-312c5d80fe2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_DividendsPaidClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_repsol_PagosPorRemuneracionesDeAccionistasYOtrosInstrumentosDePatrimonio_7b046ddc-dbf8-4580-acd5-312c5d80fe2b" xlink:to="loc_ifrs-full_DividendsPaidClassifiedAsFinancingActivities" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_Suministros_091a07ba-ba42-40c9-a31d-acac9d02c901" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_Suministros"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OperatingExpense" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_OperatingExpense"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_OperatingExpense" xlink:to="loc_repsol_Suministros_091a07ba-ba42-40c9-a31d-acac9d02c901" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_repsol_TransferenciasEntrePartidasDelPatrimonioNeto_9dd218f1-decf-42c7-a6be-a13b92f2295e" xlink:href="BSYCX13Y0NOTV14V9N85-2022-12-31.xsd#repsol_TransferenciasEntrePartidasDelPatrimonioNeto"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughAppropriationOfRetainedEarnings" xlink:href="http://xbrl.ifrs.org/taxonomy/2021-03-24/full_ifrs/full_ifrs-cor_2021-03-24.xsd#ifrs-full_IncreaseDecreaseThroughAppropriationOfRetainedEarnings"/>
    <link:definitionArc xlink:arcrole="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:from="loc_ifrs-full_IncreaseDecreaseThroughAppropriationOfRetainedEarnings" xlink:to="loc_repsol_TransferenciasEntrePartidasDelPatrimonioNeto_9dd218f1-decf-42c7-a6be-a13b92f2295e" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
