<?xml version="1.0" encoding="us-ascii"?>
<!--Generated by Broadridge PROfile 26.3.2.5342 Broadridge-->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:t1="http://xbrl.org/2005/xbrldt">
  <link:roleRef roleURI="http://hafnia.com/role/ListingOfCompaniesInGroupDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#ListingOfCompaniesInGroupDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/EventsOccurringAfterBalanceSheetDateDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#EventsOccurringAfterBalanceSheetDateDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/DividendsPaidDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#DividendsPaidDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/SegmentInformationMajorCustomersDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#SegmentInformationMajorCustomersDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/SegmentInformationOperatingSegmentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#SegmentInformationOperatingSegmentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/RelatedPartyTransactionsKeyManagementPersonnelCompensationDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#RelatedPartyTransactionsKeyManagementPersonnelCompensationDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/RelatedPartyTransactionsTransactionsBetweenGroupAndRelatedPartiesOnCommercialTermsAgreedByPartiesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#RelatedPartyTransactionsTransactionsBetweenGroupAndRelatedPartiesOnCommercialTermsAgreedByPartiesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementLoansReceivableFromJointVentureMeasuredAtLevel3FairValueDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementLoansReceivableFromJointVentureMeasuredAtLevel3FairValueDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementReconciliationFromInvestmentInUnquotedEquityInstrumentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementReconciliationFromInvestmentInUnquotedEquityInstrumentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementFairValueOfInvestmentsInEquityInstrumentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementFairValueOfInvestmentsInEquityInstrumentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementAccountingClassificationsAndFairValuesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementAccountingClassificationsAndFairValuesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementLiquidityRiskDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementLiquidityRiskDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementCreditRiskDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementCreditRiskDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementMarketRiskDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementMarketRiskDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/CommitmentsOperatingLeaseCommitmentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#CommitmentsOperatingLeaseCommitmentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/CommitmentsNewbuildCommitmentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#CommitmentsNewbuildCommitmentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/LeasesAsLesseeDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#LeasesAsLesseeDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherPayablesAndProvisionsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherPayablesAndProvisionsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsNoncurrentBorrowingsMaturityDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsNoncurrentBorrowingsMaturityDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsInterestRatesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsInterestRatesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsBorrowingsByMaturityDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsBorrowingsByMaturityDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsSaleAndLeasebackDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsSaleAndLeasebackDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsBankBorrowingsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsBankBorrowingsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsBorrowingsCurrentAndNoncurrentDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsBorrowingsCurrentAndNoncurrentDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/OtherReservesCapitalReserveAndSharebasedPaymentReserveDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#OtherReservesCapitalReserveAndSharebasedPaymentReserveDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/OtherReservesHedgingReserveDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#OtherReservesHedgingReserveDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/OtherReservesCompositionDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#OtherReservesCompositionDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/ShareCapitalTreasurySharesAndCapitalReserveAndSharebasedPaymentReserveDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#ShareCapitalTreasurySharesAndCapitalReserveAndSharebasedPaymentReserveDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/ShareCapitalIssuedAndFullyPaidShareCapitalDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#ShareCapitalIssuedAndFullyPaidShareCapitalDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/ShareCapitalShareCapitalAndSharePremiumDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#ShareCapitalShareCapitalAndSharePremiumDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashDetailsCalc2" xlink:type="simple" xlink:href="hafn-20251231.xsd#CashAndCashEquivalentsIncludingRestrictedCashDetailsCalc2" />
  <link:roleRef roleURI="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#CashAndCashEquivalentsIncludingRestrictedCashDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepaymentsDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherReceivablesAndPrepaymentsDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/InventoriesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#InventoriesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/JointVenturesCarryingAmountAndShareOfProfitOfJointVenturesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#JointVenturesCarryingAmountAndShareOfProfitOfJointVenturesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/JointVenturesFinancialInformationOfJointVentureDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#JointVenturesFinancialInformationOfJointVentureDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/LoansReceivableFromJointVenturesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#LoansReceivableFromJointVenturesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#DerivativeFinancialInstrumentsCashFlowHedgesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/DerivativeFinancialInstrumentsAnalysisDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#DerivativeFinancialInstrumentsAnalysisDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/PropertyPlantAndEquipmentAcquisitionAndDisposalDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#PropertyPlantAndEquipmentAcquisitionAndDisposalDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/PropertyPlantAndEquipmentPropertyPlantAndEquipmentDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#PropertyPlantAndEquipmentPropertyPlantAndEquipmentDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#EarningsPerShareDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/IncomeTaxesReconciliationOfEffectiveTaxRateDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#IncomeTaxesReconciliationOfEffectiveTaxRateDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/IncomeTaxesIncomeTaxExpenseDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#IncomeTaxesIncomeTaxExpenseDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/ExpensesByNatureDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#ExpensesByNatureDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/RevenueDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#RevenueDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesIncomeTaxesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesIncomeTaxesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesEstimatedUsefulLivesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesEstimatedUsefulLivesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesRevenueAndIncomeRecognitionDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesRevenueAndIncomeRecognitionDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesCriticalAccountingJudgementsAndEstimatesDetails" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesCriticalAccountingJudgementsAndEstimatesDetails" />
  <link:roleRef roleURI="http://hafnia.com/role/ListingOfCompaniesInGroupTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#ListingOfCompaniesInGroupTables" />
  <link:roleRef roleURI="http://hafnia.com/role/DividendsPaidTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#DividendsPaidTables" />
  <link:roleRef roleURI="http://hafnia.com/role/SegmentInformationTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#SegmentInformationTables" />
  <link:roleRef roleURI="http://hafnia.com/role/RelatedPartyTransactionsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#RelatedPartyTransactionsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagementTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagementTables" />
  <link:roleRef roleURI="http://hafnia.com/role/CommitmentsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#CommitmentsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/LeasesAsLesseeTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#LeasesAsLesseeTables" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherPayablesAndProvisionsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherPayablesAndProvisionsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/BorrowingsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#BorrowingsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/OtherReservesTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#OtherReservesTables" />
  <link:roleRef roleURI="http://hafnia.com/role/ShareCapitalTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#ShareCapitalTables" />
  <link:roleRef roleURI="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#CashAndCashEquivalentsIncludingRestrictedCashTables" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepaymentsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherReceivablesAndPrepaymentsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/InventoriesTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#InventoriesTables" />
  <link:roleRef roleURI="http://hafnia.com/role/JointVenturesTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#JointVenturesTables" />
  <link:roleRef roleURI="http://hafnia.com/role/DerivativeFinancialInstrumentsTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#DerivativeFinancialInstrumentsTables" />
  <link:roleRef roleURI="http://hafnia.com/role/PropertyPlantAndEquipmentTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#PropertyPlantAndEquipmentTables" />
  <link:roleRef roleURI="http://hafnia.com/role/EarningsPerShareTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#EarningsPerShareTables" />
  <link:roleRef roleURI="http://hafnia.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#IncomeTaxesTables" />
  <link:roleRef roleURI="http://hafnia.com/role/ExpensesByNatureTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#ExpensesByNatureTables" />
  <link:roleRef roleURI="http://hafnia.com/role/RevenueTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#RevenueTables" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesTables" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesTables" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPoliciesPolicies" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPoliciesPolicies" />
  <link:roleRef roleURI="http://hafnia.com/role/CybersecurityRiskManagementAndStrategyDisclosure" xlink:type="simple" xlink:href="hafn-20251231.xsd#CybersecurityRiskManagementAndStrategyDisclosure" />
  <link:roleRef roleURI="http://hafnia.com/role/ListingOfCompaniesInGroup" xlink:type="simple" xlink:href="hafn-20251231.xsd#ListingOfCompaniesInGroup" />
  <link:roleRef roleURI="http://hafnia.com/role/EventsOccurringAfterBalanceSheetDate" xlink:type="simple" xlink:href="hafn-20251231.xsd#EventsOccurringAfterBalanceSheetDate" />
  <link:roleRef roleURI="http://hafnia.com/role/DividendsPaid" xlink:type="simple" xlink:href="hafn-20251231.xsd#DividendsPaid" />
  <link:roleRef roleURI="http://hafnia.com/role/SegmentInformation" xlink:type="simple" xlink:href="hafn-20251231.xsd#SegmentInformation" />
  <link:roleRef roleURI="http://hafnia.com/role/RelatedPartyTransactions" xlink:type="simple" xlink:href="hafn-20251231.xsd#RelatedPartyTransactions" />
  <link:roleRef roleURI="http://hafnia.com/role/FinancialRiskManagement" xlink:type="simple" xlink:href="hafn-20251231.xsd#FinancialRiskManagement" />
  <link:roleRef roleURI="http://hafnia.com/role/Commitments" xlink:type="simple" xlink:href="hafn-20251231.xsd#Commitments" />
  <link:roleRef roleURI="http://hafnia.com/role/LeasesAsLessee" xlink:type="simple" xlink:href="hafn-20251231.xsd#LeasesAsLessee" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherPayablesAndProvisions" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherPayablesAndProvisions" />
  <link:roleRef roleURI="http://hafnia.com/role/Borrowings" xlink:type="simple" xlink:href="hafn-20251231.xsd#Borrowings" />
  <link:roleRef roleURI="http://hafnia.com/role/OtherReserves" xlink:type="simple" xlink:href="hafn-20251231.xsd#OtherReserves" />
  <link:roleRef roleURI="http://hafnia.com/role/ShareCapital" xlink:type="simple" xlink:href="hafn-20251231.xsd#ShareCapital" />
  <link:roleRef roleURI="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCash" xlink:type="simple" xlink:href="hafn-20251231.xsd#CashAndCashEquivalentsIncludingRestrictedCash" />
  <link:roleRef roleURI="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepayments" xlink:type="simple" xlink:href="hafn-20251231.xsd#TradeAndOtherReceivablesAndPrepayments" />
  <link:roleRef roleURI="http://hafnia.com/role/Inventories" xlink:type="simple" xlink:href="hafn-20251231.xsd#Inventories" />
  <link:roleRef roleURI="http://hafnia.com/role/JointVentures" xlink:type="simple" xlink:href="hafn-20251231.xsd#JointVentures" />
  <link:roleRef roleURI="http://hafnia.com/role/LoansReceivableFromJointVentures" xlink:type="simple" xlink:href="hafn-20251231.xsd#LoansReceivableFromJointVentures" />
  <link:roleRef roleURI="http://hafnia.com/role/DerivativeFinancialInstruments" xlink:type="simple" xlink:href="hafn-20251231.xsd#DerivativeFinancialInstruments" />
  <link:roleRef roleURI="http://hafnia.com/role/PropertyPlantAndEquipment" xlink:type="simple" xlink:href="hafn-20251231.xsd#PropertyPlantAndEquipment" />
  <link:roleRef roleURI="http://hafnia.com/role/EarningsPerShare" xlink:type="simple" xlink:href="hafn-20251231.xsd#EarningsPerShare" />
  <link:roleRef roleURI="http://hafnia.com/role/IncomeTaxes" xlink:type="simple" xlink:href="hafn-20251231.xsd#IncomeTaxes" />
  <link:roleRef roleURI="http://hafnia.com/role/ExpensesByNature" xlink:type="simple" xlink:href="hafn-20251231.xsd#ExpensesByNature" />
  <link:roleRef roleURI="http://hafnia.com/role/Revenue" xlink:type="simple" xlink:href="hafn-20251231.xsd#Revenue" />
  <link:roleRef roleURI="http://hafnia.com/role/MaterialAccountingPolicies" xlink:type="simple" xlink:href="hafn-20251231.xsd#MaterialAccountingPolicies" />
  <link:roleRef roleURI="http://hafnia.com/role/GeneralInformation" xlink:type="simple" xlink:href="hafn-20251231.xsd#GeneralInformation" />
  <link:roleRef roleURI="http://hafnia.com/role/ConsolidatedStatementOfCashFlowsParenthetical" xlink:type="simple" xlink:href="hafn-20251231.xsd#ConsolidatedStatementOfCashFlowsParenthetical" />
  <link:roleRef roleURI="http://hafnia.com/role/ConsolidatedStatementOfCashFlows" xlink:type="simple" xlink:href="hafn-20251231.xsd#ConsolidatedStatementOfCashFlows" />
  <link:roleRef roleURI="http://hafnia.com/role/ConsolidatedStatementOfChangesInEquity" xlink:type="simple" xlink:href="hafn-20251231.xsd#ConsolidatedStatementOfChangesInEquity" />
  <link:roleRef roleURI="http://hafnia.com/role/ConsolidatedBalanceSheet" xlink:type="simple" xlink:href="hafn-20251231.xsd#ConsolidatedBalanceSheet" />
  <link:roleRef roleURI="http://hafnia.com/role/ConsolidatedStatementOfComprehensiveIncome" xlink:type="simple" xlink:href="hafn-20251231.xsd#ConsolidatedStatementOfComprehensiveIncome" />
  <link:roleRef roleURI="http://hafnia.com/role/DocumentAndEntityInformation" xlink:type="simple" xlink:href="hafn-20251231.xsd#DocumentAndEntityInformation" />
  <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/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://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DocumentAndEntityInformation">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesLineItems" xlink:label="EntityAddressesLineItems" xlink:title="EntityAddressesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="DocumentType" xlink:title="DocumentType" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentType" xlink:title="definition: EntityAddressesLineItems to DocumentType" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="AmendmentFlag" xlink:title="AmendmentFlag" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="AmendmentFlag" xlink:title="definition: EntityAddressesLineItems to AmendmentFlag" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentRegistrationStatement" xlink:label="DocumentRegistrationStatement" xlink:title="DocumentRegistrationStatement" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentRegistrationStatement" xlink:title="definition: EntityAddressesLineItems to DocumentRegistrationStatement" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport" xlink:label="DocumentAnnualReport" xlink:title="DocumentAnnualReport" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentAnnualReport" xlink:title="definition: EntityAddressesLineItems to DocumentAnnualReport" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="DocumentPeriodEndDate" xlink:title="DocumentPeriodEndDate" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentPeriodEndDate" xlink:title="definition: EntityAddressesLineItems to DocumentPeriodEndDate" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="CurrentFiscalYearEndDate" xlink:title="CurrentFiscalYearEndDate" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="CurrentFiscalYearEndDate" xlink:title="definition: EntityAddressesLineItems to CurrentFiscalYearEndDate" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="DocumentFiscalYearFocus" xlink:title="DocumentFiscalYearFocus" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentFiscalYearFocus" xlink:title="definition: EntityAddressesLineItems to DocumentFiscalYearFocus" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="DocumentFiscalPeriodFocus" xlink:title="DocumentFiscalPeriodFocus" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentFiscalPeriodFocus" xlink:title="definition: EntityAddressesLineItems to DocumentFiscalPeriodFocus" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport" xlink:label="DocumentTransitionReport" xlink:title="DocumentTransitionReport" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentTransitionReport" xlink:title="definition: EntityAddressesLineItems to DocumentTransitionReport" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentShellCompanyReport" xlink:label="DocumentShellCompanyReport" xlink:title="DocumentShellCompanyReport" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentShellCompanyReport" xlink:title="definition: EntityAddressesLineItems to DocumentShellCompanyReport" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber" xlink:label="EntityFileNumber" xlink:title="EntityFileNumber" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityFileNumber" xlink:title="definition: EntityAddressesLineItems to EntityFileNumber" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="EntityRegistrantName" xlink:title="EntityRegistrantName" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityRegistrantName" xlink:title="definition: EntityAddressesLineItems to EntityRegistrantName" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="EntityCentralIndexKey" xlink:title="EntityCentralIndexKey" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityCentralIndexKey" xlink:title="definition: EntityAddressesLineItems to EntityCentralIndexKey" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelName" xlink:label="ContactPersonnelName" xlink:title="ContactPersonnelName" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="ContactPersonnelName" xlink:title="definition: EntityAddressesLineItems to ContactPersonnelName" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode" xlink:label="EntityIncorporationStateCountryCode" xlink:title="EntityIncorporationStateCountryCode" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityIncorporationStateCountryCode" xlink:title="definition: EntityAddressesLineItems to EntityIncorporationStateCountryCode" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1" xlink:label="EntityAddressAddressLine1" xlink:title="EntityAddressAddressLine1" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressAddressLine1" xlink:title="definition: EntityAddressesLineItems to EntityAddressAddressLine1" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine2" xlink:label="EntityAddressAddressLine2" xlink:title="EntityAddressAddressLine2" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressAddressLine2" xlink:title="definition: EntityAddressesLineItems to EntityAddressAddressLine2" order="17.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown" xlink:label="EntityAddressCityOrTown" xlink:title="EntityAddressCityOrTown" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressCityOrTown" xlink:title="definition: EntityAddressesLineItems to EntityAddressCityOrTown" order="18.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCountry" xlink:label="EntityAddressCountry" xlink:title="EntityAddressCountry" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressCountry" xlink:title="definition: EntityAddressesLineItems to EntityAddressCountry" order="19.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode" xlink:label="EntityAddressPostalZipCode" xlink:title="EntityAddressPostalZipCode" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressPostalZipCode" xlink:title="definition: EntityAddressesLineItems to EntityAddressPostalZipCode" order="20.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode" xlink:label="CityAreaCode" xlink:title="CityAreaCode" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="CityAreaCode" xlink:title="definition: EntityAddressesLineItems to CityAreaCode" order="21.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber" xlink:label="LocalPhoneNumber" xlink:title="LocalPhoneNumber" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="LocalPhoneNumber" xlink:title="definition: EntityAddressesLineItems to LocalPhoneNumber" order="22.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_ContactPersonnelEmailAddress" xlink:label="ContactPersonnelEmailAddress" xlink:title="ContactPersonnelEmailAddress" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="ContactPersonnelEmailAddress" xlink:title="definition: EntityAddressesLineItems to ContactPersonnelEmailAddress" order="23.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle" xlink:label="Security12bTitle" xlink:title="Security12bTitle" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="Security12bTitle" xlink:title="definition: EntityAddressesLineItems to Security12bTitle" order="24.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol" xlink:label="TradingSymbol" xlink:title="TradingSymbol" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="TradingSymbol" xlink:title="definition: EntityAddressesLineItems to TradingSymbol" order="25.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName" xlink:label="SecurityExchangeName" xlink:title="SecurityExchangeName" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="SecurityExchangeName" xlink:title="definition: EntityAddressesLineItems to SecurityExchangeName" order="26.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="EntityWellKnownSeasonedIssuer" xlink:title="EntityWellKnownSeasonedIssuer" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityWellKnownSeasonedIssuer" xlink:title="definition: EntityAddressesLineItems to EntityWellKnownSeasonedIssuer" order="27.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers" xlink:label="EntityVoluntaryFilers" xlink:title="EntityVoluntaryFilers" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityVoluntaryFilers" xlink:title="definition: EntityAddressesLineItems to EntityVoluntaryFilers" order="28.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus" xlink:label="EntityCurrentReportingStatus" xlink:title="EntityCurrentReportingStatus" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityCurrentReportingStatus" xlink:title="definition: EntityAddressesLineItems to EntityCurrentReportingStatus" order="29.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent" xlink:label="EntityInteractiveDataCurrent" xlink:title="EntityInteractiveDataCurrent" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityInteractiveDataCurrent" xlink:title="definition: EntityAddressesLineItems to EntityInteractiveDataCurrent" order="30.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory" xlink:label="EntityFilerCategory" xlink:title="EntityFilerCategory" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityFilerCategory" xlink:title="definition: EntityAddressesLineItems to EntityFilerCategory" order="31.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany" xlink:label="EntityEmergingGrowthCompany" xlink:title="EntityEmergingGrowthCompany" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityEmergingGrowthCompany" xlink:title="definition: EntityAddressesLineItems to EntityEmergingGrowthCompany" order="32.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag" xlink:label="IcfrAuditorAttestationFlag" xlink:title="IcfrAuditorAttestationFlag" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="IcfrAuditorAttestationFlag" xlink:title="definition: EntityAddressesLineItems to IcfrAuditorAttestationFlag" order="33.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag" xlink:label="DocumentFinStmtErrorCorrectionFlag" xlink:title="DocumentFinStmtErrorCorrectionFlag" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentFinStmtErrorCorrectionFlag" xlink:title="definition: EntityAddressesLineItems to DocumentFinStmtErrorCorrectionFlag" order="34.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAccountingStandard" xlink:label="DocumentAccountingStandard" xlink:title="DocumentAccountingStandard" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="DocumentAccountingStandard" xlink:title="definition: EntityAddressesLineItems to DocumentAccountingStandard" order="35.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany" xlink:label="EntityShellCompany" xlink:title="EntityShellCompany" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityShellCompany" xlink:title="definition: EntityAddressesLineItems to EntityShellCompany" order="36.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="EntityCommonStockSharesOutstanding" xlink:title="EntityCommonStockSharesOutstanding" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="EntityCommonStockSharesOutstanding" xlink:title="definition: EntityAddressesLineItems to EntityCommonStockSharesOutstanding" order="37.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorFirmId" xlink:label="AuditorFirmId" xlink:title="AuditorFirmId" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="AuditorFirmId" xlink:title="definition: EntityAddressesLineItems to AuditorFirmId" order="38.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorName" xlink:label="AuditorName" xlink:title="AuditorName" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="AuditorName" xlink:title="definition: EntityAddressesLineItems to AuditorName" order="39.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorLocation" xlink:label="AuditorLocation" xlink:title="AuditorLocation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityAddressesLineItems" xlink:to="AuditorLocation" xlink:title="definition: EntityAddressesLineItems to AuditorLocation" order="40.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesTable" xlink:label="EntityAddressesTable" xlink:title="EntityAddressesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="EntityAddressesLineItems" xlink:to="EntityAddressesTable" xlink:title="definition: EntityAddressesLineItems to EntityAddressesTable" order="41.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressesAddressTypeAxis" xlink:label="EntityAddressesAddressTypeAxis" xlink:title="EntityAddressesAddressTypeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="EntityAddressesTable" xlink:to="EntityAddressesAddressTypeAxis" xlink:title="definition: EntityAddressesTable to EntityAddressesAddressTypeAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="AddressTypeDomain" xlink:title="AddressTypeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="EntityAddressesAddressTypeAxis" xlink:to="AddressTypeDomain" xlink:title="definition: EntityAddressesAddressTypeAxis to AddressTypeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AddressTypeDomain" xlink:label="AddressTypeDomain_2" xlink:title="AddressTypeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="EntityAddressesAddressTypeAxis" xlink:to="AddressTypeDomain_2" xlink:title="definition: EntityAddressesAddressTypeAxis to AddressTypeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_BusinessContactMember" xlink:label="BusinessContactMember" xlink:title="BusinessContactMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AddressTypeDomain" xlink:to="BusinessContactMember" xlink:title="definition: AddressTypeDomain to BusinessContactMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ConsolidatedStatementOfComprehensiveIncome">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:label="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:title="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLossAbstract" xlink:label="ProfitLossAbstract" xlink:title="ProfitLossAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ProfitLossAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ProfitLossAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncomeAbstract" xlink:label="OtherComprehensiveIncomeAbstract" xlink:title="OtherComprehensiveIncomeAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherComprehensiveIncomeAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherComprehensiveIncomeAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComprehensiveIncome" xlink:label="ComprehensiveIncome" xlink:title="ComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ComprehensiveIncome" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ComprehensiveIncome" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_EarningsPerShareAbstract" xlink:label="EarningsPerShareAbstract" xlink:title="EarningsPerShareAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="EarningsPerShareAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to EarningsPerShareAbstract" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BasicEarningsLossPerShare" xlink:label="BasicEarningsLossPerShare" xlink:title="BasicEarningsLossPerShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="BasicEarningsLossPerShare" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to BasicEarningsLossPerShare" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DilutedEarningsLossPerShare" xlink:label="DilutedEarningsLossPerShare" xlink:title="DilutedEarningsLossPerShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="DilutedEarningsLossPerShare" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to DilutedEarningsLossPerShare" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:label="ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:title="ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:label="ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:title="ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesFromInvestmentsInEquityInstruments" xlink:label="OtherComprehensiveIncomeNetOfTaxGainsLossesFromInvestmentsInEquityInstruments" xlink:title="OtherComprehensiveIncomeNetOfTaxGainsLossesFromInvestmentsInEquityInstruments" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherComprehensiveIncomeNetOfTaxGainsLossesFromInvestmentsInEquityInstruments" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherComprehensiveIncomeNetOfTaxGainsLossesFromInvestmentsInEquityInstruments" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:label="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:title="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation" xlink:label="OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation" xlink:title="OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslation" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GainsLossesOnCashFlowHedgesNetOfTax" xlink:label="GainsLossesOnCashFlowHedgesNetOfTax" xlink:title="GainsLossesOnCashFlowHedgesNetOfTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="GainsLossesOnCashFlowHedgesNetOfTax" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to GainsLossesOnCashFlowHedgesNetOfTax" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeNetOfTax" xlink:label="ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeNetOfTax" xlink:title="ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeNetOfTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeNetOfTax" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ReclassificationAdjustmentsOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeNetOfTax" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:label="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:title="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="Revenue" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to Revenue" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CostOfSales" xlink:label="CostOfSales" xlink:title="CostOfSales" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="CostOfSales" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to CostOfSales" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DistributionCosts" xlink:label="DistributionCosts" xlink:title="DistributionCosts" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="DistributionCosts" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to DistributionCosts" order="17.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GrossProfit" xlink:label="GrossProfit" xlink:title="GrossProfit" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="GrossProfit" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to GrossProfit" order="18.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherIncome" xlink:label="OtherIncome" xlink:title="OtherIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherIncome" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherIncome" order="19.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselOperatingExpenses" xlink:label="VesselOperatingExpenses" xlink:title="VesselOperatingExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="VesselOperatingExpenses" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to VesselOperatingExpenses" order="20.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TechnicalManagementExpenses" xlink:label="TechnicalManagementExpenses" xlink:title="TechnicalManagementExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="TechnicalManagementExpenses" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to TechnicalManagementExpenses" order="21.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CharterHireExpenses" xlink:label="CharterHireExpenses" xlink:title="CharterHireExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="CharterHireExpenses" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to CharterHireExpenses" order="22.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherExpenseByFunction" xlink:label="OtherExpenseByFunction" xlink:title="OtherExpenseByFunction" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherExpenseByFunction" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherExpenseByFunction" order="23.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherGainsLosses" xlink:label="OtherGainsLosses" xlink:title="OtherGainsLosses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherGainsLosses" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherGainsLosses" order="24.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets" xlink:label="GainsLossesOnDisposalsOfNoncurrentAssets" xlink:title="GainsLossesOnDisposalsOfNoncurrentAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="GainsLossesOnDisposalsOfNoncurrentAssets" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to GainsLossesOnDisposalsOfNoncurrentAssets" order="25.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DepreciationPropertyPlantAndEquipment" xlink:label="DepreciationPropertyPlantAndEquipment" xlink:title="DepreciationPropertyPlantAndEquipment" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="DepreciationPropertyPlantAndEquipment" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to DepreciationPropertyPlantAndEquipment" order="26.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AmortisationExpense" xlink:label="AmortisationExpense" xlink:title="AmortisationExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="AmortisationExpense" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to AmortisationExpense" order="27.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLossFromOperatingActivities" xlink:label="ProfitLossFromOperatingActivities" xlink:title="ProfitLossFromOperatingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ProfitLossFromOperatingActivities" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ProfitLossFromOperatingActivities" order="28.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RevenueFromInterest" xlink:label="RevenueFromInterest" xlink:title="RevenueFromInterest" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="RevenueFromInterest" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to RevenueFromInterest" order="29.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestExpense" xlink:label="InterestExpense" xlink:title="InterestExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="InterestExpense" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to InterestExpense" order="30.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CapitalisedFinancingFeesWrittenOff" xlink:label="CapitalisedFinancingFeesWrittenOff" xlink:title="CapitalisedFinancingFeesWrittenOff" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="CapitalisedFinancingFeesWrittenOff" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to CapitalisedFinancingFeesWrittenOff" order="31.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherFinanceCost" xlink:label="OtherFinanceCost" xlink:title="OtherFinanceCost" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="OtherFinanceCost" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to OtherFinanceCost" order="32.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinanceIncomeCost" xlink:label="FinanceIncomeCost" xlink:title="FinanceIncomeCost" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="FinanceIncomeCost" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to FinanceIncomeCost" order="33.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:label="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod" order="34.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLossBeforeTax" xlink:label="ProfitLossBeforeTax" xlink:title="ProfitLossBeforeTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ProfitLossBeforeTax" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ProfitLossBeforeTax" order="35.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations" xlink:label="IncomeTaxExpenseContinuingOperations" xlink:title="IncomeTaxExpenseContinuingOperations" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="IncomeTaxExpenseContinuingOperations" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to IncomeTaxExpenseContinuingOperations" order="36.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="ProfitLoss" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to ProfitLoss" order="37.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:label="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:title="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" order="38.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesAxis" xlink:label="ProductsAndServicesAxis" xlink:title="ProductsAndServicesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:to="ProductsAndServicesAxis" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable to ProductsAndServicesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain_2" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain_2" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaVesselsAndTCVesselsMember" xlink:label="HafniaVesselsAndTCVesselsMember" xlink:title="HafniaVesselsAndTCVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="HafniaVesselsAndTCVesselsMember" xlink:title="definition: ProductsAndServicesDomain to HafniaVesselsAndTCVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ExternalVesselsInDisponentOwnerPoolsMember" xlink:label="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="ExternalVesselsInDisponentOwnerPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="definition: ProductsAndServicesDomain to ExternalVesselsInDisponentOwnerPoolsMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ConsolidatedBalanceSheet" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ConsolidatedStatementOfChangesInEquity">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_StatementOfChangesInEquityLineItems" xlink:label="StatementOfChangesInEquityLineItems" xlink:title="StatementOfChangesInEquityLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Equity" xlink:label="Equity" xlink:title="Equity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="Equity" xlink:title="definition: StatementOfChangesInEquityLineItems to Equity" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ChangesInEquityAbstract" xlink:label="ChangesInEquityAbstract" xlink:title="ChangesInEquityAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="ChangesInEquityAbstract" xlink:title="definition: StatementOfChangesInEquityLineItems to ChangesInEquityAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssueOfEquity" xlink:label="IssueOfEquity" xlink:title="IssueOfEquity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IssueOfEquity" xlink:title="definition: StatementOfChangesInEquityLineItems to IssueOfEquity" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseThroughSharesIssuedAsPartOfAssetAcquisition" xlink:label="IncreaseDecreaseThroughSharesIssuedAsPartOfAssetAcquisition" xlink:title="IncreaseDecreaseThroughSharesIssuedAsPartOfAssetAcquisition" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseThroughSharesIssuedAsPartOfAssetAcquisition" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseThroughSharesIssuedAsPartOfAssetAcquisition" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions" xlink:label="IncreaseDecreaseThroughSharebasedPaymentTransactions" xlink:title="IncreaseDecreaseThroughSharebasedPaymentTransactions" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseThroughSharebasedPaymentTransactions" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseThroughSharebasedPaymentTransactions" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseDecreaseThroughExerciseOfOptions" xlink:label="IncreaseDecreaseThroughExerciseOfOptions" xlink:title="IncreaseDecreaseThroughExerciseOfOptions" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseThroughExerciseOfOptions" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseThroughExerciseOfOptions" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PurchaseOfTreasuryShares" xlink:label="PurchaseOfTreasuryShares" xlink:title="PurchaseOfTreasuryShares" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="PurchaseOfTreasuryShares" xlink:title="definition: StatementOfChangesInEquityLineItems to PurchaseOfTreasuryShares" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DividendsPaid" xlink:label="DividendsPaid" xlink:title="DividendsPaid" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="DividendsPaid" xlink:title="definition: StatementOfChangesInEquityLineItems to DividendsPaid" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners" xlink:label="IncreaseDecreaseThroughTransactionsWithOwners" xlink:title="IncreaseDecreaseThroughTransactionsWithOwners" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseThroughTransactionsWithOwners" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseThroughTransactionsWithOwners" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherTransactionsAbstract" xlink:label="OtherTransactionsAbstract" xlink:title="OtherTransactionsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="OtherTransactionsAbstract" xlink:title="definition: StatementOfChangesInEquityLineItems to OtherTransactionsAbstract" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_StatementOfComprehensiveIncomeAbstract" xlink:label="StatementOfComprehensiveIncomeAbstract" xlink:title="StatementOfComprehensiveIncomeAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="StatementOfComprehensiveIncomeAbstract" xlink:title="definition: StatementOfChangesInEquityLineItems to StatementOfComprehensiveIncomeAbstract" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLoss" xlink:label="ProfitLoss" xlink:title="ProfitLoss" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="ProfitLoss" xlink:title="definition: StatementOfChangesInEquityLineItems to ProfitLoss" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherComprehensiveIncome" xlink:label="OtherComprehensiveIncome" xlink:title="OtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="OtherComprehensiveIncome" xlink:title="definition: StatementOfChangesInEquityLineItems to OtherComprehensiveIncome" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComprehensiveIncome" xlink:label="ComprehensiveIncome" xlink:title="ComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="ComprehensiveIncome" xlink:title="definition: StatementOfChangesInEquityLineItems to ComprehensiveIncome" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:label="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:title="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInEquityThroughOtherTransactions" xlink:label="IncreaseDecreaseInEquityThroughOtherTransactions" xlink:title="IncreaseDecreaseInEquityThroughOtherTransactions" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="IncreaseDecreaseInEquityThroughOtherTransactions" xlink:title="definition: StatementOfChangesInEquityLineItems to IncreaseDecreaseInEquityThroughOtherTransactions" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_StatementOfChangesInEquityTable" xlink:label="StatementOfChangesInEquityTable" xlink:title="StatementOfChangesInEquityTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="StatementOfChangesInEquityLineItems" xlink:to="StatementOfChangesInEquityTable" xlink:title="definition: StatementOfChangesInEquityLineItems to StatementOfChangesInEquityTable" order="17.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityAxis" xlink:label="ComponentsOfEquityAxis" xlink:title="ComponentsOfEquityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="StatementOfChangesInEquityTable" xlink:to="ComponentsOfEquityAxis" xlink:title="definition: StatementOfChangesInEquityTable to ComponentsOfEquityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain_2" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain_2" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssuedCapitalMember" xlink:label="IssuedCapitalMember" xlink:title="IssuedCapitalMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="IssuedCapitalMember" xlink:title="definition: ComponentsOfEquityDomain to IssuedCapitalMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SharePremiumMember" xlink:label="SharePremiumMember" xlink:title="SharePremiumMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="SharePremiumMember" xlink:title="definition: ComponentsOfEquityDomain to SharePremiumMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ContributedSurplusMember" xlink:label="ContributedSurplusMember" xlink:title="ContributedSurplusMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ContributedSurplusMember" xlink:title="definition: ComponentsOfEquityDomain to ContributedSurplusMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember" xlink:label="ReserveOfExchangeDifferencesOnTranslationMember" xlink:title="ReserveOfExchangeDifferencesOnTranslationMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ReserveOfExchangeDifferencesOnTranslationMember" xlink:title="definition: ComponentsOfEquityDomain to ReserveOfExchangeDifferencesOnTranslationMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfCashFlowHedgesMember" xlink:label="ReserveOfCashFlowHedgesMember" xlink:title="ReserveOfCashFlowHedgesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ReserveOfCashFlowHedgesMember" xlink:title="definition: ComponentsOfEquityDomain to ReserveOfCashFlowHedgesMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TreasurySharesMember" xlink:label="TreasurySharesMember" xlink:title="TreasurySharesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="TreasurySharesMember" xlink:title="definition: ComponentsOfEquityDomain to TreasurySharesMember" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CapitalReserveMember" xlink:label="CapitalReserveMember" xlink:title="CapitalReserveMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="CapitalReserveMember" xlink:title="definition: ComponentsOfEquityDomain to CapitalReserveMember" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfSharebasedPaymentsMember" xlink:label="ReserveOfSharebasedPaymentsMember" xlink:title="ReserveOfSharebasedPaymentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ReserveOfSharebasedPaymentsMember" xlink:title="definition: ComponentsOfEquityDomain to ReserveOfSharebasedPaymentsMember" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember" xlink:label="ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember" xlink:title="ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember" xlink:title="definition: ComponentsOfEquityDomain to ReserveOfGainsAndLossesFromInvestmentsInEquityInstrumentsMember" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RetainedEarningsMember" xlink:label="RetainedEarningsMember" xlink:title="RetainedEarningsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="RetainedEarningsMember" xlink:title="definition: ComponentsOfEquityDomain to RetainedEarningsMember" order="10.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ConsolidatedStatementOfCashFlows" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ConsolidatedStatementOfCashFlowsParenthetical">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:label="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:title="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract" xlink:label="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract" xlink:title="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivities" xlink:label="LiabilitiesArisingFromFinancingActivities" xlink:title="LiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="LiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to LiabilitiesArisingFromFinancingActivities" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseThroughExtinguishmentOfFinanceLeaseLiabilityAgainstReceivablesLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseDecreaseThroughExtinguishmentOfFinanceLeaseLiabilityAgainstReceivablesLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseDecreaseThroughExtinguishmentOfFinanceLeaseLiabilityAgainstReceivablesLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseDecreaseThroughExtinguishmentOfFinanceLeaseLiabilityAgainstReceivablesLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseDecreaseThroughExtinguishmentOfFinanceLeaseLiabilityAgainstReceivablesLiabilitiesArisingFromFinancingActivities" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseThroughInterestExpensesLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseDecreaseThroughInterestExpensesLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseDecreaseThroughInterestExpensesLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseDecreaseThroughInterestExpensesLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseDecreaseThroughInterestExpensesLiabilitiesArisingFromFinancingActivities" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncreaseDecreaseThroughChangesInFairValuesLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseDecreaseThroughChangesInFairValuesLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseDecreaseThroughChangesInFairValuesLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseDecreaseThroughChangesInFairValuesLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseDecreaseThroughChangesInFairValuesLiabilitiesArisingFromFinancingActivities" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseThroughCapitalisedFinancingFeesWrittenOffLiabilitiesArisingFromFinancingActivities" xlink:label="IncreaseDecreaseThroughCapitalisedFinancingFeesWrittenOffLiabilitiesArisingFromFinancingActivities" xlink:title="IncreaseDecreaseThroughCapitalisedFinancingFeesWrittenOffLiabilitiesArisingFromFinancingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="IncreaseDecreaseThroughCapitalisedFinancingFeesWrittenOffLiabilitiesArisingFromFinancingActivities" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to IncreaseDecreaseThroughCapitalisedFinancingFeesWrittenOffLiabilitiesArisingFromFinancingActivities" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" xlink:label="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" xlink:title="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems" xlink:to="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems to DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" order="9.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable to BorrowingsByNameAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShorttermBorrowingsMember" xlink:label="ShorttermBorrowingsMember" xlink:title="ShorttermBorrowingsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="ShorttermBorrowingsMember" xlink:title="definition: BorrowingsByNameDomain to ShorttermBorrowingsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LoanFromRelatedCorporationMember" xlink:label="LoanFromRelatedCorporationMember" xlink:title="LoanFromRelatedCorporationMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="LoanFromRelatedCorporationMember" xlink:title="definition: BorrowingsByNameDomain to LoanFromRelatedCorporationMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LoanFromNonRelatedPartiesMember" xlink:label="LoanFromNonRelatedPartiesMember" xlink:title="LoanFromNonRelatedPartiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="LoanFromNonRelatedPartiesMember" xlink:title="definition: BorrowingsByNameDomain to LoanFromNonRelatedPartiesMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinanceAndOtherLeaseLiabilitiesMember" xlink:label="FinanceAndOtherLeaseLiabilitiesMember" xlink:title="FinanceAndOtherLeaseLiabilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="FinanceAndOtherLeaseLiabilitiesMember" xlink:title="definition: BorrowingsByNameDomain to FinanceAndOtherLeaseLiabilitiesMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DerivativesMember" xlink:label="DerivativesMember" xlink:title="DerivativesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="DerivativesMember" xlink:title="definition: BorrowingsByNameDomain to DerivativesMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:label="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:title="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SignificantNonCashTransactionsAbstract" xlink:label="SignificantNonCashTransactionsAbstract" xlink:title="SignificantNonCashTransactionsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:to="SignificantNonCashTransactionsAbstract" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems to SignificantNonCashTransactionsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssueOfEquity" xlink:label="IssueOfEquity" xlink:title="IssueOfEquity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:to="IssueOfEquity" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems to IssueOfEquity" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IssuanceOfCommonShares" xlink:label="IssuanceOfCommonShares" xlink:title="IssuanceOfCommonShares" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:to="IssuanceOfCommonShares" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems to IssuanceOfCommonShares" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:label="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:title="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems" xlink:to="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationLineItems to DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" order="4.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityAxis" xlink:label="ComponentsOfEquityAxis" xlink:title="ComponentsOfEquityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:to="ComponentsOfEquityAxis" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable to ComponentsOfEquityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain_2" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain_2" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OrdinarySharesMember" xlink:label="OrdinarySharesMember" xlink:title="OrdinarySharesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="OrdinarySharesMember" xlink:title="definition: ComponentsOfEquityDomain to OrdinarySharesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesAxis" xlink:label="CategoriesOfRelatedPartiesAxis" xlink:title="CategoriesOfRelatedPartiesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:to="CategoriesOfRelatedPartiesAxis" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable to CategoriesOfRelatedPartiesAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain_2" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain_2" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RelatedPartiesMember" xlink:label="RelatedPartiesMember" xlink:title="RelatedPartiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfRelatedPartiesDomain" xlink:to="RelatedPartiesMember" xlink:title="definition: CategoriesOfRelatedPartiesDomain to RelatedPartiesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BWGroupLimitedMember" xlink:label="BWGroupLimitedMember" xlink:title="BWGroupLimitedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RelatedPartiesMember" xlink:to="BWGroupLimitedMember" xlink:title="definition: RelatedPartiesMember to BWGroupLimitedMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BusinessCombinationsAxis" xlink:label="BusinessCombinationsAxis" xlink:title="BusinessCombinationsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable" xlink:to="BusinessCombinationsAxis" xlink:title="definition: DisclosureOfTransactionsRecognisedSeparatelyFromAcquisitionOfAssetsAndAssumptionOfLiabilitiesInBusinessCombinationTable to BusinessCombinationsAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BusinessCombinationsDomain" xlink:label="BusinessCombinationsDomain" xlink:title="BusinessCombinationsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BusinessCombinationsAxis" xlink:to="BusinessCombinationsDomain" xlink:title="definition: BusinessCombinationsAxis to BusinessCombinationsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BusinessCombinationsDomain" xlink:label="BusinessCombinationsDomain_2" xlink:title="BusinessCombinationsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BusinessCombinationsAxis" xlink:to="BusinessCombinationsDomain_2" xlink:title="definition: BusinessCombinationsAxis to BusinessCombinationsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ChemicalTankersIncMember" xlink:label="ChemicalTankersIncMember" xlink:title="ChemicalTankersIncMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BusinessCombinationsDomain" xlink:to="ChemicalTankersIncMember" xlink:title="definition: BusinessCombinationsDomain to ChemicalTankersIncMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfChangesInAccountingEstimatesLineItems" xlink:label="DisclosureOfChangesInAccountingEstimatesLineItems" xlink:title="DisclosureOfChangesInAccountingEstimatesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:label="CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:title="CashFlowsFromUsedInFinancingActivitiesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfChangesInAccountingEstimatesLineItems" xlink:to="CashFlowsFromUsedInFinancingActivitiesAbstract" xlink:title="definition: DisclosureOfChangesInAccountingEstimatesLineItems to CashFlowsFromUsedInFinancingActivitiesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ProceedsFromSettlementOfDerivatives" xlink:label="ProceedsFromSettlementOfDerivatives" xlink:title="ProceedsFromSettlementOfDerivatives" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfChangesInAccountingEstimatesLineItems" xlink:to="ProceedsFromSettlementOfDerivatives" xlink:title="definition: DisclosureOfChangesInAccountingEstimatesLineItems to ProceedsFromSettlementOfDerivatives" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfChangesInAccountingEstimatesTable" xlink:label="DisclosureOfChangesInAccountingEstimatesTable" xlink:title="DisclosureOfChangesInAccountingEstimatesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfChangesInAccountingEstimatesLineItems" xlink:to="DisclosureOfChangesInAccountingEstimatesTable" xlink:title="definition: DisclosureOfChangesInAccountingEstimatesLineItems to DisclosureOfChangesInAccountingEstimatesTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis" xlink:label="RetrospectiveApplicationAndRetrospectiveRestatementAxis" xlink:title="RetrospectiveApplicationAndRetrospectiveRestatementAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfChangesInAccountingEstimatesTable" xlink:to="RetrospectiveApplicationAndRetrospectiveRestatementAxis" xlink:title="definition: DisclosureOfChangesInAccountingEstimatesTable to RetrospectiveApplicationAndRetrospectiveRestatementAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RestatedMember" xlink:label="RestatedMember" xlink:title="RestatedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RetrospectiveApplicationAndRetrospectiveRestatementAxis" xlink:to="RestatedMember" xlink:title="definition: RetrospectiveApplicationAndRetrospectiveRestatementAxis to RestatedMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RestatedMember" xlink:label="RestatedMember_2" xlink:title="RestatedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RetrospectiveApplicationAndRetrospectiveRestatementAxis" xlink:to="RestatedMember_2" xlink:title="definition: RetrospectiveApplicationAndRetrospectiveRestatementAxis to RestatedMember_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PreviouslyStatedMember" xlink:label="PreviouslyStatedMember" xlink:title="PreviouslyStatedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RestatedMember" xlink:to="PreviouslyStatedMember" xlink:title="definition: RestatedMember to PreviouslyStatedMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/GeneralInformation" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPolicies" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/Revenue" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ExpensesByNature" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/IncomeTaxes" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/EarningsPerShare" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/PropertyPlantAndEquipment" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DerivativeFinancialInstruments" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/LoansReceivableFromJointVentures" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/JointVentures" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/Inventories" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepayments" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCash" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ShareCapital" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/OtherReserves" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/Borrowings" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherPayablesAndProvisions" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/LeasesAsLessee" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/Commitments" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagement" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RelatedPartyTransactions" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/SegmentInformation" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DividendsPaid" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/EventsOccurringAfterBalanceSheetDate" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ListingOfCompaniesInGroup" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CybersecurityRiskManagementAndStrategyDisclosure" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesPolicies" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RevenueTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ExpensesByNatureTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/IncomeTaxesTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/EarningsPerShareTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/PropertyPlantAndEquipmentTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DerivativeFinancialInstrumentsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/JointVenturesTables">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfJointVenturesLineItems" xlink:label="DisclosureOfJointVenturesLineItems" xlink:title="DisclosureOfJointVenturesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory" xlink:label="DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory" xlink:title="DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory" xlink:title="definition: DisclosureOfJointVenturesLineItems to DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CarryingAmountAndShareOfProfitOfTheseJointVenturesTableTextBlock" xlink:label="CarryingAmountAndShareOfProfitOfTheseJointVenturesTableTextBlock" xlink:title="CarryingAmountAndShareOfProfitOfTheseJointVenturesTableTextBlock" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="CarryingAmountAndShareOfProfitOfTheseJointVenturesTableTextBlock" xlink:title="definition: DisclosureOfJointVenturesLineItems to CarryingAmountAndShareOfProfitOfTheseJointVenturesTableTextBlock" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfJointVenturesTable" xlink:label="DisclosureOfJointVenturesTable" xlink:title="DisclosureOfJointVenturesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="DisclosureOfJointVenturesTable" xlink:title="definition: DisclosureOfJointVenturesLineItems to DisclosureOfJointVenturesTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesAxis" xlink:label="JointVenturesAxis" xlink:title="JointVenturesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfJointVenturesTable" xlink:to="JointVenturesAxis" xlink:title="definition: DisclosureOfJointVenturesTable to JointVenturesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesDomain" xlink:label="JointVenturesDomain" xlink:title="JointVenturesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="JointVenturesAxis" xlink:to="JointVenturesDomain" xlink:title="definition: JointVenturesAxis to JointVenturesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesDomain" xlink:label="JointVenturesDomain_2" xlink:title="JointVenturesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="JointVenturesAxis" xlink:to="JointVenturesDomain_2" xlink:title="definition: JointVenturesAxis to JointVenturesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VistaShippingPteLtdMember" xlink:label="VistaShippingPteLtdMember" xlink:title="VistaShippingPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="VistaShippingPteLtdMember" xlink:title="definition: JointVenturesDomain to VistaShippingPteLtdMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HAShippingMember" xlink:label="HAShippingMember" xlink:title="HAShippingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="HAShippingMember" xlink:title="definition: JointVenturesDomain to HAShippingMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_EcomarMember" xlink:label="EcomarMember" xlink:title="EcomarMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="EcomarMember" xlink:title="definition: JointVenturesDomain to EcomarMember" order="3.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/InventoriesTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepaymentsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ShareCapitalTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/OtherReservesTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherPayablesAndProvisionsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/LeasesAsLesseeTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CommitmentsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RelatedPartyTransactionsTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/SegmentInformationTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DividendsPaidTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ListingOfCompaniesInGroupTables" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesCriticalAccountingJudgementsAndEstimatesDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfInitialApplicationOfStandardsOrInterpretationsAbstract" xlink:label="DisclosureOfInitialApplicationOfStandardsOrInterpretationsAbstract" xlink:title="DisclosureOfInitialApplicationOfStandardsOrInterpretationsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DisclosureOfInitialApplicationOfStandardsOrInterpretationsAbstract" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DisclosureOfInitialApplicationOfStandardsOrInterpretationsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfCommercialPools" xlink:label="NumberOfCommercialPools" xlink:title="NumberOfCommercialPools" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="NumberOfCommercialPools" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to NumberOfCommercialPools" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:label="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:title="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" order="4.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis" xlink:label="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="ClassesOfPropertyPlantAndEquipmentAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:to="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable to ClassesOfPropertyPlantAndEquipmentAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShipsMember" xlink:label="ShipsMember" xlink:title="ShipsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ShipsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ShipsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ScrubbersMember" xlink:label="ScrubbersMember" xlink:title="ScrubbersMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ScrubbersMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ScrubbersMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DryDockingMember" xlink:label="DryDockingMember" xlink:title="DryDockingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="DryDockingMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to DryDockingMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:to="RangeAxis" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesRevenueAndIncomeRecognitionDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesEstimatedUsefulLivesDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentAbstract" xlink:label="DisclosureOfPropertyPlantAndEquipmentAbstract" xlink:title="DisclosureOfPropertyPlantAndEquipmentAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DisclosureOfPropertyPlantAndEquipmentAbstract" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DisclosureOfPropertyPlantAndEquipmentAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:label="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:title="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis" xlink:label="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="ClassesOfPropertyPlantAndEquipmentAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:to="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable to ClassesOfPropertyPlantAndEquipmentAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TankersMember" xlink:label="TankersMember" xlink:title="TankersMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="TankersMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to TankersMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ScrubbersMember" xlink:label="ScrubbersMember" xlink:title="ScrubbersMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ScrubbersMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ScrubbersMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DryDockingMember" xlink:label="DryDockingMember" xlink:title="DryDockingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="DryDockingMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to DryDockingMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherPropertyPlantAndEquipmentMember" xlink:label="OtherPropertyPlantAndEquipmentMember" xlink:title="OtherPropertyPlantAndEquipmentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="OtherPropertyPlantAndEquipmentMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to OtherPropertyPlantAndEquipmentMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:to="RangeAxis" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/MaterialAccountingPoliciesIncomeTaxesDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MajorComponentsOfTaxExpenseIncomeAbstract" xlink:label="MajorComponentsOfTaxExpenseIncomeAbstract" xlink:title="MajorComponentsOfTaxExpenseIncomeAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="MajorComponentsOfTaxExpenseIncomeAbstract" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to MajorComponentsOfTaxExpenseIncomeAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DeferredTaxAssets" xlink:label="DeferredTaxAssets" xlink:title="DeferredTaxAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DeferredTaxAssets" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DeferredTaxAssets" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DeferredTaxLiabilities" xlink:label="DeferredTaxLiabilities" xlink:title="DeferredTaxLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DeferredTaxLiabilities" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DeferredTaxLiabilities" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ApplicableTaxRate" xlink:label="ApplicableTaxRate" xlink:title="ApplicableTaxRate" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="ApplicableTaxRate" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to ApplicableTaxRate" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:label="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems" xlink:to="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsLineItems to DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" order="5.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable" xlink:to="RangeAxis" xlink:title="definition: DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretationsTable to RangeAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RevenueDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:label="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:title="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselOperatingExpensesAbstract" xlink:label="VesselOperatingExpensesAbstract" xlink:title="VesselOperatingExpensesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="VesselOperatingExpensesAbstract" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to VesselOperatingExpensesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="Revenue" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to Revenue" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:label="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:title="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems" xlink:to="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems to DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesAxis" xlink:label="ProductsAndServicesAxis" xlink:title="ProductsAndServicesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable" xlink:to="ProductsAndServicesAxis" xlink:title="definition: DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable to ProductsAndServicesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain_2" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain_2" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaVesselsAndTCVesselsMember" xlink:label="HafniaVesselsAndTCVesselsMember" xlink:title="HafniaVesselsAndTCVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="HafniaVesselsAndTCVesselsMember" xlink:title="definition: ProductsAndServicesDomain to HafniaVesselsAndTCVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ExternalVesselsInDisponentOwnerPoolsMember" xlink:label="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="ExternalVesselsInDisponentOwnerPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="definition: ProductsAndServicesDomain to ExternalVesselsInDisponentOwnerPoolsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevenueFromTimeCharterMember" xlink:label="RevenueFromTimeCharterMember" xlink:title="RevenueFromTimeCharterMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="HafniaVesselsAndTCVesselsMember" xlink:to="RevenueFromTimeCharterMember" xlink:title="definition: HafniaVesselsAndTCVesselsMember to RevenueFromTimeCharterMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevenueFromVoyageCharterMember" xlink:label="RevenueFromVoyageCharterMember" xlink:title="RevenueFromVoyageCharterMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="HafniaVesselsAndTCVesselsMember" xlink:to="RevenueFromVoyageCharterMember" xlink:title="definition: HafniaVesselsAndTCVesselsMember to RevenueFromVoyageCharterMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LeaseComponentMember" xlink:label="LeaseComponentMember" xlink:title="LeaseComponentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevenueFromTimeCharterMember" xlink:to="LeaseComponentMember" xlink:title="definition: RevenueFromTimeCharterMember to LeaseComponentMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NonLeaseComponentMember" xlink:label="NonLeaseComponentMember" xlink:title="NonLeaseComponentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevenueFromTimeCharterMember" xlink:to="NonLeaseComponentMember" xlink:title="definition: RevenueFromTimeCharterMember to NonLeaseComponentMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ExpensesByNatureDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfProductsAndServicesLineItems" xlink:label="DisclosureOfProductsAndServicesLineItems" xlink:title="DisclosureOfProductsAndServicesLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VoyageExpensesAbstract" xlink:label="VoyageExpensesAbstract" xlink:title="VoyageExpensesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="VoyageExpensesAbstract" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to VoyageExpensesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselOperatingExpensesAbstract" xlink:label="VesselOperatingExpensesAbstract" xlink:title="VesselOperatingExpensesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="VesselOperatingExpensesAbstract" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to VesselOperatingExpensesAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherExpenseAbstract" xlink:label="OtherExpenseAbstract" xlink:title="OtherExpenseAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="OtherExpenseAbstract" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to OtherExpenseAbstract" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CorporateSupportServiceFee" xlink:label="CorporateSupportServiceFee" xlink:title="CorporateSupportServiceFee" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="CorporateSupportServiceFee" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to CorporateSupportServiceFee" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_EmployeeBenefitsExpenseRelatedToShoreBasedEmployees" xlink:label="EmployeeBenefitsExpenseRelatedToShoreBasedEmployees" xlink:title="EmployeeBenefitsExpenseRelatedToShoreBasedEmployees" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="EmployeeBenefitsExpenseRelatedToShoreBasedEmployees" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to EmployeeBenefitsExpenseRelatedToShoreBasedEmployees" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MiscellaneousOtherOperatingExpense" xlink:label="MiscellaneousOtherOperatingExpense" xlink:title="MiscellaneousOtherOperatingExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="MiscellaneousOtherOperatingExpense" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to MiscellaneousOtherOperatingExpense" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherExpenseByNature" xlink:label="OtherExpenseByNature" xlink:title="OtherExpenseByNature" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="OtherExpenseByNature" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to OtherExpenseByNature" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_EmployeeBenefitsExpenseRelatedToSeafaringEmployees" xlink:label="EmployeeBenefitsExpenseRelatedToSeafaringEmployees" xlink:title="EmployeeBenefitsExpenseRelatedToSeafaringEmployees" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="EmployeeBenefitsExpenseRelatedToSeafaringEmployees" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to EmployeeBenefitsExpenseRelatedToSeafaringEmployees" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RepairsAndMaintenanceExpense" xlink:label="RepairsAndMaintenanceExpense" xlink:title="RepairsAndMaintenanceExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="RepairsAndMaintenanceExpense" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to RepairsAndMaintenanceExpense" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InsuranceExpense" xlink:label="InsuranceExpense" xlink:title="InsuranceExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="InsuranceExpense" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to InsuranceExpense" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherVesselOperatingExpenses" xlink:label="OtherVesselOperatingExpenses" xlink:title="OtherVesselOperatingExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="OtherVesselOperatingExpenses" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to OtherVesselOperatingExpenses" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselOperatingExpenses" xlink:label="VesselOperatingExpenses" xlink:title="VesselOperatingExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="VesselOperatingExpenses" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to VesselOperatingExpenses" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FuelExpense" xlink:label="FuelExpense" xlink:title="FuelExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="FuelExpense" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to FuelExpense" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PortCosts" xlink:label="PortCosts" xlink:title="PortCosts" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="PortCosts" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to PortCosts" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FeeAndCommissionExpense" xlink:label="FeeAndCommissionExpense" xlink:title="FeeAndCommissionExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="FeeAndCommissionExpense" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to FeeAndCommissionExpense" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherVoyageRelatedExpenses" xlink:label="OtherVoyageRelatedExpenses" xlink:title="OtherVoyageRelatedExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="OtherVoyageRelatedExpenses" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to OtherVoyageRelatedExpenses" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PoolAllocation" xlink:label="PoolAllocation" xlink:title="PoolAllocation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="PoolAllocation" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to PoolAllocation" order="17.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CostOfSales" xlink:label="CostOfSales" xlink:title="CostOfSales" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="CostOfSales" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to CostOfSales" order="18.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfProductsAndServicesTable" xlink:label="DisclosureOfProductsAndServicesTable" xlink:title="DisclosureOfProductsAndServicesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfProductsAndServicesLineItems" xlink:to="DisclosureOfProductsAndServicesTable" xlink:title="definition: DisclosureOfProductsAndServicesLineItems to DisclosureOfProductsAndServicesTable" order="19.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesAxis" xlink:label="ProductsAndServicesAxis" xlink:title="ProductsAndServicesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfProductsAndServicesTable" xlink:to="ProductsAndServicesAxis" xlink:title="definition: DisclosureOfProductsAndServicesTable to ProductsAndServicesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain_2" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain_2" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaVesselsAndTCVesselsMember" xlink:label="HafniaVesselsAndTCVesselsMember" xlink:title="HafniaVesselsAndTCVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="HafniaVesselsAndTCVesselsMember" xlink:title="definition: ProductsAndServicesDomain to HafniaVesselsAndTCVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ExternalVesselsInDisponentOwnerPoolsMember" xlink:label="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="ExternalVesselsInDisponentOwnerPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="definition: ProductsAndServicesDomain to ExternalVesselsInDisponentOwnerPoolsMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/IncomeTaxesIncomeTaxExpenseDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/IncomeTaxesReconciliationOfEffectiveTaxRateDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/EarningsPerShareDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/PropertyPlantAndEquipmentPropertyPlantAndEquipmentDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:label="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:title="DisclosureOfPropertyPlantAndEquipmentLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract" xlink:label="ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract" xlink:title="ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:label="PropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="PropertyPlantAndEquipmentIncludingRightofuseAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="PropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to PropertyPlantAndEquipmentIncludingRightofuseAssets" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:label="AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipmentIncludingRightofuseAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipmentIncludingRightofuseAssets" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DepreciationPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:label="DepreciationPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="DepreciationPropertyPlantAndEquipmentIncludingRightofuseAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DepreciationPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DepreciationPropertyPlantAndEquipmentIncludingRightofuseAssets" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisposalsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:label="DisposalsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="DisposalsPropertyPlantAndEquipmentIncludingRightofuseAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DisposalsPropertyPlantAndEquipmentIncludingRightofuseAssets" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DisposalsPropertyPlantAndEquipmentIncludingRightofuseAssets" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment" xlink:label="DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment" xlink:title="DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_WriteOffOnExpirationOfLeases" xlink:label="WriteOffOnExpirationOfLeases" xlink:title="WriteOffOnExpirationOfLeases" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="WriteOffOnExpirationOfLeases" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to WriteOffOnExpirationOfLeases" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseThroughWriteOffOnCompletionOfDryDockingCycle" xlink:label="IncreaseDecreaseThroughWriteOffOnCompletionOfDryDockingCycle" xlink:title="IncreaseDecreaseThroughWriteOffOnCompletionOfDryDockingCycle" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="IncreaseDecreaseThroughWriteOffOnCompletionOfDryDockingCycle" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to IncreaseDecreaseThroughWriteOffOnCompletionOfDryDockingCycle" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable" xlink:label="DisclosureOfPropertyPlantAndEquipmentTable" xlink:title="DisclosureOfPropertyPlantAndEquipmentTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DisclosureOfPropertyPlantAndEquipmentTable" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DisclosureOfPropertyPlantAndEquipmentTable" order="9.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis" xlink:label="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="ClassesOfPropertyPlantAndEquipmentAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfPropertyPlantAndEquipmentTable" xlink:to="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentTable to ClassesOfPropertyPlantAndEquipmentAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShipsMember" xlink:label="ShipsMember" xlink:title="ShipsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ShipsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ShipsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DryDockingMember" xlink:label="DryDockingMember" xlink:title="DryDockingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="DryDockingMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to DryDockingMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RightOfUseAssetsVesselsMember" xlink:label="RightOfUseAssetsVesselsMember" xlink:title="RightOfUseAssetsVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="RightOfUseAssetsVesselsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to RightOfUseAssetsVesselsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherPropertyPlantAndEquipmentMember" xlink:label="OtherPropertyPlantAndEquipmentMember" xlink:title="OtherPropertyPlantAndEquipmentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="OtherPropertyPlantAndEquipmentMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to OtherPropertyPlantAndEquipmentMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:label="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfPropertyPlantAndEquipmentTable" xlink:to="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentTable to CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember_2" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember_2" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GrossCarryingAmountMember" xlink:label="GrossCarryingAmountMember" xlink:title="GrossCarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="GrossCarryingAmountMember" xlink:title="definition: CarryingAmountMember to GrossCarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:label="AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:title="AccumulatedDepreciationAmortisationAndImpairmentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:title="definition: CarryingAmountMember to AccumulatedDepreciationAmortisationAndImpairmentMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/PropertyPlantAndEquipmentAcquisitionAndDisposalDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:label="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:title="DisclosureOfPropertyPlantAndEquipmentLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AcquisitionAndDisposalAbstract" xlink:label="AcquisitionAndDisposalAbstract" xlink:title="AcquisitionAndDisposalAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="AcquisitionAndDisposalAbstract" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to AcquisitionAndDisposalAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfVesselsDisposed" xlink:label="NumberOfVesselsDisposed" xlink:title="NumberOfVesselsDisposed" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="NumberOfVesselsDisposed" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to NumberOfVesselsDisposed" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfVesselsSold" xlink:label="NumberOfVesselsSold" xlink:title="NumberOfVesselsSold" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="NumberOfVesselsSold" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to NumberOfVesselsSold" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IncomeFromAmountsRecoveredFromReinsurer" xlink:label="IncomeFromAmountsRecoveredFromReinsurer" xlink:title="IncomeFromAmountsRecoveredFromReinsurer" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="IncomeFromAmountsRecoveredFromReinsurer" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to IncomeFromAmountsRecoveredFromReinsurer" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ImpairmentLoss" xlink:label="ImpairmentLoss" xlink:title="ImpairmentLoss" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="ImpairmentLoss" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to ImpairmentLoss" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MortgagedVesselsCarryingAmount" xlink:label="MortgagedVesselsCarryingAmount" xlink:title="MortgagedVesselsCarryingAmount" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="MortgagedVesselsCarryingAmount" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to MortgagedVesselsCarryingAmount" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DecreaseInDepreciationExpense" xlink:label="DecreaseInDepreciationExpense" xlink:title="DecreaseInDepreciationExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DecreaseInDepreciationExpense" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DecreaseInDepreciationExpense" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable" xlink:label="DisclosureOfPropertyPlantAndEquipmentTable" xlink:title="DisclosureOfPropertyPlantAndEquipmentTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfPropertyPlantAndEquipmentLineItems" xlink:to="DisclosureOfPropertyPlantAndEquipmentTable" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentLineItems to DisclosureOfPropertyPlantAndEquipmentTable" order="8.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis" xlink:label="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="ClassesOfPropertyPlantAndEquipmentAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfPropertyPlantAndEquipmentTable" xlink:to="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="definition: DisclosureOfPropertyPlantAndEquipmentTable to ClassesOfPropertyPlantAndEquipmentAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShipsMember" xlink:label="ShipsMember" xlink:title="ShipsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ShipsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ShipsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongRangeOneVesselsMember" xlink:label="LongRangeOneVesselsMember" xlink:title="LongRangeOneVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShipsMember" xlink:to="LongRangeOneVesselsMember" xlink:title="definition: ShipsMember to LongRangeOneVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MediumRangeVesselsMember" xlink:label="MediumRangeVesselsMember" xlink:title="MediumRangeVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShipsMember" xlink:to="MediumRangeVesselsMember" xlink:title="definition: ShipsMember to MediumRangeVesselsMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DerivativeFinancialInstrumentsAnalysisDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:label="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:title="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract" xlink:label="DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract" xlink:title="DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to DisclosureOfDetailedInformationAboutHedgingInstrumentsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_HedgingInstrumentAssets" xlink:label="HedgingInstrumentAssets" xlink:title="HedgingInstrumentAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="HedgingInstrumentAssets" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to HedgingInstrumentAssets" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_HedgingInstrumentLiabilities" xlink:label="HedgingInstrumentLiabilities" xlink:title="HedgingInstrumentLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="HedgingInstrumentLiabilities" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to HedgingInstrumentLiabilities" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NonHedgingInstrumentAssets" xlink:label="NonHedgingInstrumentAssets" xlink:title="NonHedgingInstrumentAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="NonHedgingInstrumentAssets" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to NonHedgingInstrumentAssets" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NonHedgingInstrumentLiabilities" xlink:label="NonHedgingInstrumentLiabilities" xlink:title="NonHedgingInstrumentLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="NonHedgingInstrumentLiabilities" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to NonHedgingInstrumentLiabilities" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DerivativeFinancialAssets" xlink:label="DerivativeFinancialAssets" xlink:title="DerivativeFinancialAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="DerivativeFinancialAssets" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to DerivativeFinancialAssets" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DerivativeFinancialLiabilities" xlink:label="DerivativeFinancialLiabilities" xlink:title="DerivativeFinancialLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="DerivativeFinancialLiabilities" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to DerivativeFinancialLiabilities" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentDerivativeFinancialAssets" xlink:label="NoncurrentDerivativeFinancialAssets" xlink:title="NoncurrentDerivativeFinancialAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="NoncurrentDerivativeFinancialAssets" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to NoncurrentDerivativeFinancialAssets" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentDerivativeFinancialLiabilities" xlink:label="NoncurrentDerivativeFinancialLiabilities" xlink:title="NoncurrentDerivativeFinancialLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="NoncurrentDerivativeFinancialLiabilities" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to NoncurrentDerivativeFinancialLiabilities" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentDerivativeFinancialAssets" xlink:label="CurrentDerivativeFinancialAssets" xlink:title="CurrentDerivativeFinancialAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="CurrentDerivativeFinancialAssets" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to CurrentDerivativeFinancialAssets" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentDerivativeFinancialLiabilities" xlink:label="CurrentDerivativeFinancialLiabilities" xlink:title="CurrentDerivativeFinancialLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="CurrentDerivativeFinancialLiabilities" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to CurrentDerivativeFinancialLiabilities" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" xlink:label="DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" xlink:title="DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems" xlink:to="DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsLineItems to DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" order="12.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksAxis" xlink:label="TypesOfRisksAxis" xlink:title="TypesOfRisksAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" xlink:to="TypesOfRisksAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsTable to TypesOfRisksAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain_2" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain_2" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MarketRiskMember" xlink:label="MarketRiskMember" xlink:title="MarketRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="MarketRiskMember" xlink:title="definition: TypesOfRisksDomain to MarketRiskMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestRateSwapContractMember" xlink:label="InterestRateSwapContractMember" xlink:title="InterestRateSwapContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MarketRiskMember" xlink:to="InterestRateSwapContractMember" xlink:title="definition: MarketRiskMember to InterestRateSwapContractMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ForwardFreightAgreementsMember" xlink:label="ForwardFreightAgreementsMember" xlink:title="ForwardFreightAgreementsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MarketRiskMember" xlink:to="ForwardFreightAgreementsMember" xlink:title="definition: MarketRiskMember to ForwardFreightAgreementsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ForwardContractMember" xlink:label="ForwardContractMember" xlink:title="ForwardContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MarketRiskMember" xlink:to="ForwardContractMember" xlink:title="definition: MarketRiskMember to ForwardContractMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesAxis" xlink:label="TypesOfHedgesAxis" xlink:title="TypesOfHedgesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutHedgingInstrumentsTable" xlink:to="TypesOfHedgesAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutHedgingInstrumentsTable to TypesOfHedgesAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain_2" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain_2" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CashFlowHedgesMember" xlink:label="CashFlowHedgesMember" xlink:title="CashFlowHedgesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfHedgesDomain" xlink:to="CashFlowHedgesMember" xlink:title="definition: TypesOfHedgesDomain to CashFlowHedgesMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DerivativeFinancialInstrumentsCashFlowHedgesDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:label="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:title="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsAbstract" xlink:label="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsAbstract" xlink:title="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsAbstract" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfNotionalAmountOfHedge" xlink:label="PercentageOfNotionalAmountOfHedge" xlink:title="PercentageOfNotionalAmountOfHedge" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="PercentageOfNotionalAmountOfHedge" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to PercentageOfNotionalAmountOfHedge" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NotionalAmount" xlink:label="NotionalAmount" xlink:title="NotionalAmount" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="NotionalAmount" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to NotionalAmount" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ForeignNotionalAmount" xlink:label="ForeignNotionalAmount" xlink:title="ForeignNotionalAmount" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="ForeignNotionalAmount" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to ForeignNotionalAmount" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DerivativeInstrumentsMaturityTerm" xlink:label="DerivativeInstrumentsMaturityTerm" xlink:title="DerivativeInstrumentsMaturityTerm" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="DerivativeInstrumentsMaturityTerm" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to DerivativeInstrumentsMaturityTerm" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:label="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:title="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems" xlink:to="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsLineItems to DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" order="6.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksAxis" xlink:label="TypesOfRisksAxis" xlink:title="TypesOfRisksAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:to="TypesOfRisksAxis" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable to TypesOfRisksAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain_2" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain_2" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestRateRiskMember" xlink:label="InterestRateRiskMember" xlink:title="InterestRateRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="InterestRateRiskMember" xlink:title="definition: TypesOfRisksDomain to InterestRateRiskMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ForwardFreightAgreementsMember" xlink:label="ForwardFreightAgreementsMember" xlink:title="ForwardFreightAgreementsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="ForwardFreightAgreementsMember" xlink:title="definition: TypesOfRisksDomain to ForwardFreightAgreementsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ForwardContractMember" xlink:label="ForwardContractMember" xlink:title="ForwardContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="ForwardContractMember" xlink:title="definition: TypesOfRisksDomain to ForwardContractMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesAxis" xlink:label="TypesOfHedgesAxis" xlink:title="TypesOfHedgesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:to="TypesOfHedgesAxis" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable to TypesOfHedgesAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain_2" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain_2" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CashFlowHedgesMember" xlink:label="CashFlowHedgesMember" xlink:title="CashFlowHedgesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfHedgesDomain" xlink:to="CashFlowHedgesMember" xlink:title="definition: TypesOfHedgesDomain to CashFlowHedgesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable to MaturityAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NotLaterThanOneYearMember" xlink:label="NotLaterThanOneYearMember" xlink:title="NotLaterThanOneYearMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="NotLaterThanOneYearMember" xlink:title="definition: MaturityDomain to NotLaterThanOneYearMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:label="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="definition: MaturityDomain to LaterThanTwoYearsAndNotLaterThanFiveYearsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesAxis" xlink:label="TypesOfInterestRatesAxis" xlink:title="TypesOfInterestRatesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:to="TypesOfInterestRatesAxis" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable to TypesOfInterestRatesAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesDomain" xlink:label="TypesOfInterestRatesDomain" xlink:title="TypesOfInterestRatesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfInterestRatesAxis" xlink:to="TypesOfInterestRatesDomain" xlink:title="definition: TypesOfInterestRatesAxis to TypesOfInterestRatesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesDomain" xlink:label="TypesOfInterestRatesDomain_2" xlink:title="TypesOfInterestRatesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfInterestRatesAxis" xlink:to="TypesOfInterestRatesDomain_2" xlink:title="definition: TypesOfInterestRatesAxis to TypesOfInterestRatesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FixedInterestRateMember" xlink:label="FixedInterestRateMember" xlink:title="FixedInterestRateMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfInterestRatesDomain" xlink:to="FixedInterestRateMember" xlink:title="definition: TypesOfInterestRatesDomain to FixedInterestRateMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfInformationAboutTermsAndConditionsOfHedgingInstrumentsAndHowTheyAffectFutureCashFlowsTable to RangeAxis" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/LoansReceivableFromJointVenturesDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/JointVenturesFinancialInformationOfJointVentureDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfJointVenturesLineItems" xlink:label="DisclosureOfJointVenturesLineItems" xlink:title="DisclosureOfJointVenturesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfJointVenturesAbstract" xlink:label="DisclosureOfJointVenturesAbstract" xlink:title="DisclosureOfJointVenturesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="DisclosureOfJointVenturesAbstract" xlink:title="definition: DisclosureOfJointVenturesLineItems to DisclosureOfJointVenturesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProportionOfOwnershipInterestInJointVenture" xlink:label="ProportionOfOwnershipInterestInJointVenture" xlink:title="ProportionOfOwnershipInterestInJointVenture" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ProportionOfOwnershipInterestInJointVenture" xlink:title="definition: DisclosureOfJointVenturesLineItems to ProportionOfOwnershipInterestInJointVenture" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentAssets" xlink:label="NoncurrentAssets" xlink:title="NoncurrentAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="NoncurrentAssets" xlink:title="definition: DisclosureOfJointVenturesLineItems to NoncurrentAssets" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentAssets" xlink:label="CurrentAssets" xlink:title="CurrentAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="CurrentAssets" xlink:title="definition: DisclosureOfJointVenturesLineItems to CurrentAssets" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentLiabilities" xlink:label="NoncurrentLiabilities" xlink:title="NoncurrentLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="NoncurrentLiabilities" xlink:title="definition: DisclosureOfJointVenturesLineItems to NoncurrentLiabilities" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentLiabilities" xlink:label="CurrentLiabilities" xlink:title="CurrentLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="CurrentLiabilities" xlink:title="definition: DisclosureOfJointVenturesLineItems to CurrentLiabilities" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NetAssetsLiabilities" xlink:label="NetAssetsLiabilities" xlink:title="NetAssetsLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="NetAssetsLiabilities" xlink:title="definition: DisclosureOfJointVenturesLineItems to NetAssetsLiabilities" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ShareOfNetLiabilities" xlink:label="ShareOfNetLiabilities" xlink:title="ShareOfNetLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ShareOfNetLiabilities" xlink:title="definition: DisclosureOfJointVenturesLineItems to ShareOfNetLiabilities" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ShareOfNetAssets" xlink:label="ShareOfNetAssets" xlink:title="ShareOfNetAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ShareOfNetAssets" xlink:title="definition: DisclosureOfJointVenturesLineItems to ShareOfNetAssets" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ShareholdersLoans" xlink:label="ShareholdersLoans" xlink:title="ShareholdersLoans" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ShareholdersLoans" xlink:title="definition: DisclosureOfJointVenturesLineItems to ShareholdersLoans" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LoansAndAlignmentOfAccountingPolicies" xlink:label="LoansAndAlignmentOfAccountingPolicies" xlink:title="LoansAndAlignmentOfAccountingPolicies" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="LoansAndAlignmentOfAccountingPolicies" xlink:title="definition: DisclosureOfJointVenturesLineItems to LoansAndAlignmentOfAccountingPolicies" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_UnrecognisedShareOfLosses" xlink:label="UnrecognisedShareOfLosses" xlink:title="UnrecognisedShareOfLosses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="UnrecognisedShareOfLosses" xlink:title="definition: DisclosureOfJointVenturesLineItems to UnrecognisedShareOfLosses" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfExchangeDifferencesOnTranslation" xlink:label="ReserveOfExchangeDifferencesOnTranslation" xlink:title="ReserveOfExchangeDifferencesOnTranslation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ReserveOfExchangeDifferencesOnTranslation" xlink:title="definition: DisclosureOfJointVenturesLineItems to ReserveOfExchangeDifferencesOnTranslation" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DerivativeFinancialAssetsHeldForHedging" xlink:label="DerivativeFinancialAssetsHeldForHedging" xlink:title="DerivativeFinancialAssetsHeldForHedging" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="DerivativeFinancialAssetsHeldForHedging" xlink:title="definition: DisclosureOfJointVenturesLineItems to DerivativeFinancialAssetsHeldForHedging" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInJointVentures" xlink:label="InvestmentsInJointVentures" xlink:title="InvestmentsInJointVentures" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="InvestmentsInJointVentures" xlink:title="definition: DisclosureOfJointVenturesLineItems to InvestmentsInJointVentures" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="Revenue" xlink:title="definition: DisclosureOfJointVenturesLineItems to Revenue" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherIncome" xlink:label="OtherIncome" xlink:title="OtherIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="OtherIncome" xlink:title="definition: DisclosureOfJointVenturesLineItems to OtherIncome" order="17.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherExpenseByFunction" xlink:label="OtherExpenseByFunction" xlink:title="OtherExpenseByFunction" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="OtherExpenseByFunction" xlink:title="definition: DisclosureOfJointVenturesLineItems to OtherExpenseByFunction" order="18.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComprehensiveIncome" xlink:label="ComprehensiveIncome" xlink:title="ComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ComprehensiveIncome" xlink:title="definition: DisclosureOfJointVenturesLineItems to ComprehensiveIncome" order="19.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:label="ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="ComprehensiveIncomeAttributableToNoncontrollingInterests" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="definition: DisclosureOfJointVenturesLineItems to ComprehensiveIncomeAttributableToNoncontrollingInterests" order="20.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ProfitLossUnrecognisedAdjustmentForPriorYearShare" xlink:label="ProfitLossUnrecognisedAdjustmentForPriorYearShare" xlink:title="ProfitLossUnrecognisedAdjustmentForPriorYearShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ProfitLossUnrecognisedAdjustmentForPriorYearShare" xlink:title="definition: DisclosureOfJointVenturesLineItems to ProfitLossUnrecognisedAdjustmentForPriorYearShare" order="21.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ComprehensiveIncomeAlignmentOfAccountingPolicies" xlink:label="ComprehensiveIncomeAlignmentOfAccountingPolicies" xlink:title="ComprehensiveIncomeAlignmentOfAccountingPolicies" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ComprehensiveIncomeAlignmentOfAccountingPolicies" xlink:title="definition: DisclosureOfJointVenturesLineItems to ComprehensiveIncomeAlignmentOfAccountingPolicies" order="22.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ComprehensiveIncomeUnrecognisedShareOfLosses" xlink:label="ComprehensiveIncomeUnrecognisedShareOfLosses" xlink:title="ComprehensiveIncomeUnrecognisedShareOfLosses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ComprehensiveIncomeUnrecognisedShareOfLosses" xlink:title="definition: DisclosureOfJointVenturesLineItems to ComprehensiveIncomeUnrecognisedShareOfLosses" order="23.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ShareOfComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:label="ShareOfComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="ShareOfComprehensiveIncomeAttributableToNoncontrollingInterests" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="ShareOfComprehensiveIncomeAttributableToNoncontrollingInterests" xlink:title="definition: DisclosureOfJointVenturesLineItems to ShareOfComprehensiveIncomeAttributableToNoncontrollingInterests" order="24.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfJointVenturesTable" xlink:label="DisclosureOfJointVenturesTable" xlink:title="DisclosureOfJointVenturesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfJointVenturesLineItems" xlink:to="DisclosureOfJointVenturesTable" xlink:title="definition: DisclosureOfJointVenturesLineItems to DisclosureOfJointVenturesTable" order="25.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesAxis" xlink:label="JointVenturesAxis" xlink:title="JointVenturesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfJointVenturesTable" xlink:to="JointVenturesAxis" xlink:title="definition: DisclosureOfJointVenturesTable to JointVenturesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesDomain" xlink:label="JointVenturesDomain" xlink:title="JointVenturesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="JointVenturesAxis" xlink:to="JointVenturesDomain" xlink:title="definition: JointVenturesAxis to JointVenturesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_JointVenturesDomain" xlink:label="JointVenturesDomain_2" xlink:title="JointVenturesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="JointVenturesAxis" xlink:to="JointVenturesDomain_2" xlink:title="definition: JointVenturesAxis to JointVenturesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VistaShippingPteLtdMember" xlink:label="VistaShippingPteLtdMember" xlink:title="VistaShippingPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="VistaShippingPteLtdMember" xlink:title="definition: JointVenturesDomain to VistaShippingPteLtdMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HAShippingMember" xlink:label="HAShippingMember" xlink:title="HAShippingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="HAShippingMember" xlink:title="definition: JointVenturesDomain to HAShippingMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_EcomarMember" xlink:label="EcomarMember" xlink:title="EcomarMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="JointVenturesDomain" xlink:to="EcomarMember" xlink:title="definition: JointVenturesDomain to EcomarMember" order="3.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/JointVenturesCarryingAmountAndShareOfProfitOfJointVenturesDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/InventoriesDetails">
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisclosureOfCurrentInventoriesLineItems" xlink:label="DisclosureOfCurrentInventoriesLineItems" xlink:title="DisclosureOfCurrentInventoriesLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentRawMaterialsAndCurrentProductionSuppliesAbstract" xlink:label="CurrentRawMaterialsAndCurrentProductionSuppliesAbstract" xlink:title="CurrentRawMaterialsAndCurrentProductionSuppliesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="CurrentRawMaterialsAndCurrentProductionSuppliesAbstract" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to CurrentRawMaterialsAndCurrentProductionSuppliesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentFuel" xlink:label="CurrentFuel" xlink:title="CurrentFuel" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="CurrentFuel" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to CurrentFuel" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LubricatingOils" xlink:label="LubricatingOils" xlink:title="LubricatingOils" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="LubricatingOils" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to LubricatingOils" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Inventories" xlink:label="Inventories" xlink:title="Inventories" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="Inventories" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to Inventories" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CostOfInventoriesRecognisedAsExpenseDuringPeriod" xlink:label="CostOfInventoriesRecognisedAsExpenseDuringPeriod" xlink:title="CostOfInventoriesRecognisedAsExpenseDuringPeriod" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="CostOfInventoriesRecognisedAsExpenseDuringPeriod" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to CostOfInventoriesRecognisedAsExpenseDuringPeriod" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InventoryWritedown2011" xlink:label="InventoryWritedown2011" xlink:title="InventoryWritedown2011" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="InventoryWritedown2011" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to InventoryWritedown2011" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CurrentInventoriesTable" xlink:label="CurrentInventoriesTable" xlink:title="CurrentInventoriesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfCurrentInventoriesLineItems" xlink:to="CurrentInventoriesTable" xlink:title="definition: DisclosureOfCurrentInventoriesLineItems to CurrentInventoriesTable" order="7.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis" xlink:label="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="ClassesOfPropertyPlantAndEquipmentAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="CurrentInventoriesTable" xlink:to="ClassesOfPropertyPlantAndEquipmentAxis" xlink:title="definition: CurrentInventoriesTable to ClassesOfPropertyPlantAndEquipmentAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentDomain" xlink:label="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="ClassesOfPropertyPlantAndEquipmentDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfPropertyPlantAndEquipmentAxis" xlink:to="ClassesOfPropertyPlantAndEquipmentDomain_2" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentAxis to ClassesOfPropertyPlantAndEquipmentDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaVesselsAndTCVesselsMember" xlink:label="HafniaVesselsAndTCVesselsMember" xlink:title="HafniaVesselsAndTCVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="HafniaVesselsAndTCVesselsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to HafniaVesselsAndTCVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ExternalVesselsInDisponentOwnerPoolsMember" xlink:label="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="ExternalVesselsInDisponentOwnerPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfPropertyPlantAndEquipmentDomain" xlink:to="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="definition: ClassesOfPropertyPlantAndEquipmentDomain to ExternalVesselsInDisponentOwnerPoolsMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherReceivablesAndPrepaymentsDetails">
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:label="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:title="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CurrentAbstract" xlink:label="CurrentAbstract" xlink:title="CurrentAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="CurrentAbstract" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to CurrentAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NonCurrentAbstract" xlink:label="NonCurrentAbstract" xlink:title="NonCurrentAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="NonCurrentAbstract" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to NonCurrentAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DecreaseThroughImpairmentContractAssets" xlink:label="DecreaseThroughImpairmentContractAssets" xlink:title="DecreaseThroughImpairmentContractAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="DecreaseThroughImpairmentContractAssets" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to DecreaseThroughImpairmentContractAssets" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentReceivables" xlink:label="NoncurrentReceivables" xlink:title="NoncurrentReceivables" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="NoncurrentReceivables" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to NoncurrentReceivables" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentTradeReceivables" xlink:label="CurrentTradeReceivables" xlink:title="CurrentTradeReceivables" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="CurrentTradeReceivables" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to CurrentTradeReceivables" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentContractAssets" xlink:label="CurrentContractAssets" xlink:title="CurrentContractAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="CurrentContractAssets" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to CurrentContractAssets" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:label="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:title="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentPrepayments" xlink:label="CurrentPrepayments" xlink:title="CurrentPrepayments" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="CurrentPrepayments" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to CurrentPrepayments" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherCurrentReceivables" xlink:label="OtherCurrentReceivables" xlink:title="OtherCurrentReceivables" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="OtherCurrentReceivables" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to OtherCurrentReceivables" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TradeAndOtherCurrentReceivables" xlink:label="TradeAndOtherCurrentReceivables" xlink:title="TradeAndOtherCurrentReceivables" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="TradeAndOtherCurrentReceivables" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to TradeAndOtherCurrentReceivables" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesTable" xlink:label="DisclosureOfTransactionsBetweenRelatedPartiesTable" xlink:title="DisclosureOfTransactionsBetweenRelatedPartiesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems" xlink:to="DisclosureOfTransactionsBetweenRelatedPartiesTable" xlink:title="definition: DisclosureOfTradeAndOtherReceivablesAndPrepaymentsLineItems to DisclosureOfTransactionsBetweenRelatedPartiesTable" order="11.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesAxis" xlink:label="CategoriesOfRelatedPartiesAxis" xlink:title="CategoriesOfRelatedPartiesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfTransactionsBetweenRelatedPartiesTable" xlink:to="CategoriesOfRelatedPartiesAxis" xlink:title="definition: DisclosureOfTransactionsBetweenRelatedPartiesTable to CategoriesOfRelatedPartiesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain_2" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain_2" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RelatedPartiesMember" xlink:label="RelatedPartiesMember" xlink:title="RelatedPartiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfRelatedPartiesDomain" xlink:to="RelatedPartiesMember" xlink:title="definition: CategoriesOfRelatedPartiesDomain to RelatedPartiesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NonRelatedPartiesMember" xlink:label="NonRelatedPartiesMember" xlink:title="NonRelatedPartiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfRelatedPartiesDomain" xlink:to="NonRelatedPartiesMember" xlink:title="definition: CategoriesOfRelatedPartiesDomain to NonRelatedPartiesMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashDetails">
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" xlink:label="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" xlink:title="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CashAndCashEquivalentsRestrictedCashAbstract" xlink:label="CashAndCashEquivalentsRestrictedCashAbstract" xlink:title="CashAndCashEquivalentsRestrictedCashAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" xlink:to="CashAndCashEquivalentsRestrictedCashAbstract" xlink:title="definition: CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems to CashAndCashEquivalentsRestrictedCashAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InterestRateOnFixedDeposits" xlink:label="InterestRateOnFixedDeposits" xlink:title="InterestRateOnFixedDeposits" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" xlink:to="InterestRateOnFixedDeposits" xlink:title="definition: CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems to InterestRateOnFixedDeposits" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" xlink:label="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" xlink:title="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems" xlink:to="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" xlink:title="definition: CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsLineItems to CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable" xlink:to="RangeAxis" xlink:title="definition: CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsTable to RangeAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CashAndCashEquivalentsIncludingRestrictedCashDetailsCalc2" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ShareCapitalShareCapitalAndSharePremiumDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalLineItems" xlink:label="DisclosureOfClassesOfShareCapitalLineItems" xlink:title="DisclosureOfClassesOfShareCapitalLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalAbstract" xlink:label="DisclosureOfClassesOfShareCapitalAbstract" xlink:title="DisclosureOfClassesOfShareCapitalAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="DisclosureOfClassesOfShareCapitalAbstract" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to DisclosureOfClassesOfShareCapitalAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NumberOfSharesIssued" xlink:label="NumberOfSharesIssued" xlink:title="NumberOfSharesIssued" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="NumberOfSharesIssued" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to NumberOfSharesIssued" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssuedCapital" xlink:label="IssuedCapital" xlink:title="IssuedCapital" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IssuedCapital" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IssuedCapital" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IssuanceOfCommonShares" xlink:label="IssuanceOfCommonShares" xlink:title="IssuanceOfCommonShares" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IssuanceOfCommonShares" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IssuanceOfCommonShares" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssueOfEquity" xlink:label="IssueOfEquity" xlink:title="IssueOfEquity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IssueOfEquity" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IssueOfEquity" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:label="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:title="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IncreaseDecreaseInEquityDueToEffectOfReDomiciliation" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalTable" xlink:label="DisclosureOfClassesOfShareCapitalTable" xlink:title="DisclosureOfClassesOfShareCapitalTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="DisclosureOfClassesOfShareCapitalTable" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to DisclosureOfClassesOfShareCapitalTable" order="7.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityAxis" xlink:label="ComponentsOfEquityAxis" xlink:title="ComponentsOfEquityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="ComponentsOfEquityAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to ComponentsOfEquityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain_2" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain_2" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_IssuedCapitalMember" xlink:label="IssuedCapitalMember" xlink:title="IssuedCapitalMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="IssuedCapitalMember" xlink:title="definition: ComponentsOfEquityDomain to IssuedCapitalMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SharePremiumMember" xlink:label="SharePremiumMember" xlink:title="SharePremiumMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="SharePremiumMember" xlink:title="definition: ComponentsOfEquityDomain to SharePremiumMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalAxis" xlink:label="ClassesOfShareCapitalAxis" xlink:title="ClassesOfShareCapitalAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="ClassesOfShareCapitalAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to ClassesOfShareCapitalAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalDomain" xlink:label="ClassesOfShareCapitalDomain" xlink:title="ClassesOfShareCapitalDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfShareCapitalAxis" xlink:to="ClassesOfShareCapitalDomain" xlink:title="definition: ClassesOfShareCapitalAxis to ClassesOfShareCapitalDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalDomain" xlink:label="ClassesOfShareCapitalDomain_2" xlink:title="ClassesOfShareCapitalDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfShareCapitalAxis" xlink:to="ClassesOfShareCapitalDomain_2" xlink:title="definition: ClassesOfShareCapitalAxis to ClassesOfShareCapitalDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OrdinarySharesMember" xlink:label="OrdinarySharesMember" xlink:title="OrdinarySharesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfShareCapitalDomain" xlink:to="OrdinarySharesMember" xlink:title="definition: ClassesOfShareCapitalDomain to OrdinarySharesMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ShareCapitalIssuedAndFullyPaidShareCapitalDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalLineItems" xlink:label="DisclosureOfClassesOfShareCapitalLineItems" xlink:title="DisclosureOfClassesOfShareCapitalLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IssuedAndFullyPaidShareCapitalAbstract" xlink:label="IssuedAndFullyPaidShareCapitalAbstract" xlink:title="IssuedAndFullyPaidShareCapitalAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IssuedAndFullyPaidShareCapitalAbstract" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IssuedAndFullyPaidShareCapitalAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NumberOfSharesIssued" xlink:label="NumberOfSharesIssued" xlink:title="NumberOfSharesIssued" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="NumberOfSharesIssued" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to NumberOfSharesIssued" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfTreasuryShares" xlink:label="NumberOfTreasuryShares" xlink:title="NumberOfTreasuryShares" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="NumberOfTreasuryShares" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to NumberOfTreasuryShares" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ParValuePerShare" xlink:label="ParValuePerShare" xlink:title="ParValuePerShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="ParValuePerShare" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to ParValuePerShare" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IssuanceOfCommonShares" xlink:label="IssuanceOfCommonShares" xlink:title="IssuanceOfCommonShares" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="IssuanceOfCommonShares" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to IssuanceOfCommonShares" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfSharesBorrowedFromRelatedParty" xlink:label="NumberOfSharesBorrowedFromRelatedParty" xlink:title="NumberOfSharesBorrowedFromRelatedParty" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="NumberOfSharesBorrowedFromRelatedParty" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to NumberOfSharesBorrowedFromRelatedParty" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SubscriptionPrice" xlink:label="SubscriptionPrice" xlink:title="SubscriptionPrice" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="SubscriptionPrice" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to SubscriptionPrice" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalTable" xlink:label="DisclosureOfClassesOfShareCapitalTable" xlink:title="DisclosureOfClassesOfShareCapitalTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="DisclosureOfClassesOfShareCapitalTable" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to DisclosureOfClassesOfShareCapitalTable" order="8.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesAxis" xlink:label="CategoriesOfRelatedPartiesAxis" xlink:title="CategoriesOfRelatedPartiesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="CategoriesOfRelatedPartiesAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to CategoriesOfRelatedPartiesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain_2" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain_2" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RelatedPartiesMember" xlink:label="RelatedPartiesMember" xlink:title="RelatedPartiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfRelatedPartiesDomain" xlink:to="RelatedPartiesMember" xlink:title="definition: CategoriesOfRelatedPartiesDomain to RelatedPartiesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BWGroupLimitedMember" xlink:label="BWGroupLimitedMember" xlink:title="BWGroupLimitedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RelatedPartiesMember" xlink:to="BWGroupLimitedMember" xlink:title="definition: RelatedPartiesMember to BWGroupLimitedMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityAxis" xlink:label="ComponentsOfEquityAxis" xlink:title="ComponentsOfEquityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="ComponentsOfEquityAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to ComponentsOfEquityAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain_2" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain_2" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OrdinarySharesMember" xlink:label="OrdinarySharesMember" xlink:title="OrdinarySharesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="OrdinarySharesMember" xlink:title="definition: ComponentsOfEquityDomain to OrdinarySharesMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ShareCapitalTreasurySharesAndCapitalReserveAndSharebasedPaymentReserveDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/OtherReservesCompositionDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/OtherReservesHedgingReserveDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/OtherReservesCapitalReserveAndSharebasedPaymentReserveDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalLineItems" xlink:label="DisclosureOfClassesOfShareCapitalLineItems" xlink:title="DisclosureOfClassesOfShareCapitalLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CapitalReserveAbstract" xlink:label="CapitalReserveAbstract" xlink:title="CapitalReserveAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="CapitalReserveAbstract" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to CapitalReserveAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ShareBasedPaymentReserveAbstract" xlink:label="ShareBasedPaymentReserveAbstract" xlink:title="ShareBasedPaymentReserveAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="ShareBasedPaymentReserveAbstract" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to ShareBasedPaymentReserveAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfAvailableSharesThatMayBeAcquiredByEmployees" xlink:label="NumberOfAvailableSharesThatMayBeAcquiredByEmployees" xlink:title="NumberOfAvailableSharesThatMayBeAcquiredByEmployees" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="NumberOfAvailableSharesThatMayBeAcquiredByEmployees" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to NumberOfAvailableSharesThatMayBeAcquiredByEmployees" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RevaluationSurplus" xlink:label="RevaluationSurplus" xlink:title="RevaluationSurplus" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="RevaluationSurplus" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to RevaluationSurplus" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfClassesOfShareCapitalTable" xlink:label="DisclosureOfClassesOfShareCapitalTable" xlink:title="DisclosureOfClassesOfShareCapitalTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfClassesOfShareCapitalLineItems" xlink:to="DisclosureOfClassesOfShareCapitalTable" xlink:title="definition: DisclosureOfClassesOfShareCapitalLineItems to DisclosureOfClassesOfShareCapitalTable" order="5.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityAxis" xlink:label="ComponentsOfEquityAxis" xlink:title="ComponentsOfEquityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="ComponentsOfEquityAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to ComponentsOfEquityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ComponentsOfEquityDomain" xlink:label="ComponentsOfEquityDomain_2" xlink:title="ComponentsOfEquityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ComponentsOfEquityAxis" xlink:to="ComponentsOfEquityDomain_2" xlink:title="definition: ComponentsOfEquityAxis to ComponentsOfEquityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReserveOfSharebasedPaymentsMember" xlink:label="ReserveOfSharebasedPaymentsMember" xlink:title="ReserveOfSharebasedPaymentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ComponentsOfEquityDomain" xlink:to="ReserveOfSharebasedPaymentsMember" xlink:title="definition: ComponentsOfEquityDomain to ReserveOfSharebasedPaymentsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalAxis" xlink:label="ClassesOfShareCapitalAxis" xlink:title="ClassesOfShareCapitalAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="ClassesOfShareCapitalAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to ClassesOfShareCapitalAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalDomain" xlink:label="ClassesOfShareCapitalDomain" xlink:title="ClassesOfShareCapitalDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfShareCapitalAxis" xlink:to="ClassesOfShareCapitalDomain" xlink:title="definition: ClassesOfShareCapitalAxis to ClassesOfShareCapitalDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfShareCapitalDomain" xlink:label="ClassesOfShareCapitalDomain_2" xlink:title="ClassesOfShareCapitalDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfShareCapitalAxis" xlink:to="ClassesOfShareCapitalDomain_2" xlink:title="definition: ClassesOfShareCapitalAxis to ClassesOfShareCapitalDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OrdinarySharesMember" xlink:label="OrdinarySharesMember" xlink:title="OrdinarySharesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfShareCapitalDomain" xlink:to="OrdinarySharesMember" xlink:title="definition: ClassesOfShareCapitalDomain to OrdinarySharesMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis" xlink:label="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="TypesOfSharebasedPaymentArrangementsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to TypesOfSharebasedPaymentArrangementsAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongTermIncentivePlan2023Member" xlink:label="LongTermIncentivePlan2023Member" xlink:title="LongTermIncentivePlan2023Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfSharebasedPaymentArrangementsDomain" xlink:to="LongTermIncentivePlan2023Member" xlink:title="definition: TypesOfSharebasedPaymentArrangementsDomain to LongTermIncentivePlan2023Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongTermIncentivePlan2024Member" xlink:label="LongTermIncentivePlan2024Member" xlink:title="LongTermIncentivePlan2024Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfSharebasedPaymentArrangementsDomain" xlink:to="LongTermIncentivePlan2024Member" xlink:title="definition: TypesOfSharebasedPaymentArrangementsDomain to LongTermIncentivePlan2024Member" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongTermIncentivePlan2025Member" xlink:label="LongTermIncentivePlan2025Member" xlink:title="LongTermIncentivePlan2025Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfSharebasedPaymentArrangementsDomain" xlink:to="LongTermIncentivePlan2025Member" xlink:title="definition: TypesOfSharebasedPaymentArrangementsDomain to LongTermIncentivePlan2025Member" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsAxis" xlink:label="TypesOfAntidilutiveInstrumentsAxis" xlink:title="TypesOfAntidilutiveInstrumentsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfClassesOfShareCapitalTable" xlink:to="TypesOfAntidilutiveInstrumentsAxis" xlink:title="definition: DisclosureOfClassesOfShareCapitalTable to TypesOfAntidilutiveInstrumentsAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsDomain" xlink:label="TypesOfAntidilutiveInstrumentsDomain" xlink:title="TypesOfAntidilutiveInstrumentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfAntidilutiveInstrumentsAxis" xlink:to="TypesOfAntidilutiveInstrumentsDomain" xlink:title="definition: TypesOfAntidilutiveInstrumentsAxis to TypesOfAntidilutiveInstrumentsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsDomain" xlink:label="TypesOfAntidilutiveInstrumentsDomain_2" xlink:title="TypesOfAntidilutiveInstrumentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfAntidilutiveInstrumentsAxis" xlink:to="TypesOfAntidilutiveInstrumentsDomain_2" xlink:title="definition: TypesOfAntidilutiveInstrumentsAxis to TypesOfAntidilutiveInstrumentsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RestrictedShareUnitsMember" xlink:label="RestrictedShareUnitsMember" xlink:title="RestrictedShareUnitsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfAntidilutiveInstrumentsDomain" xlink:to="RestrictedShareUnitsMember" xlink:title="definition: TypesOfAntidilutiveInstrumentsDomain to RestrictedShareUnitsMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsBorrowingsCurrentAndNoncurrentDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsBankBorrowingsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsAbstract" xlink:label="BorrowingsAbstract" xlink:title="BorrowingsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingsAbstract" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfCreditFacilities" xlink:label="NumberOfCreditFacilities" xlink:title="NumberOfCreditFacilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="NumberOfCreditFacilities" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to NumberOfCreditFacilities" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaximumBorrowingCapacityLineOfCreditFacility" xlink:label="MaximumBorrowingCapacityLineOfCreditFacility" xlink:title="MaximumBorrowingCapacityLineOfCreditFacility" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="MaximumBorrowingCapacityLineOfCreditFacility" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to MaximumBorrowingCapacityLineOfCreditFacility" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Borrowings" xlink:label="Borrowings" xlink:title="Borrowings" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="Borrowings" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to Borrowings" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsMaturity" xlink:label="BorrowingsMaturity" xlink:title="BorrowingsMaturity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingsMaturity" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingsMaturity" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaturityOfBorrowings" xlink:label="MaturityOfBorrowings" xlink:title="MaturityOfBorrowings" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="MaturityOfBorrowings" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to MaturityOfBorrowings" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilitiesCommitmentFeesAsAPercentageOfFacilitiesMargin" xlink:label="CreditFacilitiesCommitmentFeesAsAPercentageOfFacilitiesMargin" xlink:title="CreditFacilitiesCommitmentFeesAsAPercentageOfFacilitiesMargin" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="CreditFacilitiesCommitmentFeesAsAPercentageOfFacilitiesMargin" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to CreditFacilitiesCommitmentFeesAsAPercentageOfFacilitiesMargin" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CancelledBorrowingCapacityLineOfCreditFacility" xlink:label="CancelledBorrowingCapacityLineOfCreditFacility" xlink:title="CancelledBorrowingCapacityLineOfCreditFacility" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="CancelledBorrowingCapacityLineOfCreditFacility" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to CancelledBorrowingCapacityLineOfCreditFacility" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PartiallyCancelledBorrowingCapacityLineOfCreditFacility" xlink:label="PartiallyCancelledBorrowingCapacityLineOfCreditFacility" xlink:title="PartiallyCancelledBorrowingCapacityLineOfCreditFacility" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="PartiallyCancelledBorrowingCapacityLineOfCreditFacility" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to PartiallyCancelledBorrowingCapacityLineOfCreditFacility" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BorrowingCapacityLineOfCreditFacilityRefinanced" xlink:label="BorrowingCapacityLineOfCreditFacilityRefinanced" xlink:title="BorrowingCapacityLineOfCreditFacilityRefinanced" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingCapacityLineOfCreditFacilityRefinanced" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingCapacityLineOfCreditFacilityRefinanced" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to DisclosureOfDetailedInformationAboutBorrowingsTable" order="11.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to BorrowingsByNameAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityMember" xlink:label="CreditFacilityMember" xlink:title="CreditFacilityMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="CreditFacilityMember" xlink:title="definition: BorrowingsByNameDomain to CreditFacilityMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BorrowingBaseFacilitiesMember" xlink:label="BorrowingBaseFacilitiesMember" xlink:title="BorrowingBaseFacilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="BorrowingBaseFacilitiesMember" xlink:title="definition: BorrowingsByNameDomain to BorrowingBaseFacilitiesMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BorrowingBaseFacilitiesOneMember" xlink:label="BorrowingBaseFacilitiesOneMember" xlink:title="BorrowingBaseFacilitiesOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingBaseFacilitiesMember" xlink:to="BorrowingBaseFacilitiesOneMember" xlink:title="definition: BorrowingBaseFacilitiesMember to BorrowingBaseFacilitiesOneMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BorrowingBaseFacilitiesTwoMember" xlink:label="BorrowingBaseFacilitiesTwoMember" xlink:title="BorrowingBaseFacilitiesTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingBaseFacilitiesMember" xlink:to="BorrowingBaseFacilitiesTwoMember" xlink:title="definition: BorrowingBaseFacilitiesMember to BorrowingBaseFacilitiesTwoMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BorrowingBaseFacilitiesThreeMember" xlink:label="BorrowingBaseFacilitiesThreeMember" xlink:title="BorrowingBaseFacilitiesThreeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingBaseFacilitiesMember" xlink:to="BorrowingBaseFacilitiesThreeMember" xlink:title="definition: BorrowingBaseFacilitiesMember to BorrowingBaseFacilitiesThreeMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaximumBorrowingBaseFacilitiesOneMember" xlink:label="MaximumBorrowingBaseFacilitiesOneMember" xlink:title="MaximumBorrowingBaseFacilitiesOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingBaseFacilitiesMember" xlink:to="MaximumBorrowingBaseFacilitiesOneMember" xlink:title="definition: BorrowingBaseFacilitiesMember to MaximumBorrowingBaseFacilitiesOneMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaximumBorrowingBaseFacilitiesTwoMember" xlink:label="MaximumBorrowingBaseFacilitiesTwoMember" xlink:title="MaximumBorrowingBaseFacilitiesTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingBaseFacilitiesMember" xlink:to="MaximumBorrowingBaseFacilitiesTwoMember" xlink:title="definition: BorrowingBaseFacilitiesMember to MaximumBorrowingBaseFacilitiesTwoMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaximumBorrowingBaseFacilitiesTwoWithAccordionOptionMember" xlink:label="MaximumBorrowingBaseFacilitiesTwoWithAccordionOptionMember" xlink:title="MaximumBorrowingBaseFacilitiesTwoWithAccordionOptionMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaximumBorrowingBaseFacilitiesTwoMember" xlink:to="MaximumBorrowingBaseFacilitiesTwoWithAccordionOptionMember" xlink:title="definition: MaximumBorrowingBaseFacilitiesTwoMember to MaximumBorrowingBaseFacilitiesTwoWithAccordionOptionMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityOneMember" xlink:label="CreditFacilityOneMember" xlink:title="CreditFacilityOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityOneMember" xlink:title="definition: CreditFacilityMember to CreditFacilityOneMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityTwoMember" xlink:label="CreditFacilityTwoMember" xlink:title="CreditFacilityTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityTwoMember" xlink:title="definition: CreditFacilityMember to CreditFacilityTwoMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityThreeMember" xlink:label="CreditFacilityThreeMember" xlink:title="CreditFacilityThreeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityThreeMember" xlink:title="definition: CreditFacilityMember to CreditFacilityThreeMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityFourMember" xlink:label="CreditFacilityFourMember" xlink:title="CreditFacilityFourMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityFourMember" xlink:title="definition: CreditFacilityMember to CreditFacilityFourMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityFiveMember" xlink:label="CreditFacilityFiveMember" xlink:title="CreditFacilityFiveMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityFiveMember" xlink:title="definition: CreditFacilityMember to CreditFacilityFiveMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilitySixMember" xlink:label="CreditFacilitySixMember" xlink:title="CreditFacilitySixMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilitySixMember" xlink:title="definition: CreditFacilityMember to CreditFacilitySixMember" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilitySevenMember" xlink:label="CreditFacilitySevenMember" xlink:title="CreditFacilitySevenMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilitySevenMember" xlink:title="definition: CreditFacilityMember to CreditFacilitySevenMember" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityEightMember" xlink:label="CreditFacilityEightMember" xlink:title="CreditFacilityEightMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityEightMember" xlink:title="definition: CreditFacilityMember to CreditFacilityEightMember" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityNineMember" xlink:label="CreditFacilityNineMember" xlink:title="CreditFacilityNineMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityNineMember" xlink:title="definition: CreditFacilityMember to CreditFacilityNineMember" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityTenMember" xlink:label="CreditFacilityTenMember" xlink:title="CreditFacilityTenMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="CreditFacilityTenMember" xlink:title="definition: CreditFacilityMember to CreditFacilityTenMember" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TermLoanMember" xlink:label="TermLoanMember" xlink:title="TermLoanMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="TermLoanMember" xlink:title="definition: CreditFacilityMember to TermLoanMember" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevolvingCreditFacilitiesMember" xlink:label="RevolvingCreditFacilitiesMember" xlink:title="RevolvingCreditFacilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CreditFacilityMember" xlink:to="RevolvingCreditFacilitiesMember" xlink:title="definition: CreditFacilityMember to RevolvingCreditFacilitiesMember" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevolvingCreditFacilityOneMember" xlink:label="RevolvingCreditFacilityOneMember" xlink:title="RevolvingCreditFacilityOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevolvingCreditFacilitiesMember" xlink:to="RevolvingCreditFacilityOneMember" xlink:title="definition: RevolvingCreditFacilitiesMember to RevolvingCreditFacilityOneMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevolvingCreditFacilityTwoMember" xlink:label="RevolvingCreditFacilityTwoMember" xlink:title="RevolvingCreditFacilityTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevolvingCreditFacilitiesMember" xlink:to="RevolvingCreditFacilityTwoMember" xlink:title="definition: RevolvingCreditFacilitiesMember to RevolvingCreditFacilityTwoMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevolvingCreditFacilityThreeMember" xlink:label="RevolvingCreditFacilityThreeMember" xlink:title="RevolvingCreditFacilityThreeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevolvingCreditFacilitiesMember" xlink:to="RevolvingCreditFacilityThreeMember" xlink:title="definition: RevolvingCreditFacilitiesMember to RevolvingCreditFacilityThreeMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RevolvingCreditFacilityFourMember" xlink:label="RevolvingCreditFacilityFourMember" xlink:title="RevolvingCreditFacilityFourMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RevolvingCreditFacilitiesMember" xlink:to="RevolvingCreditFacilityFourMember" xlink:title="definition: RevolvingCreditFacilitiesMember to RevolvingCreditFacilityFourMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TermLoanOneMember" xlink:label="TermLoanOneMember" xlink:title="TermLoanOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TermLoanMember" xlink:to="TermLoanOneMember" xlink:title="definition: TermLoanMember to TermLoanOneMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TermLoanTwoMember" xlink:label="TermLoanTwoMember" xlink:title="TermLoanTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TermLoanMember" xlink:to="TermLoanTwoMember" xlink:title="definition: TermLoanMember to TermLoanTwoMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsSaleAndLeasebackDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsAbstract" xlink:label="BorrowingsAbstract" xlink:title="BorrowingsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingsAbstract" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfExercisedPurchaseOptionOfExistingSalesAndLeasebackFinancings" xlink:label="NumberOfExercisedPurchaseOptionOfExistingSalesAndLeasebackFinancings" xlink:title="NumberOfExercisedPurchaseOptionOfExistingSalesAndLeasebackFinancings" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="NumberOfExercisedPurchaseOptionOfExistingSalesAndLeasebackFinancings" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to NumberOfExercisedPurchaseOptionOfExistingSalesAndLeasebackFinancings" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to DisclosureOfDetailedInformationAboutBorrowingsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to BorrowingsByNameAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SaleAndLeaseBackFacilityMember" xlink:label="SaleAndLeaseBackFacilityMember" xlink:title="SaleAndLeaseBackFacilityMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="SaleAndLeaseBackFacilityMember" xlink:title="definition: BorrowingsByNameDomain to SaleAndLeaseBackFacilityMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsBorrowingsByMaturityDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsAbstract" xlink:label="BorrowingsAbstract" xlink:title="BorrowingsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingsAbstract" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Borrowings" xlink:label="Borrowings" xlink:title="Borrowings" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="Borrowings" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to Borrowings" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsMaturity" xlink:label="BorrowingsMaturity" xlink:title="BorrowingsMaturity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="BorrowingsMaturity" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to BorrowingsMaturity" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to DisclosureOfDetailedInformationAboutBorrowingsTable" order="4.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to BorrowingsByNameAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ChinaMerchantsBankFinanceLeaseMember" xlink:label="ChinaMerchantsBankFinanceLeaseMember" xlink:title="ChinaMerchantsBankFinanceLeaseMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="ChinaMerchantsBankFinanceLeaseMember" xlink:title="definition: BorrowingsByNameDomain to ChinaMerchantsBankFinanceLeaseMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersFinanceLeasesMember" xlink:label="HafniaTankersFinanceLeasesMember" xlink:title="HafniaTankersFinanceLeasesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="HafniaTankersFinanceLeasesMember" xlink:title="definition: BorrowingsByNameDomain to HafniaTankersFinanceLeasesMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsInterestRatesDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/BorrowingsNoncurrentBorrowingsMaturityDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NoncurrentPortionOfNoncurrentBorrowingsByTypeAbstract" xlink:label="NoncurrentPortionOfNoncurrentBorrowingsByTypeAbstract" xlink:title="NoncurrentPortionOfNoncurrentBorrowingsByTypeAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="NoncurrentPortionOfNoncurrentBorrowingsByTypeAbstract" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to NoncurrentPortionOfNoncurrentBorrowingsByTypeAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LongtermBorrowings" xlink:label="LongtermBorrowings" xlink:title="LongtermBorrowings" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="LongtermBorrowings" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to LongtermBorrowings" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:label="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="DisclosureOfDetailedInformationAboutBorrowingsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsLineItems" xlink:to="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsLineItems to DisclosureOfDetailedInformationAboutBorrowingsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDetailedInformationAboutBorrowingsTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfDetailedInformationAboutBorrowingsTable to MaturityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanOneYearMember" xlink:label="LaterThanOneYearMember" xlink:title="LaterThanOneYearMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanOneYearMember" xlink:title="definition: MaturityDomain to LaterThanOneYearMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanFiveYearsMember" xlink:label="LaterThanOneYearAndNotLaterThanFiveYearsMember" xlink:title="LaterThanOneYearAndNotLaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LaterThanOneYearMember" xlink:to="LaterThanOneYearAndNotLaterThanFiveYearsMember" xlink:title="definition: LaterThanOneYearMember to LaterThanOneYearAndNotLaterThanFiveYearsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanFiveYearsMember" xlink:label="LaterThanFiveYearsMember" xlink:title="LaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LaterThanOneYearMember" xlink:to="LaterThanFiveYearsMember" xlink:title="definition: LaterThanOneYearMember to LaterThanFiveYearsMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/TradeAndOtherPayablesAndProvisionsDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/LeasesAsLesseeDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:label="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:title="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AmountsRecognizedInProfitAndLossAbstract" xlink:label="AmountsRecognizedInProfitAndLossAbstract" xlink:title="AmountsRecognizedInProfitAndLossAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="AmountsRecognizedInProfitAndLossAbstract" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to AmountsRecognizedInProfitAndLossAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AmountsRecognisedInStatementOfCashFlowsAbstract" xlink:label="AmountsRecognisedInStatementOfCashFlowsAbstract" xlink:title="AmountsRecognisedInStatementOfCashFlowsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="AmountsRecognisedInStatementOfCashFlowsAbstract" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to AmountsRecognisedInStatementOfCashFlowsAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LeasesExtensionOptionContractPeriod" xlink:label="LeasesExtensionOptionContractPeriod" xlink:title="LeasesExtensionOptionContractPeriod" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="LeasesExtensionOptionContractPeriod" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to LeasesExtensionOptionContractPeriod" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LeaseToExtensionPeriodForCharter" xlink:label="LeaseToExtensionPeriodForCharter" xlink:title="LeaseToExtensionPeriodForCharter" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="LeaseToExtensionPeriodForCharter" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to LeaseToExtensionPeriodForCharter" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LesseeIncreaseDecreaseInLeaseLiabilitiesUponExerciseOfExtensionOptions" xlink:label="LesseeIncreaseDecreaseInLeaseLiabilitiesUponExerciseOfExtensionOptions" xlink:title="LesseeIncreaseDecreaseInLeaseLiabilitiesUponExerciseOfExtensionOptions" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="LesseeIncreaseDecreaseInLeaseLiabilitiesUponExerciseOfExtensionOptions" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to LesseeIncreaseDecreaseInLeaseLiabilitiesUponExerciseOfExtensionOptions" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CashOutflowForLeases" xlink:label="CashOutflowForLeases" xlink:title="CashOutflowForLeases" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="CashOutflowForLeases" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to CashOutflowForLeases" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestExpenseOnLeaseLiabilities" xlink:label="InterestExpenseOnLeaseLiabilities" xlink:title="InterestExpenseOnLeaseLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="InterestExpenseOnLeaseLiabilities" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to InterestExpenseOnLeaseLiabilities" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed" xlink:label="ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed" xlink:title="ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed" xlink:label="ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed" xlink:title="ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" xlink:label="DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" xlink:title="DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems" xlink:to="DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems to DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" order="10.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:label="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" xlink:to="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable to CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember_2" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember_2" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GrossCarryingAmountMember" xlink:label="GrossCarryingAmountMember" xlink:title="GrossCarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="GrossCarryingAmountMember" xlink:title="definition: CarryingAmountMember to GrossCarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:label="AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:title="AccumulatedDepreciationAmortisationAndImpairmentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:title="definition: CarryingAmountMember to AccumulatedDepreciationAmortisationAndImpairmentMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AccumulatedDepreciationAndAmortisationMember" xlink:label="AccumulatedDepreciationAndAmortisationMember" xlink:title="AccumulatedDepreciationAndAmortisationMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AccumulatedDepreciationAmortisationAndImpairmentMember" xlink:to="AccumulatedDepreciationAndAmortisationMember" xlink:title="definition: AccumulatedDepreciationAmortisationAndImpairmentMember to AccumulatedDepreciationAndAmortisationMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CommitmentsNewbuildCommitmentsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:label="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:title="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CapitalCommitmentsAbstract" xlink:label="CapitalCommitmentsAbstract" xlink:title="CapitalCommitmentsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="CapitalCommitmentsAbstract" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to CapitalCommitmentsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ContractualCapitalCommitments" xlink:label="ContractualCapitalCommitments" xlink:title="ContractualCapitalCommitments" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="ContractualCapitalCommitments" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to ContractualCapitalCommitments" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:label="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:title="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable to MaturityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NotLaterThanOneYearMember" xlink:label="NotLaterThanOneYearMember" xlink:title="NotLaterThanOneYearMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="NotLaterThanOneYearMember" xlink:title="definition: MaturityDomain to NotLaterThanOneYearMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/CommitmentsOperatingLeaseCommitmentsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:label="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:title="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsAbstract" xlink:label="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsAbstract" xlink:title="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsAbstract" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_UndiscountedOperatingLeasePaymentsToBeReceived" xlink:label="UndiscountedOperatingLeasePaymentsToBeReceived" xlink:title="UndiscountedOperatingLeasePaymentsToBeReceived" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="UndiscountedOperatingLeasePaymentsToBeReceived" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to UndiscountedOperatingLeasePaymentsToBeReceived" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:label="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:title="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems" xlink:to="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems to DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable to MaturityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NotLaterThanOneYearMember" xlink:label="NotLaterThanOneYearMember" xlink:title="NotLaterThanOneYearMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="NotLaterThanOneYearMember" xlink:title="definition: MaturityDomain to NotLaterThanOneYearMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:label="LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:title="LaterThanOneYearAndNotLaterThanTwoYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:title="definition: MaturityDomain to LaterThanOneYearAndNotLaterThanTwoYearsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:label="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="definition: MaturityDomain to LaterThanTwoYearsAndNotLaterThanFiveYearsMember" order="3.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementMarketRiskDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:label="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:title="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisclosureOfFinancialInstrumentsByTypeOfCommodityRateAbstract" xlink:label="DisclosureOfFinancialInstrumentsByTypeOfCommodityRateAbstract" xlink:title="DisclosureOfFinancialInstrumentsByTypeOfCommodityRateAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="DisclosureOfFinancialInstrumentsByTypeOfCommodityRateAbstract" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to DisclosureOfFinancialInstrumentsByTypeOfCommodityRateAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateAbstract" xlink:label="DisclosureOfFinancialInstrumentsByTypeOfInterestRateAbstract" xlink:title="DisclosureOfFinancialInstrumentsByTypeOfInterestRateAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="DisclosureOfFinancialInstrumentsByTypeOfInterestRateAbstract" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to DisclosureOfFinancialInstrumentsByTypeOfInterestRateAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfInterestRateRiskExposureAdopted" xlink:label="PercentageOfInterestRateRiskExposureAdopted" xlink:title="PercentageOfInterestRateRiskExposureAdopted" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="PercentageOfInterestRateRiskExposureAdopted" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to PercentageOfInterestRateRiskExposureAdopted" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HedgeRatio" xlink:label="HedgeRatio" xlink:title="HedgeRatio" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="HedgeRatio" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to HedgeRatio" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfNotionalPrincipalAmountOfInterestRateSwaps" xlink:label="PercentageOfNotionalPrincipalAmountOfInterestRateSwaps" xlink:title="PercentageOfNotionalPrincipalAmountOfInterestRateSwaps" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="PercentageOfNotionalPrincipalAmountOfInterestRateSwaps" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to PercentageOfNotionalPrincipalAmountOfInterestRateSwaps" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VariableRateFinancialInstrumentsAbstract" xlink:label="VariableRateFinancialInstrumentsAbstract" xlink:title="VariableRateFinancialInstrumentsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="VariableRateFinancialInstrumentsAbstract" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to VariableRateFinancialInstrumentsAbstract" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsAdjustmentToInterestRateBasis" xlink:label="BorrowingsAdjustmentToInterestRateBasis" xlink:title="BorrowingsAdjustmentToInterestRateBasis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="BorrowingsAdjustmentToInterestRateBasis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to BorrowingsAdjustmentToInterestRateBasis" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseByInterestExpenseOnPortionOfTheBorrowingsNotCoveredByTheInterestRateSwapInstruments" xlink:label="IncreaseDecreaseByInterestExpenseOnPortionOfTheBorrowingsNotCoveredByTheInterestRateSwapInstruments" xlink:title="IncreaseDecreaseByInterestExpenseOnPortionOfTheBorrowingsNotCoveredByTheInterestRateSwapInstruments" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="IncreaseDecreaseByInterestExpenseOnPortionOfTheBorrowingsNotCoveredByTheInterestRateSwapInstruments" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to IncreaseDecreaseByInterestExpenseOnPortionOfTheBorrowingsNotCoveredByTheInterestRateSwapInstruments" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInNetResultsDueToChangesInBasisPointsNoHedgingInPlace" xlink:label="IncreaseDecreaseInNetResultsDueToChangesInBasisPointsNoHedgingInPlace" xlink:title="IncreaseDecreaseInNetResultsDueToChangesInBasisPointsNoHedgingInPlace" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="IncreaseDecreaseInNetResultsDueToChangesInBasisPointsNoHedgingInPlace" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to IncreaseDecreaseInNetResultsDueToChangesInBasisPointsNoHedgingInPlace" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialAssets" xlink:label="FinancialAssets" xlink:title="FinancialAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="FinancialAssets" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to FinancialAssets" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialLiabilities" xlink:label="FinancialLiabilities" xlink:title="FinancialLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="FinancialLiabilities" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to FinancialLiabilities" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VariableRateInstrumentsEffectOfInterestRateSwaps" xlink:label="VariableRateInstrumentsEffectOfInterestRateSwaps" xlink:title="VariableRateInstrumentsEffectOfInterestRateSwaps" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="VariableRateInstrumentsEffectOfInterestRateSwaps" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to VariableRateInstrumentsEffectOfInterestRateSwaps" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NetFinancialAssetsLiabilities" xlink:label="NetFinancialAssetsLiabilities" xlink:title="NetFinancialAssetsLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="NetFinancialAssetsLiabilities" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to NetFinancialAssetsLiabilities" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TermOfVariableRateBasis" xlink:label="TermOfVariableRateBasis" xlink:title="TermOfVariableRateBasis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="TermOfVariableRateBasis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to TermOfVariableRateBasis" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherGainsLosses" xlink:label="OtherGainsLosses" xlink:title="OtherGainsLosses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="OtherGainsLosses" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to OtherGainsLosses" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfShippingRevenueDerivedFromVesselsUnderFixedIncomeCharters" xlink:label="PercentageOfShippingRevenueDerivedFromVesselsUnderFixedIncomeCharters" xlink:title="PercentageOfShippingRevenueDerivedFromVesselsUnderFixedIncomeCharters" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="PercentageOfShippingRevenueDerivedFromVesselsUnderFixedIncomeCharters" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to PercentageOfShippingRevenueDerivedFromVesselsUnderFixedIncomeCharters" order="16.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfFuelOilCostAccountedForOperatingExpenses" xlink:label="PercentageOfFuelOilCostAccountedForOperatingExpenses" xlink:title="PercentageOfFuelOilCostAccountedForOperatingExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="PercentageOfFuelOilCostAccountedForOperatingExpenses" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to PercentageOfFuelOilCostAccountedForOperatingExpenses" order="17.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInPriceOfFuelOilPerMetricTon" xlink:label="IncreaseDecreaseInPriceOfFuelOilPerMetricTon" xlink:title="IncreaseDecreaseInPriceOfFuelOilPerMetricTon" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="IncreaseDecreaseInPriceOfFuelOilPerMetricTon" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to IncreaseDecreaseInPriceOfFuelOilPerMetricTon" order="18.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncreaseDecreaseInFuelOilConsumptionExpense" xlink:label="IncreaseDecreaseInFuelOilConsumptionExpense" xlink:title="IncreaseDecreaseInFuelOilConsumptionExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="IncreaseDecreaseInFuelOilConsumptionExpense" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to IncreaseDecreaseInFuelOilConsumptionExpense" order="19.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:label="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:title="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems" xlink:to="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsLineItems to DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" order="20.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksAxis" xlink:label="TypesOfRisksAxis" xlink:title="TypesOfRisksAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:to="TypesOfRisksAxis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable to TypesOfRisksAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain_2" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain_2" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MarketRiskMember" xlink:label="MarketRiskMember" xlink:title="MarketRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="MarketRiskMember" xlink:title="definition: TypesOfRisksDomain to MarketRiskMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CommodityPriceRiskMember" xlink:label="CommodityPriceRiskMember" xlink:title="CommodityPriceRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MarketRiskMember" xlink:to="CommodityPriceRiskMember" xlink:title="definition: MarketRiskMember to CommodityPriceRiskMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestRateRiskMember" xlink:label="InterestRateRiskMember" xlink:title="InterestRateRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MarketRiskMember" xlink:to="InterestRateRiskMember" xlink:title="definition: MarketRiskMember to InterestRateRiskMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesAxis" xlink:label="ProductsAndServicesAxis" xlink:title="ProductsAndServicesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:to="ProductsAndServicesAxis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable to ProductsAndServicesAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain_2" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain_2" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TimeChartersAndVoyageChartersMember" xlink:label="TimeChartersAndVoyageChartersMember" xlink:title="TimeChartersAndVoyageChartersMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="TimeChartersAndVoyageChartersMember" xlink:title="definition: ProductsAndServicesDomain to TimeChartersAndVoyageChartersMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesAxis" xlink:label="TypesOfInterestRatesAxis" xlink:title="TypesOfInterestRatesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:to="TypesOfInterestRatesAxis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable to TypesOfInterestRatesAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesDomain" xlink:label="TypesOfInterestRatesDomain" xlink:title="TypesOfInterestRatesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfInterestRatesAxis" xlink:to="TypesOfInterestRatesDomain" xlink:title="definition: TypesOfInterestRatesAxis to TypesOfInterestRatesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfInterestRatesDomain" xlink:label="TypesOfInterestRatesDomain_2" xlink:title="TypesOfInterestRatesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfInterestRatesAxis" xlink:to="TypesOfInterestRatesDomain_2" xlink:title="definition: TypesOfInterestRatesAxis to TypesOfInterestRatesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FloatingInterestRateMember" xlink:label="FloatingInterestRateMember" xlink:title="FloatingInterestRateMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfInterestRatesDomain" xlink:to="FloatingInterestRateMember" xlink:title="definition: TypesOfInterestRatesDomain to FloatingInterestRateMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable to RangeAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsAxis" xlink:label="ClassesOfFinancialAssetsAxis" xlink:title="ClassesOfFinancialAssetsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable" xlink:to="ClassesOfFinancialAssetsAxis" xlink:title="definition: DisclosureOfNatureAndExtentOfRisksArisingFromFinancialInstrumentsTable to ClassesOfFinancialAssetsAxis" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsDomain" xlink:label="ClassesOfFinancialAssetsDomain" xlink:title="ClassesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfFinancialAssetsAxis" xlink:to="ClassesOfFinancialAssetsDomain" xlink:title="definition: ClassesOfFinancialAssetsAxis to ClassesOfFinancialAssetsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsDomain" xlink:label="ClassesOfFinancialAssetsDomain_2" xlink:title="ClassesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfFinancialAssetsAxis" xlink:to="ClassesOfFinancialAssetsDomain_2" xlink:title="definition: ClassesOfFinancialAssetsAxis to ClassesOfFinancialAssetsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InterestRateSwapContractMember" xlink:label="InterestRateSwapContractMember" xlink:title="InterestRateSwapContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="InterestRateSwapContractMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to InterestRateSwapContractMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementCreditRiskDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfProvisionMatrixLineItems" xlink:label="DisclosureOfProvisionMatrixLineItems" xlink:title="DisclosureOfProvisionMatrixLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditRiskAbstract" xlink:label="CreditRiskAbstract" xlink:title="CreditRiskAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="CreditRiskAbstract" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to CreditRiskAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PercentageOfTradeReceivablesAllowanceMatrix" xlink:label="PercentageOfTradeReceivablesAllowanceMatrix" xlink:title="PercentageOfTradeReceivablesAllowanceMatrix" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="PercentageOfTradeReceivablesAllowanceMatrix" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to PercentageOfTradeReceivablesAllowanceMatrix" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TradeReceivablesAndContractAssetsAbstract" xlink:label="TradeReceivablesAndContractAssetsAbstract" xlink:title="TradeReceivablesAndContractAssetsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="TradeReceivablesAndContractAssetsAbstract" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to TradeReceivablesAndContractAssetsAbstract" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ImpairmentOnCashAndCashEquivalentsMeasurementPeriod" xlink:label="ImpairmentOnCashAndCashEquivalentsMeasurementPeriod" xlink:title="ImpairmentOnCashAndCashEquivalentsMeasurementPeriod" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="ImpairmentOnCashAndCashEquivalentsMeasurementPeriod" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to ImpairmentOnCashAndCashEquivalentsMeasurementPeriod" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CurrentTradeReceivablesNet" xlink:label="CurrentTradeReceivablesNet" xlink:title="CurrentTradeReceivablesNet" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="CurrentTradeReceivablesNet" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to CurrentTradeReceivablesNet" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:label="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:title="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to AllowanceAccountForCreditLossesOfTradeReceivablesAndContractAssets" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfProvisionMatrixTable" xlink:label="DisclosureOfProvisionMatrixTable" xlink:title="DisclosureOfProvisionMatrixTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfProvisionMatrixLineItems" xlink:to="DisclosureOfProvisionMatrixTable" xlink:title="definition: DisclosureOfProvisionMatrixLineItems to DisclosureOfProvisionMatrixTable" order="7.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksAxis" xlink:label="TypesOfRisksAxis" xlink:title="TypesOfRisksAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfProvisionMatrixTable" xlink:to="TypesOfRisksAxis" xlink:title="definition: DisclosureOfProvisionMatrixTable to TypesOfRisksAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfRisksDomain" xlink:label="TypesOfRisksDomain_2" xlink:title="TypesOfRisksDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfRisksAxis" xlink:to="TypesOfRisksDomain_2" xlink:title="definition: TypesOfRisksAxis to TypesOfRisksDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CreditRiskMember" xlink:label="CreditRiskMember" xlink:title="CreditRiskMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfRisksDomain" xlink:to="CreditRiskMember" xlink:title="definition: TypesOfRisksDomain to CreditRiskMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfProvisionMatrixTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfProvisionMatrixTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PastDueStatusAxis" xlink:label="PastDueStatusAxis" xlink:title="PastDueStatusAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfProvisionMatrixTable" xlink:to="PastDueStatusAxis" xlink:title="definition: DisclosureOfProvisionMatrixTable to PastDueStatusAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PastDueStatusDomain" xlink:label="PastDueStatusDomain" xlink:title="PastDueStatusDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PastDueStatusAxis" xlink:to="PastDueStatusDomain" xlink:title="definition: PastDueStatusAxis to PastDueStatusDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PastDueStatusDomain" xlink:label="PastDueStatusDomain_2" xlink:title="PastDueStatusDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PastDueStatusAxis" xlink:to="PastDueStatusDomain_2" xlink:title="definition: PastDueStatusAxis to PastDueStatusDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CurrentMember" xlink:label="CurrentMember" xlink:title="CurrentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PastDueStatusDomain" xlink:to="CurrentMember" xlink:title="definition: PastDueStatusDomain to CurrentMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LaterOneMonthAndNotLaterThanThreeMonthsMember" xlink:label="LaterOneMonthAndNotLaterThanThreeMonthsMember" xlink:title="LaterOneMonthAndNotLaterThanThreeMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PastDueStatusDomain" xlink:to="LaterOneMonthAndNotLaterThanThreeMonthsMember" xlink:title="definition: PastDueStatusDomain to LaterOneMonthAndNotLaterThanThreeMonthsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanThreeMonthsMember" xlink:label="LaterThanThreeMonthsMember" xlink:title="LaterThanThreeMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PastDueStatusDomain" xlink:to="LaterThanThreeMonthsMember" xlink:title="definition: PastDueStatusDomain to LaterThanThreeMonthsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_AllowanceForCreditLossesMember" xlink:label="AllowanceForCreditLossesMember" xlink:title="AllowanceForCreditLossesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PastDueStatusDomain" xlink:to="AllowanceForCreditLossesMember" xlink:title="definition: PastDueStatusDomain to AllowanceForCreditLossesMember" order="4.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementLiquidityRiskDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:label="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:title="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialLiabilitiesContractualUndiscountedCashFlowsAbstract" xlink:label="FinancialLiabilitiesContractualUndiscountedCashFlowsAbstract" xlink:title="FinancialLiabilitiesContractualUndiscountedCashFlowsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="FinancialLiabilitiesContractualUndiscountedCashFlowsAbstract" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to FinancialLiabilitiesContractualUndiscountedCashFlowsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShorttermDepositsClassifiedAsCashEquivalents" xlink:label="ShorttermDepositsClassifiedAsCashEquivalents" xlink:title="ShorttermDepositsClassifiedAsCashEquivalents" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="ShorttermDepositsClassifiedAsCashEquivalents" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to ShorttermDepositsClassifiedAsCashEquivalents" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows" xlink:label="TradeAndOtherPayablesUndiscountedCashFlows" xlink:title="TradeAndOtherPayablesUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="TradeAndOtherPayablesUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to TradeAndOtherPayablesUndiscountedCashFlows" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:label="DerivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:title="DerivativeFinancialLiabilitiesUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="DerivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to DerivativeFinancialLiabilitiesUndiscountedCashFlows" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InterestPaymentsUndiscountedCashFlows" xlink:label="InterestPaymentsUndiscountedCashFlows" xlink:title="InterestPaymentsUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="InterestPaymentsUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to InterestPaymentsUndiscountedCashFlows" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BankBorrowingsUndiscountedCashFlows" xlink:label="BankBorrowingsUndiscountedCashFlows" xlink:title="BankBorrowingsUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="BankBorrowingsUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to BankBorrowingsUndiscountedCashFlows" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SaleAndLeasebackLiabilityAndOtherLeaseLiabilitiesUndiscountedCashFlows" xlink:label="SaleAndLeasebackLiabilityAndOtherLeaseLiabilitiesUndiscountedCashFlows" xlink:title="SaleAndLeasebackLiabilityAndOtherLeaseLiabilitiesUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="SaleAndLeasebackLiabilityAndOtherLeaseLiabilitiesUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to SaleAndLeasebackLiabilityAndOtherLeaseLiabilitiesUndiscountedCashFlows" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NonderivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:label="NonderivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:title="NonderivativeFinancialLiabilitiesUndiscountedCashFlows" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="NonderivativeFinancialLiabilitiesUndiscountedCashFlows" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to NonderivativeFinancialLiabilitiesUndiscountedCashFlows" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" xlink:label="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" xlink:title="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems" xlink:to="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems to DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" order="9.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable to MaturityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NotLaterThanOneYearMember" xlink:label="NotLaterThanOneYearMember" xlink:title="NotLaterThanOneYearMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="NotLaterThanOneYearMember" xlink:title="definition: MaturityDomain to NotLaterThanOneYearMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:label="LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:title="LaterThanOneYearAndNotLaterThanTwoYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanOneYearAndNotLaterThanTwoYearsMember" xlink:title="definition: MaturityDomain to LaterThanOneYearAndNotLaterThanTwoYearsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:label="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanTwoYearsAndNotLaterThanFiveYearsMember" xlink:title="definition: MaturityDomain to LaterThanTwoYearsAndNotLaterThanFiveYearsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanFiveYearsMember" xlink:label="LaterThanFiveYearsMember" xlink:title="LaterThanFiveYearsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanFiveYearsMember" xlink:title="definition: MaturityDomain to LaterThanFiveYearsMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable to BorrowingsByNameAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_UndrawnRevolvingCreditFacilitiesMember" xlink:label="UndrawnRevolvingCreditFacilitiesMember" xlink:title="UndrawnRevolvingCreditFacilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="UndrawnRevolvingCreditFacilitiesMember" xlink:title="definition: BorrowingsByNameDomain to UndrawnRevolvingCreditFacilitiesMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementAccountingClassificationsAndFairValuesDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialInstrumentsLineItems" xlink:label="DisclosureOfFinancialInstrumentsLineItems" xlink:title="DisclosureOfFinancialInstrumentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialAssetsAbstract" xlink:label="DisclosureOfFinancialAssetsAbstract" xlink:title="DisclosureOfFinancialAssetsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="DisclosureOfFinancialAssetsAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to DisclosureOfFinancialAssetsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialLiabilitiesAbstract" xlink:label="DisclosureOfFinancialLiabilitiesAbstract" xlink:title="DisclosureOfFinancialLiabilitiesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="DisclosureOfFinancialLiabilitiesAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to DisclosureOfFinancialLiabilitiesAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialLiabilitiesMeasuredAtFairValueAbstract" xlink:label="FinancialLiabilitiesMeasuredAtFairValueAbstract" xlink:title="FinancialLiabilitiesMeasuredAtFairValueAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialLiabilitiesMeasuredAtFairValueAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialLiabilitiesMeasuredAtFairValueAbstract" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialLiabilitiesNotMeasuredAtFairValueAbstract" xlink:label="FinancialLiabilitiesNotMeasuredAtFairValueAbstract" xlink:title="FinancialLiabilitiesNotMeasuredAtFairValueAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialLiabilitiesNotMeasuredAtFairValueAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialLiabilitiesNotMeasuredAtFairValueAbstract" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialLiabilities" xlink:label="FinancialLiabilities" xlink:title="FinancialLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialLiabilities" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialLiabilities" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NetFinancialAssetsLiabilities" xlink:label="NetFinancialAssetsLiabilities" xlink:title="NetFinancialAssetsLiabilities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="NetFinancialAssetsLiabilities" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to NetFinancialAssetsLiabilities" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialLiabilitiesAtFairValue" xlink:label="FinancialLiabilitiesAtFairValue" xlink:title="FinancialLiabilitiesAtFairValue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialLiabilitiesAtFairValue" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialLiabilitiesAtFairValue" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialAssetsMeasuredAtFairValueAbstract" xlink:label="FinancialAssetsMeasuredAtFairValueAbstract" xlink:title="FinancialAssetsMeasuredAtFairValueAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialAssetsMeasuredAtFairValueAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialAssetsMeasuredAtFairValueAbstract" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialAssetsNotMeasuredAtFairValueAbstract" xlink:label="FinancialAssetsNotMeasuredAtFairValueAbstract" xlink:title="FinancialAssetsNotMeasuredAtFairValueAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialAssetsNotMeasuredAtFairValueAbstract" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialAssetsNotMeasuredAtFairValueAbstract" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialAssets" xlink:label="FinancialAssets" xlink:title="FinancialAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialAssets" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialAssets" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialAssetsAtFairValue" xlink:label="FinancialAssetsAtFairValue" xlink:title="FinancialAssetsAtFairValue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="FinancialAssetsAtFairValue" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to FinancialAssetsAtFairValue" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialInstrumentsTable" xlink:label="DisclosureOfFinancialInstrumentsTable" xlink:title="DisclosureOfFinancialInstrumentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfFinancialInstrumentsLineItems" xlink:to="DisclosureOfFinancialInstrumentsTable" xlink:title="definition: DisclosureOfFinancialInstrumentsLineItems to DisclosureOfFinancialInstrumentsTable" order="12.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:label="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CarryingAmountMember" xlink:label="CarryingAmountMember_2" xlink:title="CarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis" xlink:to="CarryingAmountMember_2" xlink:title="definition: CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis to CarryingAmountMember_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GrossCarryingAmountMember" xlink:label="GrossCarryingAmountMember" xlink:title="GrossCarryingAmountMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="GrossCarryingAmountMember" xlink:title="definition: CarryingAmountMember to GrossCarryingAmountMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FairValueHierarchyMember" xlink:label="FairValueHierarchyMember" xlink:title="FairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CarryingAmountMember" xlink:to="FairValueHierarchyMember" xlink:title="definition: CarryingAmountMember to FairValueHierarchyMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesAxis" xlink:label="TypesOfHedgesAxis" xlink:title="TypesOfHedgesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="TypesOfHedgesAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to TypesOfHedgesAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfHedgesDomain" xlink:label="TypesOfHedgesDomain_2" xlink:title="TypesOfHedgesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfHedgesAxis" xlink:to="TypesOfHedgesDomain_2" xlink:title="definition: TypesOfHedgesAxis to TypesOfHedgesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FairValueHedgesAndFairValueThroughProfitAndLossMember" xlink:label="FairValueHedgesAndFairValueThroughProfitAndLossMember" xlink:title="FairValueHedgesAndFairValueThroughProfitAndLossMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfHedgesDomain" xlink:to="FairValueHedgesAndFairValueThroughProfitAndLossMember" xlink:title="definition: TypesOfHedgesDomain to FairValueHedgesAndFairValueThroughProfitAndLossMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FairValueHedgesMember" xlink:label="FairValueHedgesMember" xlink:title="FairValueHedgesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfHedgesDomain" xlink:to="FairValueHedgesMember" xlink:title="definition: TypesOfHedgesDomain to FairValueHedgesMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherFinancialLiabilitiesMember" xlink:label="OtherFinancialLiabilitiesMember" xlink:title="OtherFinancialLiabilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfHedgesDomain" xlink:to="OtherFinancialLiabilitiesMember" xlink:title="definition: TypesOfHedgesDomain to OtherFinancialLiabilitiesMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsAxis" xlink:label="ClassesOfFinancialAssetsAxis" xlink:title="ClassesOfFinancialAssetsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="ClassesOfFinancialAssetsAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to ClassesOfFinancialAssetsAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsDomain" xlink:label="ClassesOfFinancialAssetsDomain" xlink:title="ClassesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ClassesOfFinancialAssetsAxis" xlink:to="ClassesOfFinancialAssetsDomain" xlink:title="definition: ClassesOfFinancialAssetsAxis to ClassesOfFinancialAssetsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ClassesOfFinancialAssetsDomain" xlink:label="ClassesOfFinancialAssetsDomain_2" xlink:title="ClassesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ClassesOfFinancialAssetsAxis" xlink:to="ClassesOfFinancialAssetsDomain_2" xlink:title="definition: ClassesOfFinancialAssetsAxis to ClassesOfFinancialAssetsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LoansReceivableFromJointVentureMember" xlink:label="LoansReceivableFromJointVentureMember" xlink:title="LoansReceivableFromJointVentureMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="LoansReceivableFromJointVentureMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to LoansReceivableFromJointVentureMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SwapContractMember" xlink:label="SwapContractMember" xlink:title="SwapContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="SwapContractMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to SwapContractMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TradeAndOtherReceivablesAndPrepaymentsMember" xlink:label="TradeAndOtherReceivablesAndPrepaymentsMember" xlink:title="TradeAndOtherReceivablesAndPrepaymentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="TradeAndOtherReceivablesAndPrepaymentsMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to TradeAndOtherReceivablesAndPrepaymentsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_RestrictedCashMember" xlink:label="RestrictedCashMember" xlink:title="RestrictedCashMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="RestrictedCashMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to RestrictedCashMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CashAtBanksAndOnHandMember" xlink:label="CashAtBanksAndOnHandMember" xlink:title="CashAtBanksAndOnHandMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="CashAtBanksAndOnHandMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to CashAtBanksAndOnHandMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CashRetainedInTheCommercialPoolsMember" xlink:label="CashRetainedInTheCommercialPoolsMember" xlink:title="CashRetainedInTheCommercialPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ClassesOfFinancialAssetsDomain" xlink:to="CashRetainedInTheCommercialPoolsMember" xlink:title="definition: ClassesOfFinancialAssetsDomain to CashRetainedInTheCommercialPoolsMember" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ForwardContractMember" xlink:label="ForwardContractMember" xlink:title="ForwardContractMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SwapContractMember" xlink:to="ForwardContractMember" xlink:title="definition: SwapContractMember to ForwardContractMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ForwardFreightAgreementsMember" xlink:label="ForwardFreightAgreementsMember" xlink:title="ForwardFreightAgreementsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SwapContractMember" xlink:to="ForwardFreightAgreementsMember" xlink:title="definition: SwapContractMember to ForwardFreightAgreementsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InterestRateSwapsUsedForHedgingMember" xlink:label="InterestRateSwapsUsedForHedgingMember" xlink:title="InterestRateSwapsUsedForHedgingMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SwapContractMember" xlink:to="InterestRateSwapsUsedForHedgingMember" xlink:title="definition: SwapContractMember to InterestRateSwapsUsedForHedgingMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InterestRateCapsMember" xlink:label="InterestRateCapsMember" xlink:title="InterestRateCapsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SwapContractMember" xlink:to="InterestRateCapsMember" xlink:title="definition: SwapContractMember to InterestRateCapsMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OtherInvestmentMember" xlink:label="OtherInvestmentMember" xlink:title="OtherInvestmentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SwapContractMember" xlink:to="OtherInvestmentMember" xlink:title="definition: SwapContractMember to OtherInvestmentMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsAxis" xlink:label="CategoriesOfFinancialAssetsAxis" xlink:title="CategoriesOfFinancialAssetsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="CategoriesOfFinancialAssetsAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to CategoriesOfFinancialAssetsAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsDomain" xlink:label="CategoriesOfFinancialAssetsDomain" xlink:title="CategoriesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfFinancialAssetsAxis" xlink:to="CategoriesOfFinancialAssetsDomain" xlink:title="definition: CategoriesOfFinancialAssetsAxis to CategoriesOfFinancialAssetsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsDomain" xlink:label="CategoriesOfFinancialAssetsDomain_2" xlink:title="CategoriesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfFinancialAssetsAxis" xlink:to="CategoriesOfFinancialAssetsDomain_2" xlink:title="definition: CategoriesOfFinancialAssetsAxis to CategoriesOfFinancialAssetsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember" xlink:label="FinancialAssetsAtAmortisedCostCategoryMember" xlink:title="FinancialAssetsAtAmortisedCostCategoryMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialAssetsDomain" xlink:to="FinancialAssetsAtAmortisedCostCategoryMember" xlink:title="definition: CategoriesOfFinancialAssetsDomain to FinancialAssetsAtAmortisedCostCategoryMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember" xlink:label="FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember" xlink:title="FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialAssetsDomain" xlink:to="FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember" xlink:title="definition: CategoriesOfFinancialAssetsDomain to FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialLiabilitiesAxis" xlink:label="CategoriesOfFinancialLiabilitiesAxis" xlink:title="CategoriesOfFinancialLiabilitiesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="CategoriesOfFinancialLiabilitiesAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to CategoriesOfFinancialLiabilitiesAxis" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialLiabilitiesDomain" xlink:label="CategoriesOfFinancialLiabilitiesDomain" xlink:title="CategoriesOfFinancialLiabilitiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfFinancialLiabilitiesAxis" xlink:to="CategoriesOfFinancialLiabilitiesDomain" xlink:title="definition: CategoriesOfFinancialLiabilitiesAxis to CategoriesOfFinancialLiabilitiesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialLiabilitiesDomain" xlink:label="CategoriesOfFinancialLiabilitiesDomain_2" xlink:title="CategoriesOfFinancialLiabilitiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfFinancialLiabilitiesAxis" xlink:to="CategoriesOfFinancialLiabilitiesDomain_2" xlink:title="definition: CategoriesOfFinancialLiabilitiesAxis to CategoriesOfFinancialLiabilitiesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BankBorrowingsMember" xlink:label="BankBorrowingsMember" xlink:title="BankBorrowingsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialLiabilitiesDomain" xlink:to="BankBorrowingsMember" xlink:title="definition: CategoriesOfFinancialLiabilitiesDomain to BankBorrowingsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SaleAndLeasebackLiabilitiesMember" xlink:label="SaleAndLeasebackLiabilitiesMember" xlink:title="SaleAndLeasebackLiabilitiesMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialLiabilitiesDomain" xlink:to="SaleAndLeasebackLiabilitiesMember" xlink:title="definition: CategoriesOfFinancialLiabilitiesDomain to SaleAndLeasebackLiabilitiesMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TradeAndOtherPayablesAndProvisionsMember" xlink:label="TradeAndOtherPayablesAndProvisionsMember" xlink:title="TradeAndOtherPayablesAndProvisionsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialLiabilitiesDomain" xlink:to="TradeAndOtherPayablesAndProvisionsMember" xlink:title="definition: CategoriesOfFinancialLiabilitiesDomain to TradeAndOtherPayablesAndProvisionsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis" xlink:label="LevelsOfFairValueHierarchyAxis" xlink:title="LevelsOfFairValueHierarchyAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialInstrumentsTable" xlink:to="LevelsOfFairValueHierarchyAxis" xlink:title="definition: DisclosureOfFinancialInstrumentsTable to LevelsOfFairValueHierarchyAxis" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain_2" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain_2" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Level1OfFairValueHierarchyMember" xlink:label="Level1OfFairValueHierarchyMember" xlink:title="Level1OfFairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LevelsOfFairValueHierarchyDomain" xlink:to="Level1OfFairValueHierarchyMember" xlink:title="definition: LevelsOfFairValueHierarchyDomain to Level1OfFairValueHierarchyMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Level2OfFairValueHierarchyMember" xlink:label="Level2OfFairValueHierarchyMember" xlink:title="Level2OfFairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LevelsOfFairValueHierarchyDomain" xlink:to="Level2OfFairValueHierarchyMember" xlink:title="definition: LevelsOfFairValueHierarchyDomain to Level2OfFairValueHierarchyMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Level3OfFairValueHierarchyMember" xlink:label="Level3OfFairValueHierarchyMember" xlink:title="Level3OfFairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LevelsOfFairValueHierarchyDomain" xlink:to="Level3OfFairValueHierarchyMember" xlink:title="definition: LevelsOfFairValueHierarchyDomain to Level3OfFairValueHierarchyMember" order="3.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementFairValueOfInvestmentsInEquityInstrumentsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:label="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:title="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FairValueOfInvestmentsInEquityInstrumentAbstract" xlink:label="FairValueOfInvestmentsInEquityInstrumentAbstract" xlink:title="FairValueOfInvestmentsInEquityInstrumentAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="FairValueOfInvestmentsInEquityInstrumentAbstract" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to FairValueOfInvestmentsInEquityInstrumentAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:label="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FloatingInterestRateRePriceableInterval" xlink:label="FloatingInterestRateRePriceableInterval" xlink:title="FloatingInterestRateRePriceableInterval" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="FloatingInterestRateRePriceableInterval" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to FloatingInterestRateRePriceableInterval" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProportionOfVotingPowerHeldInSubsidiary" xlink:label="ProportionOfVotingPowerHeldInSubsidiary" xlink:title="ProportionOfVotingPowerHeldInSubsidiary" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="ProportionOfVotingPowerHeldInSubsidiary" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to ProportionOfVotingPowerHeldInSubsidiary" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfSharesAcquired" xlink:label="NumberOfSharesAcquired" xlink:title="NumberOfSharesAcquired" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="NumberOfSharesAcquired" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to NumberOfSharesAcquired" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" xlink:label="PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" xlink:title="PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to PurchaseOfInterestsInInvestmentsAccountedForUsingEquityMethod" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PercentageOfVotingEquityInterestsAcquired" xlink:label="PercentageOfVotingEquityInterestsAcquired" xlink:title="PercentageOfVotingEquityInterestsAcquired" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="PercentageOfVotingEquityInterestsAcquired" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to PercentageOfVotingEquityInterestsAcquired" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:label="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:title="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" order="8.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:label="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:title="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:to="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable to InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:label="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:title="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:to="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:title="definition: InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis to InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:label="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" xlink:title="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:to="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" xlink:title="definition: InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis to InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InvestmentInZeroNorthASFormerlyKnownAsAlphaOriTechnologyHoldingsPteLtdAlphaOriMember" xlink:label="InvestmentInZeroNorthASFormerlyKnownAsAlphaOriTechnologyHoldingsPteLtdAlphaOriMember" xlink:title="InvestmentInZeroNorthASFormerlyKnownAsAlphaOriTechnologyHoldingsPteLtdAlphaOriMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentInZeroNorthASFormerlyKnownAsAlphaOriTechnologyHoldingsPteLtdAlphaOriMember" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentInZeroNorthASFormerlyKnownAsAlphaOriTechnologyHoldingsPteLtdAlphaOriMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InvestmentInDiginexSolutionsHKLimitedDiginexMember" xlink:label="InvestmentInDiginexSolutionsHKLimitedDiginexMember" xlink:title="InvestmentInDiginexSolutionsHKLimitedDiginexMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentInDiginexSolutionsHKLimitedDiginexMember" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentInDiginexSolutionsHKLimitedDiginexMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InvestmentInCleanHydrogenWorksLA1LLCCHWLA1Member" xlink:label="InvestmentInCleanHydrogenWorksLA1LLCCHWLA1Member" xlink:title="InvestmentInCleanHydrogenWorksLA1LLCCHWLA1Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentInCleanHydrogenWorksLA1LLCCHWLA1Member" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentInCleanHydrogenWorksLA1LLCCHWLA1Member" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InvestmentInVanguardTechIncVanguardMember" xlink:label="InvestmentInVanguardTechIncVanguardMember" xlink:title="InvestmentInVanguardTechIncVanguardMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentInVanguardTechIncVanguardMember" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentInVanguardTechIncVanguardMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_InvestmentInTORMPlcTORMMember" xlink:label="InvestmentInTORMPlcTORMMember" xlink:title="InvestmentInTORMPlcTORMMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentInTORMPlcTORMMember" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentInTORMPlcTORMMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable to RangeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementReconciliationFromInvestmentInUnquotedEquityInstrumentsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:label="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:title="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract" xlink:label="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract" xlink:title="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:label="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_AcquisitionOfEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:label="AcquisitionOfEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="AcquisitionOfEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="AcquisitionOfEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to AcquisitionOfEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ConversionOfDebtIntoEquity" xlink:label="ConversionOfDebtIntoEquity" xlink:title="ConversionOfDebtIntoEquity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="ConversionOfDebtIntoEquity" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to ConversionOfDebtIntoEquity" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IncomeLossEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:label="IncomeLossEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="IncomeLossEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="IncomeLossEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to IncomeLossEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncome" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisposalOfOtherInvestmentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:label="DisposalOfOtherInvestmentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="DisposalOfOtherInvestmentsDesignatedAtFairValueThroughOtherComprehensiveIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="DisposalOfOtherInvestmentsDesignatedAtFairValueThroughOtherComprehensiveIncome" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to DisposalOfOtherInvestmentsDesignatedAtFairValueThroughOtherComprehensiveIncome" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TransfersOutOfLevel3IntoLevel2OfFairValueHierarchyAssets" xlink:label="TransfersOutOfLevel3IntoLevel2OfFairValueHierarchyAssets" xlink:title="TransfersOutOfLevel3IntoLevel2OfFairValueHierarchyAssets" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="TransfersOutOfLevel3IntoLevel2OfFairValueHierarchyAssets" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to TransfersOutOfLevel3IntoLevel2OfFairValueHierarchyAssets" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:label="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:title="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems" xlink:to="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems to DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" order="8.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis" xlink:label="LevelsOfFairValueHierarchyAxis" xlink:title="LevelsOfFairValueHierarchyAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:to="LevelsOfFairValueHierarchyAxis" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable to LevelsOfFairValueHierarchyAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain_2" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain_2" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Level3OfFairValueHierarchyMember" xlink:label="Level3OfFairValueHierarchyMember" xlink:title="Level3OfFairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LevelsOfFairValueHierarchyDomain" xlink:to="Level3OfFairValueHierarchyMember" xlink:title="definition: LevelsOfFairValueHierarchyDomain to Level3OfFairValueHierarchyMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:label="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:title="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable" xlink:to="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:title="definition: DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable to InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:label="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:title="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:to="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:title="definition: InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis to InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:label="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" xlink:title="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis" xlink:to="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" xlink:title="definition: InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeAxis to InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" xlink:label="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" xlink:title="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain" xlink:to="InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" xlink:title="definition: InvestmentsInEquityInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeDomain to InvestmentsInEquityInstrumentsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/FinancialRiskManagementLoansReceivableFromJointVentureMeasuredAtLevel3FairValueDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialAssetsLineItems" xlink:label="DisclosureOfFinancialAssetsLineItems" xlink:title="DisclosureOfFinancialAssetsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LoansReceivableFromAJointVentureMeasuredAtFVTPLAbstract" xlink:label="LoansReceivableFromAJointVentureMeasuredAtFVTPLAbstract" xlink:title="LoansReceivableFromAJointVentureMeasuredAtFVTPLAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialAssetsLineItems" xlink:to="LoansReceivableFromAJointVentureMeasuredAtFVTPLAbstract" xlink:title="definition: DisclosureOfFinancialAssetsLineItems to LoansReceivableFromAJointVentureMeasuredAtFVTPLAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughLoansReceivableFromJointVenture" xlink:label="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughLoansReceivableFromJointVenture" xlink:title="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughLoansReceivableFromJointVenture" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialAssetsLineItems" xlink:to="FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughLoansReceivableFromJointVenture" xlink:title="definition: DisclosureOfFinancialAssetsLineItems to FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughLoansReceivableFromJointVenture" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_IssuanceOfConvertibleLoanNotesToAJointVenture" xlink:label="IssuanceOfConvertibleLoanNotesToAJointVenture" xlink:title="IssuanceOfConvertibleLoanNotesToAJointVenture" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfFinancialAssetsLineItems" xlink:to="IssuanceOfConvertibleLoanNotesToAJointVenture" xlink:title="definition: DisclosureOfFinancialAssetsLineItems to IssuanceOfConvertibleLoanNotesToAJointVenture" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfFinancialAssetsTable" xlink:label="DisclosureOfFinancialAssetsTable" xlink:title="DisclosureOfFinancialAssetsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfFinancialAssetsLineItems" xlink:to="DisclosureOfFinancialAssetsTable" xlink:title="definition: DisclosureOfFinancialAssetsLineItems to DisclosureOfFinancialAssetsTable" order="4.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsAxis" xlink:label="CategoriesOfFinancialAssetsAxis" xlink:title="CategoriesOfFinancialAssetsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialAssetsTable" xlink:to="CategoriesOfFinancialAssetsAxis" xlink:title="definition: DisclosureOfFinancialAssetsTable to CategoriesOfFinancialAssetsAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsDomain" xlink:label="CategoriesOfFinancialAssetsDomain" xlink:title="CategoriesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfFinancialAssetsAxis" xlink:to="CategoriesOfFinancialAssetsDomain" xlink:title="definition: CategoriesOfFinancialAssetsAxis to CategoriesOfFinancialAssetsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfFinancialAssetsDomain" xlink:label="CategoriesOfFinancialAssetsDomain_2" xlink:title="CategoriesOfFinancialAssetsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfFinancialAssetsAxis" xlink:to="CategoriesOfFinancialAssetsDomain_2" xlink:title="definition: CategoriesOfFinancialAssetsAxis to CategoriesOfFinancialAssetsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialAssetsAtFairValueThroughProfitOrLossLoansReceivableFromAJointVentureMember" xlink:label="FinancialAssetsAtFairValueThroughProfitOrLossLoansReceivableFromAJointVentureMember" xlink:title="FinancialAssetsAtFairValueThroughProfitOrLossLoansReceivableFromAJointVentureMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfFinancialAssetsDomain" xlink:to="FinancialAssetsAtFairValueThroughProfitOrLossLoansReceivableFromAJointVentureMember" xlink:title="definition: CategoriesOfFinancialAssetsDomain to FinancialAssetsAtFairValueThroughProfitOrLossLoansReceivableFromAJointVentureMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis" xlink:label="LevelsOfFairValueHierarchyAxis" xlink:title="LevelsOfFairValueHierarchyAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfFinancialAssetsTable" xlink:to="LevelsOfFairValueHierarchyAxis" xlink:title="definition: DisclosureOfFinancialAssetsTable to LevelsOfFairValueHierarchyAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LevelsOfFairValueHierarchyDomain" xlink:label="LevelsOfFairValueHierarchyDomain_2" xlink:title="LevelsOfFairValueHierarchyDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="LevelsOfFairValueHierarchyAxis" xlink:to="LevelsOfFairValueHierarchyDomain_2" xlink:title="definition: LevelsOfFairValueHierarchyAxis to LevelsOfFairValueHierarchyDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Level3OfFairValueHierarchyMember" xlink:label="Level3OfFairValueHierarchyMember" xlink:title="Level3OfFairValueHierarchyMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="LevelsOfFairValueHierarchyDomain" xlink:to="Level3OfFairValueHierarchyMember" xlink:title="definition: LevelsOfFairValueHierarchyDomain to Level3OfFairValueHierarchyMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RelatedPartyTransactionsTransactionsBetweenGroupAndRelatedPartiesOnCommercialTermsAgreedByPartiesDetails" />
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/RelatedPartyTransactionsKeyManagementPersonnelCompensationDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" xlink:label="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" xlink:title="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DescriptionOfShareBasedPaymentArrangementsAbstract" xlink:label="DescriptionOfShareBasedPaymentArrangementsAbstract" xlink:title="DescriptionOfShareBasedPaymentArrangementsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" xlink:to="DescriptionOfShareBasedPaymentArrangementsAbstract" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems to DescriptionOfShareBasedPaymentArrangementsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted" xlink:label="NumberOfInstrumentsOtherEquityInstrumentsGranted" xlink:title="NumberOfInstrumentsOtherEquityInstrumentsGranted" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" xlink:to="NumberOfInstrumentsOtherEquityInstrumentsGranted" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems to NumberOfInstrumentsOtherEquityInstrumentsGranted" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:label="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:title="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems" xlink:to="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesLineItems to DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" order="3.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis" xlink:label="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="TypesOfSharebasedPaymentArrangementsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:to="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable to TypesOfSharebasedPaymentArrangementsAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongTermIncentivePlan2024Member" xlink:label="LongTermIncentivePlan2024Member" xlink:title="LongTermIncentivePlan2024Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfSharebasedPaymentArrangementsDomain" xlink:to="LongTermIncentivePlan2024Member" xlink:title="definition: TypesOfSharebasedPaymentArrangementsDomain to LongTermIncentivePlan2024Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsAxis" xlink:label="TypesOfAntidilutiveInstrumentsAxis" xlink:title="TypesOfAntidilutiveInstrumentsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:to="TypesOfAntidilutiveInstrumentsAxis" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable to TypesOfAntidilutiveInstrumentsAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsDomain" xlink:label="TypesOfAntidilutiveInstrumentsDomain" xlink:title="TypesOfAntidilutiveInstrumentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfAntidilutiveInstrumentsAxis" xlink:to="TypesOfAntidilutiveInstrumentsDomain" xlink:title="definition: TypesOfAntidilutiveInstrumentsAxis to TypesOfAntidilutiveInstrumentsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfAntidilutiveInstrumentsDomain" xlink:label="TypesOfAntidilutiveInstrumentsDomain_2" xlink:title="TypesOfAntidilutiveInstrumentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfAntidilutiveInstrumentsAxis" xlink:to="TypesOfAntidilutiveInstrumentsDomain_2" xlink:title="definition: TypesOfAntidilutiveInstrumentsAxis to TypesOfAntidilutiveInstrumentsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ShareOptionsMember" xlink:label="ShareOptionsMember" xlink:title="ShareOptionsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfAntidilutiveInstrumentsDomain" xlink:to="ShareOptionsMember" xlink:title="definition: TypesOfAntidilutiveInstrumentsDomain to ShareOptionsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesAxis" xlink:label="CategoriesOfRelatedPartiesAxis" xlink:title="CategoriesOfRelatedPartiesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable" xlink:to="CategoriesOfRelatedPartiesAxis" xlink:title="definition: DisclosureOfAmountsIncurredByEntityForProvisionOfKeyManagementPersonnelServicesProvidedBySeparateManagementEntitiesTable to CategoriesOfRelatedPartiesAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CategoriesOfRelatedPartiesDomain" xlink:label="CategoriesOfRelatedPartiesDomain_2" xlink:title="CategoriesOfRelatedPartiesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="CategoriesOfRelatedPartiesAxis" xlink:to="CategoriesOfRelatedPartiesDomain_2" xlink:title="definition: CategoriesOfRelatedPartiesAxis to CategoriesOfRelatedPartiesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_KeyManagementPersonnelOfEntityOrParentMember" xlink:label="KeyManagementPersonnelOfEntityOrParentMember" xlink:title="KeyManagementPersonnelOfEntityOrParentMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="CategoriesOfRelatedPartiesDomain" xlink:to="KeyManagementPersonnelOfEntityOrParentMember" xlink:title="definition: CategoriesOfRelatedPartiesDomain to KeyManagementPersonnelOfEntityOrParentMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ChiefExecutiveOfficerMember" xlink:label="ChiefExecutiveOfficerMember" xlink:title="ChiefExecutiveOfficerMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="KeyManagementPersonnelOfEntityOrParentMember" xlink:to="ChiefExecutiveOfficerMember" xlink:title="definition: KeyManagementPersonnelOfEntityOrParentMember to ChiefExecutiveOfficerMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ChiefFinancialOfficerMember" xlink:label="ChiefFinancialOfficerMember" xlink:title="ChiefFinancialOfficerMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="KeyManagementPersonnelOfEntityOrParentMember" xlink:to="ChiefFinancialOfficerMember" xlink:title="definition: KeyManagementPersonnelOfEntityOrParentMember to ChiefFinancialOfficerMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/SegmentInformationOperatingSegmentsDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfOperatingSegmentsLineItems" xlink:label="DisclosureOfOperatingSegmentsLineItems" xlink:title="DisclosureOfOperatingSegmentsLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DetailsOfOperatingSegmentsAbstract" xlink:label="DetailsOfOperatingSegmentsAbstract" xlink:title="DetailsOfOperatingSegmentsAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="DetailsOfOperatingSegmentsAbstract" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to DetailsOfOperatingSegmentsAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SegmentRelatedInformationAbstract" xlink:label="SegmentRelatedInformationAbstract" xlink:title="SegmentRelatedInformationAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="SegmentRelatedInformationAbstract" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to SegmentRelatedInformationAbstract" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="Revenue" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to Revenue" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CostOfSales" xlink:label="CostOfSales" xlink:title="CostOfSales" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="CostOfSales" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to CostOfSales" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DistributionCosts" xlink:label="DistributionCosts" xlink:title="DistributionCosts" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="DistributionCosts" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to DistributionCosts" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_GrossProfit" xlink:label="GrossProfit" xlink:title="GrossProfit" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="GrossProfit" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to GrossProfit" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OtherIncome" xlink:label="OtherIncome" xlink:title="OtherIncome" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="OtherIncome" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to OtherIncome" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselOperatingExpenses" xlink:label="VesselOperatingExpenses" xlink:title="VesselOperatingExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="VesselOperatingExpenses" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to VesselOperatingExpenses" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_TechnicalManagementExpenses" xlink:label="TechnicalManagementExpenses" xlink:title="TechnicalManagementExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="TechnicalManagementExpenses" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to TechnicalManagementExpenses" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CharterHireExpenses" xlink:label="CharterHireExpenses" xlink:title="CharterHireExpenses" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="CharterHireExpenses" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to CharterHireExpenses" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_OperatingIncomeBeforeInterestTaxDepreciationAndAmortization" xlink:label="OperatingIncomeBeforeInterestTaxDepreciationAndAmortization" xlink:title="OperatingIncomeBeforeInterestTaxDepreciationAndAmortization" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="OperatingIncomeBeforeInterestTaxDepreciationAndAmortization" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to OperatingIncomeBeforeInterestTaxDepreciationAndAmortization" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DepreciationExpense" xlink:label="DepreciationExpense" xlink:title="DepreciationExpense" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="DepreciationExpense" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to DepreciationExpense" order="12.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProfitLossBeforeTax" xlink:label="ProfitLossBeforeTax" xlink:title="ProfitLossBeforeTax" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="ProfitLossBeforeTax" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to ProfitLossBeforeTax" order="13.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfOperatingSegment" xlink:label="NumberOfOperatingSegment" xlink:title="NumberOfOperatingSegment" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="NumberOfOperatingSegment" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to NumberOfOperatingSegment" order="14.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_VesselCapacity" xlink:label="VesselCapacity" xlink:title="VesselCapacity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="VesselCapacity" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to VesselCapacity" order="15.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfOperatingSegmentsTable" xlink:label="DisclosureOfOperatingSegmentsTable" xlink:title="DisclosureOfOperatingSegmentsTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfOperatingSegmentsLineItems" xlink:to="DisclosureOfOperatingSegmentsTable" xlink:title="definition: DisclosureOfOperatingSegmentsLineItems to DisclosureOfOperatingSegmentsTable" order="16.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesAxis" xlink:label="ProductsAndServicesAxis" xlink:title="ProductsAndServicesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfOperatingSegmentsTable" xlink:to="ProductsAndServicesAxis" xlink:title="definition: DisclosureOfOperatingSegmentsTable to ProductsAndServicesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProductsAndServicesDomain" xlink:label="ProductsAndServicesDomain_2" xlink:title="ProductsAndServicesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProductsAndServicesAxis" xlink:to="ProductsAndServicesDomain_2" xlink:title="definition: ProductsAndServicesAxis to ProductsAndServicesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaVesselsAndTCVesselsMember" xlink:label="HafniaVesselsAndTCVesselsMember" xlink:title="HafniaVesselsAndTCVesselsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="HafniaVesselsAndTCVesselsMember" xlink:title="definition: ProductsAndServicesDomain to HafniaVesselsAndTCVesselsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ExternalVesselsInDisponentOwnerPoolsMember" xlink:label="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="ExternalVesselsInDisponentOwnerPoolsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ProductsAndServicesDomain" xlink:to="ExternalVesselsInDisponentOwnerPoolsMember" xlink:title="definition: ProductsAndServicesDomain to ExternalVesselsInDisponentOwnerPoolsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsAxis" xlink:label="SegmentConsolidationItemsAxis" xlink:title="SegmentConsolidationItemsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfOperatingSegmentsTable" xlink:to="SegmentConsolidationItemsAxis" xlink:title="definition: DisclosureOfOperatingSegmentsTable to SegmentConsolidationItemsAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsDomain" xlink:label="SegmentConsolidationItemsDomain" xlink:title="SegmentConsolidationItemsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SegmentConsolidationItemsAxis" xlink:to="SegmentConsolidationItemsDomain" xlink:title="definition: SegmentConsolidationItemsAxis to SegmentConsolidationItemsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsDomain" xlink:label="SegmentConsolidationItemsDomain_2" xlink:title="SegmentConsolidationItemsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SegmentConsolidationItemsAxis" xlink:to="SegmentConsolidationItemsDomain_2" xlink:title="definition: SegmentConsolidationItemsAxis to SegmentConsolidationItemsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OperatingSegmentsMember" xlink:label="OperatingSegmentsMember" xlink:title="OperatingSegmentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentConsolidationItemsDomain" xlink:to="OperatingSegmentsMember" xlink:title="definition: SegmentConsolidationItemsDomain to OperatingSegmentsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaterialReconcilingItemsMember" xlink:label="MaterialReconcilingItemsMember" xlink:title="MaterialReconcilingItemsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentConsolidationItemsDomain" xlink:to="MaterialReconcilingItemsMember" xlink:title="definition: SegmentConsolidationItemsDomain to MaterialReconcilingItemsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_UnallocatedAmountsMember" xlink:label="UnallocatedAmountsMember" xlink:title="UnallocatedAmountsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaterialReconcilingItemsMember" xlink:to="UnallocatedAmountsMember" xlink:title="definition: MaterialReconcilingItemsMember to UnallocatedAmountsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsAxis" xlink:label="SegmentsAxis" xlink:title="SegmentsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfOperatingSegmentsTable" xlink:to="SegmentsAxis" xlink:title="definition: DisclosureOfOperatingSegmentsTable to SegmentsAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsDomain" xlink:label="SegmentsDomain" xlink:title="SegmentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SegmentsAxis" xlink:to="SegmentsDomain" xlink:title="definition: SegmentsAxis to SegmentsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsDomain" xlink:label="SegmentsDomain_2" xlink:title="SegmentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SegmentsAxis" xlink:to="SegmentsDomain_2" xlink:title="definition: SegmentsAxis to SegmentsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ReportableSegmentsMember" xlink:label="ReportableSegmentsMember" xlink:title="ReportableSegmentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentsDomain" xlink:to="ReportableSegmentsMember" xlink:title="definition: SegmentsDomain to ReportableSegmentsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongRangeTwoMember" xlink:label="LongRangeTwoMember" xlink:title="LongRangeTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="LongRangeTwoMember" xlink:title="definition: ReportableSegmentsMember to LongRangeTwoMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongRangeOneMember" xlink:label="LongRangeOneMember" xlink:title="LongRangeOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="LongRangeOneMember" xlink:title="definition: ReportableSegmentsMember to LongRangeOneMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MediumRangeMember" xlink:label="MediumRangeMember" xlink:title="MediumRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="MediumRangeMember" xlink:title="definition: ReportableSegmentsMember to MediumRangeMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HandySizeMember" xlink:label="HandySizeMember" xlink:title="HandySizeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="HandySizeMember" xlink:title="definition: ReportableSegmentsMember to HandySizeMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ChemicalStainlessMember" xlink:label="ChemicalStainlessMember" xlink:title="ChemicalStainlessMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="ChemicalStainlessMember" xlink:title="definition: ReportableSegmentsMember to ChemicalStainlessMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SpecialisedMember" xlink:label="SpecialisedMember" xlink:title="SpecialisedMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ReportableSegmentsMember" xlink:to="SpecialisedMember" xlink:title="definition: ReportableSegmentsMember to SpecialisedMember" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeAxis" xlink:label="RangeAxis" xlink:title="RangeAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfOperatingSegmentsTable" xlink:to="RangeAxis" xlink:title="definition: DisclosureOfOperatingSegmentsTable to RangeAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="RangeAxis" xlink:to="RangeDomain" xlink:title="definition: RangeAxis to RangeDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_RangeDomain" xlink:label="RangeDomain_2" xlink:title="RangeDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="RangeAxis" xlink:to="RangeDomain_2" xlink:title="definition: RangeAxis to RangeDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TopOfRangeMember" xlink:label="TopOfRangeMember" xlink:title="TopOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="TopOfRangeMember" xlink:title="definition: RangeDomain to TopOfRangeMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BottomOfRangeMember" xlink:label="BottomOfRangeMember" xlink:title="BottomOfRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RangeDomain" xlink:to="BottomOfRangeMember" xlink:title="definition: RangeDomain to BottomOfRangeMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/SegmentInformationMajorCustomersDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMajorCustomersLineItems" xlink:label="DisclosureOfMajorCustomersLineItems" xlink:title="DisclosureOfMajorCustomersLineItems" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMajorCustomersAbstract" xlink:label="DisclosureOfMajorCustomersAbstract" xlink:title="DisclosureOfMajorCustomersAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="DisclosureOfMajorCustomersAbstract" xlink:title="definition: DisclosureOfMajorCustomersLineItems to DisclosureOfMajorCustomersAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_Revenue" xlink:label="Revenue" xlink:title="Revenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="Revenue" xlink:title="definition: DisclosureOfMajorCustomersLineItems to Revenue" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PercentageOfEntitysRevenue" xlink:label="PercentageOfEntitysRevenue" xlink:title="PercentageOfEntitysRevenue" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="PercentageOfEntitysRevenue" xlink:title="definition: DisclosureOfMajorCustomersLineItems to PercentageOfEntitysRevenue" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfMajorCustomers" xlink:label="NumberOfMajorCustomers" xlink:title="NumberOfMajorCustomers" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="NumberOfMajorCustomers" xlink:title="definition: DisclosureOfMajorCustomersLineItems to NumberOfMajorCustomers" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfCustomer" xlink:label="NumberOfCustomer" xlink:title="NumberOfCustomer" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="NumberOfCustomer" xlink:title="definition: DisclosureOfMajorCustomersLineItems to NumberOfCustomer" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfMajorCustomersTable" xlink:label="DisclosureOfMajorCustomersTable" xlink:title="DisclosureOfMajorCustomersTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfMajorCustomersLineItems" xlink:to="DisclosureOfMajorCustomersTable" xlink:title="definition: DisclosureOfMajorCustomersLineItems to DisclosureOfMajorCustomersTable" order="6.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsAxis" xlink:label="SegmentConsolidationItemsAxis" xlink:title="SegmentConsolidationItemsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMajorCustomersTable" xlink:to="SegmentConsolidationItemsAxis" xlink:title="definition: DisclosureOfMajorCustomersTable to SegmentConsolidationItemsAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsDomain" xlink:label="SegmentConsolidationItemsDomain" xlink:title="SegmentConsolidationItemsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SegmentConsolidationItemsAxis" xlink:to="SegmentConsolidationItemsDomain" xlink:title="definition: SegmentConsolidationItemsAxis to SegmentConsolidationItemsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentConsolidationItemsDomain" xlink:label="SegmentConsolidationItemsDomain_2" xlink:title="SegmentConsolidationItemsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SegmentConsolidationItemsAxis" xlink:to="SegmentConsolidationItemsDomain_2" xlink:title="definition: SegmentConsolidationItemsAxis to SegmentConsolidationItemsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_OperatingSegmentsMember" xlink:label="OperatingSegmentsMember" xlink:title="OperatingSegmentsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentConsolidationItemsDomain" xlink:to="OperatingSegmentsMember" xlink:title="definition: SegmentConsolidationItemsDomain to OperatingSegmentsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsAxis" xlink:label="SegmentsAxis" xlink:title="SegmentsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMajorCustomersTable" xlink:to="SegmentsAxis" xlink:title="definition: DisclosureOfMajorCustomersTable to SegmentsAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsDomain" xlink:label="SegmentsDomain" xlink:title="SegmentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SegmentsAxis" xlink:to="SegmentsDomain" xlink:title="definition: SegmentsAxis to SegmentsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SegmentsDomain" xlink:label="SegmentsDomain_2" xlink:title="SegmentsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SegmentsAxis" xlink:to="SegmentsDomain_2" xlink:title="definition: SegmentsAxis to SegmentsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongRangeTwoMember" xlink:label="LongRangeTwoMember" xlink:title="LongRangeTwoMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentsDomain" xlink:to="LongRangeTwoMember" xlink:title="definition: SegmentsDomain to LongRangeTwoMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongRangeOneMember" xlink:label="LongRangeOneMember" xlink:title="LongRangeOneMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentsDomain" xlink:to="LongRangeOneMember" xlink:title="definition: SegmentsDomain to LongRangeOneMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MediumRangeMember" xlink:label="MediumRangeMember" xlink:title="MediumRangeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentsDomain" xlink:to="MediumRangeMember" xlink:title="definition: SegmentsDomain to MediumRangeMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HandySizeMember" xlink:label="HandySizeMember" xlink:title="HandySizeMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SegmentsDomain" xlink:to="HandySizeMember" xlink:title="definition: SegmentsDomain to HandySizeMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MajorCustomersAxis" xlink:label="MajorCustomersAxis" xlink:title="MajorCustomersAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfMajorCustomersTable" xlink:to="MajorCustomersAxis" xlink:title="definition: DisclosureOfMajorCustomersTable to MajorCustomersAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MajorCustomersDomain" xlink:label="MajorCustomersDomain" xlink:title="MajorCustomersDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MajorCustomersAxis" xlink:to="MajorCustomersDomain" xlink:title="definition: MajorCustomersAxis to MajorCustomersDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MajorCustomersDomain" xlink:label="MajorCustomersDomain_2" xlink:title="MajorCustomersDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MajorCustomersAxis" xlink:to="MajorCustomersDomain_2" xlink:title="definition: MajorCustomersAxis to MajorCustomersDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MajorCustomerMember" xlink:label="MajorCustomerMember" xlink:title="MajorCustomerMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MajorCustomersDomain" xlink:to="MajorCustomerMember" xlink:title="definition: MajorCustomersDomain to MajorCustomerMember" order="1.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/DividendsPaidDetails">
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisclosureOfDividendsPaidLineItems" xlink:label="DisclosureOfDividendsPaidLineItems" xlink:title="DisclosureOfDividendsPaidLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DividendPaidAbstract" xlink:label="DividendPaidAbstract" xlink:title="DividendPaidAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DividendPaidAbstract" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DividendPaidAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DividendsPaid" xlink:label="DividendsPaid" xlink:title="DividendsPaid" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DividendsPaid" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DividendsPaid" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DividendsPaidOrdinarySharesPerShare" xlink:label="DividendsPaidOrdinarySharesPerShare" xlink:title="DividendsPaidOrdinarySharesPerShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DividendsPaidOrdinarySharesPerShare" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DividendsPaidOrdinarySharesPerShare" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DividendPayables" xlink:label="DividendPayables" xlink:title="DividendPayables" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DividendPayables" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DividendPayables" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DividendsPayableOrdinarySharesPerShare" xlink:label="DividendsPayableOrdinarySharesPerShare" xlink:title="DividendsPayableOrdinarySharesPerShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DividendsPayableOrdinarySharesPerShare" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DividendsPayableOrdinarySharesPerShare" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_DisclosureOfDividendsPaidTable" xlink:label="DisclosureOfDividendsPaidTable" xlink:title="DisclosureOfDividendsPaidTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfDividendsPaidLineItems" xlink:to="DisclosureOfDividendsPaidTable" xlink:title="definition: DisclosureOfDividendsPaidLineItems to DisclosureOfDividendsPaidTable" order="6.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityAxis" xlink:label="MaturityAxis" xlink:title="MaturityAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfDividendsPaidTable" xlink:to="MaturityAxis" xlink:title="definition: DisclosureOfDividendsPaidTable to MaturityAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="MaturityAxis" xlink:to="MaturityDomain" xlink:title="definition: MaturityAxis to MaturityDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_MaturityDomain" xlink:label="MaturityDomain_2" xlink:title="MaturityDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="MaturityAxis" xlink:to="MaturityDomain_2" xlink:title="definition: MaturityAxis to MaturityDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember" xlink:label="LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember" xlink:title="LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember" xlink:title="definition: MaturityDomain to LaterThanNineMonthsAndNotLaterThanTwelveMonthsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LaterThanOneDayAndNotLaterThanThreeMonthsMember" xlink:label="LaterThanOneDayAndNotLaterThanThreeMonthsMember" xlink:title="LaterThanOneDayAndNotLaterThanThreeMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanOneDayAndNotLaterThanThreeMonthsMember" xlink:title="definition: MaturityDomain to LaterThanOneDayAndNotLaterThanThreeMonthsMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_LaterThanThreeMonthsAndNotLaterThanSixMonthsMember" xlink:label="LaterThanThreeMonthsAndNotLaterThanSixMonthsMember" xlink:title="LaterThanThreeMonthsAndNotLaterThanSixMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanThreeMonthsAndNotLaterThanSixMonthsMember" xlink:title="definition: MaturityDomain to LaterThanThreeMonthsAndNotLaterThanSixMonthsMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LaterThanSixMonthsAndNotLaterThanNineMonthsMember" xlink:label="LaterThanSixMonthsAndNotLaterThanNineMonthsMember" xlink:title="LaterThanSixMonthsAndNotLaterThanNineMonthsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="LaterThanSixMonthsAndNotLaterThanNineMonthsMember" xlink:title="definition: MaturityDomain to LaterThanSixMonthsAndNotLaterThanNineMonthsMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2025Quarter1Quarter3Member" xlink:label="FinancialYear2025Quarter1Quarter3Member" xlink:title="FinancialYear2025Quarter1Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2025Quarter1Quarter3Member" xlink:title="definition: MaturityDomain to FinancialYear2025Quarter1Quarter3Member" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2025Quarter4Member" xlink:label="FinancialYear2025Quarter4Member" xlink:title="FinancialYear2025Quarter4Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2025Quarter4Member" xlink:title="definition: MaturityDomain to FinancialYear2025Quarter4Member" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2024Quarter1Quarter3Member" xlink:label="FinancialYear2024Quarter1Quarter3Member" xlink:title="FinancialYear2024Quarter1Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2024Quarter1Quarter3Member" xlink:title="definition: MaturityDomain to FinancialYear2024Quarter1Quarter3Member" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2024Quarter4Member" xlink:label="FinancialYear2024Quarter4Member" xlink:title="FinancialYear2024Quarter4Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2024Quarter4Member" xlink:title="definition: MaturityDomain to FinancialYear2024Quarter4Member" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2023Quarter1Quarter3Member" xlink:label="FinancialYear2023Quarter1Quarter3Member" xlink:title="FinancialYear2023Quarter1Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2023Quarter1Quarter3Member" xlink:title="definition: MaturityDomain to FinancialYear2023Quarter1Quarter3Member" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2023Quarter4Member" xlink:label="FinancialYear2023Quarter4Member" xlink:title="FinancialYear2023Quarter4Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2023Quarter4Member" xlink:title="definition: MaturityDomain to FinancialYear2023Quarter4Member" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2022Quarter4Member" xlink:label="FinancialYear2022Quarter4Member" xlink:title="FinancialYear2022Quarter4Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="MaturityDomain" xlink:to="FinancialYear2022Quarter4Member" xlink:title="definition: MaturityDomain to FinancialYear2022Quarter4Member" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2023Quarter1Member" xlink:label="FinancialYear2023Quarter1Member" xlink:title="FinancialYear2023Quarter1Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2023Quarter1Quarter3Member" xlink:to="FinancialYear2023Quarter1Member" xlink:title="definition: FinancialYear2023Quarter1Quarter3Member to FinancialYear2023Quarter1Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2023Quarter2Member" xlink:label="FinancialYear2023Quarter2Member" xlink:title="FinancialYear2023Quarter2Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2023Quarter1Quarter3Member" xlink:to="FinancialYear2023Quarter2Member" xlink:title="definition: FinancialYear2023Quarter1Quarter3Member to FinancialYear2023Quarter2Member" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2023Quarter3Member" xlink:label="FinancialYear2023Quarter3Member" xlink:title="FinancialYear2023Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2023Quarter1Quarter3Member" xlink:to="FinancialYear2023Quarter3Member" xlink:title="definition: FinancialYear2023Quarter1Quarter3Member to FinancialYear2023Quarter3Member" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2024Quarter1Member" xlink:label="FinancialYear2024Quarter1Member" xlink:title="FinancialYear2024Quarter1Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2024Quarter1Quarter3Member" xlink:to="FinancialYear2024Quarter1Member" xlink:title="definition: FinancialYear2024Quarter1Quarter3Member to FinancialYear2024Quarter1Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2024Quarter2Member" xlink:label="FinancialYear2024Quarter2Member" xlink:title="FinancialYear2024Quarter2Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2024Quarter1Quarter3Member" xlink:to="FinancialYear2024Quarter2Member" xlink:title="definition: FinancialYear2024Quarter1Quarter3Member to FinancialYear2024Quarter2Member" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2024Quarter3Member" xlink:label="FinancialYear2024Quarter3Member" xlink:title="FinancialYear2024Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2024Quarter1Quarter3Member" xlink:to="FinancialYear2024Quarter3Member" xlink:title="definition: FinancialYear2024Quarter1Quarter3Member to FinancialYear2024Quarter3Member" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2025Quarter1Member" xlink:label="FinancialYear2025Quarter1Member" xlink:title="FinancialYear2025Quarter1Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2025Quarter1Quarter3Member" xlink:to="FinancialYear2025Quarter1Member" xlink:title="definition: FinancialYear2025Quarter1Quarter3Member to FinancialYear2025Quarter1Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2025Quarter2Member" xlink:label="FinancialYear2025Quarter2Member" xlink:title="FinancialYear2025Quarter2Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2025Quarter1Quarter3Member" xlink:to="FinancialYear2025Quarter2Member" xlink:title="definition: FinancialYear2025Quarter1Quarter3Member to FinancialYear2025Quarter2Member" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_FinancialYear2025Quarter3Member" xlink:label="FinancialYear2025Quarter3Member" xlink:title="FinancialYear2025Quarter3Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="FinancialYear2025Quarter1Quarter3Member" xlink:to="FinancialYear2025Quarter3Member" xlink:title="definition: FinancialYear2025Quarter1Quarter3Member to FinancialYear2025Quarter3Member" order="3.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/EventsOccurringAfterBalanceSheetDateDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:label="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:title="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_EventsAfterReportingPeriodAbstract" xlink:label="EventsAfterReportingPeriodAbstract" xlink:title="EventsAfterReportingPeriodAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="EventsAfterReportingPeriodAbstract" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to EventsAfterReportingPeriodAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_MaximumBorrowingCapacityLineOfCreditFacility" xlink:label="MaximumBorrowingCapacityLineOfCreditFacility" xlink:title="MaximumBorrowingCapacityLineOfCreditFacility" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="MaximumBorrowingCapacityLineOfCreditFacility" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to MaximumBorrowingCapacityLineOfCreditFacility" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsMaturity" xlink:label="BorrowingsMaturity" xlink:title="BorrowingsMaturity" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="BorrowingsMaturity" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to BorrowingsMaturity" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NumberOfShareOptionsGrantedInSharebasedPaymentArrangement" xlink:label="NumberOfShareOptionsGrantedInSharebasedPaymentArrangement" xlink:title="NumberOfShareOptionsGrantedInSharebasedPaymentArrangement" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="NumberOfShareOptionsGrantedInSharebasedPaymentArrangement" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to NumberOfShareOptionsGrantedInSharebasedPaymentArrangement" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CancellationOfTreasuryShare" xlink:label="CancellationOfTreasuryShare" xlink:title="CancellationOfTreasuryShare" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="CancellationOfTreasuryShare" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to CancellationOfTreasuryShare" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CancelledBorrowingCapacityLineOfCreditFacility" xlink:label="CancelledBorrowingCapacityLineOfCreditFacility" xlink:title="CancelledBorrowingCapacityLineOfCreditFacility" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="CancelledBorrowingCapacityLineOfCreditFacility" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to CancelledBorrowingCapacityLineOfCreditFacility" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:label="PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:title="PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_NumberOfVesselsSoldAndDelivered" xlink:label="NumberOfVesselsSoldAndDelivered" xlink:title="NumberOfVesselsSoldAndDelivered" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="NumberOfVesselsSoldAndDelivered" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to NumberOfVesselsSoldAndDelivered" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:label="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:title="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems" xlink:to="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems to DisclosureOfNonadjustingEventsAfterReportingPeriodTable" order="9.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NonadjustingEventsAfterReportingPeriodAxis" xlink:label="NonadjustingEventsAfterReportingPeriodAxis" xlink:title="NonadjustingEventsAfterReportingPeriodAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:to="NonadjustingEventsAfterReportingPeriodAxis" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodTable to NonadjustingEventsAfterReportingPeriodAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NonadjustingEventsAfterReportingPeriodDomain" xlink:label="NonadjustingEventsAfterReportingPeriodDomain" xlink:title="NonadjustingEventsAfterReportingPeriodDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="NonadjustingEventsAfterReportingPeriodAxis" xlink:to="NonadjustingEventsAfterReportingPeriodDomain" xlink:title="definition: NonadjustingEventsAfterReportingPeriodAxis to NonadjustingEventsAfterReportingPeriodDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NonadjustingEventsAfterReportingPeriodDomain" xlink:label="NonadjustingEventsAfterReportingPeriodDomain_2" xlink:title="NonadjustingEventsAfterReportingPeriodDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="NonadjustingEventsAfterReportingPeriodAxis" xlink:to="NonadjustingEventsAfterReportingPeriodDomain_2" xlink:title="definition: NonadjustingEventsAfterReportingPeriodAxis to NonadjustingEventsAfterReportingPeriodDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_SubsequentEventsMember" xlink:label="SubsequentEventsMember" xlink:title="SubsequentEventsMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="NonadjustingEventsAfterReportingPeriodDomain" xlink:to="SubsequentEventsMember" xlink:title="definition: NonadjustingEventsAfterReportingPeriodDomain to SubsequentEventsMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis" xlink:label="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="TypesOfSharebasedPaymentArrangementsAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:to="TypesOfSharebasedPaymentArrangementsAxis" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodTable to TypesOfSharebasedPaymentArrangementsAxis" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsDomain" xlink:label="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="TypesOfSharebasedPaymentArrangementsDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="TypesOfSharebasedPaymentArrangementsAxis" xlink:to="TypesOfSharebasedPaymentArrangementsDomain_2" xlink:title="definition: TypesOfSharebasedPaymentArrangementsAxis to TypesOfSharebasedPaymentArrangementsDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_LongTermIncentivePlan2026Member" xlink:label="LongTermIncentivePlan2026Member" xlink:title="LongTermIncentivePlan2026Member" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="TypesOfSharebasedPaymentArrangementsDomain" xlink:to="LongTermIncentivePlan2026Member" xlink:title="definition: TypesOfSharebasedPaymentArrangementsDomain to LongTermIncentivePlan2026Member" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis" xlink:label="SignificantInvestmentsInSubsidiariesAxis" xlink:title="SignificantInvestmentsInSubsidiariesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:to="SignificantInvestmentsInSubsidiariesAxis" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodTable to SignificantInvestmentsInSubsidiariesAxis" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesDomain" xlink:label="SignificantInvestmentsInSubsidiariesDomain" xlink:title="SignificantInvestmentsInSubsidiariesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SignificantInvestmentsInSubsidiariesAxis" xlink:to="SignificantInvestmentsInSubsidiariesDomain" xlink:title="definition: SignificantInvestmentsInSubsidiariesAxis to SignificantInvestmentsInSubsidiariesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesDomain" xlink:label="SignificantInvestmentsInSubsidiariesDomain_2" xlink:title="SignificantInvestmentsInSubsidiariesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SignificantInvestmentsInSubsidiariesAxis" xlink:to="SignificantInvestmentsInSubsidiariesDomain_2" xlink:title="definition: SignificantInvestmentsInSubsidiariesAxis to SignificantInvestmentsInSubsidiariesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ChinaMerchantsBankMember" xlink:label="ChinaMerchantsBankMember" xlink:title="ChinaMerchantsBankMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="ChinaMerchantsBankMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to ChinaMerchantsBankMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ICBCBankMember" xlink:label="ICBCBankMember" xlink:title="ICBCBankMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="ICBCBankMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to ICBCBankMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameAxis" xlink:label="BorrowingsByNameAxis" xlink:title="BorrowingsByNameAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfNonadjustingEventsAfterReportingPeriodTable" xlink:to="BorrowingsByNameAxis" xlink:title="definition: DisclosureOfNonadjustingEventsAfterReportingPeriodTable to BorrowingsByNameAxis" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_BorrowingsByNameDomain" xlink:label="BorrowingsByNameDomain_2" xlink:title="BorrowingsByNameDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="BorrowingsByNameAxis" xlink:to="BorrowingsByNameDomain_2" xlink:title="definition: BorrowingsByNameAxis to BorrowingsByNameDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_CreditFacilityMember" xlink:label="CreditFacilityMember" xlink:title="CreditFacilityMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="CreditFacilityMember" xlink:title="definition: BorrowingsByNameDomain to CreditFacilityMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_UnsecuredRevolvingCreditFacilityMember" xlink:label="UnsecuredRevolvingCreditFacilityMember" xlink:title="UnsecuredRevolvingCreditFacilityMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BorrowingsByNameDomain" xlink:to="UnsecuredRevolvingCreditFacilityMember" xlink:title="definition: BorrowingsByNameDomain to UnsecuredRevolvingCreditFacilityMember" order="2.0" />
  </link:definitionLink>
  <link:definitionLink xlink:type="extended" xlink:role="http://hafnia.com/role/ListingOfCompaniesInGroupDetails">
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:label="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:title="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_ListOfSubsidiaryCompaniesAbstract" xlink:label="ListOfSubsidiaryCompaniesAbstract" xlink:title="ListOfSubsidiaryCompaniesAbstract" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="ListOfSubsidiaryCompaniesAbstract" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to ListOfSubsidiaryCompaniesAbstract" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_NameOfSubsidiary" xlink:label="NameOfSubsidiary" xlink:title="NameOfSubsidiary" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="NameOfSubsidiary" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to NameOfSubsidiary" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_PrincipalBusinessActivityOfSubsidiary" xlink:label="PrincipalBusinessActivityOfSubsidiary" xlink:title="PrincipalBusinessActivityOfSubsidiary" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="PrincipalBusinessActivityOfSubsidiary" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to PrincipalBusinessActivityOfSubsidiary" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_CountryOfIncorporationOrResidenceOfSubsidiary" xlink:label="CountryOfIncorporationOrResidenceOfSubsidiary" xlink:title="CountryOfIncorporationOrResidenceOfSubsidiary" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="CountryOfIncorporationOrResidenceOfSubsidiary" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to CountryOfIncorporationOrResidenceOfSubsidiary" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary" xlink:label="ProportionOfOwnershipInterestInSubsidiary" xlink:title="ProportionOfOwnershipInterestInSubsidiary" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="ProportionOfOwnershipInterestInSubsidiary" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to ProportionOfOwnershipInterestInSubsidiary" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable" xlink:label="DisclosureOfSignificantInvestmentsInSubsidiariesTable" xlink:title="DisclosureOfSignificantInvestmentsInSubsidiariesTable" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesLineItems" xlink:to="DisclosureOfSignificantInvestmentsInSubsidiariesTable" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesLineItems to DisclosureOfSignificantInvestmentsInSubsidiariesTable" order="6.0" t1:closed="true" t1:contextElement="segment" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis" xlink:label="SignificantInvestmentsInSubsidiariesAxis" xlink:title="SignificantInvestmentsInSubsidiariesAxis" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="DisclosureOfSignificantInvestmentsInSubsidiariesTable" xlink:to="SignificantInvestmentsInSubsidiariesAxis" xlink:title="definition: DisclosureOfSignificantInvestmentsInSubsidiariesTable to SignificantInvestmentsInSubsidiariesAxis" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesDomain" xlink:label="SignificantInvestmentsInSubsidiariesDomain" xlink:title="SignificantInvestmentsInSubsidiariesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="SignificantInvestmentsInSubsidiariesAxis" xlink:to="SignificantInvestmentsInSubsidiariesDomain" xlink:title="definition: SignificantInvestmentsInSubsidiariesAxis to SignificantInvestmentsInSubsidiariesDomain" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="https://xbrl.ifrs.org/taxonomy/2025-03-27/full_ifrs/full_ifrs-cor_2025-03-27.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesDomain" xlink:label="SignificantInvestmentsInSubsidiariesDomain_2" xlink:title="SignificantInvestmentsInSubsidiariesDomain" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="SignificantInvestmentsInSubsidiariesAxis" xlink:to="SignificantInvestmentsInSubsidiariesDomain_2" xlink:title="definition: SignificantInvestmentsInSubsidiariesAxis to SignificantInvestmentsInSubsidiariesDomain_2" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BWAldrichPteLtdMember" xlink:label="BWAldrichPteLtdMember" xlink:title="BWAldrichPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="BWAldrichPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to BWAldrichPteLtdMember" order="1.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_BWClearwaterPteLtdMember" xlink:label="BWClearwaterPteLtdMember" xlink:title="BWClearwaterPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="BWClearwaterPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to BWClearwaterPteLtdMember" order="2.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaPoolsPteLtdMember" xlink:label="HafniaPoolsPteLtdMember" xlink:title="HafniaPoolsPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaPoolsPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaPoolsPteLtdMember" order="3.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaPteLtdMember" xlink:label="HafniaPteLtdMember" xlink:title="HafniaPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaPteLtdMember" order="4.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersSingaporeSubHoldingPteLtdMember" xlink:label="HafniaTankersSingaporeSubHoldingPteLtdMember" xlink:title="HafniaTankersSingaporeSubHoldingPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaTankersSingaporeSubHoldingPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaTankersSingaporeSubHoldingPteLtdMember" order="5.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersShipholdingAlphaPteLtdMember" xlink:label="HafniaTankersShipholdingAlphaPteLtdMember" xlink:title="HafniaTankersShipholdingAlphaPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaTankersShipholdingAlphaPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaTankersShipholdingAlphaPteLtdMember" order="6.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaOnePteLtdMember" xlink:label="HafniaOnePteLtdMember" xlink:title="HafniaOnePteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaOnePteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaOnePteLtdMember" order="7.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersShipholdingSingaporePteLtdMember" xlink:label="HafniaTankersShipholdingSingaporePteLtdMember" xlink:title="HafniaTankersShipholdingSingaporePteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaTankersShipholdingSingaporePteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaTankersShipholdingSingaporePteLtdMember" order="8.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersShipholding2SingaporePteLtdMember" xlink:label="HafniaTankersShipholding2SingaporePteLtdMember" xlink:title="HafniaTankersShipholding2SingaporePteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaTankersShipholding2SingaporePteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaTankersShipholding2SingaporePteLtdMember" order="9.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaTankersCharteringSingaporePteLtdMember" xlink:label="HafniaTankersCharteringSingaporePteLtdMember" xlink:title="HafniaTankersCharteringSingaporePteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaTankersCharteringSingaporePteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaTankersCharteringSingaporePteLtdMember" order="10.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaChemicalTankersPteLtdMember" xlink:label="HafniaChemicalTankersPteLtdMember" xlink:title="HafniaChemicalTankersPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaChemicalTankersPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaChemicalTankersPteLtdMember" order="11.0" />
    <link:loc xlink:type="locator" xlink:href="hafn-20251231.xsd#hafn_HafniaChemShipholdingPteLtdMember" xlink:label="HafniaChemShipholdingPteLtdMember" xlink:title="HafniaChemShipholdingPteLtdMember" />
    <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="SignificantInvestmentsInSubsidiariesDomain" xlink:to="HafniaChemShipholdingPteLtdMember" xlink:title="definition: SignificantInvestmentsInSubsidiariesDomain to HafniaChemShipholdingPteLtdMember" order="12.0" />
  </link:definitionLink>
</link:linkbase>
