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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:9038b44f-8917-4096-877f-0c28c3a94e4a,g:b3749e88-208c-4811-9868-136cd7582576-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://methanex.com/role/Cover" xlink:type="simple" xlink:href="mx-20231231.xsd#Cover"/>
  <link:definitionLink xlink:role="http://methanex.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressesTable_d91a3277-9391-4944-b344-b92caaae384b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressesTable_d91a3277-9391-4944-b344-b92caaae384b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressesAddressTypeAxis_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressesAddressTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntityAddressesTable_d91a3277-9391-4944-b344-b92caaae384b" xlink:to="loc_dei_EntityAddressesAddressTypeAxis_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AddressTypeDomain_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AddressTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_EntityAddressesAddressTypeAxis_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd" xlink:to="loc_dei_AddressTypeDomain_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AddressTypeDomain_e40149be-cc6a-4481-ab89-eb1c60499d8a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AddressTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_EntityAddressesAddressTypeAxis_2e8e268b-d74c-4ccc-b606-cb92c5d5b1cd" xlink:to="loc_dei_AddressTypeDomain_e40149be-cc6a-4481-ab89-eb1c60499d8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_BusinessContactMember_40d0b1a0-37b5-4eba-9269-9c4b555ac3ea" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_BusinessContactMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_AddressTypeDomain_e40149be-cc6a-4481-ab89-eb1c60499d8a" xlink:to="loc_dei_BusinessContactMember_40d0b1a0-37b5-4eba-9269-9c4b555ac3ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_db336649-c4c5-49f9-8f18-9adf1e16f359" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentType_db336649-c4c5-49f9-8f18-9adf1e16f359" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentRegistrationStatement_f4bc6495-fdd2-4c3f-b19e-cc6d46937b4c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentRegistrationStatement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentRegistrationStatement_f4bc6495-fdd2-4c3f-b19e-cc6d46937b4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_bd01b386-ab49-462d-9559-cdb15b1cac67" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentAnnualReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentAnnualReport_bd01b386-ab49-462d-9559-cdb15b1cac67" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_7f35d34c-8d86-4e58-b8b4-9af941fc81ba" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentPeriodEndDate_7f35d34c-8d86-4e58-b8b4-9af941fc81ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_f467001d-25b7-48cb-9129-69d0568ffc42" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_CurrentFiscalYearEndDate_f467001d-25b7-48cb-9129-69d0568ffc42" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_f819fc11-42b7-42c2-b183-399fd55b9cd6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityFileNumber_f819fc11-42b7-42c2-b183-399fd55b9cd6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_32f418b4-cdb0-4e88-a3c1-bef0ab231c68" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityRegistrantName_32f418b4-cdb0-4e88-a3c1-bef0ab231c68" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_061be502-b185-4732-842f-82c356e0e661" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityIncorporationStateCountryCode_061be502-b185-4732-842f-82c356e0e661" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPrimarySicNumber_fa29a220-4e44-4dab-bb52-172df9428d39" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityPrimarySicNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityPrimarySicNumber_fa29a220-4e44-4dab-bb52-172df9428d39" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_ContactPersonnelName_9c9defc1-02dc-48c9-bbbb-606089df4ccc" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_ContactPersonnelName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_ContactPersonnelName_9c9defc1-02dc-48c9-bbbb-606089df4ccc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_baa3d22a-5bfc-4d2a-999d-9dfcb6d56eec" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressAddressLine1_baa3d22a-5bfc-4d2a-999d-9dfcb6d56eec" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_c2ff888a-e0a3-479a-b86a-ebfd4c3ed694" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressAddressLine2_c2ff888a-e0a3-479a-b86a-ebfd4c3ed694" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_b07a6b60-197c-4874-9fba-f60d0de9c261" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressCityOrTown_b07a6b60-197c-4874-9fba-f60d0de9c261" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_53f6cdc3-aabf-4c4e-81b1-3c17c6302481" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressStateOrProvince_53f6cdc3-aabf-4c4e-81b1-3c17c6302481" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCountry_b51a8979-7cc4-40d7-b97b-72c86d704c64" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressCountry"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressCountry_b51a8979-7cc4-40d7-b97b-72c86d704c64" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_4d4de1d9-ad21-40f5-954d-5b17a1be7532" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityAddressPostalZipCode_4d4de1d9-ad21-40f5-954d-5b17a1be7532" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_73a4815d-728c-4359-8ddc-cd8074b0ba09" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_CityAreaCode_73a4815d-728c-4359-8ddc-cd8074b0ba09" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_332e2cc0-a2a4-48e8-8791-5ddc4a1c16eb" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_LocalPhoneNumber_332e2cc0-a2a4-48e8-8791-5ddc4a1c16eb" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_2c63ab62-df46-4655-af15-46437ba4bc5c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_Security12bTitle_2c63ab62-df46-4655-af15-46437ba4bc5c" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_f13d28b2-9162-42a6-8994-502c5eec158b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_TradingSymbol_f13d28b2-9162-42a6-8994-502c5eec158b" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_9dcfe0de-30bb-45d0-824c-efeb211ce66a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_SecurityExchangeName_9dcfe0de-30bb-45d0-824c-efeb211ce66a" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityReportingObligation_db9e9017-9145-4311-b0b6-7d3f3b6f2746" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_SecurityReportingObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_SecurityReportingObligation_db9e9017-9145-4311-b0b6-7d3f3b6f2746" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AnnualInformationForm_e121763d-7a63-48f7-8322-5f236b83ce90" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AnnualInformationForm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_AnnualInformationForm_e121763d-7a63-48f7-8322-5f236b83ce90" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditedAnnualFinancialStatements_0fa76a2a-efef-44fb-b2ef-4ca92b93db71" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditedAnnualFinancialStatements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_AuditedAnnualFinancialStatements_0fa76a2a-efef-44fb-b2ef-4ca92b93db71" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_1bc4b73e-aebb-4527-8c85-5eddc5a16b4f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_1bc4b73e-aebb-4527-8c85-5eddc5a16b4f" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_78416404-4d87-430a-8813-487c460d3d50" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityCurrentReportingStatus_78416404-4d87-430a-8813-487c460d3d50" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_84e4d709-0e61-4d44-972e-0c0863f409a2" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityInteractiveDataCurrent_84e4d709-0e61-4d44-972e-0c0863f409a2" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_c71ac723-1d26-422b-883e-96253d669344" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityEmergingGrowthCompany_c71ac723-1d26-422b-883e-96253d669344" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_911b9a2f-0003-48f3-8bca-89b900370f51" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_IcfrAuditorAttestationFlag_911b9a2f-0003-48f3-8bca-89b900370f51" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_db21ac31-61c7-4fc7-b16f-a3215b7e0742" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFinStmtErrorCorrectionFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_db21ac31-61c7-4fc7-b16f-a3215b7e0742" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_c8236fa8-3aed-47be-a0db-83ee7716cc30" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_EntityCentralIndexKey_c8236fa8-3aed-47be-a0db-83ee7716cc30" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_e4b75c9d-e686-4064-b862-d0e2cd800720" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentFiscalYearFocus_e4b75c9d-e686-4064-b862-d0e2cd800720" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_8f3713c6-f631-434e-926d-9413f3c2f755" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_DocumentFiscalPeriodFocus_8f3713c6-f631-434e-926d-9413f3c2f755" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_1d759b15-b68b-4f7c-bf09-b59d4412f483" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityAddressesLineItems_bbb50d56-870f-49a3-958a-21c3a1f3e752" xlink:to="loc_dei_AmendmentFlag_1d759b15-b68b-4f7c-bf09-b59d4412f483" xlink:type="arc" order="33"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/ConsolidatedStatementsofFinancialPositionParenthetical" xlink:type="simple" xlink:href="mx-20231231.xsd#ConsolidatedStatementsofFinancialPositionParenthetical"/>
  <link:definitionLink xlink:role="http://methanex.com/role/ConsolidatedStatementsofFinancialPositionParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_Statement1LineItems_25d8df48-8a0c-47cb-bc56-998792badcec" xlink:href="mx-20231231.xsd#mx_Statement1LineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_Statement1Table_78b8750b-d154-4c1d-9f3a-f68cc141623f" xlink:href="mx-20231231.xsd#mx_Statement1Table"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_Statement1LineItems_25d8df48-8a0c-47cb-bc56-998792badcec" xlink:to="loc_mx_Statement1Table_78b8750b-d154-4c1d-9f3a-f68cc141623f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalAxis_21cbb6c0-247d-4d35-8847-86aa8fd017c6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_Statement1Table_78b8750b-d154-4c1d-9f3a-f68cc141623f" xlink:to="loc_ifrs-full_ClassesOfShareCapitalAxis_21cbb6c0-247d-4d35-8847-86aa8fd017c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalMember_21cbb6c0-247d-4d35-8847-86aa8fd017c6_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfShareCapitalAxis_21cbb6c0-247d-4d35-8847-86aa8fd017c6" xlink:to="loc_ifrs-full_ClassesOfShareCapitalMember_21cbb6c0-247d-4d35-8847-86aa8fd017c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalMember_b3852a80-36bc-489f-a69a-7212df66139b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfShareCapitalAxis_21cbb6c0-247d-4d35-8847-86aa8fd017c6" xlink:to="loc_ifrs-full_ClassesOfShareCapitalMember_b3852a80-36bc-489f-a69a-7212df66139b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PreferenceSharesMember_3cf0aae1-b00d-4a49-8320-5744c9e4a8f0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PreferenceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfShareCapitalMember_b3852a80-36bc-489f-a69a-7212df66139b" xlink:to="loc_ifrs-full_PreferenceSharesMember_3cf0aae1-b00d-4a49-8320-5744c9e4a8f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OrdinarySharesMember_6a1fe515-4964-4b14-899c-4e538a2106d6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OrdinarySharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfShareCapitalMember_b3852a80-36bc-489f-a69a-7212df66139b" xlink:to="loc_ifrs-full_OrdinarySharesMember_6a1fe515-4964-4b14-899c-4e538a2106d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis_4947ebea-6a6d-4dc4-9da8-be673f94c3a1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_Statement1Table_78b8750b-d154-4c1d-9f3a-f68cc141623f" xlink:to="loc_ifrs-full_ComponentsOfEquityAxis_4947ebea-6a6d-4dc4-9da8-be673f94c3a1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_4947ebea-6a6d-4dc4-9da8-be673f94c3a1_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_4947ebea-6a6d-4dc4-9da8-be673f94c3a1" xlink:to="loc_ifrs-full_EquityMember_4947ebea-6a6d-4dc4-9da8-be673f94c3a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_26404041-0d28-40e0-9932-fad7ec7ae0e6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_4947ebea-6a6d-4dc4-9da8-be673f94c3a1" xlink:to="loc_ifrs-full_EquityMember_26404041-0d28-40e0-9932-fad7ec7ae0e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssuedCapitalMember_d1a1590b-1095-4dd9-9f81-ee09b289b4d1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IssuedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_26404041-0d28-40e0-9932-fad7ec7ae0e6" xlink:to="loc_ifrs-full_IssuedCapitalMember_d1a1590b-1095-4dd9-9f81-ee09b289b4d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfSharesAuthorised_0bb97ff7-0e22-44b2-847b-b1aa1e258505" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfSharesAuthorised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_Statement1LineItems_25d8df48-8a0c-47cb-bc56-998792badcec" xlink:to="loc_ifrs-full_NumberOfSharesAuthorised_0bb97ff7-0e22-44b2-847b-b1aa1e258505" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfSharesIssued_7b81a57c-4e1c-452c-9938-fec6f1222154" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_Statement1LineItems_25d8df48-8a0c-47cb-bc56-998792badcec" xlink:to="loc_ifrs-full_NumberOfSharesIssued_7b81a57c-4e1c-452c-9938-fec6f1222154" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfSharesOutstanding_28c8a841-c3c8-456e-b425-89c010123218" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_Statement1LineItems_25d8df48-8a0c-47cb-bc56-998792badcec" xlink:to="loc_ifrs-full_NumberOfSharesOutstanding_28c8a841-c3c8-456e-b425-89c010123218" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/ConsolidatedStatementsofChangesinEquity" xlink:type="simple" xlink:href="mx-20231231.xsd#ConsolidatedStatementsofChangesinEquity"/>
  <link:definitionLink xlink:role="http://methanex.com/role/ConsolidatedStatementsofChangesinEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_StatementOfChangesInEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_StatementOfChangesInEquityTable_9e6e8611-c4f8-4f43-ac0f-32f41c555839" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_StatementOfChangesInEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_StatementOfChangesInEquityTable_9e6e8611-c4f8-4f43-ac0f-32f41c555839" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis_387d5017-df0e-4232-b8a8-845a3fb9dccb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable_9e6e8611-c4f8-4f43-ac0f-32f41c555839" xlink:to="loc_ifrs-full_ComponentsOfEquityAxis_387d5017-df0e-4232-b8a8-845a3fb9dccb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_387d5017-df0e-4232-b8a8-845a3fb9dccb_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_387d5017-df0e-4232-b8a8-845a3fb9dccb" xlink:to="loc_ifrs-full_EquityMember_387d5017-df0e-4232-b8a8-845a3fb9dccb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_387d5017-df0e-4232-b8a8-845a3fb9dccb" xlink:to="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IssuedCapitalMember_f9d644d3-753d-48fc-8c99-8f3d764f374a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IssuedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_IssuedCapitalMember_f9d644d3-753d-48fc-8c99-8f3d764f374a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdditionalPaidinCapitalMember_079820d3-fc2b-4885-b570-d94e31ba3a95" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AdditionalPaidinCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_AdditionalPaidinCapitalMember_079820d3-fc2b-4885-b570-d94e31ba3a95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RetainedEarningsMember_e7b38ff8-42d3-47f7-b69b-a5a1870916aa" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_RetainedEarningsMember_e7b38ff8-42d3-47f7-b69b-a5a1870916aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_df0f45d2-c5c4-4e41-857a-100b443e800f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_df0f45d2-c5c4-4e41-857a-100b443e800f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_cd508b87-3e02-4d60-a617-cfd0b55495e5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityAttributableToOwnersOfParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_EquityAttributableToOwnersOfParentMember_cd508b87-3e02-4d60-a617-cfd0b55495e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterestsMember_7e203bbb-132e-4b9d-97ac-3d6b032ca3e2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncontrollingInterestsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_62a7f1ed-f4a5-4e6a-8d69-1fb2d798c24d" xlink:to="loc_ifrs-full_NoncontrollingInterestsMember_7e203bbb-132e-4b9d-97ac-3d6b032ca3e2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalAxis_fda68c2e-a6de-419c-9a1c-6edff7071338" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_StatementOfChangesInEquityTable_9e6e8611-c4f8-4f43-ac0f-32f41c555839" xlink:to="loc_ifrs-full_ClassesOfShareCapitalAxis_fda68c2e-a6de-419c-9a1c-6edff7071338" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalMember_fda68c2e-a6de-419c-9a1c-6edff7071338_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfShareCapitalAxis_fda68c2e-a6de-419c-9a1c-6edff7071338" xlink:to="loc_ifrs-full_ClassesOfShareCapitalMember_fda68c2e-a6de-419c-9a1c-6edff7071338_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfShareCapitalMember_1b20214d-b83a-4fd5-b332-1e885bad78bf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfShareCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfShareCapitalAxis_fda68c2e-a6de-419c-9a1c-6edff7071338" xlink:to="loc_ifrs-full_ClassesOfShareCapitalMember_1b20214d-b83a-4fd5-b332-1e885bad78bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OrdinarySharesMember_56be4d14-7f7f-4c4f-bc4e-033c0e20d8a8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OrdinarySharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfShareCapitalMember_1b20214d-b83a-4fd5-b332-1e885bad78bf" xlink:to="loc_ifrs-full_OrdinarySharesMember_56be4d14-7f7f-4c4f-bc4e-033c0e20d8a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfSharesOutstanding_6b503623-5448-4355-bb87-1c0abfd08a19" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_NumberOfSharesOutstanding_6b503623-5448-4355-bb87-1c0abfd08a19" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_90062bef-886d-4e03-bd7e-289c214d6881" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Equity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_Equity_90062bef-886d-4e03-bd7e-289c214d6881" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_93b53b4d-b852-4143-a37d-a377fb353fb9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_ProfitLoss_93b53b4d-b852-4143-a37d-a377fb353fb9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncome_48858839-2565-4155-972a-b00ab66ab0a5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherComprehensiveIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_OtherComprehensiveIncome_48858839-2565-4155-972a-b00ab66ab0a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions_78822cdb-5121-43e0-b62f-b26c5f72721e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions_78822cdb-5121-43e0-b62f-b26c5f72721e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement_b4c1e5c4-0fb0-48ad-800c-b24ac683c9ad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_NumberOfShareOptionsExercisedInSharebasedPaymentArrangement_b4c1e5c4-0fb0-48ad-800c-b24ac683c9ad" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughExerciseOfOptions_007f514e-3bc6-405e-8e3b-97eb37cf384f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughExerciseOfOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughExerciseOfOptions_007f514e-3bc6-405e-8e3b-97eb37cf384f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughReclassificationOfGrantDateFairValueOnExerciseOfStockOptionsEquity_a02530d7-7884-460e-8824-a3227f3ea55e" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughReclassificationOfGrantDateFairValueOnExerciseOfStockOptionsEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_mx_IncreaseDecreaseThroughReclassificationOfGrantDateFairValueOnExerciseOfStockOptionsEquity_a02530d7-7884-460e-8824-a3227f3ea55e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_8dd4863c-8bbc-4bd9-a488-450276ca4c24" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_8dd4863c-8bbc-4bd9-a488-450276ca4c24" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_StockRepurchasedDuringPeriodShares1_7eedfbc7-1fff-4c00-b349-2c3bd3dc7304" xlink:href="mx-20231231.xsd#mx_StockRepurchasedDuringPeriodShares1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_mx_StockRepurchasedDuringPeriodShares1_7eedfbc7-1fff-4c00-b349-2c3bd3dc7304" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_StockRepurchasedDuringPeriodValue1_5c97ccd9-f101-4721-9e23-b28b139a6966" xlink:href="mx-20231231.xsd#mx_StockRepurchasedDuringPeriodValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_mx_StockRepurchasedDuringPeriodValue1_5c97ccd9-f101-4721-9e23-b28b139a6966" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaid_ff002705-850b-4a5d-8db3-bc8cdc26e033" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DividendsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_DividendsPaid_ff002705-850b-4a5d-8db3-bc8cdc26e033" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsRecognisedAsDistributionsToNoncontrollingInterests_ace99fbb-e2d3-4c23-a75a-d894808cded2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DividendsRecognisedAsDistributionsToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_ifrs-full_DividendsRecognisedAsDistributionsToNoncontrollingInterests_ace99fbb-e2d3-4c23-a75a-d894808cded2" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughHedgingLossesGainsTransferredToInventoryEquity_6629c544-6b13-4b42-add0-3f9d29c430aa" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughHedgingLossesGainsTransferredToInventoryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_StatementOfChangesInEquityLineItems_3d5f5ea5-8073-4129-b694-68a6bd2937f2" xlink:to="loc_mx_IncreaseDecreaseThroughHedgingLossesGainsTransferredToInventoryEquity_6629c544-6b13-4b42-add0-3f9d29c430aa" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfSharesOutstanding_f625d7a7-152d-4d6b-bb8b-68a3e4574aa4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Equity_d436d1e5-6ee2-4f4c-a60e-d9ef8e05cf23" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Equity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/MaterialaccountingpoliciesPropertyplantandequipmentDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#MaterialaccountingpoliciesPropertyplantandequipmentDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/MaterialaccountingpoliciesPropertyplantandequipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_ea4c35a7-7ad1-4b34-850b-12e978e9441e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_c205aced-e5a1-4891-a2a9-024141ba6f07" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_ea4c35a7-7ad1-4b34-850b-12e978e9441e" xlink:to="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_c205aced-e5a1-4891-a2a9-024141ba6f07" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_955316e1-f1b8-4de9-83a7-62d3c25b5b56" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_c205aced-e5a1-4891-a2a9-024141ba6f07" xlink:to="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_955316e1-f1b8-4de9-83a7-62d3c25b5b56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipmentMember_955316e1-f1b8-4de9-83a7-62d3c25b5b56_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_955316e1-f1b8-4de9-83a7-62d3c25b5b56" xlink:to="loc_ifrs-full_PropertyPlantAndEquipmentMember_955316e1-f1b8-4de9-83a7-62d3c25b5b56_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipmentMember_1e8a3ffd-4ca7-409f-b759-e141d44b6486" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_955316e1-f1b8-4de9-83a7-62d3c25b5b56" xlink:to="loc_ifrs-full_PropertyPlantAndEquipmentMember_1e8a3ffd-4ca7-409f-b759-e141d44b6486" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_BuildingsPlantInstallationsAndMachineryMember_3ff3a995-80fe-459d-b0cf-8253a3f2463a" xlink:href="mx-20231231.xsd#mx_BuildingsPlantInstallationsAndMachineryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_PropertyPlantAndEquipmentMember_1e8a3ffd-4ca7-409f-b759-e141d44b6486" xlink:to="loc_mx_BuildingsPlantInstallationsAndMachineryMember_3ff3a995-80fe-459d-b0cf-8253a3f2463a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_38a6ef9f-2d7b-48ab-addb-f88a70fa5836" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_c205aced-e5a1-4891-a2a9-024141ba6f07" xlink:to="loc_ifrs-full_RangeAxis_38a6ef9f-2d7b-48ab-addb-f88a70fa5836" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_38a6ef9f-2d7b-48ab-addb-f88a70fa5836_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_38a6ef9f-2d7b-48ab-addb-f88a70fa5836" xlink:to="loc_ifrs-full_RangesMember_38a6ef9f-2d7b-48ab-addb-f88a70fa5836_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_395d968b-cc36-424a-ba76-8071bfac5766" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_38a6ef9f-2d7b-48ab-addb-f88a70fa5836" xlink:to="loc_ifrs-full_RangesMember_395d968b-cc36-424a-ba76-8071bfac5766" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_4b6d6a2e-b3de-48d2-96ba-d37e9fab5c54" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_395d968b-cc36-424a-ba76-8071bfac5766" xlink:to="loc_ifrs-full_TopOfRangeMember_4b6d6a2e-b3de-48d2-96ba-d37e9fab5c54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment_99a92a92-8531-46dc-bce0-f91db6b8fb27" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_ea4c35a7-7ad1-4b34-850b-12e978e9441e" xlink:to="loc_ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment_99a92a92-8531-46dc-bce0-f91db6b8fb27" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/MaterialaccountingpoliciesLeasesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#MaterialaccountingpoliciesLeasesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/MaterialaccountingpoliciesLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureofFinanceLeasesLineItems_6ca7bc57-3037-4e0d-b23f-d3392fcab58b" xlink:href="mx-20231231.xsd#mx_DisclosureofFinanceLeasesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureofFinanceLeasesTable_973d4025-e178-479e-b017-34fdeb39d641" xlink:href="mx-20231231.xsd#mx_DisclosureofFinanceLeasesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureofFinanceLeasesLineItems_6ca7bc57-3037-4e0d-b23f-d3392fcab58b" xlink:to="loc_mx_DisclosureofFinanceLeasesTable_973d4025-e178-479e-b017-34fdeb39d641" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_d7034b93-5cce-4d09-908c-0e8589bac7c7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureofFinanceLeasesTable_973d4025-e178-479e-b017-34fdeb39d641" xlink:to="loc_ifrs-full_RangeAxis_d7034b93-5cce-4d09-908c-0e8589bac7c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_d7034b93-5cce-4d09-908c-0e8589bac7c7_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_d7034b93-5cce-4d09-908c-0e8589bac7c7" xlink:to="loc_ifrs-full_RangesMember_d7034b93-5cce-4d09-908c-0e8589bac7c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_ae5c6d51-5735-4505-b94a-04e422f393e1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_d7034b93-5cce-4d09-908c-0e8589bac7c7" xlink:to="loc_ifrs-full_RangesMember_ae5c6d51-5735-4505-b94a-04e422f393e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_415e9078-7c8f-476c-8b32-d38fc63d504c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_ae5c6d51-5735-4505-b94a-04e422f393e1" xlink:to="loc_ifrs-full_TopOfRangeMember_415e9078-7c8f-476c-8b32-d38fc63d504c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LeaseTerm_f9c67dcf-7ef4-4585-9e41-7516eb8598aa" xlink:href="mx-20231231.xsd#mx_LeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureofFinanceLeasesLineItems_6ca7bc57-3037-4e0d-b23f-d3392fcab58b" xlink:to="loc_mx_LeaseTerm_f9c67dcf-7ef4-4585-9e41-7516eb8598aa" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/MaterialaccountingpoliciesSharebasedcompensationDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#MaterialaccountingpoliciesSharebasedcompensationDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/MaterialaccountingpoliciesSharebasedcompensationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_8aca47e9-c27a-4246-8e08-5b7f5bceab7a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_8aca47e9-c27a-4246-8e08-5b7f5bceab7a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_ffe81789-b825-4127-8e55-ca47a0877786" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_8aca47e9-c27a-4246-8e08-5b7f5bceab7a" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_ffe81789-b825-4127-8e55-ca47a0877786" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_ffe81789-b825-4127-8e55-ca47a0877786_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_ffe81789-b825-4127-8e55-ca47a0877786" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_ffe81789-b825-4127-8e55-ca47a0877786_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_cb171d91-5f23-4866-84de-e5711d79aa8c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_ffe81789-b825-4127-8e55-ca47a0877786" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_cb171d91-5f23-4866-84de-e5711d79aa8c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PerformanceShares1Member_cc2fe89b-bd61-44c4-9822-fd286128e6eb" xlink:href="mx-20231231.xsd#mx_PerformanceShares1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_cb171d91-5f23-4866-84de-e5711d79aa8c" xlink:to="loc_mx_PerformanceShares1Member_cc2fe89b-bd61-44c4-9822-fd286128e6eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_515cfbcd-3418-4289-8767-4ce6d58f5a43" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_8aca47e9-c27a-4246-8e08-5b7f5bceab7a" xlink:to="loc_ifrs-full_RangeAxis_515cfbcd-3418-4289-8767-4ce6d58f5a43" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_515cfbcd-3418-4289-8767-4ce6d58f5a43_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_515cfbcd-3418-4289-8767-4ce6d58f5a43" xlink:to="loc_ifrs-full_RangesMember_515cfbcd-3418-4289-8767-4ce6d58f5a43_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_41f4e112-fe81-413d-9b4f-125af0a7f6a6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_515cfbcd-3418-4289-8767-4ce6d58f5a43" xlink:to="loc_ifrs-full_RangesMember_41f4e112-fe81-413d-9b4f-125af0a7f6a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BottomOfRangeMember_94b2309a-6bf8-4a45-843b-c7813b876165" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BottomOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_41f4e112-fe81-413d-9b4f-125af0a7f6a6" xlink:to="loc_ifrs-full_BottomOfRangeMember_94b2309a-6bf8-4a45-843b-c7813b876165" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_03138c19-a875-4bfd-902e-764a3401ac6e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_41f4e112-fe81-413d-9b4f-125af0a7f6a6" xlink:to="loc_ifrs-full_TopOfRangeMember_03138c19-a875-4bfd-902e-764a3401ac6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod_f2624e97-a072-4d7e-9183-9f89ad86ab0a" xlink:href="mx-20231231.xsd#mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:to="loc_mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod_f2624e97-a072-4d7e-9183-9f89ad86ab0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors_6ffb5012-e458-4bdd-853c-444985b30cb8" xlink:href="mx-20231231.xsd#mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:to="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors_6ffb5012-e458-4bdd-853c-444985b30cb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod_6a09fbf5-a701-46d3-9dac-b69a8d2224c6" xlink:href="mx-20231231.xsd#mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:to="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod_6a09fbf5-a701-46d3-9dac-b69a8d2224c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1_f4171179-9197-4cb1-aac2-c40785bda47c" xlink:href="mx-20231231.xsd#mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_a32bc506-ce40-4a93-87fc-ea9141802c0b" xlink:to="loc_mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1_f4171179-9197-4cb1-aac2-c40785bda47c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/PropertyplantandequipmentOwnedassetsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#PropertyplantandequipmentOwnedassetsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/PropertyplantandequipmentOwnedassetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_3b400754-b28a-462d-b6de-4c5175e56d91" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_f2bf171a-c988-4dd6-ae21-ea155d231e59" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_3b400754-b28a-462d-b6de-4c5175e56d91" xlink:to="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_f2bf171a-c988-4dd6-ae21-ea155d231e59" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_3329fa53-679f-40c4-9f05-d6ce2ea98265" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_f2bf171a-c988-4dd6-ae21-ea155d231e59" xlink:to="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_3329fa53-679f-40c4-9f05-d6ce2ea98265" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_3329fa53-679f-40c4-9f05-d6ce2ea98265_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_3329fa53-679f-40c4-9f05-d6ce2ea98265" xlink:to="loc_ifrs-full_CarryingAmountMember_3329fa53-679f-40c4-9f05-d6ce2ea98265_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_91338d28-94b9-4cca-83b5-8106dd5696b8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_3329fa53-679f-40c4-9f05-d6ce2ea98265" xlink:to="loc_ifrs-full_CarryingAmountMember_91338d28-94b9-4cca-83b5-8106dd5696b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GrossCarryingAmountMember_4bc6a8f3-8ea3-40cd-97c2-b70e32bf824d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GrossCarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CarryingAmountMember_91338d28-94b9-4cca-83b5-8106dd5696b8" xlink:to="loc_ifrs-full_GrossCarryingAmountMember_4bc6a8f3-8ea3-40cd-97c2-b70e32bf824d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedDepreciationAndAmortisationMember_5f7cf591-babf-4314-ae64-8ae7ee5a6c70" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AccumulatedDepreciationAndAmortisationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CarryingAmountMember_91338d28-94b9-4cca-83b5-8106dd5696b8" xlink:to="loc_ifrs-full_AccumulatedDepreciationAndAmortisationMember_5f7cf591-babf-4314-ae64-8ae7ee5a6c70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_e14bc8a4-9285-42c0-b0f0-a13956de1b0c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_f2bf171a-c988-4dd6-ae21-ea155d231e59" xlink:to="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_e14bc8a4-9285-42c0-b0f0-a13956de1b0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipmentMember_e14bc8a4-9285-42c0-b0f0-a13956de1b0c_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_e14bc8a4-9285-42c0-b0f0-a13956de1b0c" xlink:to="loc_ifrs-full_PropertyPlantAndEquipmentMember_e14bc8a4-9285-42c0-b0f0-a13956de1b0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis_e14bc8a4-9285-42c0-b0f0-a13956de1b0c" xlink:to="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_BuildingsPlantInstallationsAndMachineryMember_dcdcd7fc-f059-4c46-80a5-bd299fbb6478" xlink:href="mx-20231231.xsd#mx_BuildingsPlantInstallationsAndMachineryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:to="loc_mx_BuildingsPlantInstallationsAndMachineryMember_dcdcd7fc-f059-4c46-80a5-bd299fbb6478" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ConstructionInProgressMember_8e41a94f-6e7a-49d7-a0e0-7163bec651b1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:to="loc_ifrs-full_ConstructionInProgressMember_8e41a94f-6e7a-49d7-a0e0-7163bec651b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShipsMember_fa6e3214-2713-4a65-a8a9-8aa74c9b8953" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ShipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:to="loc_ifrs-full_ShipsMember_fa6e3214-2713-4a65-a8a9-8aa74c9b8953" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherPropertyPlantAndEquipmentMember_d06b6ca5-27f9-45b8-ad04-e29f6a5fbd77" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherPropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_PropertyPlantAndEquipmentMember_2441b639-2906-45a2-97ce-7d1de1eca586" xlink:to="loc_ifrs-full_OtherPropertyPlantAndEquipmentMember_d06b6ca5-27f9-45b8-ad04-e29f6a5fbd77" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RealEstateAndAccumulatedDepreciationDescriptionOfProperty1Axis_3bf28447-d3bc-45bd-98c9-cff5ee2f5094" xlink:href="mx-20231231.xsd#mx_RealEstateAndAccumulatedDepreciationDescriptionOfProperty1Axis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_f2bf171a-c988-4dd6-ae21-ea155d231e59" xlink:to="loc_mx_RealEstateAndAccumulatedDepreciationDescriptionOfProperty1Axis_3bf28447-d3bc-45bd-98c9-cff5ee2f5094" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain_3bf28447-d3bc-45bd-98c9-cff5ee2f5094_default" xlink:href="mx-20231231.xsd#mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_RealEstateAndAccumulatedDepreciationDescriptionOfProperty1Axis_3bf28447-d3bc-45bd-98c9-cff5ee2f5094" xlink:to="loc_mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain_3bf28447-d3bc-45bd-98c9-cff5ee2f5094_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain_75858137-9f7f-4437-999d-1c97f337b517" xlink:href="mx-20231231.xsd#mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_RealEstateAndAccumulatedDepreciationDescriptionOfProperty1Axis_3bf28447-d3bc-45bd-98c9-cff5ee2f5094" xlink:to="loc_mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain_75858137-9f7f-4437-999d-1c97f337b517" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanolPlantInGeismarLouisianaMember_680c4c27-583e-4e32-b915-a6d2f52b7ad8" xlink:href="mx-20231231.xsd#mx_MethanolPlantInGeismarLouisianaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RealEstateAndAccumulatedDepreciationNameOfProperty1Domain_75858137-9f7f-4437-999d-1c97f337b517" xlink:to="loc_mx_MethanolPlantInGeismarLouisianaMember_680c4c27-583e-4e32-b915-a6d2f52b7ad8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_3b400754-b28a-462d-b6de-4c5175e56d91" xlink:to="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipment_0f175ebd-55e2-4e3c-b973-5b1e84e2aab7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:to="loc_ifrs-full_PropertyPlantAndEquipment_0f175ebd-55e2-4e3c-b973-5b1e84e2aab7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment_f273257e-b42f-45ca-929c-7251336e82a9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:to="loc_ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment_f273257e-b42f-45ca-929c-7251336e82a9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisposalsPropertyPlantAndEquipment_e26df0aa-b370-4d01-9956-f7c138dcff58" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisposalsPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:to="loc_ifrs-full_DisposalsPropertyPlantAndEquipment_e26df0aa-b370-4d01-9956-f7c138dcff58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DepreciationPropertyPlantAndEquipment_7d0aad2d-8707-49b7-b23b-19e42ce24544" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DepreciationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInPropertyPlantAndEquipmentAbstract_8012c46f-9c30-4ff0-8d43-c4da4b044907" xlink:to="loc_ifrs-full_DepreciationPropertyPlantAndEquipment_7d0aad2d-8707-49b7-b23b-19e42ce24544" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipment_00a89c6b-5086-46dc-b263-9756e5e3befe" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipment"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PlantProcessingCapacityMass_37e6be4d-63ca-4920-9926-9788ad0b12b9" xlink:href="mx-20231231.xsd#mx_PlantProcessingCapacityMass"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_3b400754-b28a-462d-b6de-4c5175e56d91" xlink:to="loc_mx_PlantProcessingCapacityMass_37e6be4d-63ca-4920-9926-9788ad0b12b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PropertyPlantAndEquipmentCapitalizedInterest_2e7684bf-6a19-42d7-b864-d7fccd98ed53" xlink:href="mx-20231231.xsd#mx_PropertyPlantAndEquipmentCapitalizedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_3b400754-b28a-462d-b6de-4c5175e56d91" xlink:to="loc_mx_PropertyPlantAndEquipmentCapitalizedInterest_2e7684bf-6a19-42d7-b864-d7fccd98ed53" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/PropertyplantandequipmentRightofuseassetsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#PropertyplantandequipmentRightofuseassetsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/PropertyplantandequipmentRightofuseassetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable_5e628d9d-c7c5-4c0c-9c33-0d7878c14a45" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:to="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable_5e628d9d-c7c5-4c0c-9c33-0d7878c14a45" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfAssetsAxis_a0c3c83a-d81e-48e6-9ed6-be8711c0802a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfAssetsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable_5e628d9d-c7c5-4c0c-9c33-0d7878c14a45" xlink:to="loc_ifrs-full_ClassesOfAssetsAxis_a0c3c83a-d81e-48e6-9ed6-be8711c0802a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfAssetsMember_a0c3c83a-d81e-48e6-9ed6-be8711c0802a_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfAssetsAxis_a0c3c83a-d81e-48e6-9ed6-be8711c0802a" xlink:to="loc_ifrs-full_ClassesOfAssetsMember_a0c3c83a-d81e-48e6-9ed6-be8711c0802a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfAssetsMember_c89162f1-f0a4-4e86-9ae3-d27019cd8772" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfAssetsAxis_a0c3c83a-d81e-48e6-9ed6-be8711c0802a" xlink:to="loc_ifrs-full_ClassesOfAssetsMember_c89162f1-f0a4-4e86-9ae3-d27019cd8772" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ShipsMember_ac9d283c-0580-4d9a-9dfe-aa0eab873b5e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ShipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfAssetsMember_c89162f1-f0a4-4e86-9ae3-d27019cd8772" xlink:to="loc_ifrs-full_ShipsMember_ac9d283c-0580-4d9a-9dfe-aa0eab873b5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TerminalsAndTanksMember_f644b44a-3207-4bd6-bba6-dcbb7a15d729" xlink:href="mx-20231231.xsd#mx_TerminalsAndTanksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfAssetsMember_c89162f1-f0a4-4e86-9ae3-d27019cd8772" xlink:to="loc_mx_TerminalsAndTanksMember_f644b44a-3207-4bd6-bba6-dcbb7a15d729" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherPropertyPlantAndEquipmentMember_42c24a16-c200-4e9d-a9e1-0833423907ac" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherPropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfAssetsMember_c89162f1-f0a4-4e86-9ae3-d27019cd8772" xlink:to="loc_ifrs-full_OtherPropertyPlantAndEquipmentMember_42c24a16-c200-4e9d-a9e1-0833423907ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_6233efd8-3b8c-4e7f-8b23-15b596fb86f4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable_5e628d9d-c7c5-4c0c-9c33-0d7878c14a45" xlink:to="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_6233efd8-3b8c-4e7f-8b23-15b596fb86f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_6233efd8-3b8c-4e7f-8b23-15b596fb86f4_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_6233efd8-3b8c-4e7f-8b23-15b596fb86f4" xlink:to="loc_ifrs-full_CarryingAmountMember_6233efd8-3b8c-4e7f-8b23-15b596fb86f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_9b1754d2-458a-4cce-9865-4a5dcae96a47" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_6233efd8-3b8c-4e7f-8b23-15b596fb86f4" xlink:to="loc_ifrs-full_CarryingAmountMember_9b1754d2-458a-4cce-9865-4a5dcae96a47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GrossCarryingAmountMember_851d4e63-113a-421b-9424-213c236edd4d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GrossCarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CarryingAmountMember_9b1754d2-458a-4cce-9865-4a5dcae96a47" xlink:to="loc_ifrs-full_GrossCarryingAmountMember_851d4e63-113a-421b-9424-213c236edd4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedDepreciationAndAmortisationMember_021a6876-9cef-44f5-9bb5-4243ba7221ca" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AccumulatedDepreciationAndAmortisationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CarryingAmountMember_9b1754d2-458a-4cce-9865-4a5dcae96a47" xlink:to="loc_ifrs-full_AccumulatedDepreciationAndAmortisationMember_021a6876-9cef-44f5-9bb5-4243ba7221ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RightofuseAssets_c960f62e-61db-4ea9-8734-33f30e2c3cc8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RightofuseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:to="loc_ifrs-full_RightofuseAssets_c960f62e-61db-4ea9-8734-33f30e2c3cc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdditionsToRightofuseAssets_30201045-8120-4657-9cc2-25c97ebeac46" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AdditionsToRightofuseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:to="loc_ifrs-full_AdditionsToRightofuseAssets_30201045-8120-4657-9cc2-25c97ebeac46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisposalsRightofUseAssets_2ec18303-aa64-4ee4-8dc1-3442894e4066" xlink:href="mx-20231231.xsd#mx_DisposalsRightofUseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:to="loc_mx_DisposalsRightofUseAssets_2ec18303-aa64-4ee4-8dc1-3442894e4066" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DepreciationRightofuseAssets_afdd41cb-95ff-4d48-998b-f43d266276fb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DepreciationRightofuseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems_50164d1d-95e8-4324-89fd-0323f340f7f7" xlink:to="loc_ifrs-full_DepreciationRightofuseAssets_afdd41cb-95ff-4d48-998b-f43d266276fb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RightofuseAssets_65e1a057-a208-48ce-87c7-ce7c156d8909" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RightofuseAssets"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/InvestmentinassociateNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#InvestmentinassociateNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/InvestmentinassociateNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_1bd11f1b-f769-4b0e-ba70-28fb73690049" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_1bd11f1b-f769-4b0e-ba70-28fb73690049" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_1bd11f1b-f769-4b0e-ba70-28fb73690049_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_1bd11f1b-f769-4b0e-ba70-28fb73690049" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_1bd11f1b-f769-4b0e-ba70-28fb73690049_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_b3e825d0-2546-493a-b53b-070ba3c0d40a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_1bd11f1b-f769-4b0e-ba70-28fb73690049" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_b3e825d0-2546-493a-b53b-070ba3c0d40a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_cf18186b-0ce1-4a7b-8848-ad8e55bace60" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_b3e825d0-2546-493a-b53b-070ba3c0d40a" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_cf18186b-0ce1-4a7b-8848-ad8e55bace60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_a086a9d9-d037-4afb-8b57-31533844ca18" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_dei_LegalEntityAxis_a086a9d9-d037-4afb-8b57-31533844ca18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_a086a9d9-d037-4afb-8b57-31533844ca18_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_a086a9d9-d037-4afb-8b57-31533844ca18" xlink:to="loc_dei_EntityDomain_a086a9d9-d037-4afb-8b57-31533844ca18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4a84c079-b42b-4ed1-bf2f-2331064c46da" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_a086a9d9-d037-4afb-8b57-31533844ca18" xlink:to="loc_dei_EntityDomain_4a84c079-b42b-4ed1-bf2f-2331064c46da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_f783dd5b-5a5a-4b6a-b222-2c86ad7591ee" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4a84c079-b42b-4ed1-bf2f-2331064c46da" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_f783dd5b-5a5a-4b6a-b222-2c86ad7591ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfContractsAxis_0d828b71-03b6-41ca-a697-13e74f65c64d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfContractsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_ifrs-full_TypesOfContractsAxis_0d828b71-03b6-41ca-a697-13e74f65c64d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfContractsMember_0d828b71-03b6-41ca-a697-13e74f65c64d_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfContractsAxis_0d828b71-03b6-41ca-a697-13e74f65c64d" xlink:to="loc_ifrs-full_TypesOfContractsMember_0d828b71-03b6-41ca-a697-13e74f65c64d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfContractsMember_c8f8134a-76f1-4e20-a5ca-fcbce0055664" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfContractsAxis_0d828b71-03b6-41ca-a697-13e74f65c64d" xlink:to="loc_ifrs-full_TypesOfContractsMember_c8f8134a-76f1-4e20-a5ca-fcbce0055664" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FixedpriceContractsMember_9e912720-38a4-4e46-aa79-51fe0539eca8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FixedpriceContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfContractsMember_c8f8134a-76f1-4e20-a5ca-fcbce0055664" xlink:to="loc_ifrs-full_FixedpriceContractsMember_9e912720-38a4-4e46-aa79-51fe0539eca8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProductsAndServicesAxis_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProductsAndServicesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_ifrs-full_ProductsAndServicesAxis_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProductsAndServicesMember_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProductsAndServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ProductsAndServicesAxis_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9" xlink:to="loc_ifrs-full_ProductsAndServicesMember_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProductsAndServicesMember_88c5f6de-c13f-484c-b1da-c1a326c303a9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProductsAndServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ProductsAndServicesAxis_16dc5aa9-5f3b-4e5d-bb4a-19da49d86ce9" xlink:to="loc_ifrs-full_ProductsAndServicesMember_88c5f6de-c13f-484c-b1da-c1a326c303a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanolMember_101141ff-fd56-4cb2-a489-98ada085a2f8" xlink:href="mx-20231231.xsd#mx_MethanolMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ProductsAndServicesMember_88c5f6de-c13f-484c-b1da-c1a326c303a9" xlink:to="loc_mx_MethanolMember_101141ff-fd56-4cb2-a489-98ada085a2f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodAxis_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_mx_LossesGeneratedPeriodAxis_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodDomain_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4_default" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_LossesGeneratedPeriodAxis_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4" xlink:to="loc_mx_LossesGeneratedPeriodDomain_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodDomain_af4089f2-6427-4f04-b14f-9d3ffd55360f" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_LossesGeneratedPeriodAxis_a0bd6a86-1dc3-4091-b97c-1d1ec184c6a4" xlink:to="loc_mx_LossesGeneratedPeriodDomain_af4089f2-6427-4f04-b14f-9d3ffd55360f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2005Through2014Member_2a863751-6cc0-4914-95c9-9f9204870f6e" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2005Through2014Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodDomain_af4089f2-6427-4f04-b14f-9d3ffd55360f" xlink:to="loc_mx_LossesGeneratedPeriodYear2005Through2014Member_2a863751-6cc0-4914-95c9-9f9204870f6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2014Through2019Member_24cf2722-be3a-4bc5-8a10-90ec025db968" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2014Through2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodDomain_af4089f2-6427-4f04-b14f-9d3ffd55360f" xlink:to="loc_mx_LossesGeneratedPeriodYear2014Through2019Member_24cf2722-be3a-4bc5-8a10-90ec025db968" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_79520801-3b9c-479d-a753-06bc7795ac6a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_07a0b739-3d4e-440a-915b-025e1da29fa7" xlink:to="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_79520801-3b9c-479d-a753-06bc7795ac6a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_79520801-3b9c-479d-a753-06bc7795ac6a_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_79520801-3b9c-479d-a753-06bc7795ac6a" xlink:to="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_79520801-3b9c-479d-a753-06bc7795ac6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_e3628264-3986-4155-b304-e8d9e99e3374" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_79520801-3b9c-479d-a753-06bc7795ac6a" xlink:to="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_e3628264-3986-4155-b304-e8d9e99e3374" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember_99d682cf-69dd-4b87-80e1-ac5ab6632f90" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_e3628264-3986-4155-b304-e8d9e99e3374" xlink:to="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember_99d682cf-69dd-4b87-80e1-ac5ab6632f90" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_1d39a8ee-f638-4164-903d-7d6966c53f50" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInAssociate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_1d39a8ee-f638-4164-903d-7d6966c53f50" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AnnualMassOfMethanolProductionOwned_529ada4a-d856-46de-83f0-b6ab2f8cac44" xlink:href="mx-20231231.xsd#mx_AnnualMassOfMethanolProductionOwned"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_mx_AnnualMassOfMethanolProductionOwned_529ada4a-d856-46de-83f0-b6ab2f8cac44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_1aad9e40-8df0-47a7-ab2c-a486727ab734" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_1aad9e40-8df0-47a7-ab2c-a486727ab734" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_GasContractSettlement_81828b69-9c37-42b8-8f3e-8ca1f326a9da" xlink:href="mx-20231231.xsd#mx_GasContractSettlement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_mx_GasContractSettlement_81828b69-9c37-42b8-8f3e-8ca1f326a9da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_GasContractSettlementAttributableToOrdinaryEquityHoldersOfParentEntity_11d4456b-a480-42be-8eeb-b8f3a72b31dc" xlink:href="mx-20231231.xsd#mx_GasContractSettlementAttributableToOrdinaryEquityHoldersOfParentEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_mx_GasContractSettlementAttributableToOrdinaryEquityHoldersOfParentEntity_11d4456b-a480-42be-8eeb-b8f3a72b31dc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_GasContractSettlementNetOfTax_20c77103-a345-4d43-b238-9c72f86d754c" xlink:href="mx-20231231.xsd#mx_GasContractSettlementNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_mx_GasContractSettlementNetOfTax_20c77103-a345-4d43-b238-9c72f86d754c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PercentageOfEntitysRevenue_0bcc192b-7f29-40be-9d43-7fb074d3a607" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PercentageOfEntitysRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_ifrs-full_PercentageOfEntitysRevenue_0bcc192b-7f29-40be-9d43-7fb074d3a607" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_NaturalGasSupplyArrangementTerm_eacd5488-1b27-406c-9f2a-ecdc004ff971" xlink:href="mx-20231231.xsd#mx_NaturalGasSupplyArrangementTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_mx_NaturalGasSupplyArrangementTerm_eacd5488-1b27-406c-9f2a-ecdc004ff971" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse_1f0e61db-888b-4b80-aede-a04465d0012f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_a246a685-ed0f-4501-81c6-fbd11b235095" xlink:to="loc_ifrs-full_DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse_1f0e61db-888b-4b80-aede-a04465d0012f" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/InvestmentinassociateStatementsoffinancialpositionDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#InvestmentinassociateStatementsoffinancialpositionDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/InvestmentinassociateStatementsoffinancialpositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_91f31cc0-6f09-411b-9af6-60627039c17c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_91f31cc0-6f09-411b-9af6-60627039c17c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_5d5d6ce7-2969-44d8-b672-9d032a255c41" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_91f31cc0-6f09-411b-9af6-60627039c17c" xlink:to="loc_dei_LegalEntityAxis_5d5d6ce7-2969-44d8-b672-9d032a255c41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_5d5d6ce7-2969-44d8-b672-9d032a255c41_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_5d5d6ce7-2969-44d8-b672-9d032a255c41" xlink:to="loc_dei_EntityDomain_5d5d6ce7-2969-44d8-b672-9d032a255c41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_3ce206e6-0c4f-46a0-9fc6-fca03584efc6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_5d5d6ce7-2969-44d8-b672-9d032a255c41" xlink:to="loc_dei_EntityDomain_3ce206e6-0c4f-46a0-9fc6-fca03584efc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_a121861d-002b-4b96-9ecc-236c6225448d" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_3ce206e6-0c4f-46a0-9fc6-fca03584efc6" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_a121861d-002b-4b96-9ecc-236c6225448d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_747c3906-1382-4509-b3b6-d380aa0f2550" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_91f31cc0-6f09-411b-9af6-60627039c17c" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_747c3906-1382-4509-b3b6-d380aa0f2550" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_747c3906-1382-4509-b3b6-d380aa0f2550_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_747c3906-1382-4509-b3b6-d380aa0f2550" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_747c3906-1382-4509-b3b6-d380aa0f2550_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_5027129a-0821-4ba8-94c8-3baf58cf836e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_747c3906-1382-4509-b3b6-d380aa0f2550" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_5027129a-0821-4ba8-94c8-3baf58cf836e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_9fa663b1-d8d9-4420-895f-c98858761ca4" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_5027129a-0821-4ba8-94c8-3baf58cf836e" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_9fa663b1-d8d9-4420-895f-c98858761ca4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_b1996645-03e9-47ac-ac6b-65320a0a5e47" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_CashAndCashEquivalents_b1996645-03e9-47ac-ac6b-65320a0a5e47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherCurrentAssets_186d0f22-b9d5-4490-a7c9-da0462d32faf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherCurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_OtherCurrentAssets_186d0f22-b9d5-4490-a7c9-da0462d32faf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_a8251bb1-093e-45ec-afaf-c4cf3d4de430" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_NoncurrentAssets_a8251bb1-093e-45ec-afaf-c4cf3d4de430" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_e61c5cb6-ae6d-4b4c-912d-bbf61b0f2afc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_CurrentLiabilities_e61c5cb6-ae6d-4b4c-912d-bbf61b0f2afc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherNoncurrentLiabilitiesIncludingCurrentMaturities_f5b9b17b-95d3-465f-8383-ed1c5d010d8f" xlink:href="mx-20231231.xsd#mx_OtherNoncurrentLiabilitiesIncludingCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_mx_OtherNoncurrentLiabilitiesIncludingCurrentMaturities_f5b9b17b-95d3-465f-8383-ed1c5d010d8f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetAssetsLiabilities_c8c9aa4d-3bcf-47f4-aacb-3702328fd14b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NetAssetsLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_NetAssetsLiabilities_c8c9aa4d-3bcf-47f4-aacb-3702328fd14b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentReceivablesDueFromRelatedParties_54e26add-d985-4bdc-9723-b5f8c5df1e61" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncurrentReceivablesDueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_NoncurrentReceivablesDueFromRelatedParties_54e26add-d985-4bdc-9723-b5f8c5df1e61" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InvestmentsInAssociatesAccountedForUsingEquityMethod_9cb8ed6d-0e17-4452-ae16-49b64818b370" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InvestmentsInAssociatesAccountedForUsingEquityMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_InvestmentsInAssociatesAccountedForUsingEquityMethod_9cb8ed6d-0e17-4452-ae16-49b64818b370" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_777f7b9a-dd4d-4227-b15e-7c640f90c0a6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_777f7b9a-dd4d-4227-b15e-7c640f90c0a6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_eda4d0b4-43cb-4da3-a431-a741883cd237" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInAssociate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_38dc9fc1-d432-4b18-bbb9-a21241378936" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_eda4d0b4-43cb-4da3-a431-a741883cd237" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/InvestmentinassociateStatementsofincomeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#InvestmentinassociateStatementsofincomeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/InvestmentinassociateStatementsofincomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_c18e8105-5236-4b04-aa94-5d54182bdc11" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_c18e8105-5236-4b04-aa94-5d54182bdc11" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_bffe265a-e150-488b-91d2-594cbb58063d" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_c18e8105-5236-4b04-aa94-5d54182bdc11" xlink:to="loc_dei_LegalEntityAxis_bffe265a-e150-488b-91d2-594cbb58063d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_bffe265a-e150-488b-91d2-594cbb58063d_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_bffe265a-e150-488b-91d2-594cbb58063d" xlink:to="loc_dei_EntityDomain_bffe265a-e150-488b-91d2-594cbb58063d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_43e650ae-fd30-4491-b577-86efb9164f22" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_bffe265a-e150-488b-91d2-594cbb58063d" xlink:to="loc_dei_EntityDomain_43e650ae-fd30-4491-b577-86efb9164f22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_c718e097-241a-4d8e-a633-f8d4909ed293" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_43e650ae-fd30-4491-b577-86efb9164f22" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_c718e097-241a-4d8e-a633-f8d4909ed293" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_c58a055a-80d7-4594-b148-7d9071aa5d24" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_c18e8105-5236-4b04-aa94-5d54182bdc11" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_c58a055a-80d7-4594-b148-7d9071aa5d24" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_c58a055a-80d7-4594-b148-7d9071aa5d24_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_c58a055a-80d7-4594-b148-7d9071aa5d24" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_c58a055a-80d7-4594-b148-7d9071aa5d24_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_384e33af-d06e-4c30-a994-7ca3e90b62dc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_c58a055a-80d7-4594-b148-7d9071aa5d24" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_384e33af-d06e-4c30-a994-7ca3e90b62dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_78f5d460-8b29-44c9-bb4d-dce3544b33d9" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_384e33af-d06e-4c30-a994-7ca3e90b62dc" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_78f5d460-8b29-44c9-bb4d-dce3544b33d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_077a67db-ecc4-491c-ba59-a9d35b0e8c1e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_Revenue_077a67db-ecc4-491c-ba59-a9d35b0e8c1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_CostOfSalesIncludingDepreciationAndAmortisationExpense_b28d7020-9d82-4461-b902-b93e707e66f4" xlink:href="mx-20231231.xsd#mx_CostOfSalesIncludingDepreciationAndAmortisationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_mx_CostOfSalesIncludingDepreciationAndAmortisationExpense_b28d7020-9d82-4461-b902-b93e707e66f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_GasContractSettlement_0d071fb9-2743-4bd3-99da-e66b640fb078" xlink:href="mx-20231231.xsd#mx_GasContractSettlement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_mx_GasContractSettlement_0d071fb9-2743-4bd3-99da-e66b640fb078" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLossFromOperatingActivities_db371ff7-589b-48f4-ab52-5d4965960296" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProfitLossFromOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_ProfitLossFromOperatingActivities_db371ff7-589b-48f4-ab52-5d4965960296" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinanceIncomeCost_7b21a989-ec9f-48e3-8cfe-36c9409693a6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinanceIncomeCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_FinanceIncomeCost_7b21a989-ec9f-48e3-8cfe-36c9409693a6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_9d34070c-21b5-4eb9-873c-c6f38fcad822" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncomeTaxExpenseContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_IncomeTaxExpenseContinuingOperations_9d34070c-21b5-4eb9-873c-c6f38fcad822" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_a863ec82-fc38-4c20-989e-91c9ba2f0239" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_ProfitLoss_a863ec82-fc38-4c20-989e-91c9ba2f0239" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsReceived_742e653c-2313-4f15-a1b9-ed14a1129dba" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DividendsReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_DividendsReceived_742e653c-2313-4f15-a1b9-ed14a1129dba" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_8e569980-6766-4524-bc3d-74144e4f1e66" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_8e569980-6766-4524-bc3d-74144e4f1e66" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_97fe8e01-5108-48e1-a755-4efc63dd081c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInAssociate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_18b80039-f5d0-4747-a08e-71b5ec30ffad" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_97fe8e01-5108-48e1-a755-4efc63dd081c" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/InvestmentinassociateKeyassumptionsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#InvestmentinassociateKeyassumptionsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/InvestmentinassociateKeyassumptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_623f2247-37b8-4e6b-9eaf-96b3cd05f9ec" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_a7eff8a7-92d1-4148-bfc3-d97a5d440208" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_623f2247-37b8-4e6b-9eaf-96b3cd05f9ec" xlink:to="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_a7eff8a7-92d1-4148-bfc3-d97a5d440208" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_a7eff8a7-92d1-4148-bfc3-d97a5d440208" xlink:to="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b" xlink:to="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_4e3de45c-766c-409c-a062-0ddeed78f4aa" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis_13aa1dd5-e9dd-4e3b-9eac-30f0781b250b" xlink:to="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_4e3de45c-766c-409c-a062-0ddeed78f4aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember_c1aa1193-edfe-467b-8d1b-e9a634225edb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember_4e3de45c-766c-409c-a062-0ddeed78f4aa" xlink:to="loc_ifrs-full_IndividualAssetsOrCashgeneratingUnitsMember_c1aa1193-edfe-467b-8d1b-e9a634225edb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsAxis_18339a51-88fd-4219-9973-db9073595a9c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_a7eff8a7-92d1-4148-bfc3-d97a5d440208" xlink:to="loc_ifrs-full_UnobservableInputsAxis_18339a51-88fd-4219-9973-db9073595a9c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsMember_18339a51-88fd-4219-9973-db9073595a9c_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_UnobservableInputsAxis_18339a51-88fd-4219-9973-db9073595a9c" xlink:to="loc_ifrs-full_UnobservableInputsMember_18339a51-88fd-4219-9973-db9073595a9c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_UnobservableInputsAxis_18339a51-88fd-4219-9973-db9073595a9c" xlink:to="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LongTermAverageRealizedPriceMeasurementInputMember_0e08aa53-073b-4a91-b095-8f900b060116" xlink:href="mx-20231231.xsd#mx_LongTermAverageRealizedPriceMeasurementInputMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:to="loc_mx_LongTermAverageRealizedPriceMeasurementInputMember_0e08aa53-073b-4a91-b095-8f900b060116" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ProductionVolumesMeasurementInputMember_75cbf773-56e5-401d-9239-5d66352bfefb" xlink:href="mx-20231231.xsd#mx_ProductionVolumesMeasurementInputMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:to="loc_mx_ProductionVolumesMeasurementInputMember_75cbf773-56e5-401d-9239-5d66352bfefb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_GasPriceMeasurementInputMember_e086a32c-02f8-417a-ac87-46729648dda2" xlink:href="mx-20231231.xsd#mx_GasPriceMeasurementInputMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:to="loc_mx_GasPriceMeasurementInputMember_e086a32c-02f8-417a-ac87-46729648dda2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DiscountRateMeasurementInputMember_3f7a1421-660a-4110-aa5b-cc8814144410" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DiscountRateMeasurementInputMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_0bd67501-4457-4f63-ba60-ba34c9b0a39e" xlink:to="loc_ifrs-full_DiscountRateMeasurementInputMember_3f7a1421-660a-4110-aa5b-cc8814144410" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7242bd50-5dd6-4bf4-a56b-afb8e74e738c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable_a7eff8a7-92d1-4148-bfc3-d97a5d440208" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7242bd50-5dd6-4bf4-a56b-afb8e74e738c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_7242bd50-5dd6-4bf4-a56b-afb8e74e738c_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7242bd50-5dd6-4bf4-a56b-afb8e74e738c" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_7242bd50-5dd6-4bf4-a56b-afb8e74e738c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_ad187a63-ab53-4097-8db5-27e24f0e790f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7242bd50-5dd6-4bf4-a56b-afb8e74e738c" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_ad187a63-ab53-4097-8db5-27e24f0e790f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_99a71dbf-08cb-4400-a30c-a31c13042d63" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_ad187a63-ab53-4097-8db5-27e24f0e790f" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_99a71dbf-08cb-4400-a30c-a31c13042d63" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AmountByWhichValueAssignedToKeyAssumptionMustChangeInOrderForUnitsRecoverableAmountToBeEqualToCarryingAmount_44fb82bc-9122-4792-b3f9-7d80bf1717e7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AmountByWhichValueAssignedToKeyAssumptionMustChangeInOrderForUnitsRecoverableAmountToBeEqualToCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems_623f2247-37b8-4e6b-9eaf-96b3cd05f9ec" xlink:to="loc_ifrs-full_AmountByWhichValueAssignedToKeyAssumptionMustChangeInOrderForUnitsRecoverableAmountToBeEqualToCarryingAmount_44fb82bc-9122-4792-b3f9-7d80bf1717e7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/LongtermdebtComponentsoflongtermdebtDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#LongtermdebtComponentsoflongtermdebtDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/LongtermdebtComponentsoflongtermdebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_438f5b8d-d861-45f0-80b1-8932f92465f3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_438f5b8d-d861-45f0-80b1-8932f92465f3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_a9f88a15-35f2-4ca2-b847-ff204df08e9b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_438f5b8d-d861-45f0-80b1-8932f92465f3" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_a9f88a15-35f2-4ca2-b847-ff204df08e9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_a9f88a15-35f2-4ca2-b847-ff204df08e9b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_a9f88a15-35f2-4ca2-b847-ff204df08e9b" xlink:to="loc_ifrs-full_BorrowingsByNameMember_a9f88a15-35f2-4ca2-b847-ff204df08e9b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_ef904fbb-18c3-4b92-b2f2-a7ddb3727ee8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_a9f88a15-35f2-4ca2-b847-ff204df08e9b" xlink:to="loc_ifrs-full_BorrowingsByNameMember_ef904fbb-18c3-4b92-b2f2-a7ddb3727ee8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_ef904fbb-18c3-4b92-b2f2-a7ddb3727ee8" xlink:to="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt425Member_639d4e92-853f-4a86-8b59-bd1118acea55" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt425Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:to="loc_mx_UnsecuredDebt425Member_639d4e92-853f-4a86-8b59-bd1118acea55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt5125Member_4db8ec3d-0e23-4ea6-b5b5-025a629a68ce" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt5125Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:to="loc_mx_UnsecuredDebt5125Member_4db8ec3d-0e23-4ea6-b5b5-025a629a68ce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt525Member_3edb659d-fc25-4965-8cf4-5ff09ebfc037" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt525Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:to="loc_mx_UnsecuredDebt525Member_3edb659d-fc25-4965-8cf4-5ff09ebfc037" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt565Member_1ef1d32b-b506-467f-8a22-8ce3abcfb02f" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt565Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_UnsecuredDebt1Member_e0ba5471-9e85-4e6c-af05-40bf64c22a0a" xlink:to="loc_mx_UnsecuredDebt565Member_1ef1d32b-b506-467f-8a22-8ce3abcfb02f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_f7fc84f0-9d81-4a2d-9eaf-de6d5cf8cbb7" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_ef904fbb-18c3-4b92-b2f2-a7ddb3727ee8" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_f7fc84f0-9d81-4a2d-9eaf-de6d5cf8cbb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilities5.58Member_0cd1c89c-3910-4aa7-8b9e-fda177eff2dd" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilities5.58Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_f7fc84f0-9d81-4a2d-9eaf-de6d5cf8cbb7" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilities5.58Member_0cd1c89c-3910-4aa7-8b9e-fda177eff2dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilities5.35Member_65158611-75a7-462e-a29f-7afeb1149a2c" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilities5.35Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_f7fc84f0-9d81-4a2d-9eaf-de6d5cf8cbb7" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilities5.35Member_65158611-75a7-462e-a29f-7afeb1149a2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilities5.21Member_dfbc5a1a-36f9-4d18-aacf-4c3d720b6d51" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilities5.21Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_f7fc84f0-9d81-4a2d-9eaf-de6d5cf8cbb7" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilities5.21Member_dfbc5a1a-36f9-4d18-aacf-4c3d720b6d51" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfInterestRatesAxis_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfInterestRatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_438f5b8d-d861-45f0-80b1-8932f92465f3" xlink:to="loc_ifrs-full_TypesOfInterestRatesAxis_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRateTypesMember_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestRateTypesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfInterestRatesAxis_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9" xlink:to="loc_ifrs-full_InterestRateTypesMember_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRateTypesMember_db0a4f94-74e1-4ca1-9f11-ad4098d9c86c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestRateTypesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfInterestRatesAxis_eb6248a3-436c-43d1-a5d0-a4a19fbf36d9" xlink:to="loc_ifrs-full_InterestRateTypesMember_db0a4f94-74e1-4ca1-9f11-ad4098d9c86c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FixedInterestRateMember_2b5615a9-3cc9-4314-92b8-f5d57fb80bbc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FixedInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_InterestRateTypesMember_db0a4f94-74e1-4ca1-9f11-ad4098d9c86c" xlink:to="loc_ifrs-full_FixedInterestRateMember_2b5615a9-3cc9-4314-92b8-f5d57fb80bbc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Borrowings_49d15eef-17bc-4d54-b25c-ba16b859dc91" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Borrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_Borrowings_49d15eef-17bc-4d54-b25c-ba16b859dc91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentPortionOfLongtermBorrowings_5b4bd600-6e25-4d75-88d7-c0f45cbeb853" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrentPortionOfLongtermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_CurrentPortionOfLongtermBorrowings_5b4bd600-6e25-4d75-88d7-c0f45cbeb853" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LongtermBorrowings_1e60192e-46ef-453d-9392-04a13aefcd8d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LongtermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_LongtermBorrowings_1e60192e-46ef-453d-9392-04a13aefcd8d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotionalAmount_f65fb6dc-d7b8-4753-ab8b-81dce4b19d09" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_NotionalAmount_f65fb6dc-d7b8-4753-ab8b-81dce4b19d09" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsInterestRate_59ede7dd-59b3-4733-a7c1-2aff08f289e9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_ifrs-full_BorrowingsInterestRate_59ede7dd-59b3-4733-a7c1-2aff08f289e9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DebtInstrumentUnamortizedDiscountandDeferredFinanceCost_da6da0bc-332c-447d-8e20-68e7c1bea43d" xlink:href="mx-20231231.xsd#mx_DebtInstrumentUnamortizedDiscountandDeferredFinanceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_38c0366b-627d-4466-b53f-2f9b759b0210" xlink:to="loc_mx_DebtInstrumentUnamortizedDiscountandDeferredFinanceCost_da6da0bc-332c-447d-8e20-68e7c1bea43d" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/LongtermdebtNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#LongtermdebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/LongtermdebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_ca6fcbcd-3dbe-4e31-aece-cd4894774226" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_ca6fcbcd-3dbe-4e31-aece-cd4894774226" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_ed2a99d6-8966-450d-8bd0-14b1959abdd1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable_ca6fcbcd-3dbe-4e31-aece-cd4894774226" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_ed2a99d6-8966-450d-8bd0-14b1959abdd1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_ed2a99d6-8966-450d-8bd0-14b1959abdd1_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_ed2a99d6-8966-450d-8bd0-14b1959abdd1" xlink:to="loc_ifrs-full_BorrowingsByNameMember_ed2a99d6-8966-450d-8bd0-14b1959abdd1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_f00f77b8-0382-4966-aa2f-cd875382b86b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_ed2a99d6-8966-450d-8bd0-14b1959abdd1" xlink:to="loc_ifrs-full_BorrowingsByNameMember_f00f77b8-0382-4966-aa2f-cd875382b86b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RevolvingCreditFacility1Member_d6c52718-1374-4489-9a2b-36b7de30dd21" xlink:href="mx-20231231.xsd#mx_RevolvingCreditFacility1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_f00f77b8-0382-4966-aa2f-cd875382b86b" xlink:to="loc_mx_RevolvingCreditFacility1Member_d6c52718-1374-4489-9a2b-36b7de30dd21" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_G3ConstructionFacilityMember_1da98b34-9130-45f2-b5c7-1d09d8b120e2" xlink:href="mx-20231231.xsd#mx_G3ConstructionFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_f00f77b8-0382-4966-aa2f-cd875382b86b" xlink:to="loc_mx_G3ConstructionFacilityMember_1da98b34-9130-45f2-b5c7-1d09d8b120e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AmortizationOfDebtIssuanceCosts_c6c763fb-70f6-44b9-93bb-4bc98166f52e" xlink:href="mx-20231231.xsd#mx_AmortizationOfDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_AmortizationOfDebtIssuanceCosts_c6c763fb-70f6-44b9-93bb-4bc98166f52e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UndrawnBorrowingFacilities_9e014124-40d8-4eb0-8322-3954ade95054" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UndrawnBorrowingFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_ifrs-full_UndrawnBorrowingFacilities_9e014124-40d8-4eb0-8322-3954ade95054" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DebtInstrumentCovenantEBITDAToInterestCoverageRatio_81e92aa0-f153-41e8-ab22-8aec7583af4f" xlink:href="mx-20231231.xsd#mx_DebtInstrumentCovenantEBITDAToInterestCoverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_DebtInstrumentCovenantEBITDAToInterestCoverageRatio_81e92aa0-f153-41e8-ab22-8aec7583af4f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DebtInstrumentCovenantDebtToCapitalizationRatio_5ff9af3a-828a-4d36-be1e-3b4694946953" xlink:href="mx-20231231.xsd#mx_DebtInstrumentCovenantDebtToCapitalizationRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_DebtInstrumentCovenantDebtToCapitalizationRatio_5ff9af3a-828a-4d36-be1e-3b4694946953" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DebtDefaultAcceleratedByCreditorLongTermDebtAmount_ea241a00-e658-4020-8870-ca93e8c3e1a8" xlink:href="mx-20231231.xsd#mx_DebtDefaultAcceleratedByCreditorLongTermDebtAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_DebtDefaultAcceleratedByCreditorLongTermDebtAmount_ea241a00-e658-4020-8870-ca93e8c3e1a8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DebtDefaultCreditorIsPermittedToDemandRepaymentLongTermDebtAmount_27127582-fc8f-4d85-97de-4228f6ac4aeb" xlink:href="mx-20231231.xsd#mx_DebtDefaultCreditorIsPermittedToDemandRepaymentLongTermDebtAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_DebtDefaultCreditorIsPermittedToDemandRepaymentLongTermDebtAmount_27127582-fc8f-4d85-97de-4228f6ac4aeb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_CancellationOfBorrowingFacilities_3955eabc-2832-46fe-b69a-f806e4c336b8" xlink:href="mx-20231231.xsd#mx_CancellationOfBorrowingFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems_60bf093f-12f0-40fd-9d9e-abbcaf4b862e" xlink:to="loc_mx_CancellationOfBorrowingFacilities_3955eabc-2832-46fe-b69a-f806e4c336b8" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/LongtermdebtMaturityDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#LongtermdebtMaturityDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/LongtermdebtMaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems_a9981311-fa7b-44e6-be36-19339c61ab45" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable_a18d69b7-0acb-4099-bdd7-c7b8ab4c6d7d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems_a9981311-fa7b-44e6-be36-19339c61ab45" xlink:to="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable_a18d69b7-0acb-4099-bdd7-c7b8ab4c6d7d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_d26cb5ed-01e3-4529-bb26-f32d11ce5318" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable_a18d69b7-0acb-4099-bdd7-c7b8ab4c6d7d" xlink:to="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_d26cb5ed-01e3-4529-bb26-f32d11ce5318" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_d26cb5ed-01e3-4529-bb26-f32d11ce5318_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_d26cb5ed-01e3-4529-bb26-f32d11ce5318" xlink:to="loc_ifrs-full_CarryingAmountMember_d26cb5ed-01e3-4529-bb26-f32d11ce5318_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CarryingAmountMember_1ad48fc9-4e3d-4cb6-b02a-d43e5edfe078" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_d26cb5ed-01e3-4529-bb26-f32d11ce5318" xlink:to="loc_ifrs-full_CarryingAmountMember_1ad48fc9-4e3d-4cb6-b02a-d43e5edfe078" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GrossCarryingAmountMember_476b7aae-ba13-45e5-96ba-ac091c3402a3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GrossCarryingAmountMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CarryingAmountMember_1ad48fc9-4e3d-4cb6-b02a-d43e5edfe078" xlink:to="loc_ifrs-full_GrossCarryingAmountMember_476b7aae-ba13-45e5-96ba-ac091c3402a3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable_a18d69b7-0acb-4099-bdd7-c7b8ab4c6d7d" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6" xlink:to="loc_ifrs-full_BorrowingsByNameMember_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_f91e5f45-7f94-4281-94b9-b87e0f29f886" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_f50bcd9a-2fa3-4739-a1e2-a6a89adc95c6" xlink:to="loc_ifrs-full_BorrowingsByNameMember_f91e5f45-7f94-4281-94b9-b87e0f29f886" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_3a2bacc2-489d-4d70-a9e1-aa8d1a83213d" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_f91e5f45-7f94-4281-94b9-b87e0f29f886" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_3a2bacc2-489d-4d70-a9e1-aa8d1a83213d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt1Member_25513ff7-82e8-4b21-aaec-910e62bfdac6" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_f91e5f45-7f94-4281-94b9-b87e0f29f886" xlink:to="loc_mx_UnsecuredDebt1Member_25513ff7-82e8-4b21-aaec-910e62bfdac6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_9233fb23-321d-492e-b162-9259dd018d68" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesTable_a18d69b7-0acb-4099-bdd7-c7b8ab4c6d7d" xlink:to="loc_ifrs-full_MaturityAxis_9233fb23-321d-492e-b162-9259dd018d68" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_9233fb23-321d-492e-b162-9259dd018d68_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_9233fb23-321d-492e-b162-9259dd018d68" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_9233fb23-321d-492e-b162-9259dd018d68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_9233fb23-321d-492e-b162-9259dd018d68" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_b4868389-e265-400a-a744-f9e55d071f71" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_b4868389-e265-400a-a744-f9e55d071f71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_5f355c93-a944-4a19-9e32-b55affccd04d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_5f355c93-a944-4a19-9e32-b55affccd04d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_9c261773-61a0-41c3-852e-127266a75e0e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_9c261773-61a0-41c3-852e-127266a75e0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_74917bd2-240e-4be1-9c6d-f86f491de382" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_74917bd2-240e-4be1-9c6d-f86f491de382" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_4e0e65e1-bfb3-43a7-a12c-606acaf15968" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_4e0e65e1-bfb3-43a7-a12c-606acaf15968" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_5e27078b-6e5a-45c6-9878-2ec46e825a09" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_133afa01-f2b7-4daa-b808-6667bc5ca72c" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_5e27078b-6e5a-45c6-9878-2ec46e825a09" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Borrowings_0aa92aab-ed55-4997-b216-f5ab46bc544c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Borrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems_a9981311-fa7b-44e6-be36-19339c61ab45" xlink:to="loc_ifrs-full_Borrowings_0aa92aab-ed55-4997-b216-f5ab46bc544c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/LeaseobligationsLeasepaymentsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#LeaseobligationsLeasepaymentsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/LeaseobligationsLeasepaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems_2ed12ad9-bc34-408b-ad15-29c46b93ae86" xlink:href="mx-20231231.xsd#mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsTable_1b240609-367a-41da-acda-c024298cf677" xlink:href="mx-20231231.xsd#mx_DisclosureOfMaturityAnalysisOfLeasePaymentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems_2ed12ad9-bc34-408b-ad15-29c46b93ae86" xlink:to="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsTable_1b240609-367a-41da-acda-c024298cf677" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_ea439d07-08c3-45ac-9226-297456bbda5f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsTable_1b240609-367a-41da-acda-c024298cf677" xlink:to="loc_ifrs-full_MaturityAxis_ea439d07-08c3-45ac-9226-297456bbda5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_ea439d07-08c3-45ac-9226-297456bbda5f_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_ea439d07-08c3-45ac-9226-297456bbda5f" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_ea439d07-08c3-45ac-9226-297456bbda5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_ea439d07-08c3-45ac-9226-297456bbda5f" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_6983717e-1fe6-4c7b-b30d-070647df7524" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_6983717e-1fe6-4c7b-b30d-070647df7524" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_433a8260-ff25-4c76-8d6b-392f01251b4f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_433a8260-ff25-4c76-8d6b-392f01251b4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_8c8c4628-114f-4bbd-ad67-5bd3d9198d5a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_8c8c4628-114f-4bbd-ad67-5bd3d9198d5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_fca1cc4a-4cd4-4ac7-b037-7c79089d3f43" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_fca1cc4a-4cd4-4ac7-b037-7c79089d3f43" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_1d45d889-a706-47db-9c9a-a70a6697534d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_1d45d889-a706-47db-9c9a-a70a6697534d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_ab16a487-aa20-4d04-bb5b-1939016a0c84" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_3af8b7a0-fd9b-4461-a5e8-f14bbddde65c" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_ab16a487-aa20-4d04-bb5b-1939016a0c84" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UndiscountedLeasePaymentsDue_e9ba0504-aba2-43a9-8fba-5424c67180e8" xlink:href="mx-20231231.xsd#mx_UndiscountedLeasePaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems_2ed12ad9-bc34-408b-ad15-29c46b93ae86" xlink:to="loc_mx_UndiscountedLeasePaymentsDue_e9ba0504-aba2-43a9-8fba-5424c67180e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinanceLeaseLiabilityUndiscountedExcessAmount1_bbee024f-bc66-439e-8661-74acaf5c074d" xlink:href="mx-20231231.xsd#mx_FinanceLeaseLiabilityUndiscountedExcessAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems_2ed12ad9-bc34-408b-ad15-29c46b93ae86" xlink:to="loc_mx_FinanceLeaseLiabilityUndiscountedExcessAmount1_bbee024f-bc66-439e-8661-74acaf5c074d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinanceLeaseLiabilityPaymentDue1_6ece80a4-d949-4f18-8a4b-386e55464e95" xlink:href="mx-20231231.xsd#mx_FinanceLeaseLiabilityPaymentDue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfMaturityAnalysisOfLeasePaymentsLineItems_2ed12ad9-bc34-408b-ad15-29c46b93ae86" xlink:to="loc_mx_FinanceLeaseLiabilityPaymentDue1_6ece80a4-d949-4f18-8a4b-386e55464e95" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/LeaseobligationsExtensionoptionsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#LeaseobligationsExtensionoptionsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/LeaseobligationsExtensionoptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureofFinanceLeasesLineItems_a6b727d3-8647-4bef-a74a-ab4ec45f2ecc" xlink:href="mx-20231231.xsd#mx_DisclosureofFinanceLeasesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureofFinanceLeasesTable_f13f2128-69e6-48f8-a381-4a3b075ca5d5" xlink:href="mx-20231231.xsd#mx_DisclosureofFinanceLeasesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureofFinanceLeasesLineItems_a6b727d3-8647-4bef-a74a-ab4ec45f2ecc" xlink:to="loc_mx_DisclosureofFinanceLeasesTable_f13f2128-69e6-48f8-a381-4a3b075ca5d5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TypeofLeasedPropertyAxis_ced2dcc0-0181-43c9-8bd7-a4611a4a296b" xlink:href="mx-20231231.xsd#mx_TypeofLeasedPropertyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureofFinanceLeasesTable_f13f2128-69e6-48f8-a381-4a3b075ca5d5" xlink:to="loc_mx_TypeofLeasedPropertyAxis_ced2dcc0-0181-43c9-8bd7-a4611a4a296b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TypeofLeasedPropertyDomain_ced2dcc0-0181-43c9-8bd7-a4611a4a296b_default" xlink:href="mx-20231231.xsd#mx_TypeofLeasedPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_TypeofLeasedPropertyAxis_ced2dcc0-0181-43c9-8bd7-a4611a4a296b" xlink:to="loc_mx_TypeofLeasedPropertyDomain_ced2dcc0-0181-43c9-8bd7-a4611a4a296b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TypeofLeasedPropertyDomain_c33e7b2f-7410-4691-a579-ebef361ec053" xlink:href="mx-20231231.xsd#mx_TypeofLeasedPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_TypeofLeasedPropertyAxis_ced2dcc0-0181-43c9-8bd7-a4611a4a296b" xlink:to="loc_mx_TypeofLeasedPropertyDomain_c33e7b2f-7410-4691-a579-ebef361ec053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_VesselsMember_467a320c-76b3-428f-a8a4-92acbbe83b18" xlink:href="mx-20231231.xsd#mx_VesselsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TypeofLeasedPropertyDomain_c33e7b2f-7410-4691-a579-ebef361ec053" xlink:to="loc_mx_VesselsMember_467a320c-76b3-428f-a8a4-92acbbe83b18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TerminalsAndTanksMember_ac349642-64da-450d-8f8e-57ce59aee11a" xlink:href="mx-20231231.xsd#mx_TerminalsAndTanksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TypeofLeasedPropertyDomain_c33e7b2f-7410-4691-a579-ebef361ec053" xlink:to="loc_mx_TerminalsAndTanksMember_ac349642-64da-450d-8f8e-57ce59aee11a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLeasedPropertyMember_a33368a6-8b26-4791-90ae-6db06f67aff7" xlink:href="mx-20231231.xsd#mx_OtherLeasedPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TypeofLeasedPropertyDomain_c33e7b2f-7410-4691-a579-ebef361ec053" xlink:to="loc_mx_OtherLeasedPropertyMember_a33368a6-8b26-4791-90ae-6db06f67aff7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinanceLeaseLiabilityPaymentDue1_bb36578f-9086-4483-8d33-95da1d2b54b4" xlink:href="mx-20231231.xsd#mx_FinanceLeaseLiabilityPaymentDue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureofFinanceLeasesLineItems_a6b727d3-8647-4bef-a74a-ab4ec45f2ecc" xlink:to="loc_mx_FinanceLeaseLiabilityPaymentDue1_bb36578f-9086-4483-8d33-95da1d2b54b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LesseeFinanceLeaseOptiontoExtendAmount_50953631-5ac6-42d8-b8ac-432cb574eef1" xlink:href="mx-20231231.xsd#mx_LesseeFinanceLeaseOptiontoExtendAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureofFinanceLeasesLineItems_a6b727d3-8647-4bef-a74a-ab4ec45f2ecc" xlink:to="loc_mx_LesseeFinanceLeaseOptiontoExtendAmount_50953631-5ac6-42d8-b8ac-432cb574eef1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/OtherlongtermliabilitiesProvisionforsiterestorationcostsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#OtherlongtermliabilitiesProvisionforsiterestorationcostsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/OtherlongtermliabilitiesProvisionforsiterestorationcostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_4a922933-bf49-4e75-b05b-f084b03e2937" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfOtherProvisionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherProvisionsTable_ce94c033-8978-46ec-aec7-c61a1718d6ac" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfOtherProvisionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_4a922933-bf49-4e75-b05b-f084b03e2937" xlink:to="loc_ifrs-full_DisclosureOfOtherProvisionsTable_ce94c033-8978-46ec-aec7-c61a1718d6ac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfProvisionsAxis_25724b62-ef37-4365-9955-8faf9c35ac8e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfProvisionsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsTable_ce94c033-8978-46ec-aec7-c61a1718d6ac" xlink:to="loc_ifrs-full_ClassesOfProvisionsAxis_25724b62-ef37-4365-9955-8faf9c35ac8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisionsMember_25724b62-ef37-4365-9955-8faf9c35ac8e_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfProvisionsAxis_25724b62-ef37-4365-9955-8faf9c35ac8e" xlink:to="loc_ifrs-full_OtherProvisionsMember_25724b62-ef37-4365-9955-8faf9c35ac8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisionsMember_fae3c390-e4cb-4eba-99b7-49982034cdb3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfProvisionsAxis_25724b62-ef37-4365-9955-8faf9c35ac8e" xlink:to="loc_ifrs-full_OtherProvisionsMember_fae3c390-e4cb-4eba-99b7-49982034cdb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProvisionForDecommissioningRestorationAndRehabilitationCostsMember_4a985e95-94ed-4e73-9656-6c863dd30a83" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProvisionForDecommissioningRestorationAndRehabilitationCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_OtherProvisionsMember_fae3c390-e4cb-4eba-99b7-49982034cdb3" xlink:to="loc_ifrs-full_ProvisionForDecommissioningRestorationAndRehabilitationCostsMember_4a985e95-94ed-4e73-9656-6c863dd30a83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract_909560d1-6ea7-4e5a-ac5c-604239c23886" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_4a922933-bf49-4e75-b05b-f084b03e2937" xlink:to="loc_ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract_909560d1-6ea7-4e5a-ac5c-604239c23886" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisions_dc51922d-3523-42e1-beed-4b84a532f095" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract_909560d1-6ea7-4e5a-ac5c-604239c23886" xlink:to="loc_ifrs-full_OtherProvisions_dc51922d-3523-42e1-beed-4b84a532f095" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_NewOrRevisedOtherProvisions_82c5573b-a176-4095-af91-de5decfa7157" xlink:href="mx-20231231.xsd#mx_NewOrRevisedOtherProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract_909560d1-6ea7-4e5a-ac5c-604239c23886" xlink:to="loc_mx_NewOrRevisedOtherProvisions_82c5573b-a176-4095-af91-de5decfa7157" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions_93e6b2e7-36fd-404e-9380-ee7ef698fe8b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ReconciliationOfChangesInOtherProvisionsAbstract_909560d1-6ea7-4e5a-ac5c-604239c23886" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions_93e6b2e7-36fd-404e-9380-ee7ef698fe8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisions_c9f39c66-671b-4cfe-a81e-ff910c740ed5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisions"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/ExpensesNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#ExpensesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/ExpensesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpensesLineItems_66a950e9-57b0-42c7-b4e3-12c1d0d8598c" xlink:href="mx-20231231.xsd#mx_ExpensesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpensesTable_81a7aed6-8ac3-45ed-85c8-f03e9114f4a7" xlink:href="mx-20231231.xsd#mx_ExpensesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_ExpensesLineItems_66a950e9-57b0-42c7-b4e3-12c1d0d8598c" xlink:to="loc_mx_ExpensesTable_81a7aed6-8ac3-45ed-85c8-f03e9114f4a7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_1430583b-c752-48f7-81a9-502992ba25fb" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_ExpensesTable_81a7aed6-8ac3-45ed-85c8-f03e9114f4a7" xlink:to="loc_dei_LegalEntityAxis_1430583b-c752-48f7-81a9-502992ba25fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_1430583b-c752-48f7-81a9-502992ba25fb_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_1430583b-c752-48f7-81a9-502992ba25fb" xlink:to="loc_dei_EntityDomain_1430583b-c752-48f7-81a9-502992ba25fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_c6cca6f1-1610-4fc7-8f80-f48a3f07e156" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_1430583b-c752-48f7-81a9-502992ba25fb" xlink:to="loc_dei_EntityDomain_c6cca6f1-1610-4fc7-8f80-f48a3f07e156" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_6278e9a7-00f7-46c1-88f1-e0462398e39e" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_c6cca6f1-1610-4fc7-8f80-f48a3f07e156" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_6278e9a7-00f7-46c1-88f1-e0462398e39e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AdjustmentsForSharebasedPayments_9e9ca4cb-159e-432a-aba2-c47f4e1683ba" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AdjustmentsForSharebasedPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_ExpensesLineItems_66a950e9-57b0-42c7-b4e3-12c1d0d8598c" xlink:to="loc_ifrs-full_AdjustmentsForSharebasedPayments_9e9ca4cb-159e-432a-aba2-c47f4e1683ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_c5294873-52cd-4bf8-9491-ab116e70afbc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_ExpensesLineItems_66a950e9-57b0-42c7-b4e3-12c1d0d8598c" xlink:to="loc_ifrs-full_Revenue_c5294873-52cd-4bf8-9491-ab116e70afbc" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SharebasedcompensationNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SharebasedcompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SharebasedcompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_58cca6c1-b3b9-4a58-89cd-610d2c95d507" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_58cca6c1-b3b9-4a58-89cd-610d2c95d507" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_58cca6c1-b3b9-4a58-89cd-610d2c95d507" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_5a5b6ad4-07e1-4e7d-998b-6ee1d727f8d6" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember_c754a023-08a3-4631-a93e-ee5a5151012b" xlink:href="mx-20231231.xsd#mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:to="loc_mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember_c754a023-08a3-4631-a93e-ee5a5151012b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PerformanceShareUnitsPSUNewPlanMember_6a092c71-014b-4dbb-96de-d0a64b412a29" xlink:href="mx-20231231.xsd#mx_PerformanceShareUnitsPSUNewPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:to="loc_mx_PerformanceShareUnitsPSUNewPlanMember_6a092c71-014b-4dbb-96de-d0a64b412a29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DeferredShareUnitsDSURestrictedShareUnitsRSUAndPerformanceShareUnitsPSUMember_3a9123eb-a244-4aaf-8a88-b4eeca4690a5" xlink:href="mx-20231231.xsd#mx_DeferredShareUnitsDSURestrictedShareUnitsRSUAndPerformanceShareUnitsPSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:to="loc_mx_DeferredShareUnitsDSURestrictedShareUnitsRSUAndPerformanceShareUnitsPSUMember_3a9123eb-a244-4aaf-8a88-b4eeca4690a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PerformanceShares1Member_622bd9fa-bbe1-4c62-b8da-9e76fe8bf2de" xlink:href="mx-20231231.xsd#mx_PerformanceShares1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_ec8446a9-0cac-4bc7-8626-6852c155cd35" xlink:to="loc_mx_PerformanceShares1Member_622bd9fa-bbe1-4c62-b8da-9e76fe8bf2de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_5264ea77-4248-47b8-ab76-c8c5dd69b0e1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_58cca6c1-b3b9-4a58-89cd-610d2c95d507" xlink:to="loc_ifrs-full_RangeAxis_5264ea77-4248-47b8-ab76-c8c5dd69b0e1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_5264ea77-4248-47b8-ab76-c8c5dd69b0e1_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_5264ea77-4248-47b8-ab76-c8c5dd69b0e1" xlink:to="loc_ifrs-full_RangesMember_5264ea77-4248-47b8-ab76-c8c5dd69b0e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_867c973a-06d2-4b16-b055-b50b52d9bd97" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_5264ea77-4248-47b8-ab76-c8c5dd69b0e1" xlink:to="loc_ifrs-full_RangesMember_867c973a-06d2-4b16-b055-b50b52d9bd97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BottomOfRangeMember_49c7577f-8f0c-44fe-bfd3-450939e98150" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BottomOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_867c973a-06d2-4b16-b055-b50b52d9bd97" xlink:to="loc_ifrs-full_BottomOfRangeMember_49c7577f-8f0c-44fe-bfd3-450939e98150" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_ce1c821e-5781-45f9-8ce8-0c41d5ef6550" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_867c973a-06d2-4b16-b055-b50b52d9bd97" xlink:to="loc_ifrs-full_TopOfRangeMember_ce1c821e-5781-45f9-8ce8-0c41d5ef6550" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares_5bbc874a-6eba-4550-a518-cc583a86196f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares_5bbc874a-6eba-4550-a518-cc583a86196f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod_258b34b3-fb4f-48b4-9c7a-b40604afcf30" xlink:href="mx-20231231.xsd#mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_VestingRequirementsForShareBasedPaymentArrangementVestingPeriod_258b34b3-fb4f-48b4-9c7a-b40604afcf30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_VestingRate_eda49cf1-1a86-40d8-b535-56338f1d85e9" xlink:href="mx-20231231.xsd#mx_VestingRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_VestingRate_eda49cf1-1a86-40d8-b535-56338f1d85e9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FairValueOfSharesFromShareBasedPaymentTransactions_5db7cb64-06a2-4149-a70c-1384939efcaa" xlink:href="mx-20231231.xsd#mx_FairValueOfSharesFromShareBasedPaymentTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_FairValueOfSharesFromShareBasedPaymentTransactions_5db7cb64-06a2-4149-a70c-1384939efcaa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesFromSharebasedPaymentTransactions2011_83e6c887-338c-4116-9198-204e3c87261f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesFromSharebasedPaymentTransactions2011"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_ifrs-full_LiabilitiesFromSharebasedPaymentTransactions2011_83e6c887-338c-4116-9198-204e3c87261f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IntrinsicValueOfLiabilitiesFromSharebasedPaymentTransactionsForWhichCounterpartysRightToCashOrOtherAssetsVested2011_0bf58090-7ab1-4f41-b02f-c15971ff8ca7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IntrinsicValueOfLiabilitiesFromSharebasedPaymentTransactionsForWhichCounterpartysRightToCashOrOtherAssetsVested2011"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_ifrs-full_IntrinsicValueOfLiabilitiesFromSharebasedPaymentTransactionsForWhichCounterpartysRightToCashOrOtherAssetsVested2011_0bf58090-7ab1-4f41-b02f-c15971ff8ca7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition2_0d809754-4d46-4e58-878d-9f3d5d662a46" xlink:href="mx-20231231.xsd#mx_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition2_0d809754-4d46-4e58-878d-9f3d5d662a46" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees_e634b832-6761-4e3b-8a44-4a2f63e2bd4e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_ifrs-full_ExpenseFromSharebasedPaymentTransactionsWithEmployees_e634b832-6761-4e3b-8a44-4a2f63e2bd4e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpenseRecoveryFromShareBasedPaymentTransactionsWithEmployeesEffectOfChangeInSharePrice_d0f6f2ba-ae34-4adf-89e8-5cf31a0b3560" xlink:href="mx-20231231.xsd#mx_ExpenseRecoveryFromShareBasedPaymentTransactionsWithEmployeesEffectOfChangeInSharePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_ExpenseRecoveryFromShareBasedPaymentTransactionsWithEmployeesEffectOfChangeInSharePrice_d0f6f2ba-ae34-4adf-89e8-5cf31a0b3560" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors_f5a9c654-37d8-45a0-80f9-4e483dc05777" xlink:href="mx-20231231.xsd#mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfPerformanceFactors_f5a9c654-37d8-45a0-80f9-4e483dc05777" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod_d6966082-458f-4830-9722-a788c23d5b66" xlink:href="mx-20231231.xsd#mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_ShareBasedCompensationArrangementByShareBasedPaymentAwardReturnOnCapitalEmployedAveragePeriod_d6966082-458f-4830-9722-a788c23d5b66" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1_fde33c13-d744-458e-ba75-858490366603" xlink:href="mx-20231231.xsd#mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_83dbe489-4d91-4231-9594-2e8b07c8993b" xlink:to="loc_mx_SharebasedCompensationArrangementbySharebasedPaymentAwardAwardVestingRightsPercentage1_fde33c13-d744-458e-ba75-858490366603" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SharebasedcompensationChangesinSARsandTSARsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SharebasedcompensationChangesinSARsandTSARsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SharebasedcompensationChangesinSARsandTSARsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_a28f5989-d428-4599-bc5e-c56142c4d7a4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_a28f5989-d428-4599-bc5e-c56142c4d7a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_20102e4e-e6e0-47e0-8410-93c48c6d295c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_a28f5989-d428-4599-bc5e-c56142c4d7a4" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_20102e4e-e6e0-47e0-8410-93c48c6d295c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_20102e4e-e6e0-47e0-8410-93c48c6d295c_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_20102e4e-e6e0-47e0-8410-93c48c6d295c" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_20102e4e-e6e0-47e0-8410-93c48c6d295c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_8f7f1684-7453-4d89-a6e4-a653fd805ea3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_20102e4e-e6e0-47e0-8410-93c48c6d295c" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_8f7f1684-7453-4d89-a6e4-a653fd805ea3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareAppreciationRightsSARMember_a8ce6eb7-53c9-4df4-828b-c8219458c81c" xlink:href="mx-20231231.xsd#mx_ShareAppreciationRightsSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_8f7f1684-7453-4d89-a6e4-a653fd805ea3" xlink:to="loc_mx_ShareAppreciationRightsSARMember_a8ce6eb7-53c9-4df4-828b-c8219458c81c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TandemShareAppreciationRightsTSARMember_adb9f65d-abd3-4c71-ba3c-b5c92a635e77" xlink:href="mx-20231231.xsd#mx_TandemShareAppreciationRightsTSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_8f7f1684-7453-4d89-a6e4-a653fd805ea3" xlink:to="loc_mx_TandemShareAppreciationRightsTSARMember_adb9f65d-abd3-4c71-ba3c-b5c92a635e77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_824acaea-86e2-4ac5-a6fd-edfd167333c4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_824acaea-86e2-4ac5-a6fd-edfd167333c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted_0acbab1f-f114-4446-9e22-07ff9447bf94" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted_0acbab1f-f114-4446-9e22-07ff9447bf94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement_131d7774-4ba8-44d5-a1e3-91b4c013c10b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement_131d7774-4ba8-44d5-a1e3-91b4c013c10b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement_c9ab677a-cba4-48c6-9278-e092c8d27165" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement_c9ab677a-cba4-48c6-9278-e092c8d27165" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement_d22eb670-7dfd-4031-b974-58a35829cb9f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement_d22eb670-7dfd-4031-b974-58a35829cb9f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_debe8484-4c15-4df7-9764-1150cd5ddaa6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019_513929f9-b212-4285-be2e-8820e73b7f6b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019_513929f9-b212-4285-be2e-8820e73b7f6b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019_2cd5c51e-684f-496d-a0d2-f165ab86fc3d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019_2cd5c51e-684f-496d-a0d2-f165ab86fc3d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement2019_1f34458b-9ab4-43c2-9e18-d96e046e27b4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement2019_1f34458b-9ab4-43c2-9e18-d96e046e27b4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement2019_fc1e78b6-42d7-4f02-8bd5-cfab6cddc738" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement2019_fc1e78b6-42d7-4f02-8bd5-cfab6cddc738" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement2019_917fed96-e2f6-402d-a25b-05368814b8a2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_bd93a23f-e52a-4d80-97d5-545408c8567a" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement2019_917fed96-e2f6-402d-a25b-05368814b8a2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019_d4ee2efc-f5b7-46bd-8bd8-3f4c0d996207" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SharebasedcompensationRangeofexercisepricesinSARsandTSARsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SharebasedcompensationRangeofexercisepricesinSARsandTSARsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SharebasedcompensationRangeofexercisepricesinSARsandTSARsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_40682895-f423-492c-9213-0d07840e4998" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_40682895-f423-492c-9213-0d07840e4998" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_741b834c-6bc2-4c83-95ca-1efb3ed2a834" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_40682895-f423-492c-9213-0d07840e4998" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_741b834c-6bc2-4c83-95ca-1efb3ed2a834" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_741b834c-6bc2-4c83-95ca-1efb3ed2a834_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_741b834c-6bc2-4c83-95ca-1efb3ed2a834" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_741b834c-6bc2-4c83-95ca-1efb3ed2a834_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_77476c6d-25aa-4159-9ee2-3f5f8f1fa5ae" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_741b834c-6bc2-4c83-95ca-1efb3ed2a834" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_77476c6d-25aa-4159-9ee2-3f5f8f1fa5ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareAppreciationRightsSARMember_c6eb6f6d-326b-46cb-befc-31c42e99eff6" xlink:href="mx-20231231.xsd#mx_ShareAppreciationRightsSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_77476c6d-25aa-4159-9ee2-3f5f8f1fa5ae" xlink:to="loc_mx_ShareAppreciationRightsSARMember_c6eb6f6d-326b-46cb-befc-31c42e99eff6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TandemShareAppreciationRightsTSARMember_fded0543-5a9f-444a-85b1-64fcfa11169a" xlink:href="mx-20231231.xsd#mx_TandemShareAppreciationRightsTSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_77476c6d-25aa-4159-9ee2-3f5f8f1fa5ae" xlink:to="loc_mx_TandemShareAppreciationRightsTSARMember_fded0543-5a9f-444a-85b1-64fcfa11169a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsAxis_39b6c1f4-99c1-4077-8dc2-02bae4d7f790" xlink:href="mx-20231231.xsd#mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_40682895-f423-492c-9213-0d07840e4998" xlink:to="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsAxis_39b6c1f4-99c1-4077-8dc2-02bae4d7f790" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_39b6c1f4-99c1-4077-8dc2-02bae4d7f790_default" xlink:href="mx-20231231.xsd#mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsAxis_39b6c1f4-99c1-4077-8dc2-02bae4d7f790" xlink:to="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_39b6c1f4-99c1-4077-8dc2-02bae4d7f790_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_d6a0abe4-0fa3-4654-87d1-1ef0c1320b25" xlink:href="mx-20231231.xsd#mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsAxis_39b6c1f4-99c1-4077-8dc2-02bae4d7f790" xlink:to="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_d6a0abe4-0fa3-4654-87d1-1ef0c1320b25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExercisePriceRangeOneMember_935716ef-8e57-45ab-a4ac-c4f58c2d9bd0" xlink:href="mx-20231231.xsd#mx_ExercisePriceRangeOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_d6a0abe4-0fa3-4654-87d1-1ef0c1320b25" xlink:to="loc_mx_ExercisePriceRangeOneMember_935716ef-8e57-45ab-a4ac-c4f58c2d9bd0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExercisePriceRangeTwoMember_87685620-e203-4461-915e-6e6c4edaf1a3" xlink:href="mx-20231231.xsd#mx_ExercisePriceRangeTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_d6a0abe4-0fa3-4654-87d1-1ef0c1320b25" xlink:to="loc_mx_ExercisePriceRangeTwoMember_87685620-e203-4461-915e-6e6c4edaf1a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExercisePriceRangeThreeMember_de248f4a-274f-4e0c-bd87-aa97f6f02f65" xlink:href="mx-20231231.xsd#mx_ExercisePriceRangeThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RangesOfExercisePricesForOutstandingOtherEquityInstrumentsDomain_d6a0abe4-0fa3-4654-87d1-1ef0c1320b25" xlink:to="loc_mx_ExercisePriceRangeThreeMember_de248f4a-274f-4e0c-bd87-aa97f6f02f65" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_8cf41aa2-6265-4194-9c32-af0164b9633d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_40682895-f423-492c-9213-0d07840e4998" xlink:to="loc_ifrs-full_RangeAxis_8cf41aa2-6265-4194-9c32-af0164b9633d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_8cf41aa2-6265-4194-9c32-af0164b9633d_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_8cf41aa2-6265-4194-9c32-af0164b9633d" xlink:to="loc_ifrs-full_RangesMember_8cf41aa2-6265-4194-9c32-af0164b9633d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_233237e7-f1d3-44bd-97f6-68cc98ec68ad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_8cf41aa2-6265-4194-9c32-af0164b9633d" xlink:to="loc_ifrs-full_RangesMember_233237e7-f1d3-44bd-97f6-68cc98ec68ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BottomOfRangeMember_8499e4d7-602a-49bf-a2b2-e0d6bb5c1c9e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BottomOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_233237e7-f1d3-44bd-97f6-68cc98ec68ad" xlink:to="loc_ifrs-full_BottomOfRangeMember_8499e4d7-602a-49bf-a2b2-e0d6bb5c1c9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_2b716a53-7755-45fa-b89f-988f5a28ce9e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_233237e7-f1d3-44bd-97f6-68cc98ec68ad" xlink:to="loc_ifrs-full_TopOfRangeMember_2b716a53-7755-45fa-b89f-988f5a28ce9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WeightedAverageRemainingContractualLifeOfOutstandingOtherEquityInstruments_dfd2b0e2-4d5d-42a4-bdbf-c76dac060ecd" xlink:href="mx-20231231.xsd#mx_WeightedAverageRemainingContractualLifeOfOutstandingOtherEquityInstruments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_mx_WeightedAverageRemainingContractualLifeOfOutstandingOtherEquityInstruments_dfd2b0e2-4d5d-42a4-bdbf-c76dac060ecd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_c52a1dd9-334c-4a18-baf4-a2137f2134bf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_c52a1dd9-334c-4a18-baf4-a2137f2134bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019_d6b5f963-5d62-40a1-b291-a1bd863de4ac" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement2019_d6b5f963-5d62-40a1-b291-a1bd863de4ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement_619ca09a-017d-48a6-ad60-1c4108ff4430" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement_619ca09a-017d-48a6-ad60-1c4108ff4430" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement2019_6fa23ed5-01b8-409e-8247-7fe1c40055e1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_7602ec1f-be99-4e26-ab57-ac3a6bb8af23" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsExercisableInSharebasedPaymentArrangement2019_6fa23ed5-01b8-409e-8247-7fe1c40055e1" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SharebasedcompensationWeightedaverageassumptionsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SharebasedcompensationWeightedaverageassumptionsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SharebasedcompensationWeightedaverageassumptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_af8ee7ec-4b56-4638-9c03-f75dc0ccf3b0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_af8ee7ec-4b56-4638-9c03-f75dc0ccf3b0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_3db12b97-528c-4f86-8040-ead2ee51fc70" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_af8ee7ec-4b56-4638-9c03-f75dc0ccf3b0" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_3db12b97-528c-4f86-8040-ead2ee51fc70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_3db12b97-528c-4f86-8040-ead2ee51fc70_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_3db12b97-528c-4f86-8040-ead2ee51fc70" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_3db12b97-528c-4f86-8040-ead2ee51fc70_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_870f346e-6baa-496c-b649-dac94aa86ae9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_3db12b97-528c-4f86-8040-ead2ee51fc70" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_870f346e-6baa-496c-b649-dac94aa86ae9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember_7e56b2aa-9112-4c2e-af0f-32baac3a6737" xlink:href="mx-20231231.xsd#mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_870f346e-6baa-496c-b649-dac94aa86ae9" xlink:to="loc_mx_ShareAppreciationRightsSARAndTandemShareAppreciationRightsTSARMember_7e56b2aa-9112-4c2e-af0f-32baac3a6737" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RiskFreeInterestRateOtherEquityInstrumentsGranted_df7a98a2-06eb-4a3f-8f67-1250513a20c2" xlink:href="mx-20231231.xsd#mx_RiskFreeInterestRateOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_mx_RiskFreeInterestRateOtherEquityInstrumentsGranted_df7a98a2-06eb-4a3f-8f67-1250513a20c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpectedDividendAsPercentageOtherEquityInstrumentsGranted_c1e09eec-f7d8-4cdc-a460-00b69679e6c6" xlink:href="mx-20231231.xsd#mx_ExpectedDividendAsPercentageOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_mx_ExpectedDividendAsPercentageOtherEquityInstrumentsGranted_c1e09eec-f7d8-4cdc-a460-00b69679e6c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherEquityInstrumentsLifeOtherEquityInstrumentsGranted_9336ceb3-6474-487e-9fd3-30fb34fe0dea" xlink:href="mx-20231231.xsd#mx_OtherEquityInstrumentsLifeOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_mx_OtherEquityInstrumentsLifeOtherEquityInstrumentsGranted_9336ceb3-6474-487e-9fd3-30fb34fe0dea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpectedVolatilityOtherEquityInstrumentsGranted_b20f738a-f4f1-4149-8bdf-d6851104e96f" xlink:href="mx-20231231.xsd#mx_ExpectedVolatilityOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_mx_ExpectedVolatilityOtherEquityInstrumentsGranted_b20f738a-f4f1-4149-8bdf-d6851104e96f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ExpectedForfeitureAsPercentageOtherEquityInstrumentsGranted_e3eeccf3-8032-41e4-889e-78c3a8a6e7d4" xlink:href="mx-20231231.xsd#mx_ExpectedForfeitureAsPercentageOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_mx_ExpectedForfeitureAsPercentageOtherEquityInstrumentsGranted_e3eeccf3-8032-41e4-889e-78c3a8a6e7d4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019_cfe43480-e39d-44de-bb3c-b14df13e8029" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_0653d710-643e-432f-bf7e-c97b27e1626e" xlink:to="loc_ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019_cfe43480-e39d-44de-bb3c-b14df13e8029" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SharebasedcompensationChangesinotherequityinstrumentsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SharebasedcompensationChangesinotherequityinstrumentsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SharebasedcompensationChangesinotherequityinstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_41d13ae1-d46d-4683-a6cb-72cc4afb7d33" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_41d13ae1-d46d-4683-a6cb-72cc4afb7d33" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_a77838cc-66db-4696-b4fe-550e3e50aab7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfSharebasedPaymentArrangementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable_41d13ae1-d46d-4683-a6cb-72cc4afb7d33" xlink:to="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_a77838cc-66db-4696-b4fe-550e3e50aab7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_a77838cc-66db-4696-b4fe-550e3e50aab7_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_a77838cc-66db-4696-b4fe-550e3e50aab7" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_a77838cc-66db-4696-b4fe-550e3e50aab7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SharebasedPaymentArrangementsMember_9a57b2f6-5ac4-4bda-952a-5760630e82a5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SharebasedPaymentArrangementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfSharebasedPaymentArrangementsAxis_a77838cc-66db-4696-b4fe-550e3e50aab7" xlink:to="loc_ifrs-full_SharebasedPaymentArrangementsMember_9a57b2f6-5ac4-4bda-952a-5760630e82a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DeferredShareUnitsDSUMember_cb3e9bb4-777c-47fc-810d-1473b8bb306c" xlink:href="mx-20231231.xsd#mx_DeferredShareUnitsDSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_9a57b2f6-5ac4-4bda-952a-5760630e82a5" xlink:to="loc_mx_DeferredShareUnitsDSUMember_cb3e9bb4-777c-47fc-810d-1473b8bb306c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RestrictedShareUnitsRSUMember_fa8623a5-0cc8-4189-8037-1d979a07dfdb" xlink:href="mx-20231231.xsd#mx_RestrictedShareUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_9a57b2f6-5ac4-4bda-952a-5760630e82a5" xlink:to="loc_mx_RestrictedShareUnitsRSUMember_fa8623a5-0cc8-4189-8037-1d979a07dfdb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PerformanceShareUnitsPSUNewPlanMember_70b68044-aa94-4996-ab33-b65482582d8a" xlink:href="mx-20231231.xsd#mx_PerformanceShareUnitsPSUNewPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SharebasedPaymentArrangementsMember_9a57b2f6-5ac4-4bda-952a-5760630e82a5" xlink:to="loc_mx_PerformanceShareUnitsPSUNewPlanMember_70b68044-aa94-4996-ab33-b65482582d8a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_6a42e927-f1e5-428f-b738-1cb185f7973e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_6a42e927-f1e5-428f-b738-1cb185f7973e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted_e2fd0419-20ef-42ea-9ad6-f2f63dd3ee72" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted_e2fd0419-20ef-42ea-9ad6-f2f63dd3ee72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementAdjustedByPerformanceFactorOnRedemption_17898a88-d75e-46b2-b706-08dc7621246a" xlink:href="mx-20231231.xsd#mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementAdjustedByPerformanceFactorOnRedemption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementAdjustedByPerformanceFactorOnRedemption_17898a88-d75e-46b2-b706-08dc7621246a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementInLieuOfDividends_5f42ed10-a004-4101-ab6a-4ed0686fab75" xlink:href="mx-20231231.xsd#mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementInLieuOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_mx_NumberOfOtherEquityInstrumentsGrantedInShareBasedPaymentArrangementInLieuOfDividends_5f42ed10-a004-4101-ab6a-4ed0686fab75" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement_c8810d13-15ca-43cd-8b54-010e4e88d040" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement_c8810d13-15ca-43cd-8b54-010e4e88d040" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement_d1b20b3b-6619-4c4e-94a5-6425b799d11b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems_b85791e9-84c0-43b0-ba5c-65b3e0d5a0a0" xlink:to="loc_ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement_d1b20b3b-6619-4c4e-94a5-6425b799d11b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement_00e2961e-9d92-4534-8209-00fec08141cd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SegmentedinformationRevenueattributedtogeographiclocationDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SegmentedinformationRevenueattributedtogeographiclocationDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SegmentedinformationRevenueattributedtogeographiclocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_11bb9e6e-5db9-40dc-85c9-450a515f14a9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfGeographicalAreasLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeographicalAreasTable_d68fb7c5-74fb-470d-9bad-8916a9173583" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfGeographicalAreasTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_11bb9e6e-5db9-40dc-85c9-450a515f14a9" xlink:to="loc_ifrs-full_DisclosureOfGeographicalAreasTable_d68fb7c5-74fb-470d-9bad-8916a9173583" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasAxis_9c155493-fc3e-419a-be5a-b2ba182ddf00" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasTable_d68fb7c5-74fb-470d-9bad-8916a9173583" xlink:to="loc_ifrs-full_GeographicalAreasAxis_9c155493-fc3e-419a-be5a-b2ba182ddf00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_9c155493-fc3e-419a-be5a-b2ba182ddf00_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_GeographicalAreasAxis_9c155493-fc3e-419a-be5a-b2ba182ddf00" xlink:to="loc_ifrs-full_GeographicalAreasMember_9c155493-fc3e-419a-be5a-b2ba182ddf00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_GeographicalAreasAxis_9c155493-fc3e-419a-be5a-b2ba182ddf00" xlink:to="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CN_1bc33b39-39cd-4789-a13c-17ff53ae2e7d" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_country_CN_1bc33b39-39cd-4789-a13c-17ff53ae2e7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EuropeMember_8998fb0f-c06a-41d0-821e-94e31709dd83" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EuropeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_srt_EuropeMember_8998fb0f-c06a-41d0-821e-94e31709dd83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_03e82fd7-b607-4b26-8972-3d3437e10f76" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_country_US_03e82fd7-b607-4b26-8972-3d3437e10f76" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SouthAmericaMember_e71cab09-a83a-4f5a-b7b1-949c2ffd52ec" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SouthAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_srt_SouthAmericaMember_e71cab09-a83a-4f5a-b7b1-949c2ffd52ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_KR_78b19c6f-bbf1-4c73-b5cc-1498511efb3c" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_KR"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_country_KR_78b19c6f-bbf1-4c73-b5cc-1498511efb3c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OTHERASIAMember_c40fee4d-97da-49ad-941e-46813e406e07" xlink:href="mx-20231231.xsd#mx_OTHERASIAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_mx_OTHERASIAMember_c40fee4d-97da-49ad-941e-46813e406e07" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_84eeaf33-b17a-474d-8c9e-e6435a9da47b" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_cb932ff0-4439-4a5b-b88e-2de4ed78f613" xlink:to="loc_country_CA_84eeaf33-b17a-474d-8c9e-e6435a9da47b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_0229ecde-8513-4f4b-93fd-82afe59a190a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_11bb9e6e-5db9-40dc-85c9-450a515f14a9" xlink:to="loc_ifrs-full_Revenue_0229ecde-8513-4f4b-93fd-82afe59a190a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PercentageOfEntitysRevenue_93ec2e29-83d7-4a2d-8cc8-fd863987d5fc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PercentageOfEntitysRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_11bb9e6e-5db9-40dc-85c9-450a515f14a9" xlink:to="loc_ifrs-full_PercentageOfEntitysRevenue_93ec2e29-83d7-4a2d-8cc8-fd863987d5fc" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SegmentedinformationPropertyplantandequipmentnetDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SegmentedinformationPropertyplantandequipmentnetDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SegmentedinformationPropertyplantandequipmentnetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_42f9bee8-6273-430a-aebd-9aeb7e96a1ef" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfGeographicalAreasLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfGeographicalAreasTable_5ab12223-eace-4a14-ae33-c106a96ccc24" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfGeographicalAreasTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_42f9bee8-6273-430a-aebd-9aeb7e96a1ef" xlink:to="loc_ifrs-full_DisclosureOfGeographicalAreasTable_5ab12223-eace-4a14-ae33-c106a96ccc24" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasAxis_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasTable_5ab12223-eace-4a14-ae33-c106a96ccc24" xlink:to="loc_ifrs-full_GeographicalAreasAxis_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_GeographicalAreasAxis_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a" xlink:to="loc_ifrs-full_GeographicalAreasMember_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_GeographicalAreasAxis_6b96ce16-0fe1-4efa-84b5-74eb956a2f1a" xlink:to="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_a32d6fcd-3d2d-49d2-b11e-051426ae72da" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_US_a32d6fcd-3d2d-49d2-b11e-051426ae72da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_EG_c27b0d98-44e4-40fc-b6c1-ba7721636fad" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_EG"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_EG_c27b0d98-44e4-40fc-b6c1-ba7721636fad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_NZ_ead8ee3b-c408-4b94-9ab2-f4a8e6d5cb93" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_NZ"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_NZ_ead8ee3b-c408-4b94-9ab2-f4a8e6d5cb93" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_a22d2541-0e27-478e-aedf-f272f9a9bad1" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_CA_a22d2541-0e27-478e-aedf-f272f9a9bad1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CL_1a577666-23ca-4bee-b3c6-82e3756a1fc5" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_CL_1a577666-23ca-4bee-b3c6-82e3756a1fc5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TT_1926dc72-c676-4061-9554-3121e255fbf0" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_TT"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_country_TT_1926dc72-c676-4061-9554-3121e255fbf0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingMember_d10d8c14-40fd-4ddd-b699-8fad25b97fa0" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_mx_WaterfrontShippingMember_d10d8c14-40fd-4ddd-b699-8fad25b97fa0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherCountriesMember_ca7c956a-e931-42d9-bc86-902f2e8cdefe" xlink:href="mx-20231231.xsd#mx_OtherCountriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_d4550ccd-6a3b-4065-95f6-f2e38a154073" xlink:to="loc_mx_OtherCountriesMember_ca7c956a-e931-42d9-bc86-902f2e8cdefe" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PropertyPlantAndEquipmentIncludingRightofuseAssets_1fee3769-acbc-4959-98ec-e6490e4e707a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PropertyPlantAndEquipmentIncludingRightofuseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfGeographicalAreasLineItems_42f9bee8-6273-430a-aebd-9aeb7e96a1ef" xlink:to="loc_ifrs-full_PropertyPlantAndEquipmentIncludingRightofuseAssets_1fee3769-acbc-4959-98ec-e6490e4e707a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/IncomeandothertaxesNetdeferredincometaxassetsandliabilitiesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#IncomeandothertaxesNetdeferredincometaxassetsandliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/IncomeandothertaxesNetdeferredincometaxassetsandliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_ade00392-dede-47b9-bead-aebd24ef486c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_40fcf02c-5134-4179-bf1e-746c98b27391" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_ade00392-dede-47b9-bead-aebd24ef486c" xlink:to="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_40fcf02c-5134-4179-bf1e-746c98b27391" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_5947d0f3-a164-49f5-9643-59f7aa417aa0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_40fcf02c-5134-4179-bf1e-746c98b27391" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_5947d0f3-a164-49f5-9643-59f7aa417aa0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_5947d0f3-a164-49f5-9643-59f7aa417aa0_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_5947d0f3-a164-49f5-9643-59f7aa417aa0" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_5947d0f3-a164-49f5-9643-59f7aa417aa0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_e9c02a8d-ebbe-4284-a647-d04c84306f69" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_5947d0f3-a164-49f5-9643-59f7aa417aa0" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_e9c02a8d-ebbe-4284-a647-d04c84306f69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:href="mx-20231231.xsd#mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_e9c02a8d-ebbe-4284-a647-d04c84306f69" xlink:to="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PropertyPlantAndEquipmentRelatedTemporaryDifferencesMember_7d8fd45b-998a-4d63-8f16-f9672941c59e" xlink:href="mx-20231231.xsd#mx_PropertyPlantAndEquipmentRelatedTemporaryDifferencesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:to="loc_mx_PropertyPlantAndEquipmentRelatedTemporaryDifferencesMember_7d8fd45b-998a-4d63-8f16-f9672941c59e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RightofuseAssetsMember_32ea162d-3105-4fe5-8ec8-96d1910623a8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RightofuseAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:to="loc_ifrs-full_RightofuseAssetsMember_32ea162d-3105-4fe5-8ec8-96d1910623a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RepatriationRelatedTemporaryDifferencesMember_8a3cc5c7-7a43-4e28-8ce0-652db0af84de" xlink:href="mx-20231231.xsd#mx_RepatriationRelatedTemporaryDifferencesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:to="loc_mx_RepatriationRelatedTemporaryDifferencesMember_8a3cc5c7-7a43-4e28-8ce0-652db0af84de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherTemporaryDifferencesWithLiabilityBalancesMember_fc437267-b888-4009-b222-b7eb24756423" xlink:href="mx-20231231.xsd#mx_OtherTemporaryDifferencesWithLiabilityBalancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithLiabilityBalancesMember_92cb3b1e-0eeb-421c-ae36-160c2909baf4" xlink:to="loc_mx_OtherTemporaryDifferencesWithLiabilityBalancesMember_fc437267-b888-4009-b222-b7eb24756423" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:href="mx-20231231.xsd#mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_e9c02a8d-ebbe-4284-a647-d04c84306f69" xlink:to="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnusedTaxLossesMember_1f07dceb-0349-4569-bcdd-65668347d228" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnusedTaxLossesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:to="loc_ifrs-full_UnusedTaxLossesMember_1f07dceb-0349-4569-bcdd-65668347d228" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LeaseObligationsMember_6e563c0f-4db4-4297-94e6-e3e0030c114d" xlink:href="mx-20231231.xsd#mx_LeaseObligationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:to="loc_mx_LeaseObligationsMember_6e563c0f-4db4-4297-94e6-e3e0030c114d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ShareBasedCompensationRelatedTemporaryDifferencesMember_e745583a-f446-4eb6-864d-bc50b37c62ae" xlink:href="mx-20231231.xsd#mx_ShareBasedCompensationRelatedTemporaryDifferencesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:to="loc_mx_ShareBasedCompensationRelatedTemporaryDifferencesMember_e745583a-f446-4eb6-864d-bc50b37c62ae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherTemporaryDifferencesWithAssetBalancesMember_0d3e531b-e78c-4805-b0fb-02f7fc0f91b7" xlink:href="mx-20231231.xsd#mx_OtherTemporaryDifferencesWithAssetBalancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_TemporaryDifferencesIncludingTemporaryDifferencesWithAssetBalancesMember_82f9a27f-a90c-423d-84eb-c488f569584e" xlink:to="loc_mx_OtherTemporaryDifferencesWithAssetBalancesMember_0d3e531b-e78c-4805-b0fb-02f7fc0f91b7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxLiabilityAsset_b88b6146-e261-4a16-9cca-afea04fa1d75" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DeferredTaxLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_ade00392-dede-47b9-bead-aebd24ef486c" xlink:to="loc_ifrs-full_DeferredTaxLiabilityAsset_b88b6146-e261-4a16-9cca-afea04fa1d75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DeferredTaxAssetsIncludingOffsetAmount_6e7ca495-40ea-43da-93ff-5ef49bdf0e66" xlink:href="mx-20231231.xsd#mx_DeferredTaxAssetsIncludingOffsetAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_ade00392-dede-47b9-bead-aebd24ef486c" xlink:to="loc_mx_DeferredTaxAssetsIncludingOffsetAmount_6e7ca495-40ea-43da-93ff-5ef49bdf0e66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DeferredTaxLiabilitiesIncludingOffsetAmount_02b40963-9c6d-4480-bd32-a0f8203ae822" xlink:href="mx-20231231.xsd#mx_DeferredTaxLiabilitiesIncludingOffsetAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_ade00392-dede-47b9-bead-aebd24ef486c" xlink:to="loc_mx_DeferredTaxLiabilitiesIncludingOffsetAmount_02b40963-9c6d-4480-bd32-a0f8203ae822" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/IncomeandothertaxesUnusedtaxlossesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#IncomeandothertaxesUnusedtaxlossesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/IncomeandothertaxesUnusedtaxlossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_604e9fc8-1011-4c26-b809-c84daa5a5cee" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_81e7ce6b-a3e0-4776-a66e-0f0b7b2e57b6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_604e9fc8-1011-4c26-b809-c84daa5a5cee" xlink:to="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_81e7ce6b-a3e0-4776-a66e-0f0b7b2e57b6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodAxis_858dab53-d66c-48f3-9e06-c353c86bff6c" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_81e7ce6b-a3e0-4776-a66e-0f0b7b2e57b6" xlink:to="loc_mx_LossesGeneratedPeriodAxis_858dab53-d66c-48f3-9e06-c353c86bff6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodDomain_858dab53-d66c-48f3-9e06-c353c86bff6c_default" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_LossesGeneratedPeriodAxis_858dab53-d66c-48f3-9e06-c353c86bff6c" xlink:to="loc_mx_LossesGeneratedPeriodDomain_858dab53-d66c-48f3-9e06-c353c86bff6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodDomain_e48b3ace-010c-4304-886a-7be6d944a57b" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_LossesGeneratedPeriodAxis_858dab53-d66c-48f3-9e06-c353c86bff6c" xlink:to="loc_mx_LossesGeneratedPeriodDomain_e48b3ace-010c-4304-886a-7be6d944a57b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2015To2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodDomain_e48b3ace-010c-4304-886a-7be6d944a57b" xlink:to="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2015Member_9754f2ee-3e75-4aa6-bdd3-af78d5a61437" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2015Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2015Member_9754f2ee-3e75-4aa6-bdd3-af78d5a61437" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2016Member_ae2199d3-710f-4df4-af75-175d71e4c599" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2016Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2016Member_ae2199d3-710f-4df4-af75-175d71e4c599" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2017Member_c69e4bbe-5cc2-4255-b9e7-051a75f485da" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2017Member_c69e4bbe-5cc2-4255-b9e7-051a75f485da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2019Member_73c750e0-adc7-45b4-b664-e1b402a278bc" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2019Member_73c750e0-adc7-45b4-b664-e1b402a278bc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2020Member_6f5ac8c0-9d9c-4172-a3d5-aaa751c7b411" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2020Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2020Member_6f5ac8c0-9d9c-4172-a3d5-aaa751c7b411" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LossesGeneratedPeriodYear2023Member_20429a1e-1151-49d7-8cdf-72876c00f6ac" xlink:href="mx-20231231.xsd#mx_LossesGeneratedPeriodYear2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LossesGeneratedPeriodYear2015To2017Member_4cb61feb-bf85-4e18-915b-fa222f05f73e" xlink:to="loc_mx_LossesGeneratedPeriodYear2023Member_20429a1e-1151-49d7-8cdf-72876c00f6ac" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_9ca1994e-ec65-43a7-ae21-1615b13408ab" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_81e7ce6b-a3e0-4776-a66e-0f0b7b2e57b6" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_9ca1994e-ec65-43a7-ae21-1615b13408ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_9ca1994e-ec65-43a7-ae21-1615b13408ab_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_9ca1994e-ec65-43a7-ae21-1615b13408ab" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_9ca1994e-ec65-43a7-ae21-1615b13408ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_10f28883-dd40-4c8b-b231-aa754b6ecf70" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis_9ca1994e-ec65-43a7-ae21-1615b13408ab" xlink:to="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_10f28883-dd40-4c8b-b231-aa754b6ecf70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnusedTaxLossesMember_39f4c903-75f4-48ef-b9f7-27f82a9d5e16" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnusedTaxLossesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember_10f28883-dd40-4c8b-b231-aa754b6ecf70" xlink:to="loc_ifrs-full_UnusedTaxLossesMember_39f4c903-75f4-48ef-b9f7-27f82a9d5e16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OperatingLossCarryforwards1_63bc8663-be40-4dc9-8b25-015ad9d309b9" xlink:href="mx-20231231.xsd#mx_OperatingLossCarryforwards1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_604e9fc8-1011-4c26-b809-c84daa5a5cee" xlink:to="loc_mx_OperatingLossCarryforwards1_63bc8663-be40-4dc9-8b25-015ad9d309b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TaxEffectOfUnrecognizedLossCarryforwardsAndTemporaryDifferences_6823fd09-8e0c-4070-8a89-286513a2948d" xlink:href="mx-20231231.xsd#mx_TaxEffectOfUnrecognizedLossCarryforwardsAndTemporaryDifferences"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_604e9fc8-1011-4c26-b809-c84daa5a5cee" xlink:to="loc_mx_TaxEffectOfUnrecognizedLossCarryforwardsAndTemporaryDifferences_6823fd09-8e0c-4070-8a89-286513a2948d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/IncomeandothertaxesNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#IncomeandothertaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/IncomeandothertaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_d7101f75-004a-4af4-b69d-d8e4cc838534" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_7a37fbdb-2ba5-4d84-ba9e-1b35108cbd5f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_d7101f75-004a-4af4-b69d-d8e4cc838534" xlink:to="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_7a37fbdb-2ba5-4d84-ba9e-1b35108cbd5f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasAxis_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable_7a37fbdb-2ba5-4d84-ba9e-1b35108cbd5f" xlink:to="loc_ifrs-full_GeographicalAreasAxis_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_GeographicalAreasAxis_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc" xlink:to="loc_ifrs-full_GeographicalAreasMember_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_GeographicalAreasAxis_4ef9d883-afb6-45ea-ba3c-bed8d68b67fc" xlink:to="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_4252a7d6-c542-43f0-b7f5-f41cf4b2ba6b" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:to="loc_country_US_4252a7d6-c542-43f0-b7f5-f41cf4b2ba6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TT_737251d1-c6df-44a9-85c2-f1e00b48198c" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_TT"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:to="loc_country_TT_737251d1-c6df-44a9-85c2-f1e00b48198c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_NZ_89277c70-0dfa-4311-9b9d-1d982206cee9" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_NZ"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:to="loc_country_NZ_89277c70-0dfa-4311-9b9d-1d982206cee9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_00935651-8918-4b68-9172-869fbe65d8a8" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_b6534654-2b56-485d-b5f7-70e973749f3a" xlink:to="loc_country_CA_00935651-8918-4b68-9172-869fbe65d8a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised_1055c0ca-29d4-4ae1-8804-1aea9dc931e6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_d7101f75-004a-4af4-b69d-d8e4cc838534" xlink:to="loc_ifrs-full_DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised_1055c0ca-29d4-4ae1-8804-1aea9dc931e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OperatingLossCarryforwards1_1cf88971-a688-4996-aa70-32702a197ccb" xlink:href="mx-20231231.xsd#mx_OperatingLossCarryforwards1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_d7101f75-004a-4af4-b69d-d8e4cc838534" xlink:to="loc_mx_OperatingLossCarryforwards1_1cf88971-a688-4996-aa70-32702a197ccb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DeferredTaxAssets_ccefadc8-50d5-4099-9ca2-cd225bd10fe2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems_d7101f75-004a-4af4-b69d-d8e4cc838534" xlink:to="loc_ifrs-full_DeferredTaxAssets_ccefadc8-50d5-4099-9ca2-cd225bd10fe2" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SupplementalcashflowinformationReconciliationofliabilitiesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SupplementalcashflowinformationReconciliationofliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SupplementalcashflowinformationReconciliationofliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems_bb72a791-43fa-44f6-b546-6904b5a6d2dc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable_49451558-a7a1-4e14-b165-41e847eb7ee8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems_bb72a791-43fa-44f6-b546-6904b5a6d2dc" xlink:to="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable_49451558-a7a1-4e14-b165-41e847eb7ee8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis_465579f1-d2a0-4336-83a7-17a6b960e6ff" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable_49451558-a7a1-4e14-b165-41e847eb7ee8" xlink:to="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis_465579f1-d2a0-4336-83a7-17a6b960e6ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_465579f1-d2a0-4336-83a7-17a6b960e6ff_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis_465579f1-d2a0-4336-83a7-17a6b960e6ff" xlink:to="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_465579f1-d2a0-4336-83a7-17a6b960e6ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_c20f97fd-27ac-4bc7-aef9-4aa6c47fb6cc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis_465579f1-d2a0-4336-83a7-17a6b960e6ff" xlink:to="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_c20f97fd-27ac-4bc7-aef9-4aa6c47fb6cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LongtermBorrowingsMember_5d9a6301-ce79-4796-b98c-eae13b2584cf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LongtermBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_c20f97fd-27ac-4bc7-aef9-4aa6c47fb6cc" xlink:to="loc_ifrs-full_LongtermBorrowingsMember_5d9a6301-ce79-4796-b98c-eae13b2584cf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LeaseLiabilitiesMember_568d4a08-ac6f-4400-8584-ea3e6398e09b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LeaseLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember_c20f97fd-27ac-4bc7-aef9-4aa6c47fb6cc" xlink:to="loc_ifrs-full_LeaseLiabilitiesMember_568d4a08-ac6f-4400-8584-ea3e6398e09b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesArisingFromFinancingActivities_a5c438d6-9e4a-4f59-970e-2946c41238dd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems_bb72a791-43fa-44f6-b546-6904b5a6d2dc" xlink:to="loc_ifrs-full_LiabilitiesArisingFromFinancingActivities_a5c438d6-9e4a-4f59-970e-2946c41238dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract_8c0b9882-7106-4c62-8de0-e00c294a2474" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems_bb72a791-43fa-44f6-b546-6904b5a6d2dc" xlink:to="loc_ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract_8c0b9882-7106-4c62-8de0-e00c294a2474" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_4ccc51c6-450c-4356-b4fc-5aa7fca54bb9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract_8c0b9882-7106-4c62-8de0-e00c294a2474" xlink:to="loc_ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities_4ccc51c6-450c-4356-b4fc-5aa7fca54bb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_06315207-00c5-4c5f-87c5-aae6a3b61e73" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract_8c0b9882-7106-4c62-8de0-e00c294a2474" xlink:to="loc_ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities_06315207-00c5-4c5f-87c5-aae6a3b61e73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInLiabilitiesArisingFromFinancingActivities_c7f9fd22-45c8-4305-b420-22914ae21139" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseInLiabilitiesArisingFromFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ChangesInLiabilitiesArisingFromFinancingActivitiesAbstract_8c0b9882-7106-4c62-8de0-e00c294a2474" xlink:to="loc_ifrs-full_IncreaseDecreaseInLiabilitiesArisingFromFinancingActivities_c7f9fd22-45c8-4305-b420-22914ae21139" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:href="mx-20231231.xsd#mx_LiabilityRelatedOtherChangesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems_bb72a791-43fa-44f6-b546-6904b5a6d2dc" xlink:to="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceCosts_8741ed6d-9c58-4858-aa58-355f75437f31" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:to="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceCosts_8741ed6d-9c58-4858-aa58-355f75437f31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceLeases_30b77513-6d37-4e97-97ba-8b68011fa3d0" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:to="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesFinanceLeases_30b77513-6d37-4e97-97ba-8b68011fa3d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesOther_98676b2b-38dd-42e2-beb7-6b83bafc17f4" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:to="loc_mx_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivitiesOther_98676b2b-38dd-42e2-beb7-6b83bafc17f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivities_bdda3f96-824d-4b8e-9111-814c9c61e316" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_LiabilityRelatedOtherChangesAbstract_bf5a6e7e-af88-4b84-8337-7024d982007d" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivities_bdda3f96-824d-4b8e-9111-814c9c61e316" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilitiesArisingFromFinancingActivities_670941ef-0d36-436e-92f3-6cb8df1cad35" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilitiesArisingFromFinancingActivities"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/CapitaldisclosuresDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#CapitaldisclosuresDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/CapitaldisclosuresDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:href="mx-20231231.xsd#mx_DisclosureOfLiquidityAndCapitalizationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfLiquidityAndCapitalizationTable_7ff42c26-9eb8-43c0-aaaa-0a0ed17bdaf2" xlink:href="mx-20231231.xsd#mx_DisclosureOfLiquidityAndCapitalizationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_DisclosureOfLiquidityAndCapitalizationTable_7ff42c26-9eb8-43c0-aaaa-0a0ed17bdaf2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_6db268f5-f4ae-43bc-9335-7d8d020e3975" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationTable_7ff42c26-9eb8-43c0-aaaa-0a0ed17bdaf2" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_6db268f5-f4ae-43bc-9335-7d8d020e3975" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_6db268f5-f4ae-43bc-9335-7d8d020e3975_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_6db268f5-f4ae-43bc-9335-7d8d020e3975" xlink:to="loc_ifrs-full_BorrowingsByNameMember_6db268f5-f4ae-43bc-9335-7d8d020e3975_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_6db268f5-f4ae-43bc-9335-7d8d020e3975" xlink:to="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RevolvingCreditFacility1Member_56507e74-bf4c-4052-8b89-557cbbbe973c" xlink:href="mx-20231231.xsd#mx_RevolvingCreditFacility1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:to="loc_mx_RevolvingCreditFacility1Member_56507e74-bf4c-4052-8b89-557cbbbe973c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_G3ConstructionFacilityMember_0a2c2fab-58b3-40ed-8539-cdd25eca0416" xlink:href="mx-20231231.xsd#mx_G3ConstructionFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:to="loc_mx_G3ConstructionFacilityMember_0a2c2fab-58b3-40ed-8539-cdd25eca0416" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt1Member_aab860f9-35dc-460f-a18d-981e9a2e9a0b" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:to="loc_mx_UnsecuredDebt1Member_aab860f9-35dc-460f-a18d-981e9a2e9a0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_5ad7ab04-1848-4ba7-80b6-feac62ab9da7" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_d6c0eefb-b0bc-4fd8-b48d-d616e7720d08" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_5ad7ab04-1848-4ba7-80b6-feac62ab9da7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashAndCashEquivalents_bd285765-7c1f-4ee2-9ad4-0f83cff9c3ee" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_ifrs-full_CashAndCashEquivalents_bd285765-7c1f-4ee2-9ad4-0f83cff9c3ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UndrawnBorrowingFacilities_288583ef-f764-468e-af57-41c1d57dd29a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UndrawnBorrowingFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_ifrs-full_UndrawnBorrowingFacilities_288583ef-f764-468e-af57-41c1d57dd29a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_Liquidity_44e6319b-b4f9-4c31-986b-a2ff1f807549" xlink:href="mx-20231231.xsd#mx_Liquidity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_Liquidity_44e6319b-b4f9-4c31-986b-a2ff1f807549" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Borrowings_07e8f7e7-9f2d-41d5-855d-333be010bfa3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Borrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_ifrs-full_Borrowings_07e8f7e7-9f2d-41d5-855d-333be010bfa3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterests_b19f7efa-a33a-4b05-9b7d-fc5e3a0ab53a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_ifrs-full_NoncontrollingInterests_b19f7efa-a33a-4b05-9b7d-fc5e3a0ab53a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityAttributableToOwnersOfParent_35c357d6-eac2-4af7-9cf4-f713b8431090" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityAttributableToOwnersOfParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_ifrs-full_EquityAttributableToOwnersOfParent_35c357d6-eac2-4af7-9cf4-f713b8431090" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_CapitalizationLongtermDebtAndEquity1_e2ff8150-82a6-47c7-9823-800d51c6b0bf" xlink:href="mx-20231231.xsd#mx_CapitalizationLongtermDebtAndEquity1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_CapitalizationLongtermDebtAndEquity1_e2ff8150-82a6-47c7-9823-800d51c6b0bf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RatioDebttoCapitalization_f4f64e36-b0d2-4f83-aef6-38b36aa89b36" xlink:href="mx-20231231.xsd#mx_RatioDebttoCapitalization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_RatioDebttoCapitalization_f4f64e36-b0d2-4f83-aef6-38b36aa89b36" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RatioofNetIndebtednesstoNetCapital_ddda966f-d692-48fa-adf4-37268dcd2318" xlink:href="mx-20231231.xsd#mx_RatioofNetIndebtednesstoNetCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_RatioofNetIndebtednesstoNetCapital_ddda966f-d692-48fa-adf4-37268dcd2318" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_CancellationOfBorrowingFacilities_8978ba9e-8e64-4018-8f63-149a26fe08be" xlink:href="mx-20231231.xsd#mx_CancellationOfBorrowingFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfLiquidityAndCapitalizationLineItems_7abcccfb-3677-4b28-b0da-9ae47fcf14b5" xlink:to="loc_mx_CancellationOfBorrowingFacilities_8978ba9e-8e64-4018-8f63-149a26fe08be" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFinancialassetsandliabilitiesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFinancialassetsandliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFinancialassetsandliabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems_9acec65c-0333-472d-914e-9fe5a94cad67" xlink:href="mx-20231231.xsd#mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:href="mx-20231231.xsd#mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems_9acec65c-0333-472d-914e-9fe5a94cad67" xlink:to="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialAssetsAxis_2bd5fdd1-f151-4417-85a4-5c40eea1a251" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialAssetsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:to="loc_ifrs-full_ClassesOfFinancialAssetsAxis_2bd5fdd1-f151-4417-85a4-5c40eea1a251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsMember_2bd5fdd1-f151-4417-85a4-5c40eea1a251_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialAssetsAxis_2bd5fdd1-f151-4417-85a4-5c40eea1a251" xlink:to="loc_ifrs-full_FinancialAssetsMember_2bd5fdd1-f151-4417-85a4-5c40eea1a251_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialAssetsAxis_2bd5fdd1-f151-4417-85a4-5c40eea1a251" xlink:to="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativesMember_a0feace2-d28f-4c15-8e73-3cc27104d476" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:to="loc_ifrs-full_DerivativesMember_a0feace2-d28f-4c15-8e73-3cc27104d476" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ForeignGasSupplyContractDerivativeMember_c690313a-647a-4836-9c14-b346f07ed184" xlink:href="mx-20231231.xsd#mx_ForeignGasSupplyContractDerivativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:to="loc_mx_ForeignGasSupplyContractDerivativeMember_c690313a-647a-4836-9c14-b346f07ed184" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_CashAndCashEquivalents1Member_bae291d4-c7d2-44f2-bf23-554fb72c844e" xlink:href="mx-20231231.xsd#mx_CashAndCashEquivalents1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:to="loc_mx_CashAndCashEquivalents1Member_bae291d4-c7d2-44f2-bf23-554fb72c844e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TradeAndOtherReceivablesMember_2dc8c6b9-4963-4414-9f74-c20ccb332708" xlink:href="mx-20231231.xsd#mx_TradeAndOtherReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:to="loc_mx_TradeAndOtherReceivablesMember_2dc8c6b9-4963-4414-9f74-c20ccb332708" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RestrictedCashMember_41d350d7-9c86-4f10-84cc-6b094c9403b9" xlink:href="mx-20231231.xsd#mx_RestrictedCashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_b1a6e086-7860-4e24-8b9f-308a13abb31e" xlink:to="loc_mx_RestrictedCashMember_41d350d7-9c86-4f10-84cc-6b094c9403b9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_d3a4c281-138b-4901-a646-d380b6eed42b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CategoriesOfFinancialAssetsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:to="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_d3a4c281-138b-4901-a646-d380b6eed42b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsCategoryMember_d3a4c281-138b-4901-a646-d380b6eed42b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_d3a4c281-138b-4901-a646-d380b6eed42b" xlink:to="loc_ifrs-full_FinancialAssetsCategoryMember_d3a4c281-138b-4901-a646-d380b6eed42b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsCategoryMember_b1077579-66a9-4d4b-b1da-749a78df3743" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_d3a4c281-138b-4901-a646-d380b6eed42b" xlink:to="loc_ifrs-full_FinancialAssetsCategoryMember_b1077579-66a9-4d4b-b1da-749a78df3743" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember_e3c2ba52-bbac-4c45-b6af-aeae85bc9ef7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsCategoryMember_b1077579-66a9-4d4b-b1da-749a78df3743" xlink:to="loc_ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember_e3c2ba52-bbac-4c45-b6af-aeae85bc9ef7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember_b1871017-c2e0-4179-ab53-6611496425dc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsCategoryMember_b1077579-66a9-4d4b-b1da-749a78df3743" xlink:to="loc_ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember_b1871017-c2e0-4179-ab53-6611496425dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesAxis_bb9ca595-84fc-435f-88a7-77402520c3df" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:to="loc_ifrs-full_TypesOfHedgesAxis_bb9ca595-84fc-435f-88a7-77402520c3df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_bb9ca595-84fc-435f-88a7-77402520c3df_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_bb9ca595-84fc-435f-88a7-77402520c3df" xlink:to="loc_ifrs-full_TypesOfHedgesMember_bb9ca595-84fc-435f-88a7-77402520c3df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_c88c22f2-0e5b-4e57-8599-cdb87fda8c6b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_bb9ca595-84fc-435f-88a7-77402520c3df" xlink:to="loc_ifrs-full_TypesOfHedgesMember_c88c22f2-0e5b-4e57-8599-cdb87fda8c6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowHedgesMember_b8647589-5167-45cf-9ae7-f574b5b4a47e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfHedgesMember_c88c22f2-0e5b-4e57-8599-cdb87fda8c6b" xlink:to="loc_ifrs-full_CashFlowHedgesMember_b8647589-5167-45cf-9ae7-f574b5b4a47e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_182dd6cb-40ae-4d1b-a5cd-c492c90285f8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:to="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_182dd6cb-40ae-4d1b-a5cd-c492c90285f8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_182dd6cb-40ae-4d1b-a5cd-c492c90285f8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_182dd6cb-40ae-4d1b-a5cd-c492c90285f8" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_182dd6cb-40ae-4d1b-a5cd-c492c90285f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_182dd6cb-40ae-4d1b-a5cd-c492c90285f8" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DerivativeLiabilitiesMember_61767673-bc4b-403a-8879-242e549a16a4" xlink:href="mx-20231231.xsd#mx_DerivativeLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:to="loc_mx_DerivativeLiabilitiesMember_61767673-bc4b-403a-8879-242e549a16a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_TradeOtherPayablesAndAccruedLiabilitiesExcludingTaxPayableMember_086b00ba-642e-4a17-b1fb-bcf882da3a9e" xlink:href="mx-20231231.xsd#mx_TradeOtherPayablesAndAccruedLiabilitiesExcludingTaxPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:to="loc_mx_TradeOtherPayablesAndAccruedLiabilitiesExcludingTaxPayableMember_086b00ba-642e-4a17-b1fb-bcf882da3a9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LeaseObligationsIncludingCurrentPortionMember_ac22d155-73fb-4634-b820-97c75e71a8d4" xlink:href="mx-20231231.xsd#mx_LeaseObligationsIncludingCurrentPortionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:to="loc_mx_LeaseObligationsIncludingCurrentPortionMember_ac22d155-73fb-4634-b820-97c75e71a8d4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LongtermBorrowingsMember_aa822477-292f-46b6-8ea9-ac48454d9419" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LongtermBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:to="loc_ifrs-full_LongtermBorrowingsMember_aa822477-292f-46b6-8ea9-ac48454d9419" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LandMortgageMember_2c794716-d597-40bb-ad6d-3d70789ac516" xlink:href="mx-20231231.xsd#mx_LandMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_09307780-39de-43d3-8284-820802da4d81" xlink:to="loc_mx_LandMortgageMember_2c794716-d597-40bb-ad6d-3d70789ac516" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CategoriesOfFinancialLiabilitiesAxis_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CategoriesOfFinancialLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_ab8651f9-b537-4ffa-a0b5-06e88bc2b03d" xlink:to="loc_ifrs-full_CategoriesOfFinancialLiabilitiesAxis_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesCategoryMember_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CategoriesOfFinancialLiabilitiesAxis_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5" xlink:to="loc_ifrs-full_FinancialLiabilitiesCategoryMember_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesCategoryMember_7f520188-3cf9-4ba9-8c47-c65f77b43bf5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CategoriesOfFinancialLiabilitiesAxis_3cbfe758-5f31-4a80-bed3-6cdfd6bcf7f5" xlink:to="loc_ifrs-full_FinancialLiabilitiesCategoryMember_7f520188-3cf9-4ba9-8c47-c65f77b43bf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinancialLiabilitiesAtFairValueThroughOtherComprehensiveIncomeCategoryMember_230fef49-6a69-4cf3-ab7a-2a7f6e328aca" xlink:href="mx-20231231.xsd#mx_FinancialLiabilitiesAtFairValueThroughOtherComprehensiveIncomeCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesCategoryMember_7f520188-3cf9-4ba9-8c47-c65f77b43bf5" xlink:to="loc_mx_FinancialLiabilitiesAtFairValueThroughOtherComprehensiveIncomeCategoryMember_230fef49-6a69-4cf3-ab7a-2a7f6e328aca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember_9400f303-81de-4d0f-93c1-a6a0ee5dd20b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesCategoryMember_7f520188-3cf9-4ba9-8c47-c65f77b43bf5" xlink:to="loc_ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember_9400f303-81de-4d0f-93c1-a6a0ee5dd20b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssets_a2180e26-28d3-4da6-88ef-f5676332ae75" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems_9acec65c-0333-472d-914e-9fe5a94cad67" xlink:to="loc_ifrs-full_FinancialAssets_a2180e26-28d3-4da6-88ef-f5676332ae75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilities_85af76cb-5250-4da7-ae49-6fd53ec0cb4a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfFairValueMeasurementOfAssetsAndLiabilitiesLineItems_9acec65c-0333-472d-914e-9fe5a94cad67" xlink:to="loc_ifrs-full_FinancialLiabilities_85af76cb-5250-4da7-ae49-6fd53ec0cb4a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsNorthamericannaturalgasforwardcontractsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsNorthamericannaturalgasforwardcontractsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsNorthamericannaturalgasforwardcontractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_523ff8f5-19d1-4e63-a370-18caa15ab59b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_523ff8f5-19d1-4e63-a370-18caa15ab59b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_523ff8f5-19d1-4e63-a370-18caa15ab59b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_523ff8f5-19d1-4e63-a370-18caa15ab59b" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_523ff8f5-19d1-4e63-a370-18caa15ab59b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_42e02e4d-77c6-4fa8-bcd6-9fd7fb37d59e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_523ff8f5-19d1-4e63-a370-18caa15ab59b" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_42e02e4d-77c6-4fa8-bcd6-9fd7fb37d59e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_NorthAmericanNaturalGasForwardContractMember_21e6331d-4769-488a-9dab-52dd084d07b6" xlink:href="mx-20231231.xsd#mx_NorthAmericanNaturalGasForwardContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_42e02e4d-77c6-4fa8-bcd6-9fd7fb37d59e" xlink:to="loc_mx_NorthAmericanNaturalGasForwardContractMember_21e6331d-4769-488a-9dab-52dd084d07b6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesAxis_6da71fcd-37cf-4e89-9ed5-24d67132eac0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:to="loc_ifrs-full_TypesOfHedgesAxis_6da71fcd-37cf-4e89-9ed5-24d67132eac0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_6da71fcd-37cf-4e89-9ed5-24d67132eac0_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_6da71fcd-37cf-4e89-9ed5-24d67132eac0" xlink:to="loc_ifrs-full_TypesOfHedgesMember_6da71fcd-37cf-4e89-9ed5-24d67132eac0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_8211ea39-7d52-4b3d-a50b-d10613115737" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_6da71fcd-37cf-4e89-9ed5-24d67132eac0" xlink:to="loc_ifrs-full_TypesOfHedgesMember_8211ea39-7d52-4b3d-a50b-d10613115737" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowHedgesMember_49206f7c-277e-42ce-80d4-52c1be9e4f4e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfHedgesMember_8211ea39-7d52-4b3d-a50b-d10613115737" xlink:to="loc_ifrs-full_CashFlowHedgesMember_49206f7c-277e-42ce-80d4-52c1be9e4f4e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangeAxis_10328831-ecf2-4ac7-81de-5fc6be7cea8b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:to="loc_ifrs-full_RangeAxis_10328831-ecf2-4ac7-81de-5fc6be7cea8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_10328831-ecf2-4ac7-81de-5fc6be7cea8b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_RangeAxis_10328831-ecf2-4ac7-81de-5fc6be7cea8b" xlink:to="loc_ifrs-full_RangesMember_10328831-ecf2-4ac7-81de-5fc6be7cea8b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RangesMember_c31b726b-faf4-4582-b88e-ad124cecf4da" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RangesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_RangeAxis_10328831-ecf2-4ac7-81de-5fc6be7cea8b" xlink:to="loc_ifrs-full_RangesMember_c31b726b-faf4-4582-b88e-ad124cecf4da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BottomOfRangeMember_c87dac13-1d96-415f-86a9-385b6df18aba" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BottomOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_c31b726b-faf4-4582-b88e-ad124cecf4da" xlink:to="loc_ifrs-full_BottomOfRangeMember_c87dac13-1d96-415f-86a9-385b6df18aba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TopOfRangeMember_89589086-54ad-447c-b96f-6bf113298690" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TopOfRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_RangesMember_c31b726b-faf4-4582-b88e-ad124cecf4da" xlink:to="loc_ifrs-full_TopOfRangeMember_89589086-54ad-447c-b96f-6bf113298690" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ComponentsOfEquityAxis_9e8488f5-8c70-4282-bc4c-f5bfb114eba8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ComponentsOfEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:to="loc_ifrs-full_ComponentsOfEquityAxis_9e8488f5-8c70-4282-bc4c-f5bfb114eba8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_9e8488f5-8c70-4282-bc4c-f5bfb114eba8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_9e8488f5-8c70-4282-bc4c-f5bfb114eba8" xlink:to="loc_ifrs-full_EquityMember_9e8488f5-8c70-4282-bc4c-f5bfb114eba8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EquityMember_7361403c-2b10-452a-8f0f-4f310234e749" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ComponentsOfEquityAxis_9e8488f5-8c70-4282-bc4c-f5bfb114eba8" xlink:to="loc_ifrs-full_EquityMember_7361403c-2b10-452a-8f0f-4f310234e749" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_09faf2ab-0c37-4e9f-8a3f-0346c0632bb9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EquityMember_7361403c-2b10-452a-8f0f-4f310234e749" xlink:to="loc_ifrs-full_AccumulatedOtherComprehensiveIncomeMember_09faf2ab-0c37-4e9f-8a3f-0346c0632bb9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesAxis_0c1f6bae-4ac7-43e2-862e-a0f50135469d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_79c77688-7db6-4aa8-8726-56e398e00a22" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesAxis_0c1f6bae-4ac7-43e2-862e-a0f50135469d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesMember_0c1f6bae-4ac7-43e2-862e-a0f50135469d_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesAxis_0c1f6bae-4ac7-43e2-862e-a0f50135469d" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesMember_0c1f6bae-4ac7-43e2-862e-a0f50135469d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesAxis_0c1f6bae-4ac7-43e2-862e-a0f50135469d" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherAssetsCurrentMember_d96e3e23-ccaf-4a7a-831f-00c683b417bf" xlink:href="mx-20231231.xsd#mx_OtherAssetsCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:to="loc_mx_OtherAssetsCurrentMember_d96e3e23-ccaf-4a7a-831f-00c683b417bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherAssetsNonCurrentMember_6ece934e-1fa5-4022-840c-1b4904018046" xlink:href="mx-20231231.xsd#mx_OtherAssetsNonCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:to="loc_mx_OtherAssetsNonCurrentMember_6ece934e-1fa5-4022-840c-1b4904018046" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLiabilitiesCurrentMember_2ff703e6-a0b4-4048-a689-2916312e3faf" xlink:href="mx-20231231.xsd#mx_OtherLiabilitiesCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:to="loc_mx_OtherLiabilitiesCurrentMember_2ff703e6-a0b4-4048-a689-2916312e3faf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLiabilitiesNonCurrentMember_894f5003-1090-4d53-b5d4-ba4c42937915" xlink:href="mx-20231231.xsd#mx_OtherLiabilitiesNonCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesMember_4480d9fe-e737-4060-8013-04a1f4e90a92" xlink:to="loc_mx_OtherLiabilitiesNonCurrentMember_894f5003-1090-4d53-b5d4-ba4c42937915" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainLossOnHedgeIneffectiveness_8dbbda00-b9e4-4ee2-9283-21e3c28263e4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GainLossOnHedgeIneffectiveness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_ifrs-full_GainLossOnHedgeIneffectiveness_8dbbda00-b9e4-4ee2-9283-21e3c28263e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_HedgingInstrumentEnergy_4749f9e4-f527-4639-856a-5bfe6420d01f" xlink:href="mx-20231231.xsd#mx_HedgingInstrumentEnergy"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_mx_HedgingInstrumentEnergy_4749f9e4-f527-4639-856a-5bfe6420d01f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_HedgingInstrumentDailyEnergy_227bc8b0-11f8-4351-b0bc-6d9f58127acd" xlink:href="mx-20231231.xsd#mx_HedgingInstrumentDailyEnergy"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_mx_HedgingInstrumentDailyEnergy_227bc8b0-11f8-4351-b0bc-6d9f58127acd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotionalAmount_c8033b94-672e-4af7-aafb-78c1120d1333" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_ifrs-full_NotionalAmount_c8033b94-672e-4af7-aafb-78c1120d1333" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsAtFairValue_fbaacc9e-a859-4e48-bb3f-da21625e4144" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_ifrs-full_FinancialAssetsAtFairValue_fbaacc9e-a859-4e48-bb3f-da21625e4144" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesAtFairValue_568a8742-0ae8-4537-b07b-b441aea51cad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_ifrs-full_FinancialLiabilitiesAtFairValue_568a8742-0ae8-4537-b07b-b441aea51cad" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_IncreaseDecreaseThroughRealizedHedgeLossesGainsRecognizedInCashFlowHedgesEquity_11a4d958-1f1e-4500-abdf-3fcee64be242" xlink:href="mx-20231231.xsd#mx_IncreaseDecreaseThroughRealizedHedgeLossesGainsRecognizedInCashFlowHedgesEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_ffe69f87-5599-4cbd-99e1-9904327ca95f" xlink:to="loc_mx_IncreaseDecreaseThroughRealizedHedgeLossesGainsRecognizedInCashFlowHedgesEquity_11a4d958-1f1e-4500-abdf-3fcee64be242" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsEuroforwardexchangecontractsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsEuroforwardexchangecontractsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsEuroforwardexchangecontractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsTable_b7381896-11ec-4119-b97b-ec4ba78864ed" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:to="loc_ifrs-full_DisclosureOfFinancialAssetsTable_b7381896-11ec-4119-b97b-ec4ba78864ed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_b7381896-11ec-4119-b97b-ec4ba78864ed" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_c846e2df-4af5-41a0-aa3b-318c1e4249ec" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsAxis_d5bc77cf-c6b6-4bb8-9a9d-7c6e19bb4801" xlink:to="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_c846e2df-4af5-41a0-aa3b-318c1e4249ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EuroForwardExchangeContractMember_9db5c212-8f4e-4aee-9fe5-2544bebc7526" xlink:href="mx-20231231.xsd#mx_EuroForwardExchangeContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ClassesOfFinancialInstrumentsMember_c846e2df-4af5-41a0-aa3b-318c1e4249ec" xlink:to="loc_mx_EuroForwardExchangeContractMember_9db5c212-8f4e-4aee-9fe5-2544bebc7526" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesAxis_649de4fd-4b92-4242-a721-74d3f201018e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_b7381896-11ec-4119-b97b-ec4ba78864ed" xlink:to="loc_ifrs-full_TypesOfHedgesAxis_649de4fd-4b92-4242-a721-74d3f201018e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_649de4fd-4b92-4242-a721-74d3f201018e_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_649de4fd-4b92-4242-a721-74d3f201018e" xlink:to="loc_ifrs-full_TypesOfHedgesMember_649de4fd-4b92-4242-a721-74d3f201018e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_9dc505f6-3473-4a3b-ad33-5f8ba3faf88f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_649de4fd-4b92-4242-a721-74d3f201018e" xlink:to="loc_ifrs-full_TypesOfHedgesMember_9dc505f6-3473-4a3b-ad33-5f8ba3faf88f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowHedgesMember_59250b9a-77ea-4ce0-b60b-fcb3ce6e858d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfHedgesMember_9dc505f6-3473-4a3b-ad33-5f8ba3faf88f" xlink:to="loc_ifrs-full_CashFlowHedgesMember_59250b9a-77ea-4ce0-b60b-fcb3ce6e858d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesAxis_8a7c4243-1ac4-4150-af1d-5708e46c8a2f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_b7381896-11ec-4119-b97b-ec4ba78864ed" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesAxis_8a7c4243-1ac4-4150-af1d-5708e46c8a2f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesMember_8a7c4243-1ac4-4150-af1d-5708e46c8a2f_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesAxis_8a7c4243-1ac4-4150-af1d-5708e46c8a2f" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesMember_8a7c4243-1ac4-4150-af1d-5708e46c8a2f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssetsAndLiabilitiesMember_f8725140-8b18-4cb4-951d-90ec4c284f17" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssetsAndLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesAxis_8a7c4243-1ac4-4150-af1d-5708e46c8a2f" xlink:to="loc_ifrs-full_AssetsAndLiabilitiesMember_f8725140-8b18-4cb4-951d-90ec4c284f17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_LiabilitiesCurrentMember_8b38a371-ee6c-4922-9931-bc0c1a099b1a" xlink:href="mx-20231231.xsd#mx_LiabilitiesCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AssetsAndLiabilitiesMember_f8725140-8b18-4cb4-951d-90ec4c284f17" xlink:to="loc_mx_LiabilitiesCurrentMember_8b38a371-ee6c-4922-9931-bc0c1a099b1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainLossOnHedgeIneffectiveness_f0535c28-bf02-4df7-b276-60153945ff45" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GainLossOnHedgeIneffectiveness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:to="loc_ifrs-full_GainLossOnHedgeIneffectiveness_f0535c28-bf02-4df7-b276-60153945ff45" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotionalAmount_f39d48ea-3879-4d26-b8e8-833aa77e178b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:to="loc_ifrs-full_NotionalAmount_f39d48ea-3879-4d26-b8e8-833aa77e178b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesAtFairValue_44636656-5cc5-46fa-bbd0-1a8c9da986dd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:to="loc_ifrs-full_FinancialLiabilitiesAtFairValue_44636656-5cc5-46fa-bbd0-1a8c9da986dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax_ad61480e-4b37-420a-83fa-62c817f564db" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_cbacc592-56de-4f1d-adf7-df0686c3cb11" xlink:to="loc_ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax_ad61480e-4b37-420a-83fa-62c817f564db" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentsmaturityDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFairvalueLevel2instrumentsmaturityDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentsmaturityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesLineItems_8721d3f0-fe37-4899-8645-8f1df72e49f3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesTable_4de832e3-b8f3-482f-a5b9-21b3f1923d36" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesLineItems_8721d3f0-fe37-4899-8645-8f1df72e49f3" xlink:to="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesTable_4de832e3-b8f3-482f-a5b9-21b3f1923d36" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_f8f08a75-ff15-4935-9147-b59d193b21cd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesTable_4de832e3-b8f3-482f-a5b9-21b3f1923d36" xlink:to="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_f8f08a75-ff15-4935-9147-b59d193b21cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_f8f08a75-ff15-4935-9147-b59d193b21cd_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_f8f08a75-ff15-4935-9147-b59d193b21cd" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_f8f08a75-ff15-4935-9147-b59d193b21cd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_fb2723a4-e456-49c4-9811-ffb9efd2f01a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_f8f08a75-ff15-4935-9147-b59d193b21cd" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_fb2723a4-e456-49c4-9811-ffb9efd2f01a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Level2OfFairValueHierarchyMember_3c15af76-e337-4b74-a07e-e9ece632fd6e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Level2OfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_fb2723a4-e456-49c4-9811-ffb9efd2f01a" xlink:to="loc_ifrs-full_Level2OfFairValueHierarchyMember_3c15af76-e337-4b74-a07e-e9ece632fd6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_9a8b8d63-a63d-46ee-b413-25e84c75cfed" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesTable_4de832e3-b8f3-482f-a5b9-21b3f1923d36" xlink:to="loc_ifrs-full_MaturityAxis_9a8b8d63-a63d-46ee-b413-25e84c75cfed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_9a8b8d63-a63d-46ee-b413-25e84c75cfed_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_9a8b8d63-a63d-46ee-b413-25e84c75cfed" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_9a8b8d63-a63d-46ee-b413-25e84c75cfed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_9a8b8d63-a63d-46ee-b413-25e84c75cfed" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_7ac2290c-e21d-47bf-bc01-e75789e56c19" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_7ac2290c-e21d-47bf-bc01-e75789e56c19" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember_4a5c30b8-d5f9-46f4-b960-f89a18c997df" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember_4a5c30b8-d5f9-46f4-b960-f89a18c997df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember_40220069-5365-4cda-9820-438a3c588fa0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember_40220069-5365-4cda-9820-438a3c588fa0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_ade54a64-66db-4daf-9795-11c3c2a3f1bb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_cb1458b7-4076-4629-bf67-045dd6f47fa5" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_ade54a64-66db-4daf-9795-11c3c2a3f1bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows_38487bcc-ebdd-49e0-9dad-a33d038f9022" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfMaturityAnalysisForDerivativeFinancialLiabilitiesLineItems_8721d3f0-fe37-4899-8645-8f1df72e49f3" xlink:to="loc_ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows_38487bcc-ebdd-49e0-9dad-a33d038f9022" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentsnarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFairvalueLevel2instrumentsnarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentsnarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_489cfd53-bfdf-4a25-86f9-574c1e8fd8ff" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_489cfd53-bfdf-4a25-86f9-574c1e8fd8ff" xlink:to="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CategoriesOfFinancialAssetsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:to="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsCategoryMember_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa" xlink:to="loc_ifrs-full_FinancialAssetsCategoryMember_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsCategoryMember_6394919c-193c-4d51-a734-27e0b0f5002f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CategoriesOfFinancialAssetsAxis_b7ef92f1-1af4-46f4-b227-cc2eb76b8faa" xlink:to="loc_ifrs-full_FinancialAssetsCategoryMember_6394919c-193c-4d51-a734-27e0b0f5002f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember_ea2372ec-0a3a-4264-bfe9-2d179dd2b4ca" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsCategoryMember_6394919c-193c-4d51-a734-27e0b0f5002f" xlink:to="loc_ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember_ea2372ec-0a3a-4264-bfe9-2d179dd2b4ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialAssetsAxis_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialAssetsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:to="loc_ifrs-full_ClassesOfFinancialAssetsAxis_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsMember_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialAssetsAxis_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208" xlink:to="loc_ifrs-full_FinancialAssetsMember_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssetsMember_254c6b00-9672-407d-a588-0e7cf4f92441" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialAssetsAxis_fc80a7f7-15a6-4c56-b1eb-c6d0ff43e208" xlink:to="loc_ifrs-full_FinancialAssetsMember_254c6b00-9672-407d-a588-0e7cf4f92441" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativesMember_9543f7f5-7d9a-4d3d-96a2-1999d2594ff6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialAssetsMember_254c6b00-9672-407d-a588-0e7cf4f92441" xlink:to="loc_ifrs-full_DerivativesMember_9543f7f5-7d9a-4d3d-96a2-1999d2594ff6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesAxis_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:to="loc_ifrs-full_TypesOfHedgesAxis_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca" xlink:to="loc_ifrs-full_TypesOfHedgesMember_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfHedgesMember_6e1df062-a439-47e7-8677-1baee582b752" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfHedgesAxis_bd6590c7-a2f2-42fa-a0f7-6fe8b26402ca" xlink:to="loc_ifrs-full_TypesOfHedgesMember_6e1df062-a439-47e7-8677-1baee582b752" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowHedgesMember_969853b5-dd0b-4173-ad26-6889442f9b9d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfHedgesMember_6e1df062-a439-47e7-8677-1baee582b752" xlink:to="loc_ifrs-full_CashFlowHedgesMember_969853b5-dd0b-4173-ad26-6889442f9b9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_ed349879-84a0-4df7-b9cb-1259ddad185e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsTable_653465e4-a69e-4688-8ce2-8cd3fdf09c1e" xlink:to="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_ed349879-84a0-4df7-b9cb-1259ddad185e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_ed349879-84a0-4df7-b9cb-1259ddad185e_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_ed349879-84a0-4df7-b9cb-1259ddad185e" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_ed349879-84a0-4df7-b9cb-1259ddad185e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_4c4553d4-2e5c-411a-b3fb-a47c7a6e7b08" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_ed349879-84a0-4df7-b9cb-1259ddad185e" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_4c4553d4-2e5c-411a-b3fb-a47c7a6e7b08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Level2OfFairValueHierarchyMember_1a7230e5-b4e1-4d3d-992c-ea0f181445af" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Level2OfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_4c4553d4-2e5c-411a-b3fb-a47c7a6e7b08" xlink:to="loc_ifrs-full_Level2OfFairValueHierarchyMember_1a7230e5-b4e1-4d3d-992c-ea0f181445af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialAssets_fa62d9f1-6249-4ec2-a04c-0cd20d1c7e2b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialAssetsLineItems_489cfd53-bfdf-4a25-86f9-574c1e8fd8ff" xlink:to="loc_ifrs-full_FinancialAssets_fa62d9f1-6249-4ec2-a04c-0cd20d1c7e2b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentscarryingvaluesoffinancialinstrumentsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFairvalueLevel2instrumentscarryingvaluesoffinancialinstrumentsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFairvalueLevel2instrumentscarryingvaluesoffinancialinstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFairValueMeasurementOfLiabilitiesLineItems_5740f9f7-5113-48e3-b8f7-28ded08c959d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFairValueMeasurementOfLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_821167a8-8039-4255-ad18-f26f93d4df53" xlink:href="mx-20231231.xsd#mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfLiabilitiesLineItems_5740f9f7-5113-48e3-b8f7-28ded08c959d" xlink:to="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_821167a8-8039-4255-ad18-f26f93d4df53" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6687bc39-df76-4fe2-8a45-5895d173bd95" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_821167a8-8039-4255-ad18-f26f93d4df53" xlink:to="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6687bc39-df76-4fe2-8a45-5895d173bd95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_6687bc39-df76-4fe2-8a45-5895d173bd95_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6687bc39-df76-4fe2-8a45-5895d173bd95" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_6687bc39-df76-4fe2-8a45-5895d173bd95_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_3f155935-1a44-4740-8cb1-0f4a3a599622" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6687bc39-df76-4fe2-8a45-5895d173bd95" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_3f155935-1a44-4740-8cb1-0f4a3a599622" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LongtermBorrowingsMember_c686559b-0e59-45a7-a2d0-40de45cd3120" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LongtermBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_3f155935-1a44-4740-8cb1-0f4a3a599622" xlink:to="loc_ifrs-full_LongtermBorrowingsMember_c686559b-0e59-45a7-a2d0-40de45cd3120" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_21a30968-63b2-40e4-a548-f9df72828a64" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_821167a8-8039-4255-ad18-f26f93d4df53" xlink:to="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_21a30968-63b2-40e4-a548-f9df72828a64" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_21a30968-63b2-40e4-a548-f9df72828a64_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_21a30968-63b2-40e4-a548-f9df72828a64" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_21a30968-63b2-40e4-a548-f9df72828a64_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_84cbead5-5599-4590-9b4a-ab658122f3f2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_21a30968-63b2-40e4-a548-f9df72828a64" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_84cbead5-5599-4590-9b4a-ab658122f3f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Level2OfFairValueHierarchyMember_8ac6d393-16de-41dc-85e2-018b5193da04" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Level2OfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_84cbead5-5599-4590-9b4a-ab658122f3f2" xlink:to="loc_ifrs-full_Level2OfFairValueHierarchyMember_8ac6d393-16de-41dc-85e2-018b5193da04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilities_e7a264e4-7dbc-4779-b5f8-c9fc98d47911" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfLiabilitiesLineItems_5740f9f7-5113-48e3-b8f7-28ded08c959d" xlink:to="loc_ifrs-full_FinancialLiabilities_e7a264e4-7dbc-4779-b5f8-c9fc98d47911" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesAtFairValue_ded337e7-48fe-448e-8de1-24cd5bf1c502" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfLiabilitiesLineItems_5740f9f7-5113-48e3-b8f7-28ded08c959d" xlink:to="loc_ifrs-full_FinancialLiabilitiesAtFairValue_ded337e7-48fe-448e-8de1-24cd5bf1c502" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFairvalueLevel3instrumentnarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFairvalueLevel3instrumentnarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFairvalueLevel3instrumentnarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesLineItems_e52a9cb3-8077-4bc5-8ef0-c727e32459c2" xlink:href="mx-20231231.xsd#mx_DisclosureOfFinancialAssetsAndLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_290222a7-23f5-49c9-aa99-fc91c125fa1e" xlink:href="mx-20231231.xsd#mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesLineItems_e52a9cb3-8077-4bc5-8ef0-c727e32459c2" xlink:to="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_290222a7-23f5-49c9-aa99-fc91c125fa1e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6664a974-90ac-4927-be2e-978a812e1281" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfFinancialLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_290222a7-23f5-49c9-aa99-fc91c125fa1e" xlink:to="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6664a974-90ac-4927-be2e-978a812e1281" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_6664a974-90ac-4927-be2e-978a812e1281_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6664a974-90ac-4927-be2e-978a812e1281" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_6664a974-90ac-4927-be2e-978a812e1281_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilitiesMember_b8530ed1-1c51-4765-864b-d033f0e150a4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfFinancialLiabilitiesAxis_6664a974-90ac-4927-be2e-978a812e1281" xlink:to="loc_ifrs-full_FinancialLiabilitiesMember_b8530ed1-1c51-4765-864b-d033f0e150a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ForeignGasSupplyContractDerivativeMember_9cfa975e-87bd-4716-8dcc-4cba8e54a262" xlink:href="mx-20231231.xsd#mx_ForeignGasSupplyContractDerivativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_FinancialLiabilitiesMember_b8530ed1-1c51-4765-864b-d033f0e150a4" xlink:to="loc_mx_ForeignGasSupplyContractDerivativeMember_9cfa975e-87bd-4716-8dcc-4cba8e54a262" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_084636aa-826f-44b2-ab4a-72994ba44741" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesTableTable_290222a7-23f5-49c9-aa99-fc91c125fa1e" xlink:to="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_084636aa-826f-44b2-ab4a-72994ba44741" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_084636aa-826f-44b2-ab4a-72994ba44741_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_084636aa-826f-44b2-ab4a-72994ba44741" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_084636aa-826f-44b2-ab4a-72994ba44741_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_31c49216-5bf6-425b-97c7-7708b86c8f28" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_084636aa-826f-44b2-ab4a-72994ba44741" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_31c49216-5bf6-425b-97c7-7708b86c8f28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Level3OfFairValueHierarchyMember_f1f96286-d2ff-46cc-af6d-9c9ee5f3f8dd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Level3OfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_31c49216-5bf6-425b-97c7-7708b86c8f28" xlink:to="loc_ifrs-full_Level3OfFairValueHierarchyMember_f1f96286-d2ff-46cc-af6d-9c9ee5f3f8dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativeFinancialAssets_1899e81e-7f5e-43d6-99c3-e1735de16dfd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativeFinancialAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_DisclosureOfFinancialAssetsAndLiabilitiesLineItems_e52a9cb3-8077-4bc5-8ef0-c727e32459c2" xlink:to="loc_ifrs-full_DerivativeFinancialAssets_1899e81e-7f5e-43d6-99c3-e1735de16dfd" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialinstrumentsFairvalueLevel3instrumentinputsandthesensitivitiesvaluationtochangesDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialinstrumentsFairvalueLevel3instrumentinputsandthesensitivitiesvaluationtochangesDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialinstrumentsFairvalueLevel3instrumentinputsandthesensitivitiesvaluationtochangesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mx_FairValueMeasurementInputsAndValuationTechniquesLineItems_8afc3b16-e305-4d12-ab31-fc19a7bfa173" xlink:href="mx-20231231.xsd#mx_FairValueMeasurementInputsAndValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mx_FairValueMeasurementInputsAndValuationTechniquesLineItems_8afc3b16-e305-4d12-ab31-fc19a7bfa173" xlink:to="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_629790ac-4157-445a-9627-ea3d036092f8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LevelsOfFairValueHierarchyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:to="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_629790ac-4157-445a-9627-ea3d036092f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_629790ac-4157-445a-9627-ea3d036092f8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_629790ac-4157-445a-9627-ea3d036092f8" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_629790ac-4157-445a-9627-ea3d036092f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_e8f773e0-eae8-4625-87ca-b74c5aa7a15f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AllLevelsOfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_LevelsOfFairValueHierarchyAxis_629790ac-4157-445a-9627-ea3d036092f8" xlink:to="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_e8f773e0-eae8-4625-87ca-b74c5aa7a15f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Level3OfFairValueHierarchyMember_0a5e6e31-af4e-41ad-a496-fceb6ca4754a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Level3OfFairValueHierarchyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AllLevelsOfFairValueHierarchyMember_e8f773e0-eae8-4625-87ca-b74c5aa7a15f" xlink:to="loc_ifrs-full_Level3OfFairValueHierarchyMember_0a5e6e31-af4e-41ad-a496-fceb6ca4754a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis_a00dc799-bff2-4faf-81b2-b785b259aaee" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:to="loc_ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis_a00dc799-bff2-4faf-81b2-b785b259aaee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ValuationTechniquesMember_a00dc799-bff2-4faf-81b2-b785b259aaee_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ValuationTechniquesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis_a00dc799-bff2-4faf-81b2-b785b259aaee" xlink:to="loc_ifrs-full_ValuationTechniquesMember_a00dc799-bff2-4faf-81b2-b785b259aaee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ValuationTechniquesMember_44cb8674-06a8-4779-a65e-773077354d5e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ValuationTechniquesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ValuationTechniquesUsedInFairValueMeasurementAxis_a00dc799-bff2-4faf-81b2-b785b259aaee" xlink:to="loc_ifrs-full_ValuationTechniquesMember_44cb8674-06a8-4779-a65e-773077354d5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ValuationTechniquesInputValueOrRangeMember_c1131014-0157-47eb-a628-61bd23d1fe91" xlink:href="mx-20231231.xsd#mx_ValuationTechniquesInputValueOrRangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ValuationTechniquesMember_44cb8674-06a8-4779-a65e-773077354d5e" xlink:to="loc_mx_ValuationTechniquesInputValueOrRangeMember_c1131014-0157-47eb-a628-61bd23d1fe91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ValuationTechniquesChangeInInputMember_572280f1-4eb1-443a-9555-318fa6cf5e33" xlink:href="mx-20231231.xsd#mx_ValuationTechniquesChangeInInputMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ValuationTechniquesMember_44cb8674-06a8-4779-a65e-773077354d5e" xlink:to="loc_mx_ValuationTechniquesChangeInInputMember_572280f1-4eb1-443a-9555-318fa6cf5e33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ValuationTechniquesResultingChangeInValuationMember_fd0bae27-b480-433e-8569-682211c27c5d" xlink:href="mx-20231231.xsd#mx_ValuationTechniquesResultingChangeInValuationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ValuationTechniquesMember_44cb8674-06a8-4779-a65e-773077354d5e" xlink:to="loc_mx_ValuationTechniquesResultingChangeInValuationMember_fd0bae27-b480-433e-8569-682211c27c5d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsAxis_f28915eb-f576-4e60-8742-35a5289782e5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:to="loc_ifrs-full_UnobservableInputsAxis_f28915eb-f576-4e60-8742-35a5289782e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsMember_f28915eb-f576-4e60-8742-35a5289782e5_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_UnobservableInputsAxis_f28915eb-f576-4e60-8742-35a5289782e5" xlink:to="loc_ifrs-full_UnobservableInputsMember_f28915eb-f576-4e60-8742-35a5289782e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UnobservableInputsMember_f434e545-5a36-418e-abcb-d8f0e1ebc512" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UnobservableInputsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_UnobservableInputsAxis_f28915eb-f576-4e60-8742-35a5289782e5" xlink:to="loc_ifrs-full_UnobservableInputsMember_f434e545-5a36-418e-abcb-d8f0e1ebc512" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MeasurementInputMethanolPriceVolatilityMember_49e9c54f-5ca3-40b4-a0e6-09131028e09b" xlink:href="mx-20231231.xsd#mx_MeasurementInputMethanolPriceVolatilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_f434e545-5a36-418e-abcb-d8f0e1ebc512" xlink:to="loc_mx_MeasurementInputMethanolPriceVolatilityMember_49e9c54f-5ca3-40b4-a0e6-09131028e09b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MeasurementInputMethanolPriceForecastMember_d57b2ec6-0654-4fbd-92d6-08b3700ee34a" xlink:href="mx-20231231.xsd#mx_MeasurementInputMethanolPriceForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_f434e545-5a36-418e-abcb-d8f0e1ebc512" xlink:to="loc_mx_MeasurementInputMethanolPriceForecastMember_d57b2ec6-0654-4fbd-92d6-08b3700ee34a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MeasurementInputDiscountRate1Member_775c955a-251e-4547-b73b-76aac73c9c00" xlink:href="mx-20231231.xsd#mx_MeasurementInputDiscountRate1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_UnobservableInputsMember_f434e545-5a36-418e-abcb-d8f0e1ebc512" xlink:to="loc_mx_MeasurementInputDiscountRate1Member_775c955a-251e-4547-b73b-76aac73c9c00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_dc5dc182-34b6-4a43-9877-8011e1af2d3e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFairValueMeasurementOfEquityTable_2d3e49a6-1197-45e0-a06b-d98889f289fe" xlink:to="loc_srt_RangeAxis_dc5dc182-34b6-4a43-9877-8011e1af2d3e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_dc5dc182-34b6-4a43-9877-8011e1af2d3e_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_dc5dc182-34b6-4a43-9877-8011e1af2d3e" xlink:to="loc_srt_RangeMember_dc5dc182-34b6-4a43-9877-8011e1af2d3e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fd8d79a8-f86b-4120-8906-36dce8d1a774" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_dc5dc182-34b6-4a43-9877-8011e1af2d3e" xlink:to="loc_srt_RangeMember_fd8d79a8-f86b-4120-8906-36dce8d1a774" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_a4030fdf-d253-4269-b7ee-0ad6fdb19fd3" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fd8d79a8-f86b-4120-8906-36dce8d1a774" xlink:to="loc_srt_MinimumMember_a4030fdf-d253-4269-b7ee-0ad6fdb19fd3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_71a08b16-b96a-48ae-adb7-9627a7320db4" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fd8d79a8-f86b-4120-8906-36dce8d1a774" xlink:to="loc_srt_MaximumMember_71a08b16-b96a-48ae-adb7-9627a7320db4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantUnobservableInputAssets_c7724a47-84e8-4873-a75c-eb03cee21818" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantUnobservableInputAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FairValueMeasurementInputsAndValuationTechniquesLineItems_8afc3b16-e305-4d12-ab31-fc19a7bfa173" xlink:to="loc_ifrs-full_SignificantUnobservableInputAssets_c7724a47-84e8-4873-a75c-eb03cee21818" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialriskmanagementInterestrateriskDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialriskmanagementInterestrateriskDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialriskmanagementInterestrateriskDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_0a1ac66c-ef30-40d9-867c-25dc42ae5f6f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_ae056177-cfbd-46f3-815e-a8c7b2b8f3d3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_0a1ac66c-ef30-40d9-867c-25dc42ae5f6f" xlink:to="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_ae056177-cfbd-46f3-815e-a8c7b2b8f3d3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksAxis_dd84b9e1-925d-4589-aed5-033c9495c55a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_ae056177-cfbd-46f3-815e-a8c7b2b8f3d3" xlink:to="loc_ifrs-full_TypesOfRisksAxis_dd84b9e1-925d-4589-aed5-033c9495c55a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_dd84b9e1-925d-4589-aed5-033c9495c55a_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfRisksAxis_dd84b9e1-925d-4589-aed5-033c9495c55a" xlink:to="loc_ifrs-full_TypesOfRisksMember_dd84b9e1-925d-4589-aed5-033c9495c55a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_6994eeda-77d6-4e11-9686-df4a3e52f57b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfRisksAxis_dd84b9e1-925d-4589-aed5-033c9495c55a" xlink:to="loc_ifrs-full_TypesOfRisksMember_6994eeda-77d6-4e11-9686-df4a3e52f57b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRateRiskMember_a3afff7c-a6a5-4ded-b62d-b326e31734e2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestRateRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfRisksMember_6994eeda-77d6-4e11-9686-df4a3e52f57b" xlink:to="loc_ifrs-full_InterestRateRiskMember_a3afff7c-a6a5-4ded-b62d-b326e31734e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_d3000e13-833b-4564-bad3-4eb79574c154" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_ae056177-cfbd-46f3-815e-a8c7b2b8f3d3" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_d3000e13-833b-4564-bad3-4eb79574c154" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_d3000e13-833b-4564-bad3-4eb79574c154_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_d3000e13-833b-4564-bad3-4eb79574c154" xlink:to="loc_ifrs-full_BorrowingsByNameMember_d3000e13-833b-4564-bad3-4eb79574c154_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_5fbcddf6-9839-4421-aadb-b0ce08efeb36" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_d3000e13-833b-4564-bad3-4eb79574c154" xlink:to="loc_ifrs-full_BorrowingsByNameMember_5fbcddf6-9839-4421-aadb-b0ce08efeb36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnsecuredDebt1Member_63575ae4-e652-4b0e-bc5a-e662c507c502" xlink:href="mx-20231231.xsd#mx_UnsecuredDebt1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_5fbcddf6-9839-4421-aadb-b0ce08efeb36" xlink:to="loc_mx_UnsecuredDebt1Member_63575ae4-e652-4b0e-bc5a-e662c507c502" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_8171fcc0-d082-48c5-be2f-5afef0852f2d" xlink:href="mx-20231231.xsd#mx_OtherLimitedRecourseDebtFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_5fbcddf6-9839-4421-aadb-b0ce08efeb36" xlink:to="loc_mx_OtherLimitedRecourseDebtFacilitiesMember_8171fcc0-d082-48c5-be2f-5afef0852f2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfInterestRatesAxis_71355cc4-2318-4639-bcf8-9c1b7c48e0b5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfInterestRatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_ae056177-cfbd-46f3-815e-a8c7b2b8f3d3" xlink:to="loc_ifrs-full_TypesOfInterestRatesAxis_71355cc4-2318-4639-bcf8-9c1b7c48e0b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRateTypesMember_71355cc4-2318-4639-bcf8-9c1b7c48e0b5_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestRateTypesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfInterestRatesAxis_71355cc4-2318-4639-bcf8-9c1b7c48e0b5" xlink:to="loc_ifrs-full_InterestRateTypesMember_71355cc4-2318-4639-bcf8-9c1b7c48e0b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestRateTypesMember_f05e9bba-843e-4f0c-a2d0-8c0738e3ce2f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestRateTypesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfInterestRatesAxis_71355cc4-2318-4639-bcf8-9c1b7c48e0b5" xlink:to="loc_ifrs-full_InterestRateTypesMember_f05e9bba-843e-4f0c-a2d0-8c0738e3ce2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FixedInterestRateMember_ef205fe0-7313-47d2-bee5-582893a62706" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FixedInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_InterestRateTypesMember_f05e9bba-843e-4f0c-a2d0-8c0738e3ce2f" xlink:to="loc_ifrs-full_FixedInterestRateMember_ef205fe0-7313-47d2-bee5-582893a62706" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic_3fbaa3d3-cb2c-48c7-b564-8eb497b0b50d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_0a1ac66c-ef30-40d9-867c-25dc42ae5f6f" xlink:to="loc_ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic_3fbaa3d3-cb2c-48c7-b564-8eb497b0b50d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent_162f9f01-f790-4eb6-a8d9-962e8b65f4f6" xlink:href="mx-20231231.xsd#mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_0a1ac66c-ef30-40d9-867c-25dc42ae5f6f" xlink:to="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent_162f9f01-f790-4eb6-a8d9-962e8b65f4f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableDebt_4d819c8d-b407-4414-9a77-d7e012890686" xlink:href="mx-20231231.xsd#mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_0a1ac66c-ef30-40d9-867c-25dc42ae5f6f" xlink:to="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableDebt_4d819c8d-b407-4414-9a77-d7e012890686" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialriskmanagementForeigncurrencyriskDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialriskmanagementForeigncurrencyriskDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialriskmanagementForeigncurrencyriskDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_53e2a177-f912-412a-b572-d1006085a3df" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_1caa2936-3f4e-4254-8e19-b26cd974342f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_53e2a177-f912-412a-b572-d1006085a3df" xlink:to="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_1caa2936-3f4e-4254-8e19-b26cd974342f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksAxis_3c841364-dcdc-45fd-a961-6ae14ecf43a7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable_1caa2936-3f4e-4254-8e19-b26cd974342f" xlink:to="loc_ifrs-full_TypesOfRisksAxis_3c841364-dcdc-45fd-a961-6ae14ecf43a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_3c841364-dcdc-45fd-a961-6ae14ecf43a7_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfRisksAxis_3c841364-dcdc-45fd-a961-6ae14ecf43a7" xlink:to="loc_ifrs-full_TypesOfRisksMember_3c841364-dcdc-45fd-a961-6ae14ecf43a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_f44b67a8-e419-49c0-b98a-ca114397d706" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfRisksAxis_3c841364-dcdc-45fd-a961-6ae14ecf43a7" xlink:to="loc_ifrs-full_TypesOfRisksMember_f44b67a8-e419-49c0-b98a-ca114397d706" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrencyRiskMember_47bcd3c7-d92d-4d2a-9dcd-f7d6161a1ffe" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrencyRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfRisksMember_f44b67a8-e419-49c0-b98a-ca114397d706" xlink:to="loc_ifrs-full_CurrencyRiskMember_47bcd3c7-d92d-4d2a-9dcd-f7d6161a1ffe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic_b1421d90-9ba0-4b70-9f35-381743b02efb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_53e2a177-f912-412a-b572-d1006085a3df" xlink:to="loc_ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic_b1421d90-9ba0-4b70-9f35-381743b02efb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent_658287dc-fa85-47a2-84ae-62f7da569e83" xlink:href="mx-20231231.xsd#mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_53e2a177-f912-412a-b572-d1006085a3df" xlink:to="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariablePercent_658287dc-fa85-47a2-84ae-62f7da569e83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableImpactOnEquity_5d3dc4ed-da50-438a-9e99-3b5e1fd3f3bd" xlink:href="mx-20231231.xsd#mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableImpactOnEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateLineItems_53e2a177-f912-412a-b572-d1006085a3df" xlink:to="loc_mx_SensitivityAnalysisForTypesOfMarketRiskReasonablyPossibleChangeInRiskVariableImpactOnEquity_5d3dc4ed-da50-438a-9e99-3b5e1fd3f3bd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/FinancialriskmanagementLiquidityrisksDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#FinancialriskmanagementLiquidityrisksDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/FinancialriskmanagementLiquidityrisksDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialLiabilitiesLineItems_68599e82-dad0-42ba-8f5b-5673d4d685bc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfFinancialLiabilitiesTable_6c39defe-ebdc-4767-95b0-1c946cbba694" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfFinancialLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesLineItems_68599e82-dad0-42ba-8f5b-5673d4d685bc" xlink:to="loc_ifrs-full_DisclosureOfFinancialLiabilitiesTable_6c39defe-ebdc-4767-95b0-1c946cbba694" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameAxis_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesTable_6c39defe-ebdc-4767-95b0-1c946cbba694" xlink:to="loc_ifrs-full_BorrowingsByNameAxis_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5" xlink:to="loc_ifrs-full_BorrowingsByNameMember_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BorrowingsByNameMember_b52363ff-d447-474a-ac0e-65fe0a16b73d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BorrowingsByNameMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_BorrowingsByNameAxis_90ee8501-c69e-4eb3-b30c-48d4ffdac1c5" xlink:to="loc_ifrs-full_BorrowingsByNameMember_b52363ff-d447-474a-ac0e-65fe0a16b73d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RevolvingCreditFacility1Member_bd623229-d164-4c96-a186-a53c8651b57a" xlink:href="mx-20231231.xsd#mx_RevolvingCreditFacility1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_BorrowingsByNameMember_b52363ff-d447-474a-ac0e-65fe0a16b73d" xlink:to="loc_mx_RevolvingCreditFacility1Member_bd623229-d164-4c96-a186-a53c8651b57a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksAxis_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesTable_6c39defe-ebdc-4767-95b0-1c946cbba694" xlink:to="loc_ifrs-full_TypesOfRisksAxis_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_TypesOfRisksAxis_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671" xlink:to="loc_ifrs-full_TypesOfRisksMember_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TypesOfRisksMember_fc01068d-1d2a-42b7-ae86-857ec917e0d3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TypesOfRisksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_TypesOfRisksAxis_f26c0ae3-b6eb-46eb-be4d-ad19b5da7671" xlink:to="loc_ifrs-full_TypesOfRisksMember_fc01068d-1d2a-42b7-ae86-857ec917e0d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiquidityRiskMember_adf50837-7347-4b33-8216-7e308d159c14" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiquidityRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_TypesOfRisksMember_fc01068d-1d2a-42b7-ae86-857ec917e0d3" xlink:to="loc_ifrs-full_LiquidityRiskMember_adf50837-7347-4b33-8216-7e308d159c14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_0240243b-8565-423b-8176-a3a8a9688a2a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesTable_6c39defe-ebdc-4767-95b0-1c946cbba694" xlink:to="loc_ifrs-full_MaturityAxis_0240243b-8565-423b-8176-a3a8a9688a2a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_0240243b-8565-423b-8176-a3a8a9688a2a_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_0240243b-8565-423b-8176-a3a8a9688a2a" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_0240243b-8565-423b-8176-a3a8a9688a2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_0240243b-8565-423b-8176-a3a8a9688a2a" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_648cefec-6a5c-4815-a0a6-d18445f8391c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_648cefec-6a5c-4815-a0a6-d18445f8391c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember_a6bf8661-f93a-43a4-9551-225861e3132d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember_a6bf8661-f93a-43a4-9551-225861e3132d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember_e3237638-2da2-480c-9495-60f7a78e7c34" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember_e3237638-2da2-480c-9495-60f7a78e7c34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_a215a529-290e-4a45-84c4-a9eed489c2c2" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_e233cc60-aae6-436b-a6f2-46eadca7f89c" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_a215a529-290e-4a45-84c4-a9eed489c2c2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_UndrawnBorrowingFacilities_a9b39744-5acf-4700-92fd-653bdf331697" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_UndrawnBorrowingFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesLineItems_68599e82-dad0-42ba-8f5b-5673d4d685bc" xlink:to="loc_ifrs-full_UndrawnBorrowingFacilities_a9b39744-5acf-4700-92fd-653bdf331697" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:href="mx-20231231.xsd#mx_FinancialLiabilitiesCarryingAmountAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesLineItems_68599e82-dad0-42ba-8f5b-5673d4d685bc" xlink:to="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherPayables_523c0407-9836-40e8-a2e3-0da890f0038c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TradeAndOtherPayables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_TradeAndOtherPayables_523c0407-9836-40e8-a2e3-0da890f0038c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LeaseLiabilities_f9f4eb9c-6acd-42df-9ec6-e4d2e877f447" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_LeaseLiabilities_f9f4eb9c-6acd-42df-9ec6-e4d2e877f447" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherNoncurrentLiabilities_947c0dd3-3a96-4ea5-aff3-c2eb250452fd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_OtherNoncurrentLiabilities_947c0dd3-3a96-4ea5-aff3-c2eb250452fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Borrowings_fd660a39-cae9-42e8-9a4e-b1191d0b6a09" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Borrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_Borrowings_fd660a39-cae9-42e8-9a4e-b1191d0b6a09" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativeFinancialLiabilities_f7de1d4e-56c4-4d20-a6e0-5c1e095432ad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativeFinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_DerivativeFinancialLiabilities_f7de1d4e-56c4-4d20-a6e0-5c1e095432ad" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_FinancialLiabilities_69f007b7-e496-4d74-8daf-e1d730f4c26d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_FinancialLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesCarryingAmountAbstract_ee41276a-507d-429a-a0de-bbfd85b1dd49" xlink:to="loc_ifrs-full_FinancialLiabilities_69f007b7-e496-4d74-8daf-e1d730f4c26d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:href="mx-20231231.xsd#mx_FinancialLiabilitiesContractualCashFlowsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfFinancialLiabilitiesLineItems_68599e82-dad0-42ba-8f5b-5673d4d685bc" xlink:to="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows_8a155f09-2da0-40a5-8976-295c7249ce9a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows_8a155f09-2da0-40a5-8976-295c7249ce9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GrossLeaseLiabilities_ff4eba8b-0aa2-4696-b13f-845872811bfc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GrossLeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_ifrs-full_GrossLeaseLiabilities_ff4eba8b-0aa2-4696-b13f-845872811bfc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherNonCurrentLiabilitiesUndiscountedCashFlows_39b64c41-7225-4eed-adfb-3991e0ef7fcc" xlink:href="mx-20231231.xsd#mx_OtherNonCurrentLiabilitiesUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_mx_OtherNonCurrentLiabilitiesUndiscountedCashFlows_39b64c41-7225-4eed-adfb-3991e0ef7fcc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_BankBorrowingsUndiscountedCashFlows_06dc9afd-1df3-41de-8d00-378d64077cc3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_BankBorrowingsUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_ifrs-full_BankBorrowingsUndiscountedCashFlows_06dc9afd-1df3-41de-8d00-378d64077cc3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows_1e93af9e-f81a-4543-bf54-7f17bac53b06" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows_1e93af9e-f81a-4543-bf54-7f17bac53b06" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FinancialLiabilitiesUndiscountedCashFlows_34d791ac-acb8-4602-b3a8-6ca3dd849b50" xlink:href="mx-20231231.xsd#mx_FinancialLiabilitiesUndiscountedCashFlows"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_FinancialLiabilitiesContractualCashFlowsAbstract_d5f2c247-1da4-44cd-a6c2-4b9c049d8fe8" xlink:to="loc_mx_FinancialLiabilitiesUndiscountedCashFlows_34d791ac-acb8-4602-b3a8-6ca3dd849b50" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/RetirementplansDefinedbenefitpensionplansDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#RetirementplansDefinedbenefitpensionplansDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/RetirementplansDefinedbenefitpensionplansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_128d6231-2c46-427b-bec6-5838619283fd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_128d6231-2c46-427b-bec6-5838619283fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetDefinedBenefitLiabilityAssetAxis_d48e4fec-691a-4e1e-b5c4-c28065005f52" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NetDefinedBenefitLiabilityAssetAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_128d6231-2c46-427b-bec6-5838619283fd" xlink:to="loc_ifrs-full_NetDefinedBenefitLiabilityAssetAxis_d48e4fec-691a-4e1e-b5c4-c28065005f52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_d48e4fec-691a-4e1e-b5c4-c28065005f52_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NetDefinedBenefitLiabilityAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_NetDefinedBenefitLiabilityAssetAxis_d48e4fec-691a-4e1e-b5c4-c28065005f52" xlink:to="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_d48e4fec-691a-4e1e-b5c4-c28065005f52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_5e23149c-f7fd-4f8e-bcc5-94cd167cef62" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NetDefinedBenefitLiabilityAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_NetDefinedBenefitLiabilityAssetAxis_d48e4fec-691a-4e1e-b5c4-c28065005f52" xlink:to="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_5e23149c-f7fd-4f8e-bcc5-94cd167cef62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PresentValueOfDefinedBenefitObligationMember_dbf8c4be-fa5b-4830-b7ab-a7f119c4e930" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PresentValueOfDefinedBenefitObligationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_5e23149c-f7fd-4f8e-bcc5-94cd167cef62" xlink:to="loc_ifrs-full_PresentValueOfDefinedBenefitObligationMember_dbf8c4be-fa5b-4830-b7ab-a7f119c4e930" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PlanAssetsMember_f681ecae-38c2-46b6-9325-9e85749c5229" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PlanAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_NetDefinedBenefitLiabilityAssetMember_5e23149c-f7fd-4f8e-bcc5-94cd167cef62" xlink:to="loc_ifrs-full_PlanAssetsMember_f681ecae-38c2-46b6-9325-9e85749c5229" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilityAssetOfDefinedBenefitPlans_8bfa8ff4-bc8d-462b-bb3f-5ea1a2ea9000" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilityAssetOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_LiabilityAssetOfDefinedBenefitPlans_8bfa8ff4-bc8d-462b-bb3f-5ea1a2ea9000" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset_ef69cf69-89cd-41ea-8cba-f055258f0a0e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset_ef69cf69-89cd-41ea-8cba-f055258f0a0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset_0a6b4029-7430-4aeb-8c05-4fe3ca23042e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_PastServiceCostNetDefinedBenefitLiabilityAsset_0a6b4029-7430-4aeb-8c05-4fe3ca23042e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset_e00b705c-f40c-4739-abf2-b54cceb860fd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset_e00b705c-f40c-4739-abf2-b54cceb860fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset_37baa792-cb26-4cc8-ac28-97aa8788b31a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset_37baa792-cb26-4cc8-ac28-97aa8788b31a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PaymentsInRespectOfSettlementsNetDefinedBenefitLiabilityAsset_87b043fe-b8d8-4352-84d4-43a5ba92e202" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PaymentsInRespectOfSettlementsNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_PaymentsInRespectOfSettlementsNetDefinedBenefitLiabilityAsset_87b043fe-b8d8-4352-84d4-43a5ba92e202" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAsset_51ef9324-65ec-424e-986d-05fd3a0adff8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAsset_51ef9324-65ec-424e-986d-05fd3a0adff8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ContributionsToPlanNetDefinedBenefitLiabilityAsset_481478c7-2cee-4cba-a155-098e17c6525c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ContributionsToPlanNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_ContributionsToPlanNetDefinedBenefitLiabilityAsset_481478c7-2cee-4cba-a155-098e17c6525c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset_404377c6-842b-495a-9d7b-52dbb8c20127" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset_404377c6-842b-495a-9d7b-52dbb8c20127" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset_f394f176-23ec-4818-9414-c26bc565c6d1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughChangesInForeignExchangeRatesNetDefinedBenefitLiabilityAsset_f394f176-23ec-4818-9414-c26bc565c6d1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilityAssetOfDefinedBenefitPlans_ac15612c-e1af-405d-b70c-29d8bebd6bb0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilityAssetOfDefinedBenefitPlans"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SurplusDeficitInPlan_187ef926-edf0-4736-8173-ecaa56872cd4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SurplusDeficitInPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_ifrs-full_SurplusDeficitInPlan_187ef926-edf0-4736-8173-ecaa56872cd4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_DefinedBenefitPlanMinimumFundingRequirement_71bdd041-0a73-4451-9487-2f5b84e67846" xlink:href="mx-20231231.xsd#mx_DefinedBenefitPlanMinimumFundingRequirement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_697fbcd7-052f-445c-9438-d1a94fdac795" xlink:to="loc_mx_DefinedBenefitPlanMinimumFundingRequirement_71bdd041-0a73-4451-9487-2f5b84e67846" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/RetirementplansNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#RetirementplansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/RetirementplansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_14ead12c-d1af-4f99-a801-8b3a74649620" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_14ead12c-d1af-4f99-a801-8b3a74649620" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanFundingStatus1Axis_ab0c5858-d54a-401e-ac94-dcbca4677340" xlink:href="mx-20231231.xsd#mx_RetirementPlanFundingStatus1Axis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_14ead12c-d1af-4f99-a801-8b3a74649620" xlink:to="loc_mx_RetirementPlanFundingStatus1Axis_ab0c5858-d54a-401e-ac94-dcbca4677340" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanFundingStatus1Domain_ab0c5858-d54a-401e-ac94-dcbca4677340_default" xlink:href="mx-20231231.xsd#mx_RetirementPlanFundingStatus1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_RetirementPlanFundingStatus1Axis_ab0c5858-d54a-401e-ac94-dcbca4677340" xlink:to="loc_mx_RetirementPlanFundingStatus1Domain_ab0c5858-d54a-401e-ac94-dcbca4677340_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanFundingStatus1Domain_ced50ac4-6f2e-435e-a70e-075bf3c6fcc8" xlink:href="mx-20231231.xsd#mx_RetirementPlanFundingStatus1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_RetirementPlanFundingStatus1Axis_ab0c5858-d54a-401e-ac94-dcbca4677340" xlink:to="loc_mx_RetirementPlanFundingStatus1Domain_ced50ac4-6f2e-435e-a70e-075bf3c6fcc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_UnfundedPlan1Member_46960939-ef76-4ac1-9ef2-a70dadc39353" xlink:href="mx-20231231.xsd#mx_UnfundedPlan1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RetirementPlanFundingStatus1Domain_ced50ac4-6f2e-435e-a70e-075bf3c6fcc8" xlink:to="loc_mx_UnfundedPlan1Member_46960939-ef76-4ac1-9ef2-a70dadc39353" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_FundedPlan1Member_31f67783-3557-488f-af8f-4094431f2744" xlink:href="mx-20231231.xsd#mx_FundedPlan1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RetirementPlanFundingStatus1Domain_ced50ac4-6f2e-435e-a70e-075bf3c6fcc8" xlink:to="loc_mx_FundedPlan1Member_31f67783-3557-488f-af8f-4094431f2744" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanSponsorLocation1Axis_41887c76-8646-4cf8-bc06-169c173ad33f" xlink:href="mx-20231231.xsd#mx_RetirementPlanSponsorLocation1Axis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_14ead12c-d1af-4f99-a801-8b3a74649620" xlink:to="loc_mx_RetirementPlanSponsorLocation1Axis_41887c76-8646-4cf8-bc06-169c173ad33f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanSponsorLocation1Domain_41887c76-8646-4cf8-bc06-169c173ad33f_default" xlink:href="mx-20231231.xsd#mx_RetirementPlanSponsorLocation1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mx_RetirementPlanSponsorLocation1Axis_41887c76-8646-4cf8-bc06-169c173ad33f" xlink:to="loc_mx_RetirementPlanSponsorLocation1Domain_41887c76-8646-4cf8-bc06-169c173ad33f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_RetirementPlanSponsorLocation1Domain_3b4dfe1b-e6ba-48f7-8ae6-61241f794cb3" xlink:href="mx-20231231.xsd#mx_RetirementPlanSponsorLocation1Domain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mx_RetirementPlanSponsorLocation1Axis_41887c76-8646-4cf8-bc06-169c173ad33f" xlink:to="loc_mx_RetirementPlanSponsorLocation1Domain_3b4dfe1b-e6ba-48f7-8ae6-61241f794cb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CL_945a63a2-4dbb-4fdf-b256-0224aca6d09b" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RetirementPlanSponsorLocation1Domain_3b4dfe1b-e6ba-48f7-8ae6-61241f794cb3" xlink:to="loc_country_CL_945a63a2-4dbb-4fdf-b256-0224aca6d09b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_EG_5d7af377-54e1-4ac5-9f7d-f9bde03ab084" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_EG"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RetirementPlanSponsorLocation1Domain_3b4dfe1b-e6ba-48f7-8ae6-61241f794cb3" xlink:to="loc_country_EG_5d7af377-54e1-4ac5-9f7d-f9bde03ab084" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EuropeMember_009b1da4-c8cb-4992-8eb0-207a9bacf296" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EuropeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mx_RetirementPlanSponsorLocation1Domain_3b4dfe1b-e6ba-48f7-8ae6-61241f794cb3" xlink:to="loc_srt_EuropeMember_009b1da4-c8cb-4992-8eb0-207a9bacf296" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ActuarialAssumptionsAxis_be9f7bfb-ab46-438e-886e-193cb46a1141" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ActuarialAssumptionsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetTable_14ead12c-d1af-4f99-a801-8b3a74649620" xlink:to="loc_ifrs-full_ActuarialAssumptionsAxis_be9f7bfb-ab46-438e-886e-193cb46a1141" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ActuarialAssumptionsMember_be9f7bfb-ab46-438e-886e-193cb46a1141_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ActuarialAssumptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ActuarialAssumptionsAxis_be9f7bfb-ab46-438e-886e-193cb46a1141" xlink:to="loc_ifrs-full_ActuarialAssumptionsMember_be9f7bfb-ab46-438e-886e-193cb46a1141_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ActuarialAssumptionsMember_4be55a1d-89fc-4605-86cb-b046efcd8429" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ActuarialAssumptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ActuarialAssumptionsAxis_be9f7bfb-ab46-438e-886e-193cb46a1141" xlink:to="loc_ifrs-full_ActuarialAssumptionsMember_4be55a1d-89fc-4605-86cb-b046efcd8429" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ActuarialAssumptionOfDiscountRatesMember_1443e2fd-dd1a-452e-b7b0-2d07e4af4e5b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ActuarialAssumptionOfDiscountRatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ActuarialAssumptionsMember_4be55a1d-89fc-4605-86cb-b046efcd8429" xlink:to="loc_ifrs-full_ActuarialAssumptionOfDiscountRatesMember_1443e2fd-dd1a-452e-b7b0-2d07e4af4e5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LiabilityAssetOfDefinedBenefitPlans_5c5d5f63-6c8f-4bd1-9bc3-0228be0bd1a8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LiabilityAssetOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_LiabilityAssetOfDefinedBenefitPlans_5c5d5f63-6c8f-4bd1-9bc3-0228be0bd1a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan_ef2173ac-eec6-4ce6-a394-ecbc3cdf8b2d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan_ef2173ac-eec6-4ce6-a394-ecbc3cdf8b2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019_34b1f630-6478-4811-8dbe-c1401338ccce" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019_34b1f630-6478-4811-8dbe-c1401338ccce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansMinimumFundingRequirement_eac05fee-e76f-4d0a-bf24-05b2759b3fe7" xlink:href="mx-20231231.xsd#mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansMinimumFundingRequirement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_mx_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlansMinimumFundingRequirement_eac05fee-e76f-4d0a-bf24-05b2759b3fe7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ActuarialAssumptionOfDiscountRates_40a62f35-8f21-4d6b-abe5-02edaea27b7a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ActuarialAssumptionOfDiscountRates"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_ActuarialAssumptionOfDiscountRates_40a62f35-8f21-4d6b-abe5-02edaea27b7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption_721c490d-6ecf-4976-a0f1-fa35ba02e8e8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption_721c490d-6ecf-4976-a0f1-fa35ba02e8e8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption_a7ea00b9-23d4-4772-9de6-99cd11e37dc0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption_a7ea00b9-23d4-4772-9de6-99cd11e37dc0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans_b066439a-639f-4f8b-a760-068edea6773d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetLineItems_6c814e4a-1906-4f7c-9a98-4b94a5f594ba" xlink:to="loc_ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans_b066439a-639f-4f8b-a760-068edea6773d" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/CommitmentsandcontingenciesMinimumpurchasecontractcommitmentDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#CommitmentsandcontingenciesMinimumpurchasecontractcommitmentDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/CommitmentsandcontingenciesMinimumpurchasecontractcommitmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfContingentLiabilitiesLineItems_83939e97-8312-4305-935c-75848f804303" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfContingentLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfContingentLiabilitiesTable_927395e3-d496-406f-a715-504abc23b679" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfContingentLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfContingentLiabilitiesLineItems_83939e97-8312-4305-935c-75848f804303" xlink:to="loc_ifrs-full_DisclosureOfContingentLiabilitiesTable_927395e3-d496-406f-a715-504abc23b679" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_30c51dfb-7d73-4a79-aed6-90b5243624ae" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfContingentLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfContingentLiabilitiesTable_927395e3-d496-406f-a715-504abc23b679" xlink:to="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_30c51dfb-7d73-4a79-aed6-90b5243624ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ContingentLiabilitiesMember_30c51dfb-7d73-4a79-aed6-90b5243624ae_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ContingentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_30c51dfb-7d73-4a79-aed6-90b5243624ae" xlink:to="loc_ifrs-full_ContingentLiabilitiesMember_30c51dfb-7d73-4a79-aed6-90b5243624ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ContingentLiabilitiesMember_9898ad48-c009-47e8-8df7-f9193ad3016f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ContingentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_30c51dfb-7d73-4a79-aed6-90b5243624ae" xlink:to="loc_ifrs-full_ContingentLiabilitiesMember_9898ad48-c009-47e8-8df7-f9193ad3016f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PurchaseCommitment1Member_e53adaa4-ab32-411b-a286-12fef57d0197" xlink:href="mx-20231231.xsd#mx_PurchaseCommitment1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ContingentLiabilitiesMember_9898ad48-c009-47e8-8df7-f9193ad3016f" xlink:to="loc_mx_PurchaseCommitment1Member_e53adaa4-ab32-411b-a286-12fef57d0197" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfContingentLiabilitiesTable_927395e3-d496-406f-a715-504abc23b679" xlink:to="loc_ifrs-full_MaturityAxis_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_ba19406a-4e2f-4df7-8aa9-3e618d9cfcf8" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_b6688754-2fb9-49e2-9ed5-00ff5b73d7bb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_b6688754-2fb9-49e2-9ed5-00ff5b73d7bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_c98ff31f-73f2-4871-8fac-dfd97ae341d3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_c98ff31f-73f2-4871-8fac-dfd97ae341d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_515d8d81-1264-4a62-8c17-a0b306a72b10" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_515d8d81-1264-4a62-8c17-a0b306a72b10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_59f27195-d240-4ead-bb8c-17b00be193ad" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_59f27195-d240-4ead-bb8c-17b00be193ad" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_5e197410-e80d-4da9-a0c9-77379af8a7b6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_5e197410-e80d-4da9-a0c9-77379af8a7b6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_1388d1cd-2c94-45bc-badc-7288b76addf0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_de72a2f9-aa48-474d-9449-87b7791f0f25" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_1388d1cd-2c94-45bc-badc-7288b76addf0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EstimatedFinancialEffectOfContingentLiabilities_d8e63d06-b5b8-4650-9f97-52f5c80e85bf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EstimatedFinancialEffectOfContingentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfContingentLiabilitiesLineItems_83939e97-8312-4305-935c-75848f804303" xlink:to="loc_ifrs-full_EstimatedFinancialEffectOfContingentLiabilities_d8e63d06-b5b8-4650-9f97-52f5c80e85bf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/CommitmentsandcontingenciesOthercommitmentsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#CommitmentsandcontingenciesOthercommitmentsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/CommitmentsandcontingenciesOthercommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_93aaeac7-96da-4933-8017-cbcfbeaf1e4d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfOtherProvisionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfOtherProvisionsTable_4dda2971-ef8b-4031-bc81-81deceb4af3c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfOtherProvisionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_93aaeac7-96da-4933-8017-cbcfbeaf1e4d" xlink:to="loc_ifrs-full_DisclosureOfOtherProvisionsTable_4dda2971-ef8b-4031-bc81-81deceb4af3c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfProvisionsAxis_8b2ee385-6e84-4fb7-b497-1115c211fc2c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfProvisionsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsTable_4dda2971-ef8b-4031-bc81-81deceb4af3c" xlink:to="loc_ifrs-full_ClassesOfProvisionsAxis_8b2ee385-6e84-4fb7-b497-1115c211fc2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisionsMember_8b2ee385-6e84-4fb7-b497-1115c211fc2c_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfProvisionsAxis_8b2ee385-6e84-4fb7-b497-1115c211fc2c" xlink:to="loc_ifrs-full_OtherProvisionsMember_8b2ee385-6e84-4fb7-b497-1115c211fc2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisionsMember_253c02a9-36d4-4368-be8a-a8238c7a1165" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfProvisionsAxis_8b2ee385-6e84-4fb7-b497-1115c211fc2c" xlink:to="loc_ifrs-full_OtherProvisionsMember_253c02a9-36d4-4368-be8a-a8238c7a1165" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ContractualObligationsMember_5f953ce7-16d7-4b61-8956-a0542d6b3849" xlink:href="mx-20231231.xsd#mx_ContractualObligationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_OtherProvisionsMember_253c02a9-36d4-4368-be8a-a8238c7a1165" xlink:to="loc_mx_ContractualObligationsMember_5f953ce7-16d7-4b61-8956-a0542d6b3849" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_dca03604-eb3f-4bd1-ac36-086631b6bf94" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsTable_4dda2971-ef8b-4031-bc81-81deceb4af3c" xlink:to="loc_ifrs-full_MaturityAxis_dca03604-eb3f-4bd1-ac36-086631b6bf94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_dca03604-eb3f-4bd1-ac36-086631b6bf94_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_dca03604-eb3f-4bd1-ac36-086631b6bf94" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_dca03604-eb3f-4bd1-ac36-086631b6bf94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_dca03604-eb3f-4bd1-ac36-086631b6bf94" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_6a3e220d-6f2c-46a6-ba0a-2b9e7d1c3cde" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_6a3e220d-6f2c-46a6-ba0a-2b9e7d1c3cde" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_9ac77b71-dddc-4338-8b3d-020a4eebb8f0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember_9ac77b71-dddc-4338-8b3d-020a4eebb8f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_6780c23b-ea78-41a6-a85a-15d912b2bc01" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember_6780c23b-ea78-41a6-a85a-15d912b2bc01" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_d44743d7-779f-40fe-bd31-bdbf6a7aa578" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember_d44743d7-779f-40fe-bd31-bdbf6a7aa578" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_b8237495-175a-4b26-91e5-e493c1510a50" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember_b8237495-175a-4b26-91e5-e493c1510a50" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_LaterThanFiveYearsMember_a1c48799-8515-46f3-bc83-f5c5745878bf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_LaterThanFiveYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_a6da5480-d1e9-4e8d-a0dc-7cc9123b432f" xlink:to="loc_ifrs-full_LaterThanFiveYearsMember_a1c48799-8515-46f3-bc83-f5c5745878bf" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherProvisions_15a76764-c3e6-45fb-8819-8b225a7efe14" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfOtherProvisionsLineItems_93aaeac7-96da-4933-8017-cbcfbeaf1e4d" xlink:to="loc_ifrs-full_OtherProvisions_15a76764-c3e6-45fb-8819-8b225a7efe14" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/CommitmentsandcontingenciesNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#CommitmentsandcontingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/CommitmentsandcontingenciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_3cf2448e-2833-4674-b076-5527c99d5ca7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_3cf2448e-2833-4674-b076-5527c99d5ca7" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_6290d652-ce16-4e7c-921e-a8162cddcef8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_dfeac642-fc72-4f5b-ada5-ec2cef00ddf3" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_6290d652-ce16-4e7c-921e-a8162cddcef8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_f7cb29b5-e5e2-4e23-b5b9-c55eafae1a42" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_6290d652-ce16-4e7c-921e-a8162cddcef8" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_f7cb29b5-e5e2-4e23-b5b9-c55eafae1a42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_67a3a06f-6851-4c20-b28c-0652cf03e85b" xlink:href="mx-20231231.xsd#mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_6290d652-ce16-4e7c-921e-a8162cddcef8" xlink:to="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_67a3a06f-6851-4c20-b28c-0652cf03e85b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasAxis_9b809f23-2625-4bfe-865a-a007cb88a90b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:to="loc_ifrs-full_GeographicalAreasAxis_9b809f23-2625-4bfe-865a-a007cb88a90b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_9b809f23-2625-4bfe-865a-a007cb88a90b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_GeographicalAreasAxis_9b809f23-2625-4bfe-865a-a007cb88a90b" xlink:to="loc_ifrs-full_GeographicalAreasMember_9b809f23-2625-4bfe-865a-a007cb88a90b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_GeographicalAreasMember_4ce11b50-e6a8-4357-8ebd-64eece3472a1" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_GeographicalAreasMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_GeographicalAreasAxis_9b809f23-2625-4bfe-865a-a007cb88a90b" xlink:to="loc_ifrs-full_GeographicalAreasMember_4ce11b50-e6a8-4357-8ebd-64eece3472a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TT_7bd8c172-87e4-424d-9d91-0a8718e0aa3e" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_TT"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_4ce11b50-e6a8-4357-8ebd-64eece3472a1" xlink:to="loc_country_TT_7bd8c172-87e4-424d-9d91-0a8718e0aa3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_EG_3226d31e-7c93-4f7b-95d7-d2e9f569d93c" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_EG"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_GeographicalAreasMember_4ce11b50-e6a8-4357-8ebd-64eece3472a1" xlink:to="loc_country_EG_3226d31e-7c93-4f7b-95d7-d2e9f569d93c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_6794977c-ae7d-4818-9f3a-0a83198dff27" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ClassesOfContingentLiabilitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:to="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_6794977c-ae7d-4818-9f3a-0a83198dff27" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ContingentLiabilitiesMember_6794977c-ae7d-4818-9f3a-0a83198dff27_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ContingentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_6794977c-ae7d-4818-9f3a-0a83198dff27" xlink:to="loc_ifrs-full_ContingentLiabilitiesMember_6794977c-ae7d-4818-9f3a-0a83198dff27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ContingentLiabilitiesMember_079c107d-7fdf-44ac-9d3e-27abde4cfa8f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ContingentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_ClassesOfContingentLiabilitiesAxis_6794977c-ae7d-4818-9f3a-0a83198dff27" xlink:to="loc_ifrs-full_ContingentLiabilitiesMember_079c107d-7fdf-44ac-9d3e-27abde4cfa8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_PurchaseCommitmentOfMethanolSupplyMember_c06d1349-cd73-4596-b356-367cd3318ba5" xlink:href="mx-20231231.xsd#mx_PurchaseCommitmentOfMethanolSupplyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_ContingentLiabilitiesMember_079c107d-7fdf-44ac-9d3e-27abde4cfa8f" xlink:to="loc_mx_PurchaseCommitmentOfMethanolSupplyMember_c06d1349-cd73-4596-b356-367cd3318ba5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_MaturityAxis_a6fef011-d6bf-455f-8b38-47ec2cc3cf05" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_MaturityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:to="loc_ifrs-full_MaturityAxis_a6fef011-d6bf-455f-8b38-47ec2cc3cf05" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_a6fef011-d6bf-455f-8b38-47ec2cc3cf05_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_MaturityAxis_a6fef011-d6bf-455f-8b38-47ec2cc3cf05" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_a6fef011-d6bf-455f-8b38-47ec2cc3cf05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AggregatedTimeBandsMember_7507b924-512c-437d-bcbd-4671ed259e79" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AggregatedTimeBandsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_MaturityAxis_a6fef011-d6bf-455f-8b38-47ec2cc3cf05" xlink:to="loc_ifrs-full_AggregatedTimeBandsMember_7507b924-512c-437d-bcbd-4671ed259e79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NotLaterThanOneYearMember_17b8515d-7d3c-43a2-a203-58c75333dc42" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NotLaterThanOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_AggregatedTimeBandsMember_7507b924-512c-437d-bcbd-4671ed259e79" xlink:to="loc_ifrs-full_NotLaterThanOneYearMember_17b8515d-7d3c-43a2-a203-58c75333dc42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_01e91bc0-1c48-49cf-b5dd-f751506d0dcc" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_00ee0e84-81b7-47a8-9e5f-5f20971ff584" xlink:to="loc_srt_StatementScenarioAxis_01e91bc0-1c48-49cf-b5dd-f751506d0dcc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_01e91bc0-1c48-49cf-b5dd-f751506d0dcc_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_01e91bc0-1c48-49cf-b5dd-f751506d0dcc" xlink:to="loc_srt_ScenarioUnspecifiedDomain_01e91bc0-1c48-49cf-b5dd-f751506d0dcc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_73945e38-2008-4337-a8b9-277f358e3f21" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_01e91bc0-1c48-49cf-b5dd-f751506d0dcc" xlink:to="loc_srt_ScenarioUnspecifiedDomain_73945e38-2008-4337-a8b9-277f358e3f21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_033ccefb-c2ed-44de-b7da-d314148a5f5c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_73945e38-2008-4337-a8b9-277f358e3f21" xlink:to="loc_srt_ScenarioForecastMember_033ccefb-c2ed-44de-b7da-d314148a5f5c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ProportionOfMarketingRightsInterestInProduction_1336c6fc-0ea6-44d1-b000-49ebf88ef533" xlink:href="mx-20231231.xsd#mx_ProportionOfMarketingRightsInterestInProduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_3cf2448e-2833-4674-b076-5527c99d5ca7" xlink:to="loc_mx_ProportionOfMarketingRightsInterestInProduction_1336c6fc-0ea6-44d1-b000-49ebf88ef533" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_05112e2f-cb7b-4b26-a3a8-da060c25ef06" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInAssociate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_3cf2448e-2833-4674-b076-5527c99d5ca7" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_05112e2f-cb7b-4b26-a3a8-da060c25ef06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ContingentLiabilitiesWithAssociatesMinimumMassRequired_6c4f5819-8a63-4538-9165-c75b1e5bb576" xlink:href="mx-20231231.xsd#mx_ContingentLiabilitiesWithAssociatesMinimumMassRequired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_3cf2448e-2833-4674-b076-5527c99d5ca7" xlink:to="loc_mx_ContingentLiabilitiesWithAssociatesMinimumMassRequired_6c4f5819-8a63-4538-9165-c75b1e5bb576" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/RelatedpartiesSubsidiariesandjointventuresDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#RelatedpartiesSubsidiariesandjointventuresDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/RelatedpartiesSubsidiariesandjointventuresDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_df5b9b7e-bb8a-4e31-8797-e32806f91d48" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_a9de1735-d24c-4561-9991-514c21e72033" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_df5b9b7e-bb8a-4e31-8797-e32806f91d48" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_a9de1735-d24c-4561-9991-514c21e72033" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_a03c5e8a-237d-4cc2-85e5-815dc08d1408" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_a9de1735-d24c-4561-9991-514c21e72033" xlink:to="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_a03c5e8a-237d-4cc2-85e5-815dc08d1408" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_a03c5e8a-237d-4cc2-85e5-815dc08d1408_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_a03c5e8a-237d-4cc2-85e5-815dc08d1408" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_a03c5e8a-237d-4cc2-85e5-815dc08d1408_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_a03c5e8a-237d-4cc2-85e5-815dc08d1408" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexAsiaPacificLimitedMember_486524d5-67aa-44d3-8302-9172ad54c395" xlink:href="mx-20231231.xsd#mx_MethanexAsiaPacificLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexAsiaPacificLimitedMember_486524d5-67aa-44d3-8302-9172ad54c395" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexServicesShanghaiCoLtdMember_bab2998e-396c-4ee8-acb5-b67327cac88c" xlink:href="mx-20231231.xsd#mx_MethanexServicesShanghaiCoLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexServicesShanghaiCoLtdMember_bab2998e-396c-4ee8-acb5-b67327cac88c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexEuropeNVMember_7948857a-a9b1-4012-abeb-f2779ea6ccc2" xlink:href="mx-20231231.xsd#mx_MethanexEuropeNVMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexEuropeNVMember_7948857a-a9b1-4012-abeb-f2779ea6ccc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexMethanolCompanyLLCMember_a984f412-2110-43fb-8a67-66ed022d8684" xlink:href="mx-20231231.xsd#mx_MethanexMethanolCompanyLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexMethanolCompanyLLCMember_a984f412-2110-43fb-8a67-66ed022d8684" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_77e115a3-3af3-4ec6-b9b6-5badd6dab39b" xlink:href="mx-20231231.xsd#mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_77e115a3-3af3-4ec6-b9b6-5badd6dab39b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexChileS.A.Member_69a200ea-ec73-4e2d-8e02-4e9844c71730" xlink:href="mx-20231231.xsd#mx_MethanexChileS.A.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexChileS.A.Member_69a200ea-ec73-4e2d-8e02-4e9844c71730" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexNewZealandLimitedMember_7abac6ef-de5c-40b6-b2b1-75302a080f6d" xlink:href="mx-20231231.xsd#mx_MethanexNewZealandLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexNewZealandLimitedMember_7abac6ef-de5c-40b6-b2b1-75302a080f6d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexTrinidadTitanUnlimitedMember_bb93b8ab-8f8b-4fc5-9b2c-bf9892963bf2" xlink:href="mx-20231231.xsd#mx_MethanexTrinidadTitanUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexTrinidadTitanUnlimitedMember_bb93b8ab-8f8b-4fc5-9b2c-bf9892963bf2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexU.S.A.LLCMember_a3d605ca-ec5d-498b-a86f-a4b6dbeb11c6" xlink:href="mx-20231231.xsd#mx_MethanexU.S.A.LLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexU.S.A.LLCMember_a3d605ca-ec5d-498b-a86f-a4b6dbeb11c6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexLouisianaLLCMember_809ae077-bd4c-42fa-821e-45046ddcd756" xlink:href="mx-20231231.xsd#mx_MethanexLouisianaLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexLouisianaLLCMember_809ae077-bd4c-42fa-821e-45046ddcd756" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MethanexGeismarIIILLCMember_37f2b7b1-31ed-4d9e-9668-acf105195e33" xlink:href="mx-20231231.xsd#mx_MethanexGeismarIIILLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_MethanexGeismarIIILLCMember_37f2b7b1-31ed-4d9e-9668-acf105195e33" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingLimitedMember_41ab84e0-cb77-41be-b2ab-9f69c184f1a4" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_d16ef4f7-68d9-49d0-90d2-f9cb8f163d85" xlink:to="loc_mx_WaterfrontShippingLimitedMember_41ab84e0-cb77-41be-b2ab-9f69c184f1a4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CounterpartiesAxis_30c3b6b5-0e07-419a-8f60-9d83e07690b8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CounterpartiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_a9de1735-d24c-4561-9991-514c21e72033" xlink:to="loc_ifrs-full_CounterpartiesAxis_30c3b6b5-0e07-419a-8f60-9d83e07690b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CounterpartiesMember_30c3b6b5-0e07-419a-8f60-9d83e07690b8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CounterpartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CounterpartiesAxis_30c3b6b5-0e07-419a-8f60-9d83e07690b8" xlink:to="loc_ifrs-full_CounterpartiesMember_30c3b6b5-0e07-419a-8f60-9d83e07690b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CounterpartiesMember_14f74689-414b-4045-b9c9-29f48cdd4646" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CounterpartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CounterpartiesAxis_30c3b6b5-0e07-419a-8f60-9d83e07690b8" xlink:to="loc_ifrs-full_CounterpartiesMember_14f74689-414b-4045-b9c9-29f48cdd4646" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_MitsuiOSKLinesLtdMember_de6d4a9d-76ad-4503-817e-d82732a32ba1" xlink:href="mx-20231231.xsd#mx_MitsuiOSKLinesLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_CounterpartiesMember_14f74689-414b-4045-b9c9-29f48cdd4646" xlink:to="loc_mx_MitsuiOSKLinesLtdMember_de6d4a9d-76ad-4503-817e-d82732a32ba1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_872500a1-8c74-4b4e-9174-0bf7e56e4373" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_df5b9b7e-bb8a-4e31-8797-e32806f91d48" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_872500a1-8c74-4b4e-9174-0bf7e56e4373" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests_6549a8e4-0f79-4a05-bfa9-922c12669ab6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_df5b9b7e-bb8a-4e31-8797-e32806f91d48" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestsHeldByNoncontrollingInterests_6549a8e4-0f79-4a05-bfa9-922c12669ab6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_566f7526-199e-4235-bca1-307c72dd2f6f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_d52ca2b8-6b4b-4629-bfc4-74ff69862144" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_566f7526-199e-4235-bca1-307c72dd2f6f" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_d52ca2b8-6b4b-4629-bfc4-74ff69862144" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7df8e888-8220-46fa-b740-4fae0524e83b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_d52ca2b8-6b4b-4629-bfc4-74ff69862144" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7df8e888-8220-46fa-b740-4fae0524e83b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_7df8e888-8220-46fa-b740-4fae0524e83b_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7df8e888-8220-46fa-b740-4fae0524e83b" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_7df8e888-8220-46fa-b740-4fae0524e83b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_f1ce145c-6f39-495b-b5e8-3b40b7358cdd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_7df8e888-8220-46fa-b740-4fae0524e83b" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_f1ce145c-6f39-495b-b5e8-3b40b7358cdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_b04827f8-4807-447a-a5e0-5f5fd2c20817" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_f1ce145c-6f39-495b-b5e8-3b40b7358cdd" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_b04827f8-4807-447a-a5e0-5f5fd2c20817" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_32653f12-d4a5-4f8b-b26c-e6b88902d567" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInAssociate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_566f7526-199e-4235-bca1-307c72dd2f6f" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInAssociate_32653f12-d4a5-4f8b-b26c-e6b88902d567" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/RelatedpartiesNarrativeDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#RelatedpartiesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/RelatedpartiesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_777b323f-5342-4776-afd3-a8b25abe6aaf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_777b323f-5342-4776-afd3-a8b25abe6aaf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CategoriesOfRelatedPartiesAxis_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CategoriesOfRelatedPartiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_777b323f-5342-4776-afd3-a8b25abe6aaf" xlink:to="loc_ifrs-full_CategoriesOfRelatedPartiesAxis_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForRelatedPartiesMember_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForRelatedPartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_CategoriesOfRelatedPartiesAxis_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e" xlink:to="loc_ifrs-full_EntitysTotalForRelatedPartiesMember_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForRelatedPartiesMember_779d79a1-d581-4326-8068-e1f8f5695215" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForRelatedPartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_CategoriesOfRelatedPartiesAxis_6cc7bcb7-d784-4032-b6a5-d2b28f06f01e" xlink:to="loc_ifrs-full_EntitysTotalForRelatedPartiesMember_779d79a1-d581-4326-8068-e1f8f5695215" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AssociatesMember_ab7ec4eb-50d9-4198-a694-d58ff04706ea" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForRelatedPartiesMember_779d79a1-d581-4326-8068-e1f8f5695215" xlink:to="loc_ifrs-full_AssociatesMember_ab7ec4eb-50d9-4198-a694-d58ff04706ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_13cf91eb-93e3-4206-a934-5f923b21d633" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInAssociatesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable_777b323f-5342-4776-afd3-a8b25abe6aaf" xlink:to="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_13cf91eb-93e3-4206-a934-5f923b21d633" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_13cf91eb-93e3-4206-a934-5f923b21d633_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_13cf91eb-93e3-4206-a934-5f923b21d633" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_13cf91eb-93e3-4206-a934-5f923b21d633_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForAssociatesMember_9d49b5dc-0ab6-44bd-a755-fc3d82ed32ac" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForAssociatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInAssociatesAxis_13cf91eb-93e3-4206-a934-5f923b21d633" xlink:to="loc_ifrs-full_EntitysTotalForAssociatesMember_9d49b5dc-0ab6-44bd-a755-fc3d82ed32ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_AtlasMethanolCompanyUnlimitedMember_3d285692-b146-42e9-9d4e-5ef6a1138048" xlink:href="mx-20231231.xsd#mx_AtlasMethanolCompanyUnlimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForAssociatesMember_9d49b5dc-0ab6-44bd-a755-fc3d82ed32ac" xlink:to="loc_mx_AtlasMethanolCompanyUnlimitedMember_3d285692-b146-42e9-9d4e-5ef6a1138048" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_55bd405e-c39c-4f89-b023-4716cff48a4f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_ifrs-full_Revenue_55bd405e-c39c-4f89-b023-4716cff48a4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ProportionOfMarketingRightsInterestInProduction_5085cf3d-1153-49d4-a051-9c111f186387" xlink:href="mx-20231231.xsd#mx_ProportionOfMarketingRightsInterestInProduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_mx_ProportionOfMarketingRightsInterestInProduction_5085cf3d-1153-49d4-a051-9c111f186387" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AmountsReceivableRelatedPartyTransactions_23b37745-e16c-4826-8153-9a077ee90bfe" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AmountsReceivableRelatedPartyTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_ifrs-full_AmountsReceivableRelatedPartyTransactions_23b37745-e16c-4826-8153-9a077ee90bfe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_AmountsPayableRelatedPartyTransactions_922a1508-c364-4eca-9956-d237f2b1baeb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_AmountsPayableRelatedPartyTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_ifrs-full_AmountsPayableRelatedPartyTransactions_922a1508-c364-4eca-9956-d237f2b1baeb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentReceivablesDueFromRelatedParties_209e5ed6-1c1e-4e39-9d8d-c6a00930e8d3" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncurrentReceivablesDueFromRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems_8f1b694e-135c-4010-9380-21fdd460cccc" xlink:to="loc_ifrs-full_NoncurrentReceivablesDueFromRelatedParties_209e5ed6-1c1e-4e39-9d8d-c6a00930e8d3" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/NoncontrollinginterestsFinancialpositionDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#NoncontrollinginterestsFinancialpositionDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/NoncontrollinginterestsFinancialpositionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_36366abd-5ce4-49a6-a41f-c3b516ae47fd" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_36366abd-5ce4-49a6-a41f-c3b516ae47fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_f10ce35f-a7ae-47fa-8553-67c2fc834cf5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_36366abd-5ce4-49a6-a41f-c3b516ae47fd" xlink:to="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_f10ce35f-a7ae-47fa-8553-67c2fc834cf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_f10ce35f-a7ae-47fa-8553-67c2fc834cf5_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_f10ce35f-a7ae-47fa-8553-67c2fc834cf5" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_f10ce35f-a7ae-47fa-8553-67c2fc834cf5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_e5b21fd7-e8ac-40df-8c53-53c98d89c7ab" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_f10ce35f-a7ae-47fa-8553-67c2fc834cf5" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_e5b21fd7-e8ac-40df-8c53-53c98d89c7ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SubsidiariesMember_cf43d9d2-81ee-49bf-a35f-82f1ac0797f8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_e5b21fd7-e8ac-40df-8c53-53c98d89c7ab" xlink:to="loc_ifrs-full_SubsidiariesMember_cf43d9d2-81ee-49bf-a35f-82f1ac0797f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_ff9a555d-26fc-40b2-8fe4-083668efa1b1" xlink:href="mx-20231231.xsd#mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_cf43d9d2-81ee-49bf-a35f-82f1ac0797f8" xlink:to="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_ff9a555d-26fc-40b2-8fe4-083668efa1b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingLimitedMember_0bba12c4-2813-40cb-9190-81802af0ab77" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_cf43d9d2-81ee-49bf-a35f-82f1ac0797f8" xlink:to="loc_mx_WaterfrontShippingLimitedMember_0bba12c4-2813-40cb-9190-81802af0ab77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentAssets_0b0f6ef1-f9c4-4d60-8107-9cf7f7014094" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_CurrentAssets_0b0f6ef1-f9c4-4d60-8107-9cf7f7014094" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentAssets_c8296c89-94bf-4c20-ab94-a86d904e2e42" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_NoncurrentAssets_c8296c89-94bf-4c20-ab94-a86d904e2e42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CurrentLiabilities_ff1738d7-83d1-4fc4-8758-8a16978cb5af" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_CurrentLiabilities_ff1738d7-83d1-4fc4-8758-8a16978cb5af" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncurrentLiabilities_2ec338d5-ea12-49b1-b35d-30e42b5f231d" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_NoncurrentLiabilities_2ec338d5-ea12-49b1-b35d-30e42b5f231d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NetAssetsLiabilities_dc97e4cd-83a8-4165-8ffb-db0e470d22c4" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NetAssetsLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_NetAssetsLiabilities_dc97e4cd-83a8-4165-8ffb-db0e470d22c4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_NoncontrollingInterests_67290e3d-b0df-4b27-9f88-4cccbfe9273b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_NoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_91c56e2e-01b4-4f7f-94b6-dad3a2a85965" xlink:to="loc_ifrs-full_NoncontrollingInterests_67290e3d-b0df-4b27-9f88-4cccbfe9273b" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/NoncontrollinginterestsIncomestatementDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#NoncontrollinginterestsIncomestatementDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/NoncontrollinginterestsIncomestatementDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_dbef2d89-ff21-4d5b-a65b-5fe341759f25" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_dbef2d89-ff21-4d5b-a65b-5fe341759f25" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_442c9cf9-96f7-4c91-b935-c4ebd45e06cf" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_dbef2d89-ff21-4d5b-a65b-5fe341759f25" xlink:to="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_442c9cf9-96f7-4c91-b935-c4ebd45e06cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_442c9cf9-96f7-4c91-b935-c4ebd45e06cf_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_442c9cf9-96f7-4c91-b935-c4ebd45e06cf" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_442c9cf9-96f7-4c91-b935-c4ebd45e06cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_3b5b7704-fcaa-4d45-b863-7538d999f440" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_442c9cf9-96f7-4c91-b935-c4ebd45e06cf" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_3b5b7704-fcaa-4d45-b863-7538d999f440" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SubsidiariesMember_442f5a5c-7e5e-429c-bf91-dae94b5742cb" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_3b5b7704-fcaa-4d45-b863-7538d999f440" xlink:to="loc_ifrs-full_SubsidiariesMember_442f5a5c-7e5e-429c-bf91-dae94b5742cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_eea46025-3958-4855-bf99-ccf84690325e" xlink:href="mx-20231231.xsd#mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_442f5a5c-7e5e-429c-bf91-dae94b5742cb" xlink:to="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_eea46025-3958-4855-bf99-ccf84690325e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingLimitedMember_80097776-ebd9-46a5-b572-aff4ffe925c2" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_442f5a5c-7e5e-429c-bf91-dae94b5742cb" xlink:to="loc_mx_WaterfrontShippingLimitedMember_80097776-ebd9-46a5-b572-aff4ffe925c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_Revenue_a676cdd4-06d7-41da-8802-42a4a7f946a8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_Revenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_ifrs-full_Revenue_a676cdd4-06d7-41da-8802-42a4a7f946a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProfitLoss_227cbe1b-be2c-41bf-b9d2-ba1e8efb0f0b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_ifrs-full_ProfitLoss_227cbe1b-be2c-41bf-b9d2-ba1e8efb0f0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_OtherComprehensiveIncomeAttributableToNoncontrollingInterests_b0076484-32d8-49cc-92fc-bea3ab146c88" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_OtherComprehensiveIncomeAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_ifrs-full_OtherComprehensiveIncomeAttributableToNoncontrollingInterests_b0076484-32d8-49cc-92fc-bea3ab146c88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ProceedsFromChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControlAndFromContributionsOfNonControllingInterests_b80e9f5b-e4e7-479c-a009-8d04fd571e7c" xlink:href="mx-20231231.xsd#mx_ProceedsFromChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControlAndFromContributionsOfNonControllingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_mx_ProceedsFromChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControlAndFromContributionsOfNonControllingInterests_b80e9f5b-e4e7-479c-a009-8d04fd571e7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DividendsPaidToNoncontrollingInterests_46cc8466-7244-4431-8500-0e366921a201" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DividendsPaidToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_d2a2f478-3aa7-45b7-aa5e-843c4aa9b10c" xlink:to="loc_ifrs-full_DividendsPaidToNoncontrollingInterests_46cc8466-7244-4431-8500-0e366921a201" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/NoncontrollinginterestsCashflowsDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#NoncontrollinginterestsCashflowsDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/NoncontrollinginterestsCashflowsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_82d2a430-2deb-47e1-901a-035157214d9a" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_92ecf8d0-a303-4bbd-a76a-cc6195231a48" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_82d2a430-2deb-47e1-901a-035157214d9a" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_92ecf8d0-a303-4bbd-a76a-cc6195231a48" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_61acba0d-46db-40ad-9fd8-e3abb03e44c7" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_92ecf8d0-a303-4bbd-a76a-cc6195231a48" xlink:to="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_61acba0d-46db-40ad-9fd8-e3abb03e44c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_61acba0d-46db-40ad-9fd8-e3abb03e44c7_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_61acba0d-46db-40ad-9fd8-e3abb03e44c7" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_61acba0d-46db-40ad-9fd8-e3abb03e44c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_4de5782b-227a-4484-b0bb-717403e5aac6" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_61acba0d-46db-40ad-9fd8-e3abb03e44c7" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_4de5782b-227a-4484-b0bb-717403e5aac6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SubsidiariesMember_2e5ea066-579d-4a13-af2e-b9bbb60fb528" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_4de5782b-227a-4484-b0bb-717403e5aac6" xlink:to="loc_ifrs-full_SubsidiariesMember_2e5ea066-579d-4a13-af2e-b9bbb60fb528" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_8e82cc4c-79bd-43a0-92b7-86f6465d1e63" xlink:href="mx-20231231.xsd#mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_2e5ea066-579d-4a13-af2e-b9bbb60fb528" xlink:to="loc_mx_EgyptianMethanexMethanolCompanyS.A.E.MethanexEgyptMember_8e82cc4c-79bd-43a0-92b7-86f6465d1e63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingLimitedMember_ac3a5745-193e-4f60-8090-1997120930e7" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_SubsidiariesMember_2e5ea066-579d-4a13-af2e-b9bbb60fb528" xlink:to="loc_mx_WaterfrontShippingLimitedMember_ac3a5745-193e-4f60-8090-1997120930e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_fdc89838-d933-4c7b-bf37-f2b2d9291f07" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowsFromUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_82d2a430-2deb-47e1-901a-035157214d9a" xlink:to="loc_ifrs-full_CashFlowsFromUsedInOperatingActivities_fdc89838-d933-4c7b-bf37-f2b2d9291f07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_b7d6d6cc-b3ad-46ed-b53f-1f248e4eb520" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowsFromUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_82d2a430-2deb-47e1-901a-035157214d9a" xlink:to="loc_ifrs-full_CashFlowsFromUsedInFinancingActivities_b7d6d6cc-b3ad-46ed-b53f-1f248e4eb520" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_216f37e5-546f-4bab-a567-7bc92e1b9eda" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_CashFlowsFromUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_82d2a430-2deb-47e1-901a-035157214d9a" xlink:to="loc_ifrs-full_CashFlowsFromUsedInInvestingActivities_216f37e5-546f-4bab-a567-7bc92e1b9eda" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://methanex.com/role/SaleofinterestinsubsidiaryDetails" xlink:type="simple" xlink:href="mx-20231231.xsd#SaleofinterestinsubsidiaryDetails"/>
  <link:definitionLink xlink:role="http://methanex.com/role/SaleofinterestinsubsidiaryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_fdfe56f6-c47e-4a0b-a0a6-e45f21d58f7b" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:to="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_fdfe56f6-c47e-4a0b-a0a6-e45f21d58f7b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_80ca7a8b-c41f-42e9-af9d-df37e1e83da8" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_SignificantInvestmentsInSubsidiariesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable_fdfe56f6-c47e-4a0b-a0a6-e45f21d58f7b" xlink:to="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_80ca7a8b-c41f-42e9-af9d-df37e1e83da8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_80ca7a8b-c41f-42e9-af9d-df37e1e83da8_default" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_80ca7a8b-c41f-42e9-af9d-df37e1e83da8" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_80ca7a8b-c41f-42e9-af9d-df37e1e83da8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_EntitysTotalForSubsidiariesMember_fe62f4d2-4b8b-42fe-91e2-30719b4545f9" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_EntitysTotalForSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ifrs-full_SignificantInvestmentsInSubsidiariesAxis_80ca7a8b-c41f-42e9-af9d-df37e1e83da8" xlink:to="loc_ifrs-full_EntitysTotalForSubsidiariesMember_fe62f4d2-4b8b-42fe-91e2-30719b4545f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_WaterfrontShippingLimitedMember_a8161e16-3fab-446a-bc8a-76018be56797" xlink:href="mx-20231231.xsd#mx_WaterfrontShippingLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_EntitysTotalForSubsidiariesMember_fe62f4d2-4b8b-42fe-91e2-30719b4545f9" xlink:to="loc_mx_WaterfrontShippingLimitedMember_a8161e16-3fab-446a-bc8a-76018be56797" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mx_ProportionOfOwnershipInterestsSold_fcea0a71-6954-4597-a5dd-e4c0301f6cf2" xlink:href="mx-20231231.xsd#mx_ProportionOfOwnershipInterestsSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:to="loc_mx_ProportionOfOwnershipInterestsSold_fcea0a71-6954-4597-a5dd-e4c0301f6cf2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries_629b0ce4-cb72-479e-9b52-06dc0d0b8bed" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:to="loc_ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries_629b0ce4-cb72-479e-9b52-06dc0d0b8bed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_3932addf-d29c-4b3e-9a55-ceb838ca9dc5" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_ProportionOfOwnershipInterestInSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:to="loc_ifrs-full_ProportionOfOwnershipInterestInSubsidiary_3932addf-d29c-4b3e-9a55-ceb838ca9dc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_8bb72327-7d02-4a02-8fae-3bb968d0d1a0" xlink:href="https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd#ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems_725a888d-2848-4072-9add-53a3ef17f26f" xlink:to="loc_ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries_8bb72327-7d02-4a02-8fae-3bb968d0d1a0" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
