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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:ad687ed8-ff64-4ebc-bd0d-01686cf3eab0,g:3b2bbdbd-8427-491b-ba28-8810fdf585dc-->
<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://www.shakeshack.com/role/DocumentandEntityInformationDocumentandEntityInformation" xlink:type="simple" xlink:href="shak-20240626.xsd#DocumentandEntityInformationDocumentandEntityInformation"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/DocumentandEntityInformationDocumentandEntityInformation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_b1e8e194-bd0e-4161-9838-94575e5b93eb" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentInformationTable_b1e8e194-bd0e-4161-9838-94575e5b93eb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c19531e0-cc41-4234-bbb5-acda63b6ef70" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_b1e8e194-bd0e-4161-9838-94575e5b93eb" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c19531e0-cc41-4234-bbb5-acda63b6ef70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c19531e0-cc41-4234-bbb5-acda63b6ef70_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c19531e0-cc41-4234-bbb5-acda63b6ef70" xlink:to="loc_us-gaap_ClassOfStockDomain_c19531e0-cc41-4234-bbb5-acda63b6ef70_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_19bc3bfc-f0aa-40e2-b643-aaa6e08c95fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c19531e0-cc41-4234-bbb5-acda63b6ef70" xlink:to="loc_us-gaap_ClassOfStockDomain_19bc3bfc-f0aa-40e2-b643-aaa6e08c95fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_3fb6833c-0644-4a91-87dd-5c4a86878a67" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_19bc3bfc-f0aa-40e2-b643-aaa6e08c95fc" xlink:to="loc_us-gaap_CommonClassAMember_3fb6833c-0644-4a91-87dd-5c4a86878a67" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_7f882499-9d8a-4296-bb44-1edc8ec03627" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_19bc3bfc-f0aa-40e2-b643-aaa6e08c95fc" xlink:to="loc_us-gaap_CommonClassBMember_7f882499-9d8a-4296-bb44-1edc8ec03627" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_5b81d2e7-4b7b-478a-833f-bc0d1e3e0772" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_SecurityExchangeName_5b81d2e7-4b7b-478a-833f-bc0d1e3e0772" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_bb87d775-cdad-4582-bce1-6574406fb596" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_TradingSymbol_bb87d775-cdad-4582-bce1-6574406fb596" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_0f08e29c-0f1b-4fef-a8df-b8ef6fa3be46" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_Security12bTitle_0f08e29c-0f1b-4fef-a8df-b8ef6fa3be46" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_2795ac1f-4f19-42e5-b9fc-ae33f54c3ce2" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityInteractiveDataCurrent_2795ac1f-4f19-42e5-b9fc-ae33f54c3ce2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_3ccb6e7a-37ac-4dac-bff0-df2d4d0882db" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_LocalPhoneNumber_3ccb6e7a-37ac-4dac-bff0-df2d4d0882db" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_78a22905-436c-47b5-bee5-72b99938506c" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_CityAreaCode_78a22905-436c-47b5-bee5-72b99938506c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_4908c5c0-064a-429b-813a-f0ab57509f39" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityAddressPostalZipCode_4908c5c0-064a-429b-813a-f0ab57509f39" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_1c972a8a-d067-4fc6-bd13-1d873c153b7b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityTaxIdentificationNumber_1c972a8a-d067-4fc6-bd13-1d873c153b7b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_37d5f59a-dc59-4abc-91e1-952cb3d6d75c" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityIncorporationStateCountryCode_37d5f59a-dc59-4abc-91e1-952cb3d6d75c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_46db48a1-8e14-48d6-b09c-c04ab517d092" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityFileNumber_46db48a1-8e14-48d6-b09c-c04ab517d092" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_2fa434cc-84a8-4ac7-a87a-99b38c151bd0" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentTransitionReport_2fa434cc-84a8-4ac7-a87a-99b38c151bd0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_f4fd5cd2-50d1-4bfe-b520-fd9499fdf7c3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentQuarterlyReport_f4fd5cd2-50d1-4bfe-b520-fd9499fdf7c3" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_685065d9-9156-445c-b981-5b4e0ad35b48" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentType_685065d9-9156-445c-b981-5b4e0ad35b48" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_605ca46f-205f-4ebd-afd8-e2cec095dda8" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_AmendmentFlag_605ca46f-205f-4ebd-afd8-e2cec095dda8" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_96eb0e94-abd5-4cea-ba8d-332043b97541" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentPeriodEndDate_96eb0e94-abd5-4cea-ba8d-332043b97541" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_0009f0f4-9fca-4c3e-99bf-f76c18210d33" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentFiscalYearFocus_0009f0f4-9fca-4c3e-99bf-f76c18210d33" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_44beded0-6d65-49ac-976a-4b2a85b34f9f" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_DocumentFiscalPeriodFocus_44beded0-6d65-49ac-976a-4b2a85b34f9f" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_9a35eb72-08f5-4f72-9264-3b0640679b65" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityRegistrantName_9a35eb72-08f5-4f72-9264-3b0640679b65" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_a788aaf5-024c-4bd8-a88d-3b925b24566f" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityAddressAddressLine1_a788aaf5-024c-4bd8-a88d-3b925b24566f" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_ef787322-8405-44e9-8ac0-64767b1ff89f" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityAddressAddressLine2_ef787322-8405-44e9-8ac0-64767b1ff89f" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_0208f748-8d1e-4a05-8737-fdce3f9b7664" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityAddressCityOrTown_0208f748-8d1e-4a05-8737-fdce3f9b7664" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_0c97b546-73d9-44d5-af30-dc162eb264ea" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityAddressStateOrProvince_0c97b546-73d9-44d5-af30-dc162eb264ea" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_df130481-5310-4eb0-9654-33c8ca19b6c9" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityCentralIndexKey_df130481-5310-4eb0-9654-33c8ca19b6c9" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_93ddbe79-3861-4553-b743-a0ba7d76308e" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_CurrentFiscalYearEndDate_93ddbe79-3861-4553-b743-a0ba7d76308e" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_00c01ab2-0970-494e-a9d4-c500980a7036" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityFilerCategory_00c01ab2-0970-494e-a9d4-c500980a7036" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_03234281-643a-4d85-b9cc-daea106100e8" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityCurrentReportingStatus_03234281-643a-4d85-b9cc-daea106100e8" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_af381d50-5981-4175-b4f0-cc362db92004" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityEmergingGrowthCompany_af381d50-5981-4175-b4f0-cc362db92004" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_780331e7-44a7-463f-a43a-15c2636e9762" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntitySmallBusiness_780331e7-44a7-463f-a43a-15c2636e9762" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_9407a76f-bfa7-480d-8e6a-0a1ad6472338" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityShellCompany_9407a76f-bfa7-480d-8e6a-0a1ad6472338" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_185a62cd-7b58-4d90-ab3c-697b9f8bac00" 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_DocumentInformationLineItems_08549594-a968-42dd-ba74-109bf11a4d42" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_185a62cd-7b58-4d90-ab3c-697b9f8bac00" xlink:type="arc" order="29"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITED" xlink:type="simple" xlink:href="shak-20240626.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITED"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6a8a03e0-28de-4daa-afbc-1e5c45347d7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_ca924e7e-7614-4392-a4d8-4efe0ebbad6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6a8a03e0-28de-4daa-afbc-1e5c45347d7b" xlink:to="loc_us-gaap_StatementTable_ca924e7e-7614-4392-a4d8-4efe0ebbad6b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_bffb9482-1da9-43c8-8e3a-067b0df0cbc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_ca924e7e-7614-4392-a4d8-4efe0ebbad6b" xlink:to="loc_us-gaap_StatementClassOfStockAxis_bffb9482-1da9-43c8-8e3a-067b0df0cbc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bffb9482-1da9-43c8-8e3a-067b0df0cbc5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bffb9482-1da9-43c8-8e3a-067b0df0cbc5" xlink:to="loc_us-gaap_ClassOfStockDomain_bffb9482-1da9-43c8-8e3a-067b0df0cbc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7ba6ef64-a284-4200-869d-56811ab25feb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bffb9482-1da9-43c8-8e3a-067b0df0cbc5" xlink:to="loc_us-gaap_ClassOfStockDomain_7ba6ef64-a284-4200-869d-56811ab25feb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_37feb0c4-b40c-43cd-8872-b4d1a4aaf406" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7ba6ef64-a284-4200-869d-56811ab25feb" xlink:to="loc_us-gaap_CommonClassAMember_37feb0c4-b40c-43cd-8872-b4d1a4aaf406" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_bc5b8bd9-1670-46b6-9041-8fba7ececf40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7ba6ef64-a284-4200-869d-56811ab25feb" xlink:to="loc_us-gaap_CommonClassBMember_bc5b8bd9-1670-46b6-9041-8fba7ececf40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6a8a03e0-28de-4daa-afbc-1e5c45347d7b" xlink:to="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e9aae76f-6396-473e-ad45-0d485694d00a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e9aae76f-6396-473e-ad45-0d485694d00a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_935fabbc-bd5f-4d9c-8777-01fab76372dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShortTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_ShortTermInvestments_935fabbc-bd5f-4d9c-8777-01fab76372dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_f2f78fe0-31a1-4a69-88d0-115e9261c227" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_f2f78fe0-31a1-4a69-88d0-115e9261c227" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_f052d1b0-f3a6-483d-ac56-e13eee8a7048" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InventoryNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_InventoryNet_f052d1b0-f3a6-483d-ac56-e13eee8a7048" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_d92d8c61-16e1-4eb9-a40c-0586da98bb60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_d92d8c61-16e1-4eb9-a40c-0586da98bb60" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_5f5308a8-695f-4133-98d5-d91dc76a0ce1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_94db23a2-c4ef-4c8e-a2ef-bdf8fbdcef0b" xlink:to="loc_us-gaap_AssetsCurrent_5f5308a8-695f-4133-98d5-d91dc76a0ce1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68732cc2-0170-4c5f-acd9-f068e9ab2bf3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_68732cc2-0170-4c5f-acd9-f068e9ab2bf3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_37b9c744-8837-4fdb-9fc9-ecb16fb8f8a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_37b9c744-8837-4fdb-9fc9-ecb16fb8f8a0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_456c3672-7c00-48ad-bab8-eb94b26b96f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_456c3672-7c00-48ad-bab8-eb94b26b96f3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ddae0162-863b-4e22-b144-f6f1d7fff7f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_ddae0162-863b-4e22-b144-f6f1d7fff7f8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_6934c1bf-5237-4d0d-aa10-aa361d8a69e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_17f93ba0-3005-46f7-90be-b01a0276cfdb" xlink:to="loc_us-gaap_Assets_6934c1bf-5237-4d0d-aa10-aa361d8a69e2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6a8a03e0-28de-4daa-afbc-1e5c45347d7b" xlink:to="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_625edbc3-0ca5-4fe8-a2f9-df294a79128e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_AccountsPayableCurrent_625edbc3-0ca5-4fe8-a2f9-df294a79128e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_302cd4d9-d88c-4d13-a7a0-567dbcde95f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_302cd4d9-d88c-4d13-a7a0-567dbcde95f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_c5274809-15f7-41bb-93d0-cb7f91ebbca0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_c5274809-15f7-41bb-93d0-cb7f91ebbca0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_525efcfd-1a34-4c1f-aa8b-9d119031db4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_525efcfd-1a34-4c1f-aa8b-9d119031db4f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_3042ca9b-43bb-419b-9b01-a7bf128098e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_3042ca9b-43bb-419b-9b01-a7bf128098e8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_235294ed-11b8-4b0f-bd69-b0c6bcff50d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_313669d3-c418-499f-9e1f-eab86863b9a1" xlink:to="loc_us-gaap_LiabilitiesCurrent_235294ed-11b8-4b0f-bd69-b0c6bcff50d5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_a9dc5a1c-4d26-4f74-ba71-98517ab29248" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_LongTermDebt_a9dc5a1c-4d26-4f74-ba71-98517ab29248" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b619771c-2dd1-41f2-b4a7-f027431fe44b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_b619771c-2dd1-41f2-b4a7-f027431fe44b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementLiabilityNoncurrent_2179a83b-654c-4ee1-8204-9edeb29008bf" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_shak_TaxReceivableAgreementLiabilityNoncurrent_2179a83b-654c-4ee1-8204-9edeb29008bf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_fc045db5-306d-4cba-bb54-a345f462a4fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_fc045db5-306d-4cba-bb54-a345f462a4fc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_635ed7b6-0c7a-478c-8bcf-d2f292103fdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_Liabilities_635ed7b6-0c7a-478c-8bcf-d2f292103fdc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4acf707b-f71c-4bd6-b445-5d8e831ba1c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4acf707b-f71c-4bd6-b445-5d8e831ba1c2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_63a7980c-c635-437a-9928-5793d575bb05" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_PreferredStockValue_63a7980c-c635-437a-9928-5793d575bb05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_cf7c23e0-fadc-48a9-8539-36074fb52d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_CommonStockValue_cf7c23e0-fadc-48a9-8539-36074fb52d1e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_82731b8a-5ad1-4d4c-a223-a1761707bdd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_AdditionalPaidInCapital_82731b8a-5ad1-4d4c-a223-a1761707bdd2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_933b440f-7c08-4071-97f8-93f4d0acbe11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_933b440f-7c08-4071-97f8-93f4d0acbe11" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cc5fd9ca-98bf-4a25-a6c0-11120b5229d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cc5fd9ca-98bf-4a25-a6c0-11120b5229d3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_449ac5aa-8140-405d-b5a1-a9fddd22bc93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_StockholdersEquity_449ac5aa-8140-405d-b5a1-a9fddd22bc93" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_025327fc-0bbb-40e4-b13b-cc411a34e2e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_MinorityInterest_025327fc-0bbb-40e4-b13b-cc411a34e2e1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a4b752dd-ede1-45f3-b2ac-9d088126d799" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_446f5de5-15b6-4102-93bc-05b59e8a927f" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a4b752dd-ede1-45f3-b2ac-9d088126d799" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_6fa1dc19-d74c-49cb-8819-b2b67ee4459a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_6567afd3-264c-4b55-9346-53d0cfa6362b" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_6fa1dc19-d74c-49cb-8819-b2b67ee4459a" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="simple" xlink:href="shak-20240626.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFINCOMEUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_c266f103-aee0-4ce7-bda2-1f960165b972" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_StatementTable_c266f103-aee0-4ce7-bda2-1f960165b972" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_a3390f27-db89-4b2b-a31f-dce8cfe2a069" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_c266f103-aee0-4ce7-bda2-1f960165b972" xlink:to="loc_srt_ProductOrServiceAxis_a3390f27-db89-4b2b-a31f-dce8cfe2a069" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_a3390f27-db89-4b2b-a31f-dce8cfe2a069_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_a3390f27-db89-4b2b-a31f-dce8cfe2a069" xlink:to="loc_srt_ProductsAndServicesDomain_a3390f27-db89-4b2b-a31f-dce8cfe2a069_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_6e8f5606-e3cd-4893-8665-b05ba0ac1610" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_a3390f27-db89-4b2b-a31f-dce8cfe2a069" xlink:to="loc_srt_ProductsAndServicesDomain_6e8f5606-e3cd-4893-8665-b05ba0ac1610" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ShackSalesMember_27d8b6be-4a6e-41bc-9272-fbc4a6eac3cd" xlink:href="shak-20240626.xsd#shak_ShackSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6e8f5606-e3cd-4893-8665-b05ba0ac1610" xlink:to="loc_shak_ShackSalesMember_27d8b6be-4a6e-41bc-9272-fbc4a6eac3cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchiseMember_3a1fe14e-8bce-4a55-ab65-6d5db7e79a34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchiseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6e8f5606-e3cd-4893-8665-b05ba0ac1610" xlink:to="loc_us-gaap_FranchiseMember_3a1fe14e-8bce-4a55-ab65-6d5db7e79a34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_46dcf56b-5471-4b67-b5e6-38d4bfbdf080" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_46dcf56b-5471-4b67-b5e6-38d4bfbdf080" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_OperatingMaterialsExpense_b3ccb129-9ecd-4c99-a5f0-a09924762b7c" xlink:href="shak-20240626.xsd#shak_OperatingMaterialsExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:to="loc_shak_OperatingMaterialsExpense_b3ccb129-9ecd-4c99-a5f0-a09924762b7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_4c9117a2-b695-43ff-a1da-cc5a1f0ac02e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:to="loc_us-gaap_LaborAndRelatedExpense_4c9117a2-b695-43ff-a1da-cc5a1f0ac02e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_298872a0-98eb-4fb4-8c68-4c920af82d43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_298872a0-98eb-4fb4-8c68-4c920af82d43" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_eaa93e68-c51d-440a-99dc-81e0dcd62e6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OccupancyNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_f8b7909a-6079-471c-9c95-5abf0a922b09" xlink:to="loc_us-gaap_OccupancyNet_eaa93e68-c51d-440a-99dc-81e0dcd62e6c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_693e30f9-7aca-462f-ab8d-f0521d0e989e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_693e30f9-7aca-462f-ab8d-f0521d0e989e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_da9646bb-0acc-41f3-a92b-0901443d78fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_DepreciationAndAmortization_da9646bb-0acc-41f3-a92b-0901443d78fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreOpeningCosts_4cda0754-dc00-42c2-ba88-5e1571303cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreOpeningCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_PreOpeningCosts_4cda0754-dc00-42c2-ba88-5e1571303cd2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_b733f404-4828-4907-a1ea-72bd6a23c4aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_b733f404-4828-4907-a1ea-72bd6a23c4aa" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_5c35cd39-5389-477f-a6dc-d8dc57240d60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_OperatingExpenses_5c35cd39-5389-477f-a6dc-d8dc57240d60" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f89ec1a8-2378-497f-9f42-557decdcdae5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_OperatingIncomeLoss_f89ec1a8-2378-497f-9f42-557decdcdae5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_3cbb0b5e-465a-42c5-8421-42ebe9372dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_3cbb0b5e-465a-42c5-8421-42ebe9372dc3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_8a9f674d-b5e9-4558-9e4e-4779fa10fa58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_InterestExpense_8a9f674d-b5e9-4558-9e4e-4779fa10fa58" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_330de8e5-d14f-4004-87b3-4abd1085873f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_330de8e5-d14f-4004-87b3-4abd1085873f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_73125b51-d40d-484d-baea-a03cdc62fe5e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_73125b51-d40d-484d-baea-a03cdc62fe5e" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_729d3f33-f85f-4769-9e7c-9aaf964ffa39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_ProfitLoss_729d3f33-f85f-4769-9e7c-9aaf964ffa39" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ffee8de6-1380-4864-b6cb-81827bea63b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ffee8de6-1380-4864-b6cb-81827bea63b6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a8855c4c-9883-4b57-8b5a-b559a16027aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_NetIncomeLoss_a8855c4c-9883-4b57-8b5a-b559a16027aa" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_f5ff9746-af5b-4957-bf1e-86feb0eb9b49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_EarningsPerShareAbstract_f5ff9746-af5b-4957-bf1e-86feb0eb9b49" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_723935d9-18e3-4fe9-b091-68fa9e357d56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_f5ff9746-af5b-4957-bf1e-86feb0eb9b49" xlink:to="loc_us-gaap_EarningsPerShareBasic_723935d9-18e3-4fe9-b091-68fa9e357d56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_f4be3ef8-68a3-43d3-94e1-1d6f866ff68c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_f5ff9746-af5b-4957-bf1e-86feb0eb9b49" xlink:to="loc_us-gaap_EarningsPerShareDiluted_f4be3ef8-68a3-43d3-94e1-1d6f866ff68c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_fd1b042e-b3fd-4077-9a5c-f9ef8b858d47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_392074f6-9568-4a66-bf35-81d4af8ba41a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_fd1b042e-b3fd-4077-9a5c-f9ef8b858d47" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_91c38138-7855-4c82-96ba-80f5ffc0d4c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_fd1b042e-b3fd-4077-9a5c-f9ef8b858d47" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_91c38138-7855-4c82-96ba-80f5ffc0d4c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f997a84e-3298-4e56-934f-2cc1e13b4efd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_fd1b042e-b3fd-4077-9a5c-f9ef8b858d47" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_f997a84e-3298-4e56-934f-2cc1e13b4efd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSTOCKHOLDERSEQUITYUNAUDITED" xlink:type="simple" xlink:href="shak-20240626.xsd#CONDENSEDCONSOLIDATEDSTATEMENTOFSTOCKHOLDERSEQUITYUNAUDITED"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSTOCKHOLDERSEQUITYUNAUDITED" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_3566f114-06ac-4bab-bd40-54ab10276ebc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_ce399647-862c-4772-814d-5fd272937a51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_3566f114-06ac-4bab-bd40-54ab10276ebc" xlink:to="loc_us-gaap_StatementTable_ce399647-862c-4772-814d-5fd272937a51" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c7f6e755-e202-4473-ba82-b32c0bdb010f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_ce399647-862c-4772-814d-5fd272937a51" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c7f6e755-e202-4473-ba82-b32c0bdb010f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c7f6e755-e202-4473-ba82-b32c0bdb010f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c7f6e755-e202-4473-ba82-b32c0bdb010f" xlink:to="loc_us-gaap_EquityComponentDomain_c7f6e755-e202-4473-ba82-b32c0bdb010f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c7f6e755-e202-4473-ba82-b32c0bdb010f" xlink:to="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_acd90f6e-b047-4dd3-81a4-17b421914468" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:to="loc_us-gaap_CommonStockMember_acd90f6e-b047-4dd3-81a4-17b421914468" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_05dfb4b5-a7db-41c0-ac8a-928a152fbcc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_05dfb4b5-a7db-41c0-ac8a-928a152fbcc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_27b21f58-0199-472b-b01a-09104e6b6f68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:to="loc_us-gaap_RetainedEarningsMember_27b21f58-0199-472b-b01a-09104e6b6f68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_aa33f864-cbf4-4532-99a2-c705161253a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_aa33f864-cbf4-4532-99a2-c705161253a9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_b805ff4f-7ec6-4ac6-b1bd-ae59a62e9c66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b1d6f26a-0844-4844-8c4a-fa53d75f8399" xlink:to="loc_us-gaap_NoncontrollingInterestMember_b805ff4f-7ec6-4ac6-b1bd-ae59a62e9c66" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_ce399647-862c-4772-814d-5fd272937a51" xlink:to="loc_us-gaap_StatementClassOfStockAxis_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa" xlink:to="loc_us-gaap_ClassOfStockDomain_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_254bf91c-3ca9-4dae-a003-ffc079f9ab27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_28b39ca0-fb43-4e85-96f1-f88f5cf7d3aa" xlink:to="loc_us-gaap_ClassOfStockDomain_254bf91c-3ca9-4dae-a003-ffc079f9ab27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_05fb0d98-2fcb-40b8-bc2d-e58cdce8823b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_254bf91c-3ca9-4dae-a003-ffc079f9ab27" xlink:to="loc_us-gaap_CommonClassAMember_05fb0d98-2fcb-40b8-bc2d-e58cdce8823b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_d17d2b27-e1e9-40b4-8111-cc0f04e6bd57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_254bf91c-3ca9-4dae-a003-ffc079f9ab27" xlink:to="loc_us-gaap_CommonClassBMember_d17d2b27-e1e9-40b4-8111-cc0f04e6bd57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3566f114-06ac-4bab-bd40-54ab10276ebc" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_5b671307-5431-4ad4-b5cf-227ff451627b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_5b671307-5431-4ad4-b5cf-227ff451627b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a6d3c455-bd29-4767-bea0-78bb388577f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a6d3c455-bd29-4767-bea0-78bb388577f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_b4a5dbe2-6459-4e5d-8158-9601839bdb87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_ProfitLoss_b4a5dbe2-6459-4e5d-8158-9601839bdb87" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_92332f43-fcc4-40c6-b1af-3eaea042e29c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_92332f43-fcc4-40c6-b1af-3eaea042e29c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cb5b5194-8b2c-4892-84a8-a0fc265e8231" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_92332f43-fcc4-40c6-b1af-3eaea042e29c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_cb5b5194-8b2c-4892-84a8-a0fc265e8231" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_80ebe1b2-a2a7-449d-a3a4-3fc6756b8dec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_80ebe1b2-a2a7-449d-a3a4-3fc6756b8dec" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_f47ac8dc-77aa-4048-9e5d-cfe7faa99e28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_f47ac8dc-77aa-4048-9e5d-cfe7faa99e28" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_2a9e3171-0864-45b0-ba5d-7dbe9c9db4a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_2a9e3171-0864-45b0-ba5d-7dbe9c9db4a6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_a50f42f9-2f6a-4583-a63b-4bbab50d5888" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_a50f42f9-2f6a-4583-a63b-4bbab50d5888" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfUnits_0bc044c5-47a0-44df-af68-c74a04754315" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfUnits_0bc044c5-47a0-44df-af68-c74a04754315" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_AdjustmentstoAdditionalPaidinCapitalTaxReceivableAgreement_01f1f1b1-f206-4a64-81de-266c6808501a" xlink:href="shak-20240626.xsd#shak_AdjustmentstoAdditionalPaidinCapitalTaxReceivableAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_shak_AdjustmentstoAdditionalPaidinCapitalTaxReceivableAgreement_01f1f1b1-f206-4a64-81de-266c6808501a" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_d24b5d05-1451-487c-8dba-209cd339a29d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c9918824-02d6-4210-85c0-7d23c190d83c" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_d24b5d05-1451-487c-8dba-209cd339a29d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_7bd2ad30-1d79-4aec-a707-be4f31b481e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_52e35f9d-f98d-4faa-a904-44b96f61c434" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="shak-20240626.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3244383c-c69a-4e3b-acca-c1a147a21c75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_StatementTable_3244383c-c69a-4e3b-acca-c1a147a21c75" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_fd54668b-41d6-4e2e-b48f-230b412908b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3244383c-c69a-4e3b-acca-c1a147a21c75" xlink:to="loc_us-gaap_DebtInstrumentAxis_fd54668b-41d6-4e2e-b48f-230b412908b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_fd54668b-41d6-4e2e-b48f-230b412908b5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_fd54668b-41d6-4e2e-b48f-230b412908b5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_fd54668b-41d6-4e2e-b48f-230b412908b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c2c12027-fe2d-4f21-a1fd-2b4da7e9d0ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_fd54668b-41d6-4e2e-b48f-230b412908b5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c2c12027-fe2d-4f21-a1fd-2b4da7e9d0ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_A0ConvertibleSeniorNotesDue2028Member_253b9493-2eb9-4adf-8976-8b5c560a20ac" xlink:href="shak-20240626.xsd#shak_A0ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_c2c12027-fe2d-4f21-a1fd-2b4da7e9d0ee" xlink:to="loc_shak_A0ConvertibleSeniorNotesDue2028Member_253b9493-2eb9-4adf-8976-8b5c560a20ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a30a216a-6afa-4cdc-88fa-51f60e6d81b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3244383c-c69a-4e3b-acca-c1a147a21c75" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a30a216a-6afa-4cdc-88fa-51f60e6d81b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a30a216a-6afa-4cdc-88fa-51f60e6d81b0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a30a216a-6afa-4cdc-88fa-51f60e6d81b0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a30a216a-6afa-4cdc-88fa-51f60e6d81b0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4c513218-fe68-441f-b6dd-6e9deb011c19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a30a216a-6afa-4cdc-88fa-51f60e6d81b0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4c513218-fe68-441f-b6dd-6e9deb011c19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_830906d0-afa7-4b3e-962e-e7a6fbb67903" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4c513218-fe68-441f-b6dd-6e9deb011c19" xlink:to="loc_us-gaap_SeniorNotesMember_830906d0-afa7-4b3e-962e-e7a6fbb67903" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3244383c-c69a-4e3b-acca-c1a147a21c75" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4e625f1d-187e-4a2b-9ca8-3f28b7eee47d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_2c3e1c08-1580-46e6-bb18-49edeb0d9fd3" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4e625f1d-187e-4a2b-9ca8-3f28b7eee47d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrivatePlacementMember_5a3301a0-a3d0-4639-b114-71b3c213f017" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrivatePlacementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4e625f1d-187e-4a2b-9ca8-3f28b7eee47d" xlink:to="loc_us-gaap_PrivatePlacementMember_5a3301a0-a3d0-4639-b114-71b3c213f017" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3b5fef0e-5a8c-4d50-b287-71cca0e531c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:to="loc_us-gaap_ProfitLoss_3b5fef0e-5a8c-4d50-b287-71cca0e531c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_2ee1253e-7e96-4aa1-b6ed-145c9ecceb92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_2ee1253e-7e96-4aa1-b6ed-145c9ecceb92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_269bb440-c2d6-45a2-8ed1-e0e60f2f9499" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_269bb440-c2d6-45a2-8ed1-e0e60f2f9499" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_a6a6ab54-b6fc-4e10-b9c6-40f1f4e6bd8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CapitalizedComputerSoftwareAmortization1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareAmortization1_a6a6ab54-b6fc-4e10-b9c6-40f1f4e6bd8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_Amortizationofoperatingleaseassets_0e0adac0-700c-466c-8a30-7ca85c980bbd" xlink:href="shak-20240626.xsd#shak_Amortizationofoperatingleaseassets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_shak_Amortizationofoperatingleaseassets_0e0adac0-700c-466c-8a30-7ca85c980bbd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_b59e4001-1f21-4f1e-ad5c-9a2b3f76a15f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_ShareBasedCompensation_b59e4001-1f21-4f1e-ad5c-9a2b3f76a15f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4ac240f4-7362-42e4-b728-ae2af968c72e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4ac240f4-7362-42e4-b728-ae2af968c72e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_b3e9c6f2-b668-4dc4-874e-0e039587df19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_b3e9c6f2-b668-4dc4-874e-0e039587df19" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_GainLossOnSaleOfEquitySecurities_4af99eed-462b-4264-9666-34a3669bc421" xlink:href="shak-20240626.xsd#shak_GainLossOnSaleOfEquitySecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_shak_GainLossOnSaleOfEquitySecurities_4af99eed-462b-4264-9666-34a3669bc421" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_AmortizationOfDiscountOnHeldToMaturitySecuritiesNet_de24414b-a6a8-4dcd-8237-25aa63e62b3b" xlink:href="shak-20240626.xsd#shak_AmortizationOfDiscountOnHeldToMaturitySecuritiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_shak_AmortizationOfDiscountOnHeldToMaturitySecuritiesNet_de24414b-a6a8-4dcd-8237-25aa63e62b3b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_a752aae4-e066-4796-bfde-358a295ba304" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ef89150c-1ec3-4a63-9b0c-e904bdf174bb" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_a752aae4-e066-4796-bfde-358a295ba304" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_92b6fe96-282b-474c-9bf7-9cbe420d64b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_92b6fe96-282b-474c-9bf7-9cbe420d64b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_47450a0c-3015-4245-bbc2-5761c87fae60" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_47450a0c-3015-4245-bbc2-5761c87fae60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_4ee0e127-894f-4071-abd1-6141ba690134" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_4ee0e127-894f-4071-abd1-6141ba690134" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9d934340-18ee-4b98-9460-63191a103bb6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_9d934340-18ee-4b98-9460-63191a103bb6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_3ff81d5f-7aaf-4651-b9c8-f62574afae92" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_3ff81d5f-7aaf-4651-b9c8-f62574afae92" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_423d6dcc-de0c-4a3f-bbe7-fa421f396b8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_423d6dcc-de0c-4a3f-bbe7-fa421f396b8b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_e864c012-d22d-41a4-9d83-18fde78c66c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities_e864c012-d22d-41a4-9d83-18fde78c66c9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_0d493e66-b99d-4a6b-ba06-41713a4c60dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentLiabilities_0d493e66-b99d-4a6b-ba06-41713a4c60dc" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_IncreaseDecreaseinLongtermoperatingleaseliabilities_656bc126-07d1-4858-84d1-825c144fd70d" xlink:href="shak-20240626.xsd#shak_IncreaseDecreaseinLongtermoperatingleaseliabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_shak_IncreaseDecreaseinLongtermoperatingleaseliabilities_656bc126-07d1-4858-84d1-825c144fd70d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_2c2e8856-ea95-4e3f-b8eb-990887b87e16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract_d1b512ab-bc41-4586-ac28-2bdee3f53a57" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_2c2e8856-ea95-4e3f-b8eb-990887b87e16" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3a054d67-5383-492b-ab1c-33afb010d026" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_b8ae874a-bf20-46af-ab71-56f83b41bcfb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3a054d67-5383-492b-ab1c-33afb010d026" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_606c6dc9-2e15-48c3-948c-ac12912aace3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_606c6dc9-2e15-48c3-948c-ac12912aace3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_53c0bdc8-2751-4243-b534-45a47224d6be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_53c0bdc8-2751-4243-b534-45a47224d6be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_e15cf090-657f-49db-8f5a-e8e11825adc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfHeldToMaturitySecurities_e15cf090-657f-49db-8f5a-e8e11825adc7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_449e79ea-15eb-4c50-b34d-889fef814b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireEquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_PaymentsToAcquireEquitySecuritiesFvNi_449e79ea-15eb-4c50-b34d-889fef814b9e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_f919c348-4bcc-4fdb-b1e8-9fee9c9c3df2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_ProceedsFromSaleOfEquitySecuritiesFvNi_f919c348-4bcc-4fdb-b1e8-9fee9c9c3df2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_81dbe2b0-a6da-46bc-a88e-8df3e629d801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_1e66c82e-d296-4e95-9d7f-3dc323ed9e93" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_81dbe2b0-a6da-46bc-a88e-8df3e629d801" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_PaymentsOnprincipalOnFinanceLeaseLiabilities_8d0583e4-4518-4aa7-b546-8634ec4ac337" xlink:href="shak-20240626.xsd#shak_PaymentsOnprincipalOnFinanceLeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:to="loc_shak_PaymentsOnprincipalOnFinanceLeaseLiabilities_8d0583e4-4518-4aa7-b546-8634ec4ac337" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToMinorityShareholders_23d26ef1-49c1-45a0-bec0-720012a0e280" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:to="loc_us-gaap_PaymentsToMinorityShareholders_23d26ef1-49c1-45a0-bec0-720012a0e280" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_17bc9684-7707-4c71-bac3-b95fbe4b5c33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_17bc9684-7707-4c71-bac3-b95fbe4b5c33" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_c1c43d7d-4290-4977-a1b5-dfa586ccfb72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_c1c43d7d-4290-4977-a1b5-dfa586ccfb72" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d1b42091-d4de-4bbf-97a2-974817b1e490" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_d10e63a7-e6ae-41be-a639-cee35aee7c37" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d1b42091-d4de-4bbf-97a2-974817b1e490" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_4d9209a5-f0ca-471a-a981-de30caa5cac2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_4d9209a5-f0ca-471a-a981-de30caa5cac2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5105f845-843a-4489-b592-1783251aac88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_5105f845-843a-4489-b592-1783251aac88" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e3a2f83f-c4f8-4a73-a24d-a02ec9ef4590" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_b5d69239-93cd-48fd-afe2-46048b5e925d" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e3a2f83f-c4f8-4a73-a24d-a02ec9ef4590" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2b30e19b-4e95-4ac2-8e84-c011bcc00c23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITEDParenthetical" xlink:type="simple" xlink:href="shak-20240626.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITEDParenthetical"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUNAUDITEDParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3e9c1aaf-159a-4df1-b039-501411241547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_StatementTable_3e9c1aaf-159a-4df1-b039-501411241547" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_64a384bf-b993-4dd0-b0fb-0144ca196f6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3e9c1aaf-159a-4df1-b039-501411241547" xlink:to="loc_us-gaap_StatementClassOfStockAxis_64a384bf-b993-4dd0-b0fb-0144ca196f6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_64a384bf-b993-4dd0-b0fb-0144ca196f6d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_64a384bf-b993-4dd0-b0fb-0144ca196f6d" xlink:to="loc_us-gaap_ClassOfStockDomain_64a384bf-b993-4dd0-b0fb-0144ca196f6d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_04e7840c-6563-40fb-a472-e438b6c0650e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_64a384bf-b993-4dd0-b0fb-0144ca196f6d" xlink:to="loc_us-gaap_ClassOfStockDomain_04e7840c-6563-40fb-a472-e438b6c0650e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_0a6efdd1-afb3-49fd-9571-7a7a2dc3ab37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_04e7840c-6563-40fb-a472-e438b6c0650e" xlink:to="loc_us-gaap_CommonClassAMember_0a6efdd1-afb3-49fd-9571-7a7a2dc3ab37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_39331a86-64e1-469a-a5f9-c47d3275ff6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_04e7840c-6563-40fb-a472-e438b6c0650e" xlink:to="loc_us-gaap_CommonClassBMember_39331a86-64e1-469a-a5f9-c47d3275ff6a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_07bccbc3-e5e3-41aa-9a17-18e4e29e8eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_07bccbc3-e5e3-41aa-9a17-18e4e29e8eb2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockNoParValue_2031a4db-6c0c-49bd-a7e3-35f718d0e7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockNoParValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_PreferredStockNoParValue_2031a4db-6c0c-49bd-a7e3-35f718d0e7e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_5a029bff-73d2-4420-953d-fa667cc45572" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_5a029bff-73d2-4420-953d-fa667cc45572" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_b18acac7-56d1-43e4-bc47-682a945437d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_PreferredStockSharesIssued_b18acac7-56d1-43e4-bc47-682a945437d3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_83d5ab7f-5a27-4c1d-a058-a3ab4fecdff7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_83d5ab7f-5a27-4c1d-a058-a3ab4fecdff7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_cc9f4009-1fa1-4133-9cd1-62d140bbbb8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_cc9f4009-1fa1-4133-9cd1-62d140bbbb8c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_da244671-e5e1-4e95-8914-1c9145e96c84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_da244671-e5e1-4e95-8914-1c9145e96c84" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_520d207c-37fd-4fba-800d-83888e0d01c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_CommonStockSharesIssued_520d207c-37fd-4fba-800d-83888e0d01c8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_f175dfa0-cef0-4910-a131-7436470fb098" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8ec09b66-ab29-4077-bb24-1a4acc2f6872" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_f175dfa0-cef0-4910-a131-7436470fb098" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/NATUREOFOPERATIONSDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#NATUREOFOPERATIONSDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/NATUREOFOPERATIONSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_ea2ed5e5-48e7-4d30-aa70-b8630a11f107" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_5fc8df9b-cb6c-48e5-8f25-a0fdcfebe8c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_ea2ed5e5-48e7-4d30-aa70-b8630a11f107" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_5fc8df9b-cb6c-48e5-8f25-a0fdcfebe8c5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_6015d9e5-b4c1-41d8-8be0-da37df70cb92" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5fc8df9b-cb6c-48e5-8f25-a0fdcfebe8c5" xlink:to="loc_srt_OwnershipAxis_6015d9e5-b4c1-41d8-8be0-da37df70cb92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_6015d9e5-b4c1-41d8-8be0-da37df70cb92_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_6015d9e5-b4c1-41d8-8be0-da37df70cb92" xlink:to="loc_srt_OwnershipDomain_6015d9e5-b4c1-41d8-8be0-da37df70cb92_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_c693cfae-db9e-410b-ba76-2bfb742fba3c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_6015d9e5-b4c1-41d8-8be0-da37df70cb92" xlink:to="loc_srt_OwnershipDomain_c693cfae-db9e-410b-ba76-2bfb742fba3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ShakeShackInc.Member_d41ecfb7-0c83-4b56-a7ba-c3896bf792c5" xlink:href="shak-20240626.xsd#shak_ShakeShackInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_c693cfae-db9e-410b-ba76-2bfb742fba3c" xlink:to="loc_shak_ShakeShackInc.Member_d41ecfb7-0c83-4b56-a7ba-c3896bf792c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisorDisclosureAxis_5691d6f2-4931-453b-bb84-3b12a292cc68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchisorDisclosureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_5fc8df9b-cb6c-48e5-8f25-a0fdcfebe8c5" xlink:to="loc_us-gaap_FranchisorDisclosureAxis_5691d6f2-4931-453b-bb84-3b12a292cc68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisorDisclosureDomain_5691d6f2-4931-453b-bb84-3b12a292cc68_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchisorDisclosureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FranchisorDisclosureAxis_5691d6f2-4931-453b-bb84-3b12a292cc68" xlink:to="loc_us-gaap_FranchisorDisclosureDomain_5691d6f2-4931-453b-bb84-3b12a292cc68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisorDisclosureDomain_18f60e77-039e-4c8d-9ede-78f212d9ca19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchisorDisclosureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FranchisorDisclosureAxis_5691d6f2-4931-453b-bb84-3b12a292cc68" xlink:to="loc_us-gaap_FranchisorDisclosureDomain_18f60e77-039e-4c8d-9ede-78f212d9ca19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EntityOperatedUnitsMember_fecb5bc4-6827-4f43-bb10-2267763d8567" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EntityOperatedUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FranchisorDisclosureDomain_18f60e77-039e-4c8d-9ede-78f212d9ca19" xlink:to="loc_us-gaap_EntityOperatedUnitsMember_fecb5bc4-6827-4f43-bb10-2267763d8567" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisedUnitsMember_2461252a-b7b8-422e-9e4b-99290e4620e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchisedUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FranchisorDisclosureDomain_18f60e77-039e-4c8d-9ede-78f212d9ca19" xlink:to="loc_us-gaap_FranchisedUnitsMember_2461252a-b7b8-422e-9e4b-99290e4620e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_a39a1897-2fed-4b0c-bb38-b6f3625bbc51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_ea2ed5e5-48e7-4d30-aa70-b8630a11f107" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_a39a1897-2fed-4b0c-bb38-b6f3625bbc51" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfRestaurants_bef3ddca-d5f2-4ba5-afe8-97432ec89593" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NumberOfRestaurants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_ea2ed5e5-48e7-4d30-aa70-b8630a11f107" xlink:to="loc_us-gaap_NumberOfRestaurants_bef3ddca-d5f2-4ba5-afe8-97432ec89593" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_b14a7414-8937-41a1-ae0e-b6e399a29c3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_970e9de2-35e2-4a4b-bada-d191846de9d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_b14a7414-8937-41a1-ae0e-b6e399a29c3b" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_970e9de2-35e2-4a4b-bada-d191846de9d0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_063d8b2c-1aba-42a3-9948-fa0aa950c7de" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_970e9de2-35e2-4a4b-bada-d191846de9d0" xlink:to="loc_srt_ConsolidatedEntitiesAxis_063d8b2c-1aba-42a3-9948-fa0aa950c7de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_063d8b2c-1aba-42a3-9948-fa0aa950c7de_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_063d8b2c-1aba-42a3-9948-fa0aa950c7de" xlink:to="loc_srt_ConsolidatedEntitiesDomain_063d8b2c-1aba-42a3-9948-fa0aa950c7de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_5684b45b-c81b-4e20-aebc-3ac911e4ad4e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_063d8b2c-1aba-42a3-9948-fa0aa950c7de" xlink:to="loc_srt_ConsolidatedEntitiesDomain_5684b45b-c81b-4e20-aebc-3ac911e4ad4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_12d794f2-989a-4baf-8fc6-10ae18eae85a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_5684b45b-c81b-4e20-aebc-3ac911e4ad4e" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_12d794f2-989a-4baf-8fc6-10ae18eae85a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_af6cd467-b7b3-466a-8ef9-4ad17697bb6a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_b14a7414-8937-41a1-ae0e-b6e399a29c3b" xlink:to="loc_us-gaap_Assets_af6cd467-b7b3-466a-8ef9-4ad17697bb6a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/REVENUENarrativeDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#REVENUENarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/REVENUENarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_92374705-8616-4c85-888e-239f1daad8b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_d137afaf-fac1-4cd2-87b6-b6fc5db0591a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_92374705-8616-4c85-888e-239f1daad8b8" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_d137afaf-fac1-4cd2-87b6-b6fc5db0591a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6" 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_us-gaap_DisaggregationOfRevenueTable_d137afaf-fac1-4cd2-87b6-b6fc5db0591a" xlink:to="loc_srt_RangeAxis_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6_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_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6" xlink:to="loc_srt_RangeMember_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1d84d66a-570b-4748-bbc2-7e8a781882c9" 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_0ace10ea-c8c4-4788-95b9-6e3fa7d843c6" xlink:to="loc_srt_RangeMember_1d84d66a-570b-4748-bbc2-7e8a781882c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_725b182c-cfff-410a-aaf5-5af4eceedeb8" 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_1d84d66a-570b-4748-bbc2-7e8a781882c9" xlink:to="loc_srt_MinimumMember_725b182c-cfff-410a-aaf5-5af4eceedeb8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2f3575c4-0dd9-466d-b505-422128339718" 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_1d84d66a-570b-4748-bbc2-7e8a781882c9" xlink:to="loc_srt_MaximumMember_2f3575c4-0dd9-466d-b505-422128339718" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_GiftCardBreakageIncome_c502efc5-51bd-4821-b3ef-17c0d4ea7cc1" xlink:href="shak-20240626.xsd#shak_GiftCardBreakageIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_92374705-8616-4c85-888e-239f1daad8b8" xlink:to="loc_shak_GiftCardBreakageIncome_c502efc5-51bd-4821-b3ef-17c0d4ea7cc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_823728de-3480-426a-8cb7-2201101b2196" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_92374705-8616-4c85-888e-239f1daad8b8" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_823728de-3480-426a-8cb7-2201101b2196" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03fbe8ea-c327-4ed3-9bc8-51ac452d2c77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_92374705-8616-4c85-888e-239f1daad8b8" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_03fbe8ea-c327-4ed3-9bc8-51ac452d2c77" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/REVENUEScheduleofDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#REVENUEScheduleofDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/REVENUEScheduleofDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_50b78b76-e235-470b-94e2-29fe3fcd3088" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_bf2adc20-34b9-41fb-8f69-ad9073dc0a5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_50b78b76-e235-470b-94e2-29fe3fcd3088" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_bf2adc20-34b9-41fb-8f69-ad9073dc0a5a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_1f948162-3a2e-4a07-b224-bfe658dc28f6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_bf2adc20-34b9-41fb-8f69-ad9073dc0a5a" xlink:to="loc_srt_ProductOrServiceAxis_1f948162-3a2e-4a07-b224-bfe658dc28f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_1f948162-3a2e-4a07-b224-bfe658dc28f6_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_1f948162-3a2e-4a07-b224-bfe658dc28f6" xlink:to="loc_srt_ProductsAndServicesDomain_1f948162-3a2e-4a07-b224-bfe658dc28f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_7c39adeb-86eb-4182-9742-278ecb3f78ee" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_1f948162-3a2e-4a07-b224-bfe658dc28f6" xlink:to="loc_srt_ProductsAndServicesDomain_7c39adeb-86eb-4182-9742-278ecb3f78ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ShackSalesMember_395061e5-2884-45d8-b556-8631d3334f7d" xlink:href="shak-20240626.xsd#shak_ShackSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7c39adeb-86eb-4182-9742-278ecb3f78ee" xlink:to="loc_shak_ShackSalesMember_395061e5-2884-45d8-b556-8631d3334f7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_SalesBasedRoyaltiesMember_436b6623-ab70-4fcd-95c2-0c7288b23089" xlink:href="shak-20240626.xsd#shak_SalesBasedRoyaltiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7c39adeb-86eb-4182-9742-278ecb3f78ee" xlink:to="loc_shak_SalesBasedRoyaltiesMember_436b6623-ab70-4fcd-95c2-0c7288b23089" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_InitialTerritoryandOpeningFeesMember_ad60a0ef-4764-44ba-bdc9-1b825db5df03" xlink:href="shak-20240626.xsd#shak_InitialTerritoryandOpeningFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7c39adeb-86eb-4182-9742-278ecb3f78ee" xlink:to="loc_shak_InitialTerritoryandOpeningFeesMember_ad60a0ef-4764-44ba-bdc9-1b825db5df03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_35f73fb8-1d4a-44f9-a521-16511f0f035c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_50b78b76-e235-470b-94e2-29fe3fcd3088" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_35f73fb8-1d4a-44f9-a521-16511f0f035c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/REVENUEScheduleofRespectiveLiabilityBalancesDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#REVENUEScheduleofRespectiveLiabilityBalancesDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/REVENUEScheduleofRespectiveLiabilityBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_26d63227-08e3-4aa0-9ad7-5e0a8759bd1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_26d63227-08e3-4aa0-9ad7-5e0a8759bd1d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_b88f1050-dad4-4689-9a8b-9228c3837bea" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_26d63227-08e3-4aa0-9ad7-5e0a8759bd1d" xlink:to="loc_srt_ProductOrServiceAxis_b88f1050-dad4-4689-9a8b-9228c3837bea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b88f1050-dad4-4689-9a8b-9228c3837bea_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_b88f1050-dad4-4689-9a8b-9228c3837bea" xlink:to="loc_srt_ProductsAndServicesDomain_b88f1050-dad4-4689-9a8b-9228c3837bea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_7a2b17de-d4eb-47d4-bf54-3b933ed40223" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_b88f1050-dad4-4689-9a8b-9228c3837bea" xlink:to="loc_srt_ProductsAndServicesDomain_7a2b17de-d4eb-47d4-bf54-3b933ed40223" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ShackSalesMember_a9a50929-b645-453e-b6c3-7dd7ef32a581" xlink:href="shak-20240626.xsd#shak_ShackSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7a2b17de-d4eb-47d4-bf54-3b933ed40223" xlink:to="loc_shak_ShackSalesMember_a9a50929-b645-453e-b6c3-7dd7ef32a581" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisorMember_53a784ff-1bb6-43d8-9009-33f3cef185c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FranchisorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7a2b17de-d4eb-47d4-bf54-3b933ed40223" xlink:to="loc_us-gaap_FranchisorMember_53a784ff-1bb6-43d8-9009-33f3cef185c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNet_f78e494c-0717-4b3b-bf57-f5ea1a8f93c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerAssetNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:to="loc_us-gaap_ContractWithCustomerAssetNet_f78e494c-0717-4b3b-bf57-f5ea1a8f93c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ContractWithCustomerGiftCardLiability_5b0430a7-5ab2-4c3c-9499-cf3f26a5a69c" xlink:href="shak-20240626.xsd#shak_ContractWithCustomerGiftCardLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:to="loc_shak_ContractWithCustomerGiftCardLiability_5b0430a7-5ab2-4c3c-9499-cf3f26a5a69c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a0c5619a-5b73-4716-a135-21e56d44cc27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_a0c5619a-5b73-4716-a135-21e56d44cc27" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_06311fa8-36ee-4489-b1a3-3f89a7073bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_55762c60-d836-48ef-99ea-0cc4f8c93778" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_06311fa8-36ee-4489-b1a3-3f89a7073bc5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/FAIRVALUEMEASUREMENTSInvestmentsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#FAIRVALUEMEASUREMENTSInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/FAIRVALUEMEASUREMENTSInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_70f246ba-7506-4150-8202-5b477941b940" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_386124a5-96bd-40eb-b0c5-957e66d4b6f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_70f246ba-7506-4150-8202-5b477941b940" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_386124a5-96bd-40eb-b0c5-957e66d4b6f2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_386124a5-96bd-40eb-b0c5-957e66d4b6f2" xlink:to="loc_us-gaap_FinancialInstrumentAxis_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cba12aca-5084-4b5e-b8d9-525bef91bd06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4d7db37f-48e0-446d-b7b0-79e4f6b4a5b8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cba12aca-5084-4b5e-b8d9-525bef91bd06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_dcb6dd3a-d22a-4fce-9dee-9e2dc8083589" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cba12aca-5084-4b5e-b8d9-525bef91bd06" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_dcb6dd3a-d22a-4fce-9dee-9e2dc8083589" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_048726b3-6024-4800-b827-0273f9ac03bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_70f246ba-7506-4150-8202-5b477941b940" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_048726b3-6024-4800-b827-0273f9ac03bc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/FAIRVALUEMEASUREMENTSHeldToMaturitySecuritiesDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#FAIRVALUEMEASUREMENTSHeldToMaturitySecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/FAIRVALUEMEASUREMENTSHeldToMaturitySecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_f94de05c-e18a-425b-92cf-d0dce2affc96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_f94de05c-e18a-425b-92cf-d0dce2affc96" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_c4f2d78c-07b4-484b-99b8-327e5f1a8a20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_f94de05c-e18a-425b-92cf-d0dce2affc96" xlink:to="loc_us-gaap_FinancialInstrumentAxis_c4f2d78c-07b4-484b-99b8-327e5f1a8a20" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c4f2d78c-07b4-484b-99b8-327e5f1a8a20_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c4f2d78c-07b4-484b-99b8-327e5f1a8a20" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c4f2d78c-07b4-484b-99b8-327e5f1a8a20_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_af72b152-e9c3-432e-8712-68ad88fbb846" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c4f2d78c-07b4-484b-99b8-327e5f1a8a20" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_af72b152-e9c3-432e-8712-68ad88fbb846" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_eefd818a-f6de-496b-8a38-40d69cde4250" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_af72b152-e9c3-432e-8712-68ad88fbb846" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_eefd818a-f6de-496b-8a38-40d69cde4250" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_6536c733-0a3c-442f-8db8-f790499eb0e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:to="loc_us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss_6536c733-0a3c-442f-8db8-f790499eb0e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_567ba69f-87b0-4d1d-bcca-9d510ecaaef2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_567ba69f-87b0-4d1d-bcca-9d510ecaaef2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_e523082d-ccc6-450a-9e7e-43d550178304" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_e523082d-ccc6-450a-9e7e-43d550178304" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_86781722-6c8d-4d71-a59d-9e7f58a32e04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HeldToMaturitySecuritiesFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_612e3823-8940-4c21-8d7a-501ba04570f9" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_86781722-6c8d-4d71-a59d-9e7f58a32e04" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/DEBTConvertibleNotesDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#DEBTConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/DEBTConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_8dae4df1-ec5e-436b-94c7-638646904e87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:to="loc_us-gaap_DebtInstrumentAxis_8dae4df1-ec5e-436b-94c7-638646904e87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8dae4df1-ec5e-436b-94c7-638646904e87_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_8dae4df1-ec5e-436b-94c7-638646904e87" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8dae4df1-ec5e-436b-94c7-638646904e87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_34893a0f-cff9-4594-ba5f-dedabb6f6381" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_8dae4df1-ec5e-436b-94c7-638646904e87" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_34893a0f-cff9-4594-ba5f-dedabb6f6381" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_A0ConvertibleSeniorNotesDue2028Member_a8314df0-00ee-473b-bb2c-5fdee75c2835" xlink:href="shak-20240626.xsd#shak_A0ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_34893a0f-cff9-4594-ba5f-dedabb6f6381" xlink:to="loc_shak_A0ConvertibleSeniorNotesDue2028Member_a8314df0-00ee-473b-bb2c-5fdee75c2835" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f839493e-531c-4326-bd26-d7a560b9543b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3ea96946-15a3-4ed1-b673-b9a7ed9f62fc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f839493e-531c-4326-bd26-d7a560b9543b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_0614c839-3641-45a6-a418-574698a6b100" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f839493e-531c-4326-bd26-d7a560b9543b" xlink:to="loc_us-gaap_SeniorNotesMember_0614c839-3641-45a6-a418-574698a6b100" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_556702dc-5e78-441b-8e58-0961878bf278" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_556702dc-5e78-441b-8e58-0961878bf278" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_556702dc-5e78-441b-8e58-0961878bf278_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_556702dc-5e78-441b-8e58-0961878bf278" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_556702dc-5e78-441b-8e58-0961878bf278_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_9b00293c-96d5-4bfd-9326-9110fd0dd658" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_556702dc-5e78-441b-8e58-0961878bf278" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_9b00293c-96d5-4bfd-9326-9110fd0dd658" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrivatePlacementMember_38f174f1-bd95-4a25-93fb-f7bfc7adba53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrivatePlacementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_9b00293c-96d5-4bfd-9326-9110fd0dd658" xlink:to="loc_us-gaap_PrivatePlacementMember_38f174f1-bd95-4a25-93fb-f7bfc7adba53" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_ce287e53-1fa5-487c-af1c-ba1151058a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtConversionByUniqueDescriptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:to="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_ce287e53-1fa5-487c-af1c-ba1151058a7d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionNameDomain_ce287e53-1fa5-487c-af1c-ba1151058a7d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtConversionNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_ce287e53-1fa5-487c-af1c-ba1151058a7d" xlink:to="loc_us-gaap_DebtConversionNameDomain_ce287e53-1fa5-487c-af1c-ba1151058a7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtConversionNameDomain_7aa1f33d-affd-465b-9a93-488a0858e66b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtConversionNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtConversionByUniqueDescriptionAxis_ce287e53-1fa5-487c-af1c-ba1151058a7d" xlink:to="loc_us-gaap_DebtConversionNameDomain_7aa1f33d-affd-465b-9a93-488a0858e66b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_DebtConversionConditionOneMember_6e70e18d-380a-451f-8e7c-3aae331dc929" xlink:href="shak-20240626.xsd#shak_DebtConversionConditionOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtConversionNameDomain_7aa1f33d-affd-465b-9a93-488a0858e66b" xlink:to="loc_shak_DebtConversionConditionOneMember_6e70e18d-380a-451f-8e7c-3aae331dc929" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_DebtConversionConditionTwoMember_ae7b4980-0e42-4dcc-b68e-fdaaeb502ecb" xlink:href="shak-20240626.xsd#shak_DebtConversionConditionTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtConversionNameDomain_7aa1f33d-affd-465b-9a93-488a0858e66b" xlink:to="loc_shak_DebtConversionConditionTwoMember_ae7b4980-0e42-4dcc-b68e-fdaaeb502ecb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_cd290250-7d0f-4e26-8f7b-063ddcc4e47e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8f070c57-a0af-41a4-9c77-1996db3dc221" xlink:to="loc_us-gaap_StatementClassOfStockAxis_cd290250-7d0f-4e26-8f7b-063ddcc4e47e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cd290250-7d0f-4e26-8f7b-063ddcc4e47e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cd290250-7d0f-4e26-8f7b-063ddcc4e47e" xlink:to="loc_us-gaap_ClassOfStockDomain_cd290250-7d0f-4e26-8f7b-063ddcc4e47e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_3ab2a654-7c6a-44f5-9e5d-f2c097c21b33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cd290250-7d0f-4e26-8f7b-063ddcc4e47e" xlink:to="loc_us-gaap_ClassOfStockDomain_3ab2a654-7c6a-44f5-9e5d-f2c097c21b33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_f0da2f0d-5f3d-49c0-89da-fa0f19ee7237" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3ab2a654-7c6a-44f5-9e5d-f2c097c21b33" xlink:to="loc_us-gaap_CommonClassAMember_f0da2f0d-5f3d-49c0-89da-fa0f19ee7237" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_00f90057-6fb2-4839-ad55-acd2050b406f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_00f90057-6fb2-4839-ad55-acd2050b406f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d145096e-e914-4c5b-a6d0-bf82f9f60e56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d145096e-e914-4c5b-a6d0-bf82f9f60e56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_12ef3ce5-fed1-4fc6-9a9d-7099fe3d8d72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_12ef3ce5-fed1-4fc6-9a9d-7099fe3d8d72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_3c61d889-4be5-4d2e-b0da-4e38d1ec823b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_3c61d889-4be5-4d2e-b0da-4e38d1ec823b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_3d180d88-1b06-4c2c-9e78-f9c0827817a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_3d180d88-1b06-4c2c-9e78-f9c0827817a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_2c48b4c9-b5c2-4b8b-8df9-621bda3b6610" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_2c48b4c9-b5c2-4b8b-8df9-621bda3b6610" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_DebtInstrumentConvertibleThresholdBusinessDays_1a462674-7c8b-400b-bedc-1c76bf7c4a1e" xlink:href="shak-20240626.xsd#shak_DebtInstrumentConvertibleThresholdBusinessDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_shak_DebtInstrumentConvertibleThresholdBusinessDays_1a462674-7c8b-400b-bedc-1c76bf7c4a1e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockSharesConverted1_5bd0ecaf-64d6-435b-8f5d-646464e2f22f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConversionOfStockSharesConverted1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_ConversionOfStockSharesConverted1_5bd0ecaf-64d6-435b-8f5d-646464e2f22f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_9b51093f-6cb5-45bc-a15e-8589b927a61e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_9b51093f-6cb5-45bc-a15e-8589b927a61e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_de5162a7-58c5-4fae-9840-0ab0c675a78f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_f4b79842-75b6-43da-a024-3aab2a921cc0" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_de5162a7-58c5-4fae-9840-0ab0c675a78f" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/DEBTConvertibleNotesClassificationDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#DEBTConvertibleNotesClassificationDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/DEBTConvertibleNotesClassificationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_a18b92fd-1765-43ea-996c-1df13ad5f49e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:to="loc_us-gaap_DebtInstrumentTable_a18b92fd-1765-43ea-996c-1df13ad5f49e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_db2ae52b-6f94-4de2-af71-3948736dbe7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a18b92fd-1765-43ea-996c-1df13ad5f49e" xlink:to="loc_us-gaap_DebtInstrumentAxis_db2ae52b-6f94-4de2-af71-3948736dbe7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_db2ae52b-6f94-4de2-af71-3948736dbe7f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_db2ae52b-6f94-4de2-af71-3948736dbe7f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_db2ae52b-6f94-4de2-af71-3948736dbe7f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0cafb3c5-f35b-482a-8de9-567a5b4f010e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_db2ae52b-6f94-4de2-af71-3948736dbe7f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0cafb3c5-f35b-482a-8de9-567a5b4f010e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_A0ConvertibleSeniorNotesDue2028Member_d7521e3a-a100-4ff6-b90b-812bd9b40c81" xlink:href="shak-20240626.xsd#shak_A0ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0cafb3c5-f35b-482a-8de9-567a5b4f010e" xlink:to="loc_shak_A0ConvertibleSeniorNotesDue2028Member_d7521e3a-a100-4ff6-b90b-812bd9b40c81" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_6701aae4-11e0-42bd-adf9-3e6ec3363997" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a18b92fd-1765-43ea-996c-1df13ad5f49e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_6701aae4-11e0-42bd-adf9-3e6ec3363997" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_6701aae4-11e0-42bd-adf9-3e6ec3363997_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_6701aae4-11e0-42bd-adf9-3e6ec3363997" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_6701aae4-11e0-42bd-adf9-3e6ec3363997_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c2def50a-70e2-403b-abad-ff449d73af4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_6701aae4-11e0-42bd-adf9-3e6ec3363997" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c2def50a-70e2-403b-abad-ff449d73af4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_ec63bfdb-5a6b-4195-bd25-67e4e1529089" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_c2def50a-70e2-403b-abad-ff449d73af4b" xlink:to="loc_us-gaap_SeniorNotesMember_ec63bfdb-5a6b-4195-bd25-67e4e1529089" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_dec0bb83-7d54-45c7-a744-811adc2e83ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a18b92fd-1765-43ea-996c-1df13ad5f49e" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_dec0bb83-7d54-45c7-a744-811adc2e83ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_dec0bb83-7d54-45c7-a744-811adc2e83ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_dec0bb83-7d54-45c7-a744-811adc2e83ff" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_dec0bb83-7d54-45c7-a744-811adc2e83ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4f55357a-f6ce-4176-b356-d6d2089587a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_dec0bb83-7d54-45c7-a744-811adc2e83ff" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4f55357a-f6ce-4176-b356-d6d2089587a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrivatePlacementMember_9c6803e0-437b-4ac5-9798-d17f45e69f89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrivatePlacementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4f55357a-f6ce-4176-b356-d6d2089587a9" xlink:to="loc_us-gaap_PrivatePlacementMember_9c6803e0-437b-4ac5-9798-d17f45e69f89" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_57706c94-d6c7-4d2e-a5ef-dcc1f8b43a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_57706c94-d6c7-4d2e-a5ef-dcc1f8b43a1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_48861939-a6fe-4318-80e4-301264d65416" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_48861939-a6fe-4318-80e4-301264d65416" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_912271c8-5d58-45e6-ad1d-bfc8643782b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_912271c8-5d58-45e6-ad1d-bfc8643782b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_c8416665-813f-4135-8d19-0478403090ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_bff9b1dc-05f0-4d70-9fc5-ea3b2a24fb6f" xlink:to="loc_us-gaap_LongTermDebt_c8416665-813f-4135-8d19-0478403090ad" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/DEBTRevolvingCreditFacilityDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#DEBTRevolvingCreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/DEBTRevolvingCreditFacilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_2a42842c-1878-40c5-9a1b-389278d414e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:to="loc_us-gaap_CreditFacilityAxis_2a42842c-1878-40c5-9a1b-389278d414e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2a42842c-1878-40c5-9a1b-389278d414e4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_2a42842c-1878-40c5-9a1b-389278d414e4" xlink:to="loc_us-gaap_CreditFacilityDomain_2a42842c-1878-40c5-9a1b-389278d414e4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_bd81b9d3-9bcb-4a81-99d5-5ec79399c30f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_2a42842c-1878-40c5-9a1b-389278d414e4" xlink:to="loc_us-gaap_CreditFacilityDomain_bd81b9d3-9bcb-4a81-99d5-5ec79399c30f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_ff01f266-a7b8-4cb4-a609-a75ad162a67c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_bd81b9d3-9bcb-4a81-99d5-5ec79399c30f" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_ff01f266-a7b8-4cb4-a609-a75ad162a67c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4c131f19-0520-4581-bebe-8c540256dbb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4c131f19-0520-4581-bebe-8c540256dbb2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4c131f19-0520-4581-bebe-8c540256dbb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4c131f19-0520-4581-bebe-8c540256dbb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4c131f19-0520-4581-bebe-8c540256dbb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cb7592d3-5fe8-40f4-ba6e-60fa260a0768" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4c131f19-0520-4581-bebe-8c540256dbb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cb7592d3-5fe8-40f4-ba6e-60fa260a0768" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_371dd25a-391d-4684-ae0c-12435f03166d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cb7592d3-5fe8-40f4-ba6e-60fa260a0768" xlink:to="loc_us-gaap_LineOfCreditMember_371dd25a-391d-4684-ae0c-12435f03166d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd" 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_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:to="loc_srt_RangeAxis_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd_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_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd" xlink:to="loc_srt_RangeMember_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_2a46a105-c9bd-4005-9fde-85a8d3f730b1" 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_b6ad26fe-7a83-4c80-b6e0-a21cccc0c0dd" xlink:to="loc_srt_RangeMember_2a46a105-c9bd-4005-9fde-85a8d3f730b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_52fd5e10-8969-4754-8a14-30d294b4076e" 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_2a46a105-c9bd-4005-9fde-85a8d3f730b1" xlink:to="loc_srt_MinimumMember_52fd5e10-8969-4754-8a14-30d294b4076e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_492d2437-e68f-4a75-b742-b5da25633d25" 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_2a46a105-c9bd-4005-9fde-85a8d3f730b1" xlink:to="loc_srt_MaximumMember_492d2437-e68f-4a75-b742-b5da25633d25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_79a922a0-422e-42ae-9d72-46dc74edc7a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:to="loc_us-gaap_VariableRateAxis_79a922a0-422e-42ae-9d72-46dc74edc7a5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_79a922a0-422e-42ae-9d72-46dc74edc7a5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_79a922a0-422e-42ae-9d72-46dc74edc7a5" xlink:to="loc_us-gaap_VariableRateDomain_79a922a0-422e-42ae-9d72-46dc74edc7a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_e4916b35-fbe8-4b48-aa39-7069021d8104" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_79a922a0-422e-42ae-9d72-46dc74edc7a5" xlink:to="loc_us-gaap_VariableRateDomain_e4916b35-fbe8-4b48-aa39-7069021d8104" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_2a9a7125-28d4-497d-8876-550b1cf72317" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e4916b35-fbe8-4b48-aa39-7069021d8104" xlink:to="loc_us-gaap_BaseRateMember_2a9a7125-28d4-497d-8876-550b1cf72317" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_c1795a6f-c1f5-44f8-a2f0-c6cc301a69bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e4916b35-fbe8-4b48-aa39-7069021d8104" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_c1795a6f-c1f5-44f8-a2f0-c6cc301a69bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_a2e5dcdd-fb51-4847-b4bd-886d958eb341" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a415063d-b8c9-4728-9a8c-4aa26fd31d8f" xlink:to="loc_us-gaap_DebtInstrumentAxis_a2e5dcdd-fb51-4847-b4bd-886d958eb341" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a2e5dcdd-fb51-4847-b4bd-886d958eb341_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_a2e5dcdd-fb51-4847-b4bd-886d958eb341" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a2e5dcdd-fb51-4847-b4bd-886d958eb341_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_91f6f2c3-5213-400a-8806-9c0a68ad9d27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_a2e5dcdd-fb51-4847-b4bd-886d958eb341" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_91f6f2c3-5213-400a-8806-9c0a68ad9d27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ThirdAmendedandRestatedCreditAgreementMember_02b8d33b-5a03-4185-8feb-32be47e67f17" xlink:href="shak-20240626.xsd#shak_ThirdAmendedandRestatedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_91f6f2c3-5213-400a-8806-9c0a68ad9d27" xlink:to="loc_shak_ThirdAmendedandRestatedCreditAgreementMember_02b8d33b-5a03-4185-8feb-32be47e67f17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_548d0cc8-b66a-4143-add9-20ef37ac50e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_548d0cc8-b66a-4143-add9-20ef37ac50e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LineofCreditFacilityIncrementalBorrowingCapacity_3d5533a3-f68e-45ba-b5fe-1fcc73d9a1cc" xlink:href="shak-20240626.xsd#shak_LineofCreditFacilityIncrementalBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_shak_LineofCreditFacilityIncrementalBorrowingCapacity_3d5533a3-f68e-45ba-b5fe-1fcc73d9a1cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_08daadb5-5301-4ea2-bb99-0699b5809541" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_08daadb5-5301-4ea2-bb99-0699b5809541" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_d0b091ad-7c00-4369-9332-317a5c8bb06d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_d0b091ad-7c00-4369-9332-317a5c8bb06d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_be705974-bffd-48e5-b523-06e6514fa89e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_848ce96b-1a16-4d93-aab3-4ba12533628c" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_be705974-bffd-48e5-b523-06e6514fa89e" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/DEBTRevolvingCreditFacilityClassificationDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#DEBTRevolvingCreditFacilityClassificationDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/DEBTRevolvingCreditFacilityClassificationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8ea02940-73b8-4372-b7c7-08abb94f6a4a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_607b4a75-b152-47b3-b3d1-708419dbbe9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ea02940-73b8-4372-b7c7-08abb94f6a4a" xlink:to="loc_us-gaap_DebtInstrumentTable_607b4a75-b152-47b3-b3d1-708419dbbe9d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_3e4b3a2f-0840-43fe-b66c-af79636b8a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_607b4a75-b152-47b3-b3d1-708419dbbe9d" xlink:to="loc_us-gaap_CreditFacilityAxis_3e4b3a2f-0840-43fe-b66c-af79636b8a2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_3e4b3a2f-0840-43fe-b66c-af79636b8a2c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_3e4b3a2f-0840-43fe-b66c-af79636b8a2c" xlink:to="loc_us-gaap_CreditFacilityDomain_3e4b3a2f-0840-43fe-b66c-af79636b8a2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_a3ca8b41-b435-40c0-8893-0b6e25b3a2b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_3e4b3a2f-0840-43fe-b66c-af79636b8a2c" xlink:to="loc_us-gaap_CreditFacilityDomain_a3ca8b41-b435-40c0-8893-0b6e25b3a2b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_11160925-9880-4fee-b373-0e91555a5744" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_a3ca8b41-b435-40c0-8893-0b6e25b3a2b6" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_11160925-9880-4fee-b373-0e91555a5744" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_607b4a75-b152-47b3-b3d1-708419dbbe9d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_eb0796d5-08f2-45e0-8ac3-3594d9560b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_fb0d19bd-c2a7-4d0e-b95a-62747d00ce18" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_eb0796d5-08f2-45e0-8ac3-3594d9560b7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_a8598146-16f8-424a-bc93-2947c7a4d686" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_eb0796d5-08f2-45e0-8ac3-3594d9560b7d" xlink:to="loc_us-gaap_LineOfCreditMember_a8598146-16f8-424a-bc93-2947c7a4d686" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_12a9e8d5-ef77-4edd-818e-ca399cafd52d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ea02940-73b8-4372-b7c7-08abb94f6a4a" xlink:to="loc_us-gaap_InterestExpense_12a9e8d5-ef77-4edd-818e-ca399cafd52d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnamortizedDebtIssuanceExpense_b84b7342-9c3b-472b-99d7-c6056800eb88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnamortizedDebtIssuanceExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ea02940-73b8-4372-b7c7-08abb94f6a4a" xlink:to="loc_us-gaap_UnamortizedDebtIssuanceExpense_b84b7342-9c3b-472b-99d7-c6056800eb88" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/LEASESNarrativeDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#LEASESNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/LEASESNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeasedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_e1b59a1b-77c0-403f-b4da-ac5a42663177" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_e1b59a1b-77c0-403f-b4da-ac5a42663177" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_2595c38b-f41b-48e3-a986-d247427dffcc" 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_us-gaap_ScheduleOfOperatingLeasedAssetsTable_e1b59a1b-77c0-403f-b4da-ac5a42663177" xlink:to="loc_srt_RangeAxis_2595c38b-f41b-48e3-a986-d247427dffcc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_2595c38b-f41b-48e3-a986-d247427dffcc_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_2595c38b-f41b-48e3-a986-d247427dffcc" xlink:to="loc_srt_RangeMember_2595c38b-f41b-48e3-a986-d247427dffcc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b928e768-3bcb-4086-906f-2684aa7859bf" 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_2595c38b-f41b-48e3-a986-d247427dffcc" xlink:to="loc_srt_RangeMember_b928e768-3bcb-4086-906f-2684aa7859bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_662d066f-cb89-4569-a878-9329b3cf172a" 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_b928e768-3bcb-4086-906f-2684aa7859bf" xlink:to="loc_srt_MinimumMember_662d066f-cb89-4569-a878-9329b3cf172a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_9c1e2274-329d-4e5e-8512-d3280d04b262" 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_b928e768-3bcb-4086-906f-2684aa7859bf" xlink:to="loc_srt_MaximumMember_9c1e2274-329d-4e5e-8512-d3280d04b262" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_ef430b9d-14af-4f72-ac34-d498b83f19ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_ef430b9d-14af-4f72-ac34-d498b83f19ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LesseeOperatingLeaseNumberOfRenewalOptions_6b75d2dc-e579-4f50-8c29-0df54b369383" xlink:href="shak-20240626.xsd#shak_LesseeOperatingLeaseNumberOfRenewalOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:to="loc_shak_LesseeOperatingLeaseNumberOfRenewalOptions_6b75d2dc-e579-4f50-8c29-0df54b369383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseRenewalTerm_9d8b9d83-5a55-4cb4-bd12-dcf84084ca0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LessorOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:to="loc_us-gaap_LessorOperatingLeaseRenewalTerm_9d8b9d83-5a55-4cb4-bd12-dcf84084ca0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_OperatingLeaseForNonCancellableLeases_d8f1c3ef-5726-4dc5-a861-5d153068f5aa" xlink:href="shak-20240626.xsd#shak_OperatingLeaseForNonCancellableLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_16f59f2c-05a3-44b6-b308-fca30f088d81" xlink:to="loc_shak_OperatingLeaseForNonCancellableLeases_d8f1c3ef-5726-4dc5-a861-5d153068f5aa" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSNarrativeDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#NONCONTROLLINGINTERESTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_0312b8f8-0769-4b0e-99d2-e7842cb694a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_6d8e94a2-625c-468b-ade3-2267fdb5136d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_0312b8f8-0769-4b0e-99d2-e7842cb694a8" xlink:to="loc_us-gaap_MinorityInterestTable_6d8e94a2-625c-468b-ade3-2267fdb5136d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6997e93b-be7a-4193-a347-5c38180c7e0c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_6d8e94a2-625c-468b-ade3-2267fdb5136d" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6997e93b-be7a-4193-a347-5c38180c7e0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_6997e93b-be7a-4193-a347-5c38180c7e0c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6997e93b-be7a-4193-a347-5c38180c7e0c" xlink:to="loc_us-gaap_ClassOfStockDomain_6997e93b-be7a-4193-a347-5c38180c7e0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_97b78c01-c16d-4184-8ae7-a5df3c0afe03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6997e93b-be7a-4193-a347-5c38180c7e0c" xlink:to="loc_us-gaap_ClassOfStockDomain_97b78c01-c16d-4184-8ae7-a5df3c0afe03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_36cae739-c90f-4133-ad83-35b9db5fdbb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_97b78c01-c16d-4184-8ae7-a5df3c0afe03" xlink:to="loc_us-gaap_CommonClassAMember_36cae739-c90f-4133-ad83-35b9db5fdbb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_StockholdersEquityNoteRatioofCommonStocktoLimitedLiabilityCompanyInterest_24422515-8720-4529-bb45-e31c4b533551" xlink:href="shak-20240626.xsd#shak_StockholdersEquityNoteRatioofCommonStocktoLimitedLiabilityCompanyInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_0312b8f8-0769-4b0e-99d2-e7842cb694a8" xlink:to="loc_shak_StockholdersEquityNoteRatioofCommonStocktoLimitedLiabilityCompanyInterest_24422515-8720-4529-bb45-e31c4b533551" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSOwnershipInterestinSSEHoldingsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#NONCONTROLLINGINTERESTSOwnershipInterestinSSEHoldingsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSOwnershipInterestinSSEHoldingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_abfa1a48-8f54-4442-9347-4831e7953154" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_us-gaap_MinorityInterestTable_abfa1a48-8f54-4442-9347-4831e7953154" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_80c0deb1-a3da-43fc-938e-01355011ff06" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_abfa1a48-8f54-4442-9347-4831e7953154" xlink:to="loc_srt_OwnershipAxis_80c0deb1-a3da-43fc-938e-01355011ff06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_80c0deb1-a3da-43fc-938e-01355011ff06_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_80c0deb1-a3da-43fc-938e-01355011ff06" xlink:to="loc_srt_OwnershipDomain_80c0deb1-a3da-43fc-938e-01355011ff06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_f01c76ea-d0d8-4d48-8653-460888b973ae" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_80c0deb1-a3da-43fc-938e-01355011ff06" xlink:to="loc_srt_OwnershipDomain_f01c76ea-d0d8-4d48-8653-460888b973ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ShakeShackInc.Member_59c05df8-73cd-452e-bdde-8e9abb9ce214" xlink:href="shak-20240626.xsd#shak_ShakeShackInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_f01c76ea-d0d8-4d48-8653-460888b973ae" xlink:to="loc_shak_ShakeShackInc.Member_59c05df8-73cd-452e-bdde-8e9abb9ce214" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_NonControllingInterestHoldersMember_22629863-d0f2-4b10-9be3-b56e66a9fecf" xlink:href="shak-20240626.xsd#shak_NonControllingInterestHoldersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_f01c76ea-d0d8-4d48-8653-460888b973ae" xlink:to="loc_shak_NonControllingInterestHoldersMember_22629863-d0f2-4b10-9be3-b56e66a9fecf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyParent_f98ef4a8-0210-44ad-b95c-aa9b864df43a" xlink:href="shak-20240626.xsd#shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyParent_f98ef4a8-0210-44ad-b95c-aa9b864df43a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyNoncontrollingOwners_75ade725-db69-486e-b99b-8e945acdb8de" xlink:href="shak-20240626.xsd#shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyNoncontrollingOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofSharesHeldbyNoncontrollingOwners_75ade725-db69-486e-b99b-8e945acdb8de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofShares_9db4c8ec-089a-4fb2-8912-e51a954426fb" xlink:href="shak-20240626.xsd#shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_shak_ConsolidationLessthanWhollyOwnedSubsidiaryNumberofShares_9db4c8ec-089a-4fb2-8912-e51a954426fb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_950f55b0-a4f2-4f6f-a530-b68a0a212365" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_950f55b0-a4f2-4f6f-a530-b68a0a212365" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_8d523170-7034-4bca-b0b9-d7ef7e671783" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_8d523170-7034-4bca-b0b9-d7ef7e671783" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_NoncontrollingInterestTotalOwnershipPercentage_8b319719-96f9-4848-bc8c-5a3519f61055" xlink:href="shak-20240626.xsd#shak_NoncontrollingInterestTotalOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_86fafc47-e7e8-4403-b8ef-9b5b22ca6b27" xlink:to="loc_shak_NoncontrollingInterestTotalOwnershipPercentage_8b319719-96f9-4848-bc8c-5a3519f61055" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSChangesinOwnershipInterestsinSSEHoldingsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#NONCONTROLLINGINTERESTSChangesinOwnershipInterestsinSSEHoldingsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSChangesinOwnershipInterestsinSSEHoldingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:to="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_da9c5cb8-7162-4c54-bc7e-7b16143af458" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_da9c5cb8-7162-4c54-bc7e-7b16143af458" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_da9c5cb8-7162-4c54-bc7e-7b16143af458_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_da9c5cb8-7162-4c54-bc7e-7b16143af458" xlink:to="loc_us-gaap_EquityComponentDomain_da9c5cb8-7162-4c54-bc7e-7b16143af458_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_139152de-3ff0-4a40-9635-e760356cd0a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_da9c5cb8-7162-4c54-bc7e-7b16143af458" xlink:to="loc_us-gaap_EquityComponentDomain_139152de-3ff0-4a40-9635-e760356cd0a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2e57a44a-357d-4321-8627-78492e31b4ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_139152de-3ff0-4a40-9635-e760356cd0a7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2e57a44a-357d-4321-8627-78492e31b4ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_35f33979-a20c-4a1a-9f3a-0b3df71dba12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_139152de-3ff0-4a40-9635-e760356cd0a7" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_35f33979-a20c-4a1a-9f3a-0b3df71dba12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_eaf63356-27fe-4db3-b635-fb7cfa0aa967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:to="loc_us-gaap_AwardTypeAxis_eaf63356-27fe-4db3-b635-fb7cfa0aa967" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_eaf63356-27fe-4db3-b635-fb7cfa0aa967_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_eaf63356-27fe-4db3-b635-fb7cfa0aa967" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_eaf63356-27fe-4db3-b635-fb7cfa0aa967_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2962b5fb-8f03-4846-8692-30a04bdade68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_eaf63356-27fe-4db3-b635-fb7cfa0aa967" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2962b5fb-8f03-4846-8692-30a04bdade68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_73ebce96-b56a-4cfb-ac89-e4cacd615449" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2962b5fb-8f03-4846-8692-30a04bdade68" xlink:to="loc_us-gaap_EmployeeStockOptionMember_73ebce96-b56a-4cfb-ac89-e4cacd615449" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_ad0683ee-70d0-42fd-9a7c-8eb040928518" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_ad0683ee-70d0-42fd-9a7c-8eb040928518" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ad0683ee-70d0-42fd-9a7c-8eb040928518_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ad0683ee-70d0-42fd-9a7c-8eb040928518" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ad0683ee-70d0-42fd-9a7c-8eb040928518_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_3fb8b1a5-0d6f-4d1b-b20e-e2189ab34e40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ad0683ee-70d0-42fd-9a7c-8eb040928518" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_3fb8b1a5-0d6f-4d1b-b20e-e2189ab34e40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionorExchangeofUnitsMember_8437416b-a691-40aa-8be1-6a9d3018465c" xlink:href="shak-20240626.xsd#shak_RedemptionorExchangeofUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_3fb8b1a5-0d6f-4d1b-b20e-e2189ab34e40" xlink:to="loc_shak_RedemptionorExchangeofUnitsMember_8437416b-a691-40aa-8be1-6a9d3018465c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_47ae61d8-0498-48c2-8166-8b0eaf3a9dcb" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca" xlink:to="loc_us-gaap_ClassOfStockDomain_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ab703281-deed-4267-bbe9-701644ddb622" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c9ecb8bd-52b7-411f-bd86-ae42db9b80ca" xlink:to="loc_us-gaap_ClassOfStockDomain_ab703281-deed-4267-bbe9-701644ddb622" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_e1313fc3-796b-48f1-807a-83b9af3816b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ab703281-deed-4267-bbe9-701644ddb622" xlink:to="loc_us-gaap_CommonClassAMember_e1313fc3-796b-48f1-807a-83b9af3816b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_2f984e61-d3ae-48aa-b484-d14818c2e9c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:to="loc_us-gaap_NetIncomeLoss_2f984e61-d3ae-48aa-b484-d14818c2e9c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_7f712581-fcc0-4a70-b2fd-0070d4e5832e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_7f712581-fcc0-4a70-b2fd-0070d4e5832e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a5a1cc93-1b7b-42fb-90e0-bc15412a2b03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_7f712581-fcc0-4a70-b2fd-0070d4e5832e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_a5a1cc93-1b7b-42fb-90e0-bc15412a2b03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestItemsAbstract_be00d7e6-1437-42e6-8dc7-3e1ab7bb35d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:to="loc_us-gaap_NoncontrollingInterestItemsAbstract_be00d7e6-1437-42e6-8dc7-3e1ab7bb35d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_954041c8-ea37-4c84-96c6-9d03dffa8957" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncontrollingInterestItemsAbstract_be00d7e6-1437-42e6-8dc7-3e1ab7bb35d7" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangesNet_954041c8-ea37-4c84-96c6-9d03dffa8957" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangeDueToNetIncomeAttributableToParentAndEffectsOfChangesNet_9f00f65e-0c4d-4b98-81b4-75e661487c32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangeDueToNetIncomeAttributableToParentAndEffectsOfChangesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_9dc5354b-be17-4a57-ab65-48960283f30d" xlink:to="loc_us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestChangeDueToNetIncomeAttributableToParentAndEffectsOfChangesNet_9f00f65e-0c4d-4b98-81b4-75e661487c32" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSRedemptionofLLCInterestsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#NONCONTROLLINGINTERESTSRedemptionofLLCInterestsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/NONCONTROLLINGINTERESTSRedemptionofLLCInterestsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e479d20d-8fa6-4707-ae26-7e5f3a86966a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e479d20d-8fa6-4707-ae26-7e5f3a86966a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e479d20d-8fa6-4707-ae26-7e5f3a86966a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e479d20d-8fa6-4707-ae26-7e5f3a86966a" xlink:to="loc_us-gaap_EquityComponentDomain_e479d20d-8fa6-4707-ae26-7e5f3a86966a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_7db0580e-4ea8-4f65-8518-44c0f1e93d00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e479d20d-8fa6-4707-ae26-7e5f3a86966a" xlink:to="loc_us-gaap_EquityComponentDomain_7db0580e-4ea8-4f65-8518-44c0f1e93d00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_7b47cb3b-1bdf-4e50-a5a0-30fc32619576" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_7db0580e-4ea8-4f65-8518-44c0f1e93d00" xlink:to="loc_us-gaap_CommonStockMember_7b47cb3b-1bdf-4e50-a5a0-30fc32619576" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2c75c02a-dd54-478e-9a2c-b841ee522be1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2c75c02a-dd54-478e-9a2c-b841ee522be1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2c75c02a-dd54-478e-9a2c-b841ee522be1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2c75c02a-dd54-478e-9a2c-b841ee522be1" xlink:to="loc_us-gaap_ClassOfStockDomain_2c75c02a-dd54-478e-9a2c-b841ee522be1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bfed617d-d2ef-4379-b670-ca97bb58a669" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2c75c02a-dd54-478e-9a2c-b841ee522be1" xlink:to="loc_us-gaap_ClassOfStockDomain_bfed617d-d2ef-4379-b670-ca97bb58a669" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_b4ebd5b9-cf99-4f47-a355-d1f37f4bd516" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bfed617d-d2ef-4379-b670-ca97bb58a669" xlink:to="loc_us-gaap_CommonClassAMember_b4ebd5b9-cf99-4f47-a355-d1f37f4bd516" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_47270b7e-f127-4820-82e6-e113c714e92d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bfed617d-d2ef-4379-b670-ca97bb58a669" xlink:to="loc_us-gaap_CommonClassBMember_47270b7e-f127-4820-82e6-e113c714e92d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionofLLCInterestsAxis_bd484b3c-1da4-42df-bf07-63eb60182954" xlink:href="shak-20240626.xsd#shak_RedemptionofLLCInterestsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:to="loc_shak_RedemptionofLLCInterestsAxis_bd484b3c-1da4-42df-bf07-63eb60182954" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionofLLCInterestsDomain_bd484b3c-1da4-42df-bf07-63eb60182954_default" xlink:href="shak-20240626.xsd#shak_RedemptionofLLCInterestsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_shak_RedemptionofLLCInterestsAxis_bd484b3c-1da4-42df-bf07-63eb60182954" xlink:to="loc_shak_RedemptionofLLCInterestsDomain_bd484b3c-1da4-42df-bf07-63eb60182954_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionofLLCInterestsDomain_d1568d60-9a24-4a7b-8ccc-a4ce6867fa1e" xlink:href="shak-20240626.xsd#shak_RedemptionofLLCInterestsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_shak_RedemptionofLLCInterestsAxis_bd484b3c-1da4-42df-bf07-63eb60182954" xlink:to="loc_shak_RedemptionofLLCInterestsDomain_d1568d60-9a24-4a7b-8ccc-a4ce6867fa1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionsbyNCIHoldersMember_1703af2a-440f-45b3-9c4f-eba3f797feb9" xlink:href="shak-20240626.xsd#shak_RedemptionsbyNCIHoldersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_RedemptionofLLCInterestsDomain_d1568d60-9a24-4a7b-8ccc-a4ce6867fa1e" xlink:to="loc_shak_RedemptionsbyNCIHoldersMember_1703af2a-440f-45b3-9c4f-eba3f797feb9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_010dd414-c27e-42e5-b415-eeb2c5787935" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:to="loc_us-gaap_AwardTypeAxis_010dd414-c27e-42e5-b415-eeb2c5787935" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_010dd414-c27e-42e5-b415-eeb2c5787935_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_010dd414-c27e-42e5-b415-eeb2c5787935" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_010dd414-c27e-42e5-b415-eeb2c5787935_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e32073aa-f4d1-4ace-bf32-1b560072a4ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_010dd414-c27e-42e5-b415-eeb2c5787935" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e32073aa-f4d1-4ace-bf32-1b560072a4ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_7d270e01-f780-4f7b-9bbe-17339fb44031" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e32073aa-f4d1-4ace-bf32-1b560072a4ac" xlink:to="loc_us-gaap_EmployeeStockOptionMember_7d270e01-f780-4f7b-9bbe-17339fb44031" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0057ae58-eb96-4126-8823-a295be4fc314" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_f272bd18-2fbe-47ba-98fc-7fa937ac3da2" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0057ae58-eb96-4126-8823-a295be4fc314" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0057ae58-eb96-4126-8823-a295be4fc314_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0057ae58-eb96-4126-8823-a295be4fc314" xlink:to="loc_us-gaap_RelatedPartyDomain_0057ae58-eb96-4126-8823-a295be4fc314_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_f778a303-29ac-4197-95b0-250d2614484e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0057ae58-eb96-4126-8823-a295be4fc314" xlink:to="loc_us-gaap_RelatedPartyDomain_f778a303-29ac-4197-95b0-250d2614484e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyMember_3dbd7355-98f0-4bc9-bc6e-324aaaef0ab6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LimitedLiabilityCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_f778a303-29ac-4197-95b0-250d2614484e" xlink:to="loc_us-gaap_LimitedLiabilityCompanyMember_3dbd7355-98f0-4bc9-bc6e-324aaaef0ab6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired_b528c149-f649-43f7-8811-7005833ccddc" xlink:href="shak-20240626.xsd#shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:to="loc_shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired_b528c149-f649-43f7-8811-7005833ccddc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PartnersCapitalAccountUnitsRedeemed_e77f369f-c71e-4fc0-b5fa-1da80f4c1bcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PartnersCapitalAccountUnitsRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:to="loc_us-gaap_PartnersCapitalAccountUnitsRedeemed_e77f369f-c71e-4fc0-b5fa-1da80f4c1bcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_b9732245-bc32-4f63-98e4-ee6482eb4cae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_b9732245-bc32-4f63-98e4-ee6482eb4cae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_946b4de8-091b-4161-bc78-8656261b2d58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_35a0a8a9-7539-4e6a-8620-36250d9f045b" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_946b4de8-091b-4161-bc78-8656261b2d58" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/EQUITYBASEDCOMPENSATIONScheduleofcompensationexpenserecognizedDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#EQUITYBASEDCOMPENSATIONScheduleofcompensationexpenserecognizedDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/EQUITYBASEDCOMPENSATIONScheduleofcompensationexpenserecognizedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa4152bd-a07f-4dd7-969a-fc495c8406fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_82c7b419-4395-4c6c-80c3-35071bcf8324" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa4152bd-a07f-4dd7-969a-fc495c8406fb" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_82c7b419-4395-4c6c-80c3-35071bcf8324" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_82c7b419-4395-4c6c-80c3-35071bcf8324" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_b4f16b6d-acda-49e0-80bd-e229bfd8601c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e2ebbaa8-85f9-4a18-853d-dbef8f7b0cef" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_b4f16b6d-acda-49e0-80bd-e229bfd8601c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_8c036cb5-50ea-4b59-99d1-0546b4ca4200" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b4f16b6d-acda-49e0-80bd-e229bfd8601c" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_8c036cb5-50ea-4b59-99d1-0546b4ca4200" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LaborAndRelatedExpensesMember_f39a1759-bf3a-4065-95a4-c65d0130cd54" xlink:href="shak-20240626.xsd#shak_LaborAndRelatedExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b4f16b6d-acda-49e0-80bd-e229bfd8601c" xlink:to="loc_shak_LaborAndRelatedExpensesMember_f39a1759-bf3a-4065-95a4-c65d0130cd54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_3463bf89-49ac-4522-9b91-6de68c6a0a80" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_82c7b419-4395-4c6c-80c3-35071bcf8324" xlink:to="loc_us-gaap_AwardTypeAxis_3463bf89-49ac-4522-9b91-6de68c6a0a80" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3463bf89-49ac-4522-9b91-6de68c6a0a80_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3463bf89-49ac-4522-9b91-6de68c6a0a80" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3463bf89-49ac-4522-9b91-6de68c6a0a80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d8818625-c8ce-491b-88c2-69f1fff390e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3463bf89-49ac-4522-9b91-6de68c6a0a80" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d8818625-c8ce-491b-88c2-69f1fff390e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_d79f73f4-3cf8-418e-91e3-b4b4b0d54890" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d8818625-c8ce-491b-88c2-69f1fff390e7" xlink:to="loc_us-gaap_PerformanceSharesMember_d79f73f4-3cf8-418e-91e3-b4b4b0d54890" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_a34c1f1d-7381-4ab1-8d55-2ee8d499b0c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d8818625-c8ce-491b-88c2-69f1fff390e7" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_a34c1f1d-7381-4ab1-8d55-2ee8d499b0c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_1df90890-b7c9-4b70-b0a8-7a24a72a35fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa4152bd-a07f-4dd7-969a-fc495c8406fb" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_1df90890-b7c9-4b70-b0a8-7a24a72a35fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_fbe34bd6-947c-41f6-9563-dd7c0d5f204b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa4152bd-a07f-4dd7-969a-fc495c8406fb" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_fbe34bd6-947c-41f6-9563-dd7c0d5f204b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/INCOMETAXESLLCInterestsAcquiredByTheCompanyDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#INCOMETAXESLLCInterestsAcquiredByTheCompanyDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/INCOMETAXESLLCInterestsAcquiredByTheCompanyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_93fb7615-317d-45b9-bc0d-a34ebed616ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_674cb345-34f7-4f7e-b04a-e23e01c8cc90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_93fb7615-317d-45b9-bc0d-a34ebed616ac" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_674cb345-34f7-4f7e-b04a-e23e01c8cc90" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_f46a171e-0368-4478-aff0-6cc32ddc751e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_674cb345-34f7-4f7e-b04a-e23e01c8cc90" xlink:to="loc_us-gaap_AwardTypeAxis_f46a171e-0368-4478-aff0-6cc32ddc751e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f46a171e-0368-4478-aff0-6cc32ddc751e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_f46a171e-0368-4478-aff0-6cc32ddc751e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f46a171e-0368-4478-aff0-6cc32ddc751e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f0f1e12d-f5ca-41b9-89b0-248e82977c3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_f46a171e-0368-4478-aff0-6cc32ddc751e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f0f1e12d-f5ca-41b9-89b0-248e82977c3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_b7c2a367-5c15-416a-82dc-403fecb6ea31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f0f1e12d-f5ca-41b9-89b0-248e82977c3e" xlink:to="loc_us-gaap_EmployeeStockOptionMember_b7c2a367-5c15-416a-82dc-403fecb6ea31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1180d788-836c-4110-9bf3-57313c722b3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_674cb345-34f7-4f7e-b04a-e23e01c8cc90" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1180d788-836c-4110-9bf3-57313c722b3d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_1180d788-836c-4110-9bf3-57313c722b3d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1180d788-836c-4110-9bf3-57313c722b3d" xlink:to="loc_us-gaap_RelatedPartyDomain_1180d788-836c-4110-9bf3-57313c722b3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d9491537-1bb8-4777-a511-d0b71e441c2e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_1180d788-836c-4110-9bf3-57313c722b3d" xlink:to="loc_us-gaap_RelatedPartyDomain_d9491537-1bb8-4777-a511-d0b71e441c2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyMember_d3710787-57e5-4f5d-b95e-d233e4b41939" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LimitedLiabilityCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d9491537-1bb8-4777-a511-d0b71e441c2e" xlink:to="loc_us-gaap_LimitedLiabilityCompanyMember_d3710787-57e5-4f5d-b95e-d233e4b41939" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired_a8c323d6-9932-4c51-8719-75f84b0daac6" xlink:href="shak-20240626.xsd#shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_93fb7615-317d-45b9-bc0d-a34ebed616ac" xlink:to="loc_shak_ConsolidatedEntityOwnershipByParentNumberOfUnitsAcquired_a8c323d6-9932-4c51-8719-75f84b0daac6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PartnersCapitalAccountUnitsRedeemed_4fed297f-8768-4123-927d-a862930becf8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PartnersCapitalAccountUnitsRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_93fb7615-317d-45b9-bc0d-a34ebed616ac" xlink:to="loc_us-gaap_PartnersCapitalAccountUnitsRedeemed_4fed297f-8768-4123-927d-a862930becf8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/INCOMETAXESDeferredTaxAssetsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#INCOMETAXESDeferredTaxAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/INCOMETAXESDeferredTaxAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_fd75faf0-9bd3-4413-9a43-9111de5cac6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_4eedade8-f318-4c16-9f6b-24403bf699f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fd75faf0-9bd3-4413-9a43-9111de5cac6e" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_4eedade8-f318-4c16-9f6b-24403bf699f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_acd817c3-a0c9-4965-8459-5d87a1bb5511" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_4eedade8-f318-4c16-9f6b-24403bf699f5" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_acd817c3-a0c9-4965-8459-5d87a1bb5511" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_acd817c3-a0c9-4965-8459-5d87a1bb5511_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_acd817c3-a0c9-4965-8459-5d87a1bb5511" xlink:to="loc_us-gaap_RelatedPartyDomain_acd817c3-a0c9-4965-8459-5d87a1bb5511_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_95c5ed5c-7fc5-4f8f-94ad-d8e164761c90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_acd817c3-a0c9-4965-8459-5d87a1bb5511" xlink:to="loc_us-gaap_RelatedPartyDomain_95c5ed5c-7fc5-4f8f-94ad-d8e164761c90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyMember_28135bb1-8dfe-4747-af97-44fdb5927938" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LimitedLiabilityCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_95c5ed5c-7fc5-4f8f-94ad-d8e164761c90" xlink:to="loc_us-gaap_LimitedLiabilityCompanyMember_28135bb1-8dfe-4747-af97-44fdb5927938" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_AdditionalDeferredTaxAssetRecognizedInvestmentinPartnership_f86ae7f0-19b9-45b6-b926-8925001ca9a4" xlink:href="shak-20240626.xsd#shak_AdditionalDeferredTaxAssetRecognizedInvestmentinPartnership"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fd75faf0-9bd3-4413-9a43-9111de5cac6e" xlink:to="loc_shak_AdditionalDeferredTaxAssetRecognizedInvestmentinPartnership_f86ae7f0-19b9-45b6-b926-8925001ca9a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_DeferredTaxAssetInvestmentinPartnership_d59f843a-693a-4fc0-b8cf-518ad70f4d1c" xlink:href="shak-20240626.xsd#shak_DeferredTaxAssetInvestmentinPartnership"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fd75faf0-9bd3-4413-9a43-9111de5cac6e" xlink:to="loc_shak_DeferredTaxAssetInvestmentinPartnership_d59f843a-693a-4fc0-b8cf-518ad70f4d1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_AdditionalDeferredTaxAssetRecognizedTaxReceivableAgreement_2e81319a-e8b2-4319-97d0-210b98f5e5fe" xlink:href="shak-20240626.xsd#shak_AdditionalDeferredTaxAssetRecognizedTaxReceivableAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fd75faf0-9bd3-4413-9a43-9111de5cac6e" xlink:to="loc_shak_AdditionalDeferredTaxAssetRecognizedTaxReceivableAgreement_2e81319a-e8b2-4319-97d0-210b98f5e5fe" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/INCOMETAXESNarrativeDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#INCOMETAXESNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/INCOMETAXESNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_3395d5fd-7641-4896-95b3-f0a32d39be20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_3395d5fd-7641-4896-95b3-f0a32d39be20" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_f0a69b8e-37f7-433a-bdfc-356758a4385e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_3395d5fd-7641-4896-95b3-f0a32d39be20" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_f0a69b8e-37f7-433a-bdfc-356758a4385e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_f0a69b8e-37f7-433a-bdfc-356758a4385e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_f0a69b8e-37f7-433a-bdfc-356758a4385e" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_f0a69b8e-37f7-433a-bdfc-356758a4385e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_aa4df59a-5142-44e6-b38f-1038e2273ee0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_f0a69b8e-37f7-433a-bdfc-356758a4385e" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_aa4df59a-5142-44e6-b38f-1038e2273ee0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_ForeignTaxCreditMember_d0afe317-c7e1-4733-9cec-53ee7bbcb81c" xlink:href="shak-20240626.xsd#shak_ForeignTaxCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_aa4df59a-5142-44e6-b38f-1038e2273ee0" xlink:to="loc_shak_ForeignTaxCreditMember_d0afe317-c7e1-4733-9cec-53ee7bbcb81c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6e57583d-d40e-4178-ba71-618f7b9f8d38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_6e57583d-d40e-4178-ba71-618f7b9f8d38" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_e3064151-5312-4e90-b844-9886b246f850" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:to="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_e3064151-5312-4e90-b844-9886b246f850" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsExpectedtobeRealized_4f84c17d-144a-4318-bdf7-e6e712d7cc60" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPercentageofTaxBenefitsExpectedtobeRealized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:to="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsExpectedtobeRealized_4f84c17d-144a-4318-bdf7-e6e712d7cc60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPaymentsToRelatedParties_17b611a0-0fee-4f33-a395-9ec27eed11ca" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPaymentsToRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_e3739345-1de6-43d7-9ea4-06264168dda9" xlink:to="loc_shak_TaxReceivableAgreementPaymentsToRelatedParties_17b611a0-0fee-4f33-a395-9ec27eed11ca" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/EARNINGSLOSSPERSHAREScheduleofEarningsLossPerShareDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#EARNINGSLOSSPERSHAREScheduleofEarningsLossPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/EARNINGSLOSSPERSHAREScheduleofEarningsLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f17dcdd-c4e4-4ab5-8c87-0e68bb44cb2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f17dcdd-c4e4-4ab5-8c87-0e68bb44cb2c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5f5fb69d-ed57-452a-9c88-e8d999c3a333" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f17dcdd-c4e4-4ab5-8c87-0e68bb44cb2c" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5f5fb69d-ed57-452a-9c88-e8d999c3a333" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5f5fb69d-ed57-452a-9c88-e8d999c3a333_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5f5fb69d-ed57-452a-9c88-e8d999c3a333" xlink:to="loc_us-gaap_ClassOfStockDomain_5f5fb69d-ed57-452a-9c88-e8d999c3a333_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2bb45345-7acd-4796-b26a-77474b44a801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5f5fb69d-ed57-452a-9c88-e8d999c3a333" xlink:to="loc_us-gaap_ClassOfStockDomain_2bb45345-7acd-4796-b26a-77474b44a801" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_d9524d87-9e45-4d7b-88a0-1812e8d20dc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2bb45345-7acd-4796-b26a-77474b44a801" xlink:to="loc_us-gaap_EmployeeStockOptionMember_d9524d87-9e45-4d7b-88a0-1812e8d20dc5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_d35fe7b7-be03-4822-a201-a39fa090c619" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f17dcdd-c4e4-4ab5-8c87-0e68bb44cb2c" xlink:to="loc_us-gaap_AwardTypeAxis_d35fe7b7-be03-4822-a201-a39fa090c619" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d35fe7b7-be03-4822-a201-a39fa090c619_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_d35fe7b7-be03-4822-a201-a39fa090c619" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d35fe7b7-be03-4822-a201-a39fa090c619_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_d35fe7b7-be03-4822-a201-a39fa090c619" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_62408d93-31bf-42b4-99cd-29d4c49a8d25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:to="loc_us-gaap_PerformanceSharesMember_62408d93-31bf-42b4-99cd-29d4c49a8d25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_18e8d85a-f7b8-4115-8395-00bccfb1c70e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_18e8d85a-f7b8-4115-8395-00bccfb1c70e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_a757ff92-885c-4e02-971f-bed2a9c6a727" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:to="loc_us-gaap_ConvertibleDebtMember_a757ff92-885c-4e02-971f-bed2a9c6a727" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_729561b9-8c12-4fdd-a188-8a5ceeafe773" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0baf732b-9842-4674-a3da-bc068f8417ab" xlink:to="loc_us-gaap_CommonClassBMember_729561b9-8c12-4fdd-a188-8a5ceeafe773" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_47247ca9-1f56-4c52-8954-af3f5abb8dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_47247ca9-1f56-4c52-8954-af3f5abb8dd6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_e02a7043-1ad4-44f6-b8fc-390aea0b8cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_e02a7043-1ad4-44f6-b8fc-390aea0b8cf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_1690fd9c-dcdd-4d7d-89fd-4dbf345c7798" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToParentDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_NetIncomeLossAttributableToParentDiluted_1690fd9c-dcdd-4d7d-89fd-4dbf345c7798" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8f1a50f2-60aa-4253-af8d-4e437cfb9e00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8f1a50f2-60aa-4253-af8d-4e437cfb9e00" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_a34e2c3a-2f8c-4a4f-99cf-1f0441901c26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8f1a50f2-60aa-4253-af8d-4e437cfb9e00" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_a34e2c3a-2f8c-4a4f-99cf-1f0441901c26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesAbstract_aec09144-d80b-4df8-90b7-aac56928be3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DilutiveSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8f1a50f2-60aa-4253-af8d-4e437cfb9e00" xlink:to="loc_us-gaap_DilutiveSecuritiesAbstract_aec09144-d80b-4df8-90b7-aac56928be3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e8a85fa8-90df-4931-bf8f-543610ce49d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_aec09144-d80b-4df8-90b7-aac56928be3f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e8a85fa8-90df-4931-bf8f-543610ce49d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e886d02f-013e-49ee-ba4f-75e205a9773c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_8f1a50f2-60aa-4253-af8d-4e437cfb9e00" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e886d02f-013e-49ee-ba4f-75e205a9773c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_cc43488f-2708-44dc-98e3-68cef2f694f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_EarningsPerShareBasic_cc43488f-2708-44dc-98e3-68cef2f694f5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_9ee91c8e-f031-492d-8b81-a1f815a35261" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_9f38f725-c072-41d9-88a7-72d9d5081ca1" xlink:to="loc_us-gaap_EarningsPerShareDiluted_9ee91c8e-f031-492d-8b81-a1f815a35261" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/EARNINGSLOSSPERSHAREAntidilutiveSecuritiesDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#EARNINGSLOSSPERSHAREAntidilutiveSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/EARNINGSLOSSPERSHAREAntidilutiveSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b2d2e56e-1933-488e-825f-30da52996e17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_ce3a0ff6-e5b8-484f-90b1-da32adeea4c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b2d2e56e-1933-488e-825f-30da52996e17" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_ce3a0ff6-e5b8-484f-90b1-da32adeea4c7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e033e1c8-35c2-449f-9271-89c52528db19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_ce3a0ff6-e5b8-484f-90b1-da32adeea4c7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e033e1c8-35c2-449f-9271-89c52528db19" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e033e1c8-35c2-449f-9271-89c52528db19_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e033e1c8-35c2-449f-9271-89c52528db19" xlink:to="loc_us-gaap_EquityComponentDomain_e033e1c8-35c2-449f-9271-89c52528db19_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_03be2a2e-b18a-4552-9945-416c995e11d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e033e1c8-35c2-449f-9271-89c52528db19" xlink:to="loc_us-gaap_EquityComponentDomain_03be2a2e-b18a-4552-9945-416c995e11d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_fd74a8f9-7c66-4779-965c-7cba20718d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_03be2a2e-b18a-4552-9945-416c995e11d6" xlink:to="loc_us-gaap_CommonStockMember_fd74a8f9-7c66-4779-965c-7cba20718d1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_8a4381bb-317c-441d-a5e2-8debfce6f58b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_ce3a0ff6-e5b8-484f-90b1-da32adeea4c7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_8a4381bb-317c-441d-a5e2-8debfce6f58b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_8a4381bb-317c-441d-a5e2-8debfce6f58b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8a4381bb-317c-441d-a5e2-8debfce6f58b" xlink:to="loc_us-gaap_ClassOfStockDomain_8a4381bb-317c-441d-a5e2-8debfce6f58b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_634bb9eb-85d7-407e-baec-936024c15688" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8a4381bb-317c-441d-a5e2-8debfce6f58b" xlink:to="loc_us-gaap_ClassOfStockDomain_634bb9eb-85d7-407e-baec-936024c15688" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_5d4d6d14-743d-482e-8a70-ccbe3e4974c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_634bb9eb-85d7-407e-baec-936024c15688" xlink:to="loc_us-gaap_CommonClassBMember_5d4d6d14-743d-482e-8a70-ccbe3e4974c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_70b294d5-8485-43e3-af54-54eff9fa937a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_ce3a0ff6-e5b8-484f-90b1-da32adeea4c7" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_70b294d5-8485-43e3-af54-54eff9fa937a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_70b294d5-8485-43e3-af54-54eff9fa937a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_70b294d5-8485-43e3-af54-54eff9fa937a" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_70b294d5-8485-43e3-af54-54eff9fa937a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_73cdfcc3-6634-441c-875e-dbf77cd58683" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_70b294d5-8485-43e3-af54-54eff9fa937a" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_73cdfcc3-6634-441c-875e-dbf77cd58683" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_b3bc711c-4d5e-479d-b3b3-1302cb5c52ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_73cdfcc3-6634-441c-875e-dbf77cd58683" xlink:to="loc_us-gaap_PerformanceSharesMember_b3bc711c-4d5e-479d-b3b3-1302cb5c52ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_be3d882a-5b78-4355-8afc-a98ce080d332" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_73cdfcc3-6634-441c-875e-dbf77cd58683" xlink:to="loc_us-gaap_CommonClassBMember_be3d882a-5b78-4355-8afc-a98ce080d332" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9f64caa7-221c-4d3c-904b-5a24198cf6fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b2d2e56e-1933-488e-825f-30da52996e17" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9f64caa7-221c-4d3c-904b-5a24198cf6fc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/SUPPLEMENTALCASHFLOWINFORMATIONDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#SUPPLEMENTALCASHFLOWINFORMATIONDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/SUPPLEMENTALCASHFLOWINFORMATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_shak_SupplementalCashFlowInformationLineItems_3eb3f200-f465-486d-b259-8c0106700ff0" xlink:href="shak-20240626.xsd#shak_SupplementalCashFlowInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_SupplementalCashFlowInformationTable_d7f5692d-fe01-4bd6-a424-c072397da9fb" xlink:href="shak-20240626.xsd#shak_SupplementalCashFlowInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_shak_SupplementalCashFlowInformationLineItems_3eb3f200-f465-486d-b259-8c0106700ff0" xlink:to="loc_shak_SupplementalCashFlowInformationTable_d7f5692d-fe01-4bd6-a424-c072397da9fb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_75780a9c-3f08-47f5-af8f-7b4681e2fe12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_shak_SupplementalCashFlowInformationTable_d7f5692d-fe01-4bd6-a424-c072397da9fb" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_75780a9c-3f08-47f5-af8f-7b4681e2fe12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_75780a9c-3f08-47f5-af8f-7b4681e2fe12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_75780a9c-3f08-47f5-af8f-7b4681e2fe12" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_75780a9c-3f08-47f5-af8f-7b4681e2fe12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4bd127f3-6abb-423a-b426-b1727e0a6354" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_75780a9c-3f08-47f5-af8f-7b4681e2fe12" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4bd127f3-6abb-423a-b426-b1727e0a6354" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_RedemptionorExchangeofUnitsMember_daed5903-0858-4499-9efd-48067c5db2fb" xlink:href="shak-20240626.xsd#shak_RedemptionorExchangeofUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_4bd127f3-6abb-423a-b426-b1727e0a6354" xlink:to="loc_shak_RedemptionorExchangeofUnitsMember_daed5903-0858-4499-9efd-48067c5db2fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_eff12a4f-915f-4890-9134-27468928d305" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_shak_SupplementalCashFlowInformationTable_d7f5692d-fe01-4bd6-a424-c072397da9fb" xlink:to="loc_us-gaap_StatementClassOfStockAxis_eff12a4f-915f-4890-9134-27468928d305" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_eff12a4f-915f-4890-9134-27468928d305_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_eff12a4f-915f-4890-9134-27468928d305" xlink:to="loc_us-gaap_ClassOfStockDomain_eff12a4f-915f-4890-9134-27468928d305_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_a06b0fd4-9d9c-4098-b929-dc92480ad531" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_eff12a4f-915f-4890-9134-27468928d305" xlink:to="loc_us-gaap_ClassOfStockDomain_a06b0fd4-9d9c-4098-b929-dc92480ad531" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_0b1f8416-30a9-487a-b7f1-22faf6613bda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_a06b0fd4-9d9c-4098-b929-dc92480ad531" xlink:to="loc_us-gaap_CommonClassAMember_0b1f8416-30a9-487a-b7f1-22faf6613bda" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_31478f41-a558-4ebc-89a3-79cecb12f891" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_a06b0fd4-9d9c-4098-b929-dc92480ad531" xlink:to="loc_us-gaap_CommonClassBMember_31478f41-a558-4ebc-89a3-79cecb12f891" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_e87366bb-237c-43cf-b626-3e005dc33ca6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_SupplementalCashFlowInformationLineItems_3eb3f200-f465-486d-b259-8c0106700ff0" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_e87366bb-237c-43cf-b626-3e005dc33ca6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_833c623f-b37c-4e82-bf35-5fcd5137296b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_e87366bb-237c-43cf-b626-3e005dc33ca6" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_833c623f-b37c-4e82-bf35-5fcd5137296b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_InterestPaidNetOfAmountsCapitalized_8a4b7436-57b0-450c-baa2-8c56b012ee4a" xlink:href="shak-20240626.xsd#shak_InterestPaidNetOfAmountsCapitalized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_e87366bb-237c-43cf-b626-3e005dc33ca6" xlink:to="loc_shak_InterestPaidNetOfAmountsCapitalized_8a4b7436-57b0-450c-baa2-8c56b012ee4a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_NonCashInvestingItemsAbstract_0b32b9c2-3377-4ec2-ae64-dd8e0a8286fc" xlink:href="shak-20240626.xsd#shak_NonCashInvestingItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_SupplementalCashFlowInformationLineItems_3eb3f200-f465-486d-b259-8c0106700ff0" xlink:to="loc_shak_NonCashInvestingItemsAbstract_0b32b9c2-3377-4ec2-ae64-dd8e0a8286fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_a4b592ae-dac6-482f-a854-c811bb4053a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_NonCashInvestingItemsAbstract_0b32b9c2-3377-4ec2-ae64-dd8e0a8286fc" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_a4b592ae-dac6-482f-a854-c811bb4053a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_414dc0ec-5238-4f45-a302-331e16bf3c24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_NonCashInvestingItemsAbstract_0b32b9c2-3377-4ec2-ae64-dd8e0a8286fc" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_414dc0ec-5238-4f45-a302-331e16bf3c24" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_NonCashFinancingActivitiesAbstract_d328f854-87bd-4c3a-a3f6-0bd6e6a5fe90" xlink:href="shak-20240626.xsd#shak_NonCashFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_SupplementalCashFlowInformationLineItems_3eb3f200-f465-486d-b259-8c0106700ff0" xlink:to="loc_shak_NonCashFinancingActivitiesAbstract_d328f854-87bd-4c3a-a3f6-0bd6e6a5fe90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_EstablishmentofLiabilitiesUnderTaxReceivableAgreement_2bc916d3-5e58-410e-8142-0200c7608205" xlink:href="shak-20240626.xsd#shak_EstablishmentofLiabilitiesUnderTaxReceivableAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_shak_NonCashFinancingActivitiesAbstract_d328f854-87bd-4c3a-a3f6-0bd6e6a5fe90" xlink:to="loc_shak_EstablishmentofLiabilitiesUnderTaxReceivableAgreement_2bc916d3-5e58-410e-8142-0200c7608205" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#COMMITMENTSANDCONTINGENCIESDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/COMMITMENTSANDCONTINGENCIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_876a2de4-1ebb-4c37-bb45-27c3abef478a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_9e13c7b9-6c06-4a58-9746-202e1079dbe0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_876a2de4-1ebb-4c37-bb45-27c3abef478a" xlink:to="loc_us-gaap_LossContingenciesTable_9e13c7b9-6c06-4a58-9746-202e1079dbe0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_5cca6ccb-ddb7-41e3-9582-a403b2730674" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_9e13c7b9-6c06-4a58-9746-202e1079dbe0" xlink:to="loc_us-gaap_CreditFacilityAxis_5cca6ccb-ddb7-41e3-9582-a403b2730674" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5cca6ccb-ddb7-41e3-9582-a403b2730674_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_5cca6ccb-ddb7-41e3-9582-a403b2730674" xlink:to="loc_us-gaap_CreditFacilityDomain_5cca6ccb-ddb7-41e3-9582-a403b2730674_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_ac323cec-4f36-4666-a687-59e064504f4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_5cca6ccb-ddb7-41e3-9582-a403b2730674" xlink:to="loc_us-gaap_CreditFacilityDomain_ac323cec-4f36-4666-a687-59e064504f4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LetterOfCreditExpiringAugust2024RenewsThroughJanuary2034Member_e16acc14-6f6b-4515-a13f-d18b5107c3bc" xlink:href="shak-20240626.xsd#shak_LetterOfCreditExpiringAugust2024RenewsThroughJanuary2034Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_ac323cec-4f36-4666-a687-59e064504f4f" xlink:to="loc_shak_LetterOfCreditExpiringAugust2024RenewsThroughJanuary2034Member_e16acc14-6f6b-4515-a13f-d18b5107c3bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LetterOfCreditExpiringDecember2024RenewsThroughDecember2029Member_a55dc614-2e40-4023-8f50-fa51eabcea28" xlink:href="shak-20240626.xsd#shak_LetterOfCreditExpiringDecember2024RenewsThroughDecember2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_ac323cec-4f36-4666-a687-59e064504f4f" xlink:to="loc_shak_LetterOfCreditExpiringDecember2024RenewsThroughDecember2029Member_a55dc614-2e40-4023-8f50-fa51eabcea28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_LetterOfCreditExpiringFebruary2026Member_e20d5351-3798-47d9-a4ea-7a3d5065c5c2" xlink:href="shak-20240626.xsd#shak_LetterOfCreditExpiringFebruary2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_ac323cec-4f36-4666-a687-59e064504f4f" xlink:to="loc_shak_LetterOfCreditExpiringFebruary2026Member_e20d5351-3798-47d9-a4ea-7a3d5065c5c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_68fe689e-87bd-4489-bf82-72ef9e070ad2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_876a2de4-1ebb-4c37-bb45-27c3abef478a" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_68fe689e-87bd-4489-bf82-72ef9e070ad2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_20e8c127-6c52-4270-9918-e03a743d4409" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_876a2de4-1ebb-4c37-bb45-27c3abef478a" xlink:to="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_20e8c127-6c52-4270-9918-e03a743d4409" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/RELATEDPARTYTRANSACTIONSAdditionalInformationDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#RELATEDPARTYTRANSACTIONSAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/RELATEDPARTYTRANSACTIONSAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3acdaa87-4db8-487d-b3fb-4e086bbd8fec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3acdaa87-4db8-487d-b3fb-4e086bbd8fec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3acdaa87-4db8-487d-b3fb-4e086bbd8fec" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d" xlink:to="loc_us-gaap_RelatedPartyDomain_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_6a05fd7c-12c7-41b0-906c-a8ed9c0ee33f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_b853803e-ce60-4c01-b1b6-4fefd5d5ac8d" xlink:to="loc_us-gaap_RelatedPartyDomain_6a05fd7c-12c7-41b0-906c-a8ed9c0ee33f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_161ac548-a710-43a3-8c5c-f14e8775a81d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_6a05fd7c-12c7-41b0-906c-a8ed9c0ee33f" xlink:to="loc_us-gaap_RelatedPartyMember_161ac548-a710-43a3-8c5c-f14e8775a81d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_34fb6e3e-1186-4593-b051-89ac92e581f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3acdaa87-4db8-487d-b3fb-4e086bbd8fec" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_34fb6e3e-1186-4593-b051-89ac92e581f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_34fb6e3e-1186-4593-b051-89ac92e581f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_34fb6e3e-1186-4593-b051-89ac92e581f2" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_34fb6e3e-1186-4593-b051-89ac92e581f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_d9d5e4c7-470a-4178-9550-17c1a7e85a30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_34fb6e3e-1186-4593-b051-89ac92e581f2" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_d9d5e4c7-470a-4178-9550-17c1a7e85a30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_0195e928-83cd-4f65-b81b-fd1a95916c7f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_3acdaa87-4db8-487d-b3fb-4e086bbd8fec" xlink:to="loc_srt_CounterpartyNameAxis_0195e928-83cd-4f65-b81b-fd1a95916c7f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0195e928-83cd-4f65-b81b-fd1a95916c7f_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_0195e928-83cd-4f65-b81b-fd1a95916c7f" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0195e928-83cd-4f65-b81b-fd1a95916c7f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_bcb6bc62-c8b2-4d08-8f7f-60c67d88704a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_0195e928-83cd-4f65-b81b-fd1a95916c7f" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_bcb6bc62-c8b2-4d08-8f7f-60c67d88704a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_HudsonYardsCateringHYCMember_b864f282-0959-4aca-afdf-ca18c312badc" xlink:href="shak-20240626.xsd#shak_HudsonYardsCateringHYCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_bcb6bc62-c8b2-4d08-8f7f-60c67d88704a" xlink:to="loc_shak_HudsonYardsCateringHYCMember_b864f282-0959-4aca-afdf-ca18c312badc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_BlockIncMember_d97d47d1-7873-4f47-9c10-50da6bf10870" xlink:href="shak-20240626.xsd#shak_BlockIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_bcb6bc62-c8b2-4d08-8f7f-60c67d88704a" xlink:to="loc_shak_BlockIncMember_d97d47d1-7873-4f47-9c10-50da6bf10870" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_OloIncMember_8898c218-bcf7-4da2-bb67-ed45c37fa869" xlink:href="shak-20240626.xsd#shak_OloIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_bcb6bc62-c8b2-4d08-8f7f-60c67d88704a" xlink:to="loc_shak_OloIncMember_8898c218-bcf7-4da2-bb67-ed45c37fa869" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_MasterLicenseAgreementNumberOfRenewalTerms_1f606e11-6560-4f45-a645-9abac90ed1e1" xlink:href="shak-20240626.xsd#shak_MasterLicenseAgreementNumberOfRenewalTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:to="loc_shak_MasterLicenseAgreementNumberOfRenewalTerms_1f606e11-6560-4f45-a645-9abac90ed1e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_MasterLicenseAgreementRenewalTerm_91af30ef-b550-45fe-9d25-1afffab1a376" xlink:href="shak-20240626.xsd#shak_MasterLicenseAgreementRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:to="loc_shak_MasterLicenseAgreementRenewalTerm_91af30ef-b550-45fe-9d25-1afffab1a376" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_1b93cd6c-3a33-4b62-91c0-1610e968f202" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:to="loc_shak_TaxReceivableAgreementPercentageofTaxBenefitsDuetoEquityOwners_1b93cd6c-3a33-4b62-91c0-1610e968f202" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_TaxReceivableAgreementPaymentsToRelatedParties_be835b8d-7d74-4d8e-9ab2-37b6ab46d8b0" xlink:href="shak-20240626.xsd#shak_TaxReceivableAgreementPaymentsToRelatedParties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_c4995bae-e421-4c80-8f15-cd7ffd2d4922" xlink:to="loc_shak_TaxReceivableAgreementPaymentsToRelatedParties_be835b8d-7d74-4d8e-9ab2-37b6ab46d8b0" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.shakeshack.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="shak-20240626.xsd#RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.shakeshack.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5594a1c-ee41-43c2-b267-27e2543f2fc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5594a1c-ee41-43c2-b267-27e2543f2fc4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_5470a282-4696-42c5-a850-8c0c04402d13" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5594a1c-ee41-43c2-b267-27e2543f2fc4" xlink:to="loc_srt_CounterpartyNameAxis_5470a282-4696-42c5-a850-8c0c04402d13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_5470a282-4696-42c5-a850-8c0c04402d13_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_5470a282-4696-42c5-a850-8c0c04402d13" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_5470a282-4696-42c5-a850-8c0c04402d13_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_5470a282-4696-42c5-a850-8c0c04402d13" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_HudsonYardsCateringHYCMember_369d4aa5-2f00-4564-bce4-be774195e070" xlink:href="shak-20240626.xsd#shak_HudsonYardsCateringHYCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:to="loc_shak_HudsonYardsCateringHYCMember_369d4aa5-2f00-4564-bce4-be774195e070" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_MadisonSquareParkConservancyMSPConservancyMember_e73c72ae-3cac-41c1-8e81-770a349d4b48" xlink:href="shak-20240626.xsd#shak_MadisonSquareParkConservancyMSPConservancyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:to="loc_shak_MadisonSquareParkConservancyMSPConservancyMember_e73c72ae-3cac-41c1-8e81-770a349d4b48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_OloIncMember_30e6b6d4-7a44-476d-8631-455618c89d45" xlink:href="shak-20240626.xsd#shak_OloIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:to="loc_shak_OloIncMember_30e6b6d4-7a44-476d-8631-455618c89d45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_shak_BlockIncMember_ffeca7fb-ea5c-4279-a555-09e8dd7274fa" xlink:href="shak-20240626.xsd#shak_BlockIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_264d557f-cdf6-47b1-908e-f61e2818e692" xlink:to="loc_shak_BlockIncMember_ffeca7fb-ea5c-4279-a555-09e8dd7274fa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_242d10e3-ddd4-48ce-a81c-6eac7ce46760" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5594a1c-ee41-43c2-b267-27e2543f2fc4" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_242d10e3-ddd4-48ce-a81c-6eac7ce46760" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_242d10e3-ddd4-48ce-a81c-6eac7ce46760_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_242d10e3-ddd4-48ce-a81c-6eac7ce46760" xlink:to="loc_us-gaap_RelatedPartyDomain_242d10e3-ddd4-48ce-a81c-6eac7ce46760_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_a2c975f3-af93-4591-b767-fc8685aa362a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_242d10e3-ddd4-48ce-a81c-6eac7ce46760" xlink:to="loc_us-gaap_RelatedPartyDomain_a2c975f3-af93-4591-b767-fc8685aa362a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_e749d11d-1943-4835-b460-a88d7bd612b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_a2c975f3-af93-4591-b767-fc8685aa362a" xlink:to="loc_us-gaap_RelatedPartyMember_e749d11d-1943-4835-b460-a88d7bd612b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_155508c3-7c2f-49c1-af9a-76c92cad8da9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_155508c3-7c2f-49c1-af9a-76c92cad8da9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_ec4f2e4e-8e71-48b9-aea2-7202f58c6257" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_ec4f2e4e-8e71-48b9-aea2-7202f58c6257" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OccupancyNet_66fd73c2-7537-4eec-9682-2337f0819b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OccupancyNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_OccupancyNet_66fd73c2-7537-4eec-9682-2337f0819b4c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_baf57a9b-7815-4370-83ba-f975bcad9229" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_baf57a9b-7815-4370-83ba-f975bcad9229" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_631b4cad-51e4-4648-926a-023c32a630b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_631b4cad-51e4-4648-926a-023c32a630b2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_f8a094e8-c5e2-414c-91e8-fa32914c5eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_459873a4-797e-428b-bc80-f43b4e7a79bd" xlink:to="loc_us-gaap_AccountsPayableCurrent_f8a094e8-c5e2-414c-91e8-fa32914c5eb2" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_PerformanceSharesMember" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_CommonClassBMember" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_ConvertibleDebtMember" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
