<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresTables" xlink:href="hsy-20160403.xsd#BusinessAcquisitionsAndDivestituresTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentCharges" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentCharges" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesTables" xlink:href="hsy-20160403.xsd#BusinessRealignmentAndImpairmentChargesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/CommitmentsAndContingenciesTables" xlink:href="hsy-20160403.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncome" xlink:href="hsy-20160403.xsd#ComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ComprehensiveIncomeTables" xlink:href="hsy-20160403.xsd#ComprehensiveIncomeTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedBalanceSheets" xlink:href="hsy-20160403.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="hsy-20160403.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfIncome" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:href="hsy-20160403.xsd#ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/Contingencies" xlink:href="hsy-20160403.xsd#Contingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ContingenciesOperatingLeaseObligationsDetails" xlink:href="hsy-20160403.xsd#ContingenciesOperatingLeaseObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ContingenciesPurchaseObligationsDetails" xlink:href="hsy-20160403.xsd#ContingenciesPurchaseObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurements" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurements" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:href="hsy-20160403.xsd#DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/DocumentAndEntityInformation" xlink:href="hsy-20160403.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShare" xlink:href="hsy-20160403.xsd#EarningsPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareDetails" xlink:href="hsy-20160403.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareNarrativeDetails" xlink:href="hsy-20160403.xsd#EarningsPerShareNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/EarningsPerShareTables" xlink:href="hsy-20160403.xsd#EarningsPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssets" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsTables" xlink:href="hsy-20160403.xsd#GoodwillAndIntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxes" xlink:href="hsy-20160403.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesIncomeBeforeTaxesDetails" xlink:href="hsy-20160403.xsd#IncomeTaxesIncomeBeforeTaxesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesNarrativeDetails" xlink:href="hsy-20160403.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/IncomeTaxesTables" xlink:href="hsy-20160403.xsd#IncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiaries" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiaries" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesDetails" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiariesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesTables" xlink:href="hsy-20160403.xsd#NoncontrollingInterestsInSubsidiariesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNet" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNet" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNetDetails" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNetDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/OtherIncomeExpenseNetTables" xlink:href="hsy-20160403.xsd#OtherIncomeExpenseNetTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlans" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansTables" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:href="hsy-20160403.xsd#PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformation" xlink:href="hsy-20160403.xsd#SegmentInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationDepreciationAndAmortizationDetails" xlink:href="hsy-20160403.xsd#SegmentInformationDepreciationAndAmortizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationNarrativeDetails" xlink:href="hsy-20160403.xsd#SegmentInformationNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationSalesAndIncomeDetails" xlink:href="hsy-20160403.xsd#SegmentInformationSalesAndIncomeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationSummaryOfDerivativeInformationDetails" xlink:href="hsy-20160403.xsd#SegmentInformationSummaryOfDerivativeInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SegmentInformationTables" xlink:href="hsy-20160403.xsd#SegmentInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebt" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebt" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtInterestExpenseDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtInterestExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtShortTermDebtDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtShortTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/ShortAndLongTermDebtTables" xlink:href="hsy-20160403.xsd#ShortAndLongTermDebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SignificantAccountingPolicies" xlink:href="hsy-20160403.xsd#SignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SignificantAccountingPoliciesPolicies" xlink:href="hsy-20160403.xsd#SignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlans" xlink:href="hsy-20160403.xsd#StockCompensationPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansNarrativeDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansStockOptionActivityDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansStockOptionActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:href="hsy-20160403.xsd#StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/StockCompensationPlansTables" xlink:href="hsy-20160403.xsd#StockCompensationPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformation" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformationDetails" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/SupplementalBalanceSheetInformationTables" xlink:href="hsy-20160403.xsd#SupplementalBalanceSheetInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivity" xlink:href="hsy-20160403.xsd#TreasuryStockActivity" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityCommonStockOutstandingDetails" xlink:href="hsy-20160403.xsd#TreasuryStockActivityCommonStockOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityNarrativeDetails" xlink:href="hsy-20160403.xsd#TreasuryStockActivityNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.hersheys.com/role/TreasuryStockActivityTables" xlink:href="hsy-20160403.xsd#TreasuryStockActivityTables" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2015DivestitureNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_A07FA7C8ABFF68DAAABF42694DD5A285" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_21A1F8DCCA905A61AC2042694DD56717" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_A07FA7C8ABFF68DAAABF42694DD5A285" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_21A1F8DCCA905A61AC2042694DD56717" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_5A4CBEA1A52AEA1E1C5842694DD523EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_21A1F8DCCA905A61AC2042694DD56717" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_5A4CBEA1A52AEA1E1C5842694DD523EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_6EDE53D3A5038BF2AADB42694DD518B7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_5A4CBEA1A52AEA1E1C5842694DD523EA" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_6EDE53D3A5038BF2AADB42694DD518B7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_6EDE53D3A5038BF2AADB42694DD518B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_5A4CBEA1A52AEA1E1C5842694DD523EA" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_6EDE53D3A5038BF2AADB42694DD518B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember" xlink:label="loc_us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember_F91D214F3E323036884E42694DD556C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_6EDE53D3A5038BF2AADB42694DD518B7" xlink:to="loc_us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember_F91D214F3E323036884E42694DD556C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_C0E603FCFEB6B934FF9942694DD58061" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_21A1F8DCCA905A61AC2042694DD56717" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_C0E603FCFEB6B934FF9942694DD58061" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_83D19311CAF52EDEE0C942694DD5D9E9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_C0E603FCFEB6B934FF9942694DD58061" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_83D19311CAF52EDEE0C942694DD5D9E9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_83D19311CAF52EDEE0C942694DD5D9E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_C0E603FCFEB6B934FF9942694DD58061" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_83D19311CAF52EDEE0C942694DD5D9E9" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_MaunaLoaMacadamiaNutCorporationMember" xlink:label="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_880DE8F270FCD0FA64C742694DD5A1DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_83D19311CAF52EDEE0C942694DD5D9E9" xlink:to="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_880DE8F270FCD0FA64C742694DD5A1DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromDivestitureOfBusinesses" xlink:label="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_E8FD7F9B1478C9CBCBAD42694DD58BE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_A07FA7C8ABFF68DAAABF42694DD5A285" xlink:to="loc_us-gaap_ProceedsFromDivestitureOfBusinesses_E8FD7F9B1478C9CBCBAD42694DD58BE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_C543EDA50376452D0E0742694DD6C8F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_A07FA7C8ABFF68DAAABF42694DD5A285" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_C543EDA50376452D0E0742694DD6C8F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_D8D3903F7F5E69F3DAFB42694DD67D5E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_A07FA7C8ABFF68DAAABF42694DD5A285" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_D8D3903F7F5E69F3DAFB42694DD67D5E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestitures2016ShanghaiGoldenMonkeyDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_7CDB884EC0451C4D6F775DEC8A3C8C89" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8BF83AA7A7626DB733CF5DEC8A3CEA34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7CDB884EC0451C4D6F775DEC8A3C8C89" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8BF83AA7A7626DB733CF5DEC8A3CEA34" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D28850D12698C20C0FD45DEC8A3C8775" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_8BF83AA7A7626DB733CF5DEC8A3CEA34" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D28850D12698C20C0FD45DEC8A3C8775" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_97A38DE0FF970CF5387A5DEC8A3C2885_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D28850D12698C20C0FD45DEC8A3C8775" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_97A38DE0FF970CF5387A5DEC8A3C2885_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_97A38DE0FF970CF5387A5DEC8A3C2885" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D28850D12698C20C0FD45DEC8A3C8775" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_97A38DE0FF970CF5387A5DEC8A3C2885" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member" xlink:label="loc_hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member_3980CE9F8137A4C6812B5DEC8A3CB174" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_97A38DE0FF970CF5387A5DEC8A3C2885" xlink:to="loc_hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member_3980CE9F8137A4C6812B5DEC8A3CB174" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_49CE33C293D29DC67D045DEC8A3CA7E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7CDB884EC0451C4D6F775DEC8A3C8C89" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_49CE33C293D29DC67D045DEC8A3CA7E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_6B26C47654EF8B5D20065DEC8A3CEDE7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7CDB884EC0451C4D6F775DEC8A3C8C89" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_6B26C47654EF8B5D20065DEC8A3CEDE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_8889BE38E32AFC3EE1635DEC8A3C4EB6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_7CDB884EC0451C4D6F775DEC8A3C8C89" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_8889BE38E32AFC3EE1635DEC8A3C4EB6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsAssetsAcquiredAndLiabilitiesAssumedAllocationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F829197359A09059537E42694E2085D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F829197359A09059537E42694E2085D5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_595F6D231EB0E05632B242694E20D204" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F829197359A09059537E42694E2085D5" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_595F6D231EB0E05632B242694E20D204" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FA588AA0B0D5DDDE30E042694E202DBC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_595F6D231EB0E05632B242694E20D204" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FA588AA0B0D5DDDE30E042694E202DBC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FA588AA0B0D5DDDE30E042694E202DBC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_595F6D231EB0E05632B242694E20D204" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FA588AA0B0D5DDDE30E042694E202DBC" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_KRAVEPureFoodsInc.Member" xlink:label="loc_hsy_KRAVEPureFoodsInc.Member_DE5F25C940E3E043AEA142694E201E7D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_FA588AA0B0D5DDDE30E042694E202DBC" xlink:to="loc_hsy_KRAVEPureFoodsInc.Member_DE5F25C940E3E043AEA142694E201E7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1261AD2B175D6EBB040242694E209B9E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_F829197359A09059537E42694E2085D5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1261AD2B175D6EBB040242694E209B9E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1261AD2B175D6EBB040242694E209B9E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1261AD2B175D6EBB040242694E209B9E" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_77DBC88E1C2593EFB96342694E20ECD0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B" xlink:to="loc_us-gaap_TrademarksMember_77DBC88E1C2593EFB96342694E20ECD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_33AD77DB05C86269F56642694E2151E6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_6AEC207FC7B36C106E0042694E207D4B" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_33AD77DB05C86269F56642694E2151E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_D64261CA30C38A8BAA9942694E218B26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_Goodwill_D64261CA30C38A8BAA9942694E218B26" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_30F168244037D651A80642694E2191C5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_30F168244037D651A80642694E2191C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_D578A710AC9CD5D2966042694E2115CB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther_D578A710AC9CD5D2966042694E2115CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_CB8CE2E6CF887457BAB642694E21CE7E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_CB8CE2E6CF887457BAB642694E21CE7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_32EE493B3A03AD373D3642694E2174CA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent_32EE493B3A03AD373D3642694E2174CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_A2000BD32AB880126F9842694E21E6CA" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_A2000BD32AB880126F9842694E21E6CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_4B1161B033C14302FBCD42694E218E5A" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_051135A8E843DBC7FCFE42694E2198EC" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_4B1161B033C14302FBCD42694E218E5A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresKravePureFoodsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A2015843037082D3702B4269512DDF6B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A2015843037082D3702B4269512DDF6B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_F96741F473C0E8644F3B4269512D75A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A2015843037082D3702B4269512DDF6B" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_F96741F473C0E8644F3B4269512D75A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4A4915DF2F403230C174269512DB8DE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F96741F473C0E8644F3B4269512D75A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4A4915DF2F403230C174269512DB8DE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4A4915DF2F403230C174269512DB8DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_F96741F473C0E8644F3B4269512D75A0" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4A4915DF2F403230C174269512DB8DE" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_KRAVEPureFoodsInc.Member" xlink:label="loc_hsy_KRAVEPureFoodsInc.Member_121370C604716D80BDFA4269512D45AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_E4A4915DF2F403230C174269512DB8DE" xlink:to="loc_hsy_KRAVEPureFoodsInc.Member_121370C604716D80BDFA4269512D45AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_F5826B4F01A9F972FA514269512D2202" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A2015843037082D3702B4269512DDF6B" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_F5826B4F01A9F972FA514269512D2202" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_F5826B4F01A9F972FA514269512D2202" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_F5826B4F01A9F972FA514269512D2202" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_3FA2FEF3D44A8EB44A504269512D6FEE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B" xlink:to="loc_us-gaap_TrademarksMember_3FA2FEF3D44A8EB44A504269512D6FEE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherIntangibleAssetsMember" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_44219FFBFBF124DD696E4269512DDD2B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_F03DCE5FA55E1483CD964269512D5E4B" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_44219FFBFBF124DD696E4269512DDD2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_B694A6CDA09497EF94314269512E584B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_A2015843037082D3702B4269512DDF6B" xlink:to="loc_us-gaap_RangeAxis_B694A6CDA09497EF94314269512E584B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_B694A6CDA09497EF94314269512E584B" xlink:to="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_B694A6CDA09497EF94314269512E584B" xlink:to="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_1ABCD1F67AEF3124F1F64269512EC548" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21" xlink:to="loc_us-gaap_MinimumMember_1ABCD1F67AEF3124F1F64269512EC548" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_EAC36ED897FEF252D6D84269512EFB4B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_8F943A2F0E990C68B86C4269512E7D21" xlink:to="loc_us-gaap_MaximumMember_EAC36ED897FEF252D6D84269512EFB4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionRevenueReportedByAcquiredEntityForLastAnnualPeriod" xlink:label="loc_us-gaap_BusinessAcquisitionRevenueReportedByAcquiredEntityForLastAnnualPeriod_444FBF1C902CBBC0216D4269512EAE4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_BusinessAcquisitionRevenueReportedByAcquiredEntityForLastAnnualPeriod_444FBF1C902CBBC0216D4269512EAE4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_3CC80175E30A2D60BA6B4269512E0FE4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_3CC80175E30A2D60BA6B4269512E0FE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_324A83A5EC6422708F384269512EA0A1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_324A83A5EC6422708F384269512EA0A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_01DC65A0104EB971E6974269512E2F1A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_01DC65A0104EB971E6974269512E2F1A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForPreviousAcquisition" xlink:label="loc_us-gaap_PaymentsForPreviousAcquisition_EF49630AA27DB0BC17214269512EA596" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_PaymentsForPreviousAcquisition_EF49630AA27DB0BC17214269512EA596" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_E5E96AB8D722927590464269512E886D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56E83A272D62D63720FA4269512E5BAB" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_E5E96AB8D722927590464269512E886D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessAcquisitionsAndDivestituresTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_DEFDC5D1C44819E551583E4B93E0FD91" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E1B92AC9BE0B41F4EFFB3E4B93E07F0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DEFDC5D1C44819E551583E4B93E0FD91" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E1B92AC9BE0B41F4EFFB3E4B93E07F0C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_719F1187A54BE43CA4B63E4B93E0E681" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E1B92AC9BE0B41F4EFFB3E4B93E07F0C" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_719F1187A54BE43CA4B63E4B93E0E681" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77046C6742170F9967DD3E4B93E09AE5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_719F1187A54BE43CA4B63E4B93E0E681" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77046C6742170F9967DD3E4B93E09AE5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77046C6742170F9967DD3E4B93E09AE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_719F1187A54BE43CA4B63E4B93E0E681" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77046C6742170F9967DD3E4B93E09AE5" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_KRAVEPureFoodsInc.Member" xlink:label="loc_hsy_KRAVEPureFoodsInc.Member_52554757491ACCC316573E4B93E04774" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_77046C6742170F9967DD3E4B93E09AE5" xlink:to="loc_hsy_KRAVEPureFoodsInc.Member_52554757491ACCC316573E4B93E04774" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_EF5B8998B5616B702C533E4B93E075FB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E1B92AC9BE0B41F4EFFB3E4B93E07F0C" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_EF5B8998B5616B702C533E4B93E075FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_BDF35A9C31423766E4713E4B93E04089_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_EF5B8998B5616B702C533E4B93E075FB" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_BDF35A9C31423766E4713E4B93E04089_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_BDF35A9C31423766E4713E4B93E04089" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_EF5B8998B5616B702C533E4B93E075FB" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_BDF35A9C31423766E4713E4B93E04089" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_MaunaLoaMacadamiaNutCorporationMember" xlink:label="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_AD08F1439F238E84FF0B3E4B93E045D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_BDF35A9C31423766E4713E4B93E04089" xlink:to="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_AD08F1439F238E84FF0B3E4B93E045D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_A9CBF49CCF4D9EE220E43E4B93E02FD4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_E1B92AC9BE0B41F4EFFB3E4B93E07F0C" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_A9CBF49CCF4D9EE220E43E4B93E02FD4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_80E4DE68AC2B6B81E9ED3E4B93E0F3FF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_A9CBF49CCF4D9EE220E43E4B93E02FD4" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_80E4DE68AC2B6B81E9ED3E4B93E0F3FF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_80E4DE68AC2B6B81E9ED3E4B93E0F3FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_A9CBF49CCF4D9EE220E43E4B93E02FD4" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_80E4DE68AC2B6B81E9ED3E4B93E0F3FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember" xlink:label="loc_us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember_A3B92E65B93D892A5A673E4B93E02A8C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_80E4DE68AC2B6B81E9ED3E4B93E0F3FF" xlink:to="loc_us-gaap_DisposalGroupHeldForSaleOrDisposedOfBySaleNotDiscontinuedOperationsMember_A3B92E65B93D892A5A673E4B93E02A8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_FA51F37ABB4DAF05B07A3E4B93E00F17" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_DEFDC5D1C44819E551583E4B93E0FD91" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_FA51F37ABB4DAF05B07A3E4B93E00F17" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentCharges" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4C0AC4AB23AEEDC2AF223F8582B66A01" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4C0AC4AB23AEEDC2AF223F8582B66A01" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_9AD6438BF0CD43FB45143F8582B6895D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4C0AC4AB23AEEDC2AF223F8582B66A01" xlink:to="loc_us-gaap_RestructuringPlanAxis_9AD6438BF0CD43FB45143F8582B6895D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_9AD6438BF0CD43FB45143F8582B6895D" xlink:to="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_9AD6438BF0CD43FB45143F8582B6895D" xlink:to="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ProductivityInitiative2015Member" xlink:label="loc_hsy_ProductivityInitiative2015Member_EE719EF07EC977241DC83F8582B73748" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36" xlink:to="loc_hsy_ProductivityInitiative2015Member_EE719EF07EC977241DC83F8582B73748" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ChinaStructureOptimizationMember" xlink:label="loc_hsy_ChinaStructureOptimizationMember_63EC1F1F86B80B4A584F3FB3C225983E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_3C6D4B93AD4C4931C1683F8582B77E36" xlink:to="loc_hsy_ChinaStructureOptimizationMember_63EC1F1F86B80B4A584F3FB3C225983E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_5708C3B16FFFF717884A3F8582B7DE7B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_4C0AC4AB23AEEDC2AF223F8582B66A01" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_5708C3B16FFFF717884A3F8582B7DE7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D738A65687EADF17FCCB3F8582B7ED4E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_5708C3B16FFFF717884A3F8582B7DE7B" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D738A65687EADF17FCCB3F8582B7ED4E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_D738A65687EADF17FCCB3F8582B7ED4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_5708C3B16FFFF717884A3F8582B7DE7B" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_D738A65687EADF17FCCB3F8582B7ED4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_F89BBB5A2129B6934CB83FA4219F5EA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_D738A65687EADF17FCCB3F8582B7ED4E" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_F89BBB5A2129B6934CB83FA4219F5EA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedNumberOfPositionsEliminated" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedNumberOfPositionsEliminated_4073DACC9A45CD7A272E3F8582B7180F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedNumberOfPositionsEliminated_4073DACC9A45CD7A272E3F8582B7180F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_22E04D47CB47D79A66C33F8582B74F50" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:to="loc_us-gaap_RestructuringCharges_22E04D47CB47D79A66C33F8582B74F50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringAndRelatedCostCostIncurredToDate1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostCostIncurredToDate1_30A14ED483260C93702A3FB06480A1F5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:to="loc_us-gaap_RestructuringAndRelatedCostCostIncurredToDate1_30A14ED483260C93702A3FB06480A1F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringAndRelatedCostExpectedCost1" xlink:label="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_F24E1795B28E3929A4A93FB1FC1EF5F6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_FFCD9C857D4BA8F8A43E3F8582B7642F" xlink:to="loc_us-gaap_RestructuringAndRelatedCostExpectedCost1_F24E1795B28E3929A4A93FB1FC1EF5F6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealigmnmentReserveRollforwardDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_54B60ABCC6212E891C663E5B125300F9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_E92A1394022BBCF3EA4A3E5B1253DCD0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_54B60ABCC6212E891C663E5B125300F9" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_E92A1394022BBCF3EA4A3E5B1253DCD0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_B9D21A453F7343F6419D3E5B1253BE1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_E92A1394022BBCF3EA4A3E5B1253DCD0" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_B9D21A453F7343F6419D3E5B1253BE1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_9315811CDA139517E6E13E5B1253D6C8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B9D21A453F7343F6419D3E5B1253BE1D" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_9315811CDA139517E6E13E5B1253D6C8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_9315811CDA139517E6E13E5B1253D6C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_B9D21A453F7343F6419D3E5B1253BE1D" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_9315811CDA139517E6E13E5B1253D6C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_54B60ABCC6212E891C663E5B125300F9" xlink:to="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_F5A144C3ED358ED411083E5B125360C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:to="loc_us-gaap_RestructuringReserve_F5A144C3ED358ED411083E5B125360C1" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_RestructuringChargesBusinessRealignmentReserve" xlink:label="loc_hsy_RestructuringChargesBusinessRealignmentReserve_B20B91247DB7F1F5CA573E5B1253C909" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:to="loc_hsy_RestructuringChargesBusinessRealignmentReserve_B20B91247DB7F1F5CA573E5B1253C909" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_0AC74AE81047BE68AC853E5B12531CA1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:to="loc_us-gaap_PaymentsForRestructuring_0AC74AE81047BE68AC853E5B12531CA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringReserveAccrualAdjustment" xlink:label="loc_us-gaap_RestructuringReserveAccrualAdjustment_E62EB51DCE19D3BFD8A43E5B12530E28" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_8A7DD29FDA716A7496A53E5B12533812" xlink:to="loc_us-gaap_RestructuringReserveAccrualAdjustment_E62EB51DCE19D3BFD8A43E5B12530E28" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesRealignmentRelatedChargesByIncomeStatementLocationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_66B1481F76708CDB4E693F8582BDB4E1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9AECAE82BF0B91C4C2673F8582BB2FE3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_66B1481F76708CDB4E693F8582BDB4E1" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9AECAE82BF0B91C4C2673F8582BB2FE3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_A0DB382D154D5CE17F033F8582BC9ED5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9AECAE82BF0B91C4C2673F8582BB2FE3" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_A0DB382D154D5CE17F033F8582BC9ED5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A0DB382D154D5CE17F033F8582BC9ED5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_A0DB382D154D5CE17F033F8582BC9ED5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_79AB14EA44685D02663D3F8582BCD6C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598" xlink:to="loc_us-gaap_CostOfSalesMember_79AB14EA44685D02663D3F8582BCD6C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_7B6BA4156CB402EBC7A43F8582BCE0C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_7B6BA4156CB402EBC7A43F8582BCE0C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringChargesMember" xlink:label="loc_us-gaap_RestructuringChargesMember_8356072C8497DB5CA7DC3F8582BC2D56" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_237057B165A7EDDED1583F8582BCF598" xlink:to="loc_us-gaap_RestructuringChargesMember_8356072C8497DB5CA7DC3F8582BC2D56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanAxis" xlink:label="loc_us-gaap_RestructuringPlanAxis_876146240AB6F5FC5CFC3F8582BB2F31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9AECAE82BF0B91C4C2673F8582BB2FE3" xlink:to="loc_us-gaap_RestructuringPlanAxis_876146240AB6F5FC5CFC3F8582BB2F31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringPlanAxis_876146240AB6F5FC5CFC3F8582BB2F31" xlink:to="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringPlanDomain" xlink:label="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringPlanAxis_876146240AB6F5FC5CFC3F8582BB2F31" xlink:to="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ChinaStructureOptimizationMember" xlink:label="loc_hsy_ChinaStructureOptimizationMember_796EB483718243028DBD3FB4EAC08475" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:to="loc_hsy_ChinaStructureOptimizationMember_796EB483718243028DBD3FB4EAC08475" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_OtherInternationalRestructuringProgramsMember" xlink:label="loc_hsy_OtherInternationalRestructuringProgramsMember_2DAA81032E432E0446743F8582BB40FA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:to="loc_hsy_OtherInternationalRestructuringProgramsMember_2DAA81032E432E0446743F8582BB40FA" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ProductivityInitiative2015Member" xlink:label="loc_hsy_ProductivityInitiative2015Member_D4E549F7A90D61CC6D593F8582BC113C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:to="loc_hsy_ProductivityInitiative2015Member_D4E549F7A90D61CC6D593F8582BC113C" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ChinaIntegrationInitiativeMember" xlink:label="loc_hsy_ChinaIntegrationInitiativeMember_C3E7B494C224D712AF9E3FB74E3B1DC1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringPlanDomain_7A85B332E41C8F1A77843F8582BB8532" xlink:to="loc_hsy_ChinaIntegrationInitiativeMember_C3E7B494C224D712AF9E3FB74E3B1DC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_9F1EA231CC6F0BA7D28F3F8582BC0885" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_9AECAE82BF0B91C4C2673F8582BB2FE3" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_9F1EA231CC6F0BA7D28F3F8582BC0885" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_27F7039B1FCE57CD76EC3F8582BC2DD1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_9F1EA231CC6F0BA7D28F3F8582BC0885" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_27F7039B1FCE57CD76EC3F8582BC2DD1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_27F7039B1FCE57CD76EC3F8582BC2DD1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_9F1EA231CC6F0BA7D28F3F8582BC0885" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_27F7039B1FCE57CD76EC3F8582BC2DD1" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_MaunaLoaMacadamiaNutCorporationMember" xlink:label="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_AB5BFCBBB9B8FCF9DE5B3F8582BC72DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_27F7039B1FCE57CD76EC3F8582BC2DD1" xlink:to="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_AB5BFCBBB9B8FCF9DE5B3F8582BC72DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_6632C7B60CBF366F10D43F8582BD0D54" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_66B1481F76708CDB4E693F8582BDB4E1" xlink:to="loc_us-gaap_RestructuringCharges_6632C7B60CBF366F10D43F8582BD0D54" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/BusinessRealignmentAndImpairmentChargesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfAccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeComponentsOfComprehensiveIncomeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_B0BFE47B90609D69DEF23E5B1E93A71A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_B0BFE47B90609D69DEF23E5B1E93A71A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_A1FDD2F5FE5E8B6E8CF43E5B1E936702" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_B0BFE47B90609D69DEF23E5B1E93A71A" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_A1FDD2F5FE5E8B6E8CF43E5B1E936702" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A1FDD2F5FE5E8B6E8CF43E5B1E936702" xlink:to="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A1FDD2F5FE5E8B6E8CF43E5B1E936702" xlink:to="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_68F1933A6FAA212CA4063E5B1E93EEA5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02" xlink:to="loc_us-gaap_AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_68F1933A6FAA212CA4063E5B1E93EEA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_A8A1E99573BBFDF56AEF3E5B1E9358C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_A8A1E99573BBFDF56AEF3E5B1E9358C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_880DE0D380C2190E94F23E5B1E936744" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_00DB10116954EEA52D9C3E5B1E932E02" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_880DE0D380C2190E94F23E5B1E936744" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_CEFDCDB3E924ECB8CC963E5B1E930572" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_NetIncomeLoss_CEFDCDB3E924ECB8CC963E5B1E930572" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract_A7B5883C85C8E04E57613E5B1E93693E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract_A7B5883C85C8E04E57613E5B1E93693E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_F79AC23EA0F1E7BC80F23E5B1E93325A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract_A7B5883C85C8E04E57613E5B1E93693E" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_F79AC23EA0F1E7BC80F23E5B1E93325A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_FF0A448871747F5982E63E5B1E9326C1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract_A7B5883C85C8E04E57613E5B1E93693E" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_FF0A448871747F5982E63E5B1E9326C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_4005C5EA34C2F39D38E23E5B1E934BCD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPeriodIncreaseDecreaseAbstract_A7B5883C85C8E04E57613E5B1E93693E" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_4005C5EA34C2F39D38E23E5B1E934BCD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTaxAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_49F98BDBABB9BC04BFE63E5B1E933AE6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_49F98BDBABB9BC04BFE63E5B1E933AE6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_CB6233F14A945EF3EA2D3E5B1E93F7DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_49F98BDBABB9BC04BFE63E5B1E933AE6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_CB6233F14A945EF3EA2D3E5B1E93F7DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_C8BEDDD515FEDB730CB43E5B1E93BC6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_49F98BDBABB9BC04BFE63E5B1E933AE6" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_C8BEDDD515FEDB730CB43E5B1E93BC6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_71EA262BB91E8A889D083E5B1E9309D8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossTaxAbstract_49F98BDBABB9BC04BFE63E5B1E933AE6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_71EA262BB91E8A889D083E5B1E9309D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_D7F7CF1601C1F93444D13E5B1E9320BE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_D7F7CF1601C1F93444D13E5B1E9320BE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_61EDF70B4F3B3145E4D83E5B1E93430D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_D7F7CF1601C1F93444D13E5B1E9320BE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_61EDF70B4F3B3145E4D83E5B1E93430D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_E964139C5C593382A0FF3E5B1E930CA0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_D7F7CF1601C1F93444D13E5B1E9320BE" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_E964139C5C593382A0FF3E5B1E930CA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BD9E95C141EC2B3F3A143E5B1E93D173" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_D7F7CF1601C1F93444D13E5B1E9320BE" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BD9E95C141EC2B3F3A143E5B1E93D173" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_5A6D73927808F3D459F13E5B1E93C029" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_5A6D73927808F3D459F13E5B1E93C029" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_619C37741FDB4E833B0A3E5B1E937B67" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_619C37741FDB4E833B0A3E5B1E937B67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_59EFA8657F9F133269683E5B1E93FC75" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_BCC4F689D598C3C83E7B3E5B1E936812" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_59EFA8657F9F133269683E5B1E93FC75" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ComprehensiveIncomeTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_6C60BC20BB93354423AD3E5B2BCC59C5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_C1DE7889F542E187C5363E5B2BCC52C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6C60BC20BB93354423AD3E5B2BCC59C5" xlink:to="loc_us-gaap_StatementTable_C1DE7889F542E187C5363E5B2BCC52C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_8D0FCC60D0743FCE84D33E5B2BCC47D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_C1DE7889F542E187C5363E5B2BCC52C6" xlink:to="loc_us-gaap_StatementClassOfStockAxis_8D0FCC60D0743FCE84D33E5B2BCC47D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8D0FCC60D0743FCE84D33E5B2BCC47D3" xlink:to="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8D0FCC60D0743FCE84D33E5B2BCC47D3" xlink:to="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_0FD8696A57D44555B3E83E5B2BCCE4C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742" xlink:to="loc_hsy_HersheyCommonStockMember_0FD8696A57D44555B3E83E5B2BCCE4C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_E5CDEBA7E4C40FA0D6E83E5B2BCCCAA0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6331DE817B08CAD51D8A3E5B2BCC8742" xlink:to="loc_us-gaap_CommonClassBMember_E5CDEBA7E4C40FA0D6E83E5B2BCCCAA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6C60BC20BB93354423AD3E5B2BCC59C5" xlink:to="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1CEFFDBD08DF801027B63E5B2BCC6A67" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_1CEFFDBD08DF801027B63E5B2BCC6A67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_1A0569F9C73275D766E33E5B2BCC538C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_1A0569F9C73275D766E33E5B2BCC538C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_F7A048CF1FA004FC15A23E5B2BCCCA98" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:to="loc_us-gaap_InventoryNet_F7A048CF1FA004FC15A23E5B2BCCCA98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_58D00071B8F121E53C033E5B2BCCBB5D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_58D00071B8F121E53C033E5B2BCCBB5D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_9362287762AFA7D7253A3E5B2BCCF6DC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_522E10C344DFC178D4443E5B2BCC646F" xlink:to="loc_us-gaap_AssetsCurrent_9362287762AFA7D7253A3E5B2BCCF6DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_EA015D4A352D947922983E5B2BCCBA6C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_EA015D4A352D947922983E5B2BCCBA6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_9E206622ADAEEB0C11743E5B2BCC9085" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_Goodwill_9E206622ADAEEB0C11743E5B2BCC9085" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_46A2912A1AD9EC18097B3E5B2BCCBBD7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_46A2912A1AD9EC18097B3E5B2BCCBBD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_578A3DE34FD0961153223E5B2BCCB711" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_578A3DE34FD0961153223E5B2BCCB711" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_A388A482C9A4A1AAEEFC3E5B2BCCED7A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_A388A482C9A4A1AAEEFC3E5B2BCCED7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_20698DC2D7CE843265C33E5B2BCCD9A3" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4548B6217F702668A0103E5B2BCC3590" xlink:to="loc_us-gaap_Assets_20698DC2D7CE843265C33E5B2BCCD9A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6C60BC20BB93354423AD3E5B2BCC59C5" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_AC45B54B03D832EAD4D13E5B2BCCF952" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_AccountsPayableCurrent_AC45B54B03D832EAD4D13E5B2BCCF952" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_AB9D41061C58B36493153E5B2BCCAF67" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_AB9D41061C58B36493153E5B2BCCAF67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccruedIncomeTaxesCurrent" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_D94FADFD28616B2955AA3E5B2BCC04D2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_D94FADFD28616B2955AA3E5B2BCC04D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_2DDA915F55682784BA423E5B2BCC23DD" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_ShortTermBorrowings_2DDA915F55682784BA423E5B2BCC23DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_90E08C680FA580906FE23E5B2BCC0F77" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_LongTermDebtCurrent_90E08C680FA580906FE23E5B2BCC0F77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_676D77034BCBC40D15883E5B2BCC0016" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_64322566C12CDE584DEE3E5B2BCC83CA" xlink:to="loc_us-gaap_LiabilitiesCurrent_676D77034BCBC40D15883E5B2BCC0016" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_0C3759BA9C7F52F68B7D3E5B2BCC4E55" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_0C3759BA9C7F52F68B7D3E5B2BCC4E55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_699CB9120971EC6683B43E5B2BCCAC56" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_699CB9120971EC6683B43E5B2BCCAC56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_6C63A27635F656F21AB53E5B2BCC4265" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_6C63A27635F656F21AB53E5B2BCC4265" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_7A393486A3AD9A59046B3E5B2BCC8EFD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_Liabilities_7A393486A3AD9A59046B3E5B2BCC8EFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_D80046AB1C4693346EEE3E5B2BCC229E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_PreferredStockValue_D80046AB1C4693346EEE3E5B2BCC229E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_426D3E1218D8950296A73E5B2BCC2461" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_CommonStockValue_426D3E1218D8950296A73E5B2BCC2461" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_57A5ABE3A93CD59294403E5B2BCC534C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_AdditionalPaidInCapital_57A5ABE3A93CD59294403E5B2BCC534C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8392A3EF915F9E77F1A73E5B2BCCD2F5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_8392A3EF915F9E77F1A73E5B2BCCD2F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_3C1A311F365E9A802EDD3E5B2BCCFFAE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_TreasuryStockValue_3C1A311F365E9A802EDD3E5B2BCCFFAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6B8A06BA7310B0D1FFA83E5B2BCCDDE0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_6B8A06BA7310B0D1FFA83E5B2BCCDDE0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_0C930B88DA85C775C45D3E5B2BCC1954" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_StockholdersEquity_0C930B88DA85C775C45D3E5B2BCC1954" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_0283E008A6774820A8143E5B2BCCEE04" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_MinorityInterest_0283E008A6774820A8143E5B2BCCEE04" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_98914DA4CF38AAEF801F3E5B2BCC3EC6" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_7A97D13EA2F039B9B5813E5B2BCC5B35" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_98914DA4CF38AAEF801F3E5B2BCC3EC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_EEE3785D66E1F27531EE3E5B2BCC3CB8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_5FB43120580F553CB7203E5B2BCC5D27" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_EEE3785D66E1F27531EE3E5B2BCC3CB8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_A9CC7FFA5CCE4B3080E442694D8D1A60" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_FF0180C85FC46807F0DF42694D877CF1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_A9CC7FFA5CCE4B3080E442694D8D1A60" xlink:to="loc_us-gaap_StatementTable_FF0180C85FC46807F0DF42694D877CF1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4167E09CAF2D063F308F42694D8872AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_FF0180C85FC46807F0DF42694D877CF1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4167E09CAF2D063F308F42694D8872AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4167E09CAF2D063F308F42694D8872AD" xlink:to="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4167E09CAF2D063F308F42694D8872AD" xlink:to="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_1755FA08C3C9C1B449C942694D8DCA1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C" xlink:to="loc_hsy_HersheyCommonStockMember_1755FA08C3C9C1B449C942694D8DCA1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_347192D6416923493D5F42694D8D3208" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2A8F51B007619509AFEB42694D8D107C" xlink:to="loc_us-gaap_CommonClassBMember_347192D6416923493D5F42694D8D3208" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_C483E60E3BA30BDC842B42694D8DF2B9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A9CC7FFA5CCE4B3080E442694D8D1A60" xlink:to="loc_us-gaap_PreferredStockSharesIssued_C483E60E3BA30BDC842B42694D8DF2B9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_E2A6854CF866531B0FE042694D8D1A57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A9CC7FFA5CCE4B3080E442694D8D1A60" xlink:to="loc_us-gaap_CommonStockSharesIssued_E2A6854CF866531B0FE042694D8D1A57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_A60EDABD361DD71383CE42694D8D2D5A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A9CC7FFA5CCE4B3080E442694D8D1A60" xlink:to="loc_us-gaap_TreasuryStockShares_A60EDABD361DD71383CE42694D8D2D5A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_2F845695702DBCC7765242694ED198FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_StatementTable_2F845695702DBCC7765242694ED198FA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_38F1182A269838E5C0CB42694ED1D38F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_2F845695702DBCC7765242694ED198FA" xlink:to="loc_us-gaap_StatementClassOfStockAxis_38F1182A269838E5C0CB42694ED1D38F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_38F1182A269838E5C0CB42694ED1D38F" xlink:to="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_38F1182A269838E5C0CB42694ED1D38F" xlink:to="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_60F395C716FB575EAC5F42694ED112C9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6" xlink:to="loc_hsy_HersheyCommonStockMember_60F395C716FB575EAC5F42694ED112C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_5DC5BB46F4C03E79696A42694ED1EE57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_E788477775DFA597F10942694ED153C6" xlink:to="loc_us-gaap_CommonClassBMember_5DC5BB46F4C03E79696A42694ED1EE57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_CD96EADBBC7F179F6F1D42694ED1A601" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_SalesRevenueNet_CD96EADBBC7F179F6F1D42694ED1A601" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostsAndExpensesAbstract" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostOfGoodsSold" xlink:label="loc_us-gaap_CostOfGoodsSold_53909E6B89B3079E338A42694ED15E65" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:to="loc_us-gaap_CostOfGoodsSold_53909E6B89B3079E338A42694ED15E65" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_14DC40EAAB371D6D495342694ED122A4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_14DC40EAAB371D6D495342694ED122A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_83FEA7E80D7F8F3451E442694ED27D9D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_83FEA7E80D7F8F3451E442694ED27D9D" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_RestructuringChargesBusinessRealignment" xlink:label="loc_hsy_RestructuringChargesBusinessRealignment_72A7A678B96B6FC078C742694ED2E2BF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:to="loc_hsy_RestructuringChargesBusinessRealignment_72A7A678B96B6FC078C742694ED2E2BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_0CCE52114AB4B2715FF442694ED29C2C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_1606BB29F048C4CD9E4A42694ED1C7DA" xlink:to="loc_us-gaap_CostsAndExpenses_0CCE52114AB4B2715FF442694ED29C2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_F08EBF692D65A10CF89242694ED29835" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_OperatingIncomeLoss_F08EBF692D65A10CF89242694ED29835" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_94D514D546868577200542694ED26133" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_94D514D546868577200542694ED26133" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_DA168A6DA5D5B645AFCA42694ED23348" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_DA168A6DA5D5B645AFCA42694ED23348" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3636871CC328384C9CF442694ED251F1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_3636871CC328384C9CF442694ED251F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_D0C44B839DCF2D8590F042694ED2FE1C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_D0C44B839DCF2D8590F042694ED2FE1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_80584EA7E077981EC97442694ED2C0E8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_NetIncomeLoss_80584EA7E077981EC97442694ED2C0E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasicAbstract" xlink:label="loc_us-gaap_EarningsPerShareBasicAbstract_092764A7858DDDFBC9DB42694ED25230" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_EarningsPerShareBasicAbstract_092764A7858DDDFBC9DB42694ED25230" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_52FBF7A416E48140AED842694ED22794" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAbstract_092764A7858DDDFBC9DB42694ED25230" xlink:to="loc_us-gaap_EarningsPerShareBasic_52FBF7A416E48140AED842694ED22794" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDilutedAbstract" xlink:label="loc_us-gaap_EarningsPerShareDilutedAbstract_92EBBE9DC23AC952E83742694ED3F099" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_EarningsPerShareDilutedAbstract_92EBBE9DC23AC952E83742694ED3F099" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_5F94ED931D53CD012CF142694ED3482E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_92EBBE9DC23AC952E83742694ED3F099" xlink:to="loc_us-gaap_EarningsPerShareDiluted_5F94ED931D53CD012CF142694ED3482E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DividendsCommonStockAbstract" xlink:label="loc_us-gaap_DividendsCommonStockAbstract_E812D437BD7BAC7C3BE742694ED3B6AD" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EAB8D28ECC785D9C8DF842694ED15222" xlink:to="loc_us-gaap_DividendsCommonStockAbstract_E812D437BD7BAC7C3BE742694ED3B6AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_25B4D0AD27D463516E5B42694ED387BE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsCommonStockAbstract_E812D437BD7BAC7C3BE742694ED3B6AD" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_25B4D0AD27D463516E5B42694ED387BE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_A2C92F8CBEE3F901F97E4E60E89A1E4F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_B9A567B5F349BD7A5A5C4E60E89A7A81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_A2C92F8CBEE3F901F97E4E60E89A1E4F" xlink:to="loc_us-gaap_StatementTable_B9A567B5F349BD7A5A5C4E60E89A7A81" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0A27BFB49CDB9D80A6854E60E89A8ED9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_B9A567B5F349BD7A5A5C4E60E89A7A81" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0A27BFB49CDB9D80A6854E60E89A8ED9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0A27BFB49CDB9D80A6854E60E89A8ED9" xlink:to="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0A27BFB49CDB9D80A6854E60E89A8ED9" xlink:to="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_B5A35E4411D86CC62A794E60E89A2C60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_PreferredStockMember_B5A35E4411D86CC62A794E60E89A2C60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_D50A67F7BBC8152927034E60E89AC734" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_CommonStockMember_D50A67F7BBC8152927034E60E89AC734" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_BB7BA880E7C53C68384F4E60E89A2765" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_BB7BA880E7C53C68384F4E60E89A2765" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_492C4096B9CB42F048BD4E60E89A5B4D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_RetainedEarningsMember_492C4096B9CB42F048BD4E60E89A5B4D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_E6C18A560F53D5202DCD4E60E89A045A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_TreasuryStockMember_E6C18A560F53D5202DCD4E60E89A045A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FEED2095CD899E83814F4E60E89A7B35" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_FEED2095CD899E83814F4E60E89A7B35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_D6D95E014A3811B9FE4B4E60E89ACB10" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E05201E2D6C2A2197AC24E60E89AC8D5" xlink:to="loc_us-gaap_NoncontrollingInterestMember_D6D95E014A3811B9FE4B4E60E89ACB10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_FCE34A203C2E9A48998F4E60E89A7886" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_B9A567B5F349BD7A5A5C4E60E89A7A81" xlink:to="loc_us-gaap_StatementClassOfStockAxis_FCE34A203C2E9A48998F4E60E89A7886" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_FCE34A203C2E9A48998F4E60E89A7886" xlink:to="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_FCE34A203C2E9A48998F4E60E89A7886" xlink:to="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_9B83E399B51621EDC13E4E60E89AC6F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D" xlink:to="loc_hsy_HersheyCommonStockMember_9B83E399B51621EDC13E4E60E89AC6F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_65E1960F7178E4265CE64E60E89ADC7A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0E0208C3979BC92D41AD4E60E89A0E2D" xlink:to="loc_us-gaap_CommonClassBMember_65E1960F7178E4265CE64E60E89ADC7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_A2C92F8CBEE3F901F97E4E60E89A1E4F" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_08708941D36C2E4B7F7D4E60E89A95CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_08708941D36C2E4B7F7D4E60E89A95CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_D662ED3A36D29300CC664E60E89A8409" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_NetIncomeLoss_D662ED3A36D29300CC664E60E89A8409" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_FFD2D39C3D948F2EB3364E60E89A8931" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_FFD2D39C3D948F2EB3364E60E89A8931" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DividendsCommonStockAbstract" xlink:label="loc_us-gaap_DividendsCommonStockAbstract_CFF54366E6A81EC729AA4E60E89A7BF1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_DividendsCommonStockAbstract_CFF54366E6A81EC729AA4E60E89A7BF1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_5A894DBB6A1E66AF94844E60E89AAD2D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsCommonStockAbstract_CFF54366E6A81EC729AA4E60E89A7BF1" xlink:to="loc_us-gaap_DividendsCommonStockCash_5A894DBB6A1E66AF94844E60E89AAD2D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_B068D863A5E1D26649104E60E89AA973" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_B068D863A5E1D26649104E60E89AA973" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_DDE288879CE4EE25B19C4E60E89AD4B6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_DDE288879CE4EE25B19C4E60E89AD4B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_29C0F1FB8540319AA3014E60E89A19F4" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_29C0F1FB8540319AA3014E60E89A19F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_8019D9737533945420E54E60E89AC0CF" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_979D513756FAD9A0FA8F4E60E89A27B7" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_8019D9737533945420E54E60E89AC0CF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ConsolidatedStatementsOfStockholdersEquityParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_EC696D085AB2FDC3C06942694C083649" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_A86465605125B15FFB5442694C073D80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_EC696D085AB2FDC3C06942694C083649" xlink:to="loc_us-gaap_StatementTable_A86465605125B15FFB5442694C073D80" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_B4F622AD33ABEB6BC49A42694C07BC35" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_A86465605125B15FFB5442694C073D80" xlink:to="loc_us-gaap_StatementClassOfStockAxis_B4F622AD33ABEB6BC49A42694C07BC35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B4F622AD33ABEB6BC49A42694C07BC35" xlink:to="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_B4F622AD33ABEB6BC49A42694C07BC35" xlink:to="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_8B2006CA824869920C0E42694C07A39A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D" xlink:to="loc_hsy_HersheyCommonStockMember_8B2006CA824869920C0E42694C07A39A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_4E299A181A77DDD7B11E42694C079C6F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_34371F14935AE8C1558C42694C07D21D" xlink:to="loc_us-gaap_CommonClassBMember_4E299A181A77DDD7B11E42694C079C6F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_204EB957F136CF8E75B242694C08FE7B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_EC696D085AB2FDC3C06942694C083649" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_204EB957F136CF8E75B242694C08FE7B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/Contingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ContingenciesOperatingLeaseObligationsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ContingenciesPurchaseObligationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems_CF5B67656F39C2EABF6D3E5BFCE33A57" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationTable" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationTable_0875A2F454B86BA31AD73E5BFCE3CD03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems_CF5B67656F39C2EABF6D3E5BFCE33A57" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationTable_0875A2F454B86BA31AD73E5BFCE3CD03" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_77425FC9FED96673887F3E5BFCE39B38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationTable_0875A2F454B86BA31AD73E5BFCE3CD03" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_77425FC9FED96673887F3E5BFCE39B38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_11540128A49ACD78DDBA3E5BFCE36BB7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_77425FC9FED96673887F3E5BFCE39B38" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_11540128A49ACD78DDBA3E5BFCE36BB7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_11540128A49ACD78DDBA3E5BFCE36BB7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_77425FC9FED96673887F3E5BFCE39B38" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_11540128A49ACD78DDBA3E5BFCE36BB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationAbstract" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationAbstract_67354B35039AE300BF973E5BFCE34B46" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationLineItems_CF5B67656F39C2EABF6D3E5BFCE33A57" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationAbstract_67354B35039AE300BF973E5BFCE34B46" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurements" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BE1F19D4B7B330FA9AC13E5B07E71E74" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BE1F19D4B7B330FA9AC13E5B07E71E74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_58BB5DF72DEF285CC6AE3E5B07E701EC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BE1F19D4B7B330FA9AC13E5B07E71E74" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_58BB5DF72DEF285CC6AE3E5B07E701EC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_58BB5DF72DEF285CC6AE3E5B07E701EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_BE1F19D4B7B330FA9AC13E5B07E71E74" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_58BB5DF72DEF285CC6AE3E5B07E701EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_1AC0C0C5234117325E013E5B07E75ED2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_58BB5DF72DEF285CC6AE3E5B07E701EC" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_1AC0C0C5234117325E013E5B07E75ED2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_12BF395DF9B0E37615613E5B07E78E6C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:to="loc_us-gaap_HedgingDesignationAxis_12BF395DF9B0E37615613E5B07E78E6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_12BF395DF9B0E37615613E5B07E78E6C" xlink:to="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_12BF395DF9B0E37615613E5B07E78E6C" xlink:to="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_BFB741998C28173A89703E5B07E74905" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_BFB741998C28173A89703E5B07E74905" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_5D6451D39869D340E1323E5B07E7F886" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_C5CD040BD6554A637FD53E5B07E776D9" xlink:to="loc_us-gaap_NondesignatedMember_5D6451D39869D340E1323E5B07E7F886" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_57A52DDE2E5D47555E1C3E5B07E7F638" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_57A52DDE2E5D47555E1C3E5B07E7F638" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_57A52DDE2E5D47555E1C3E5B07E7F638" xlink:to="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_57A52DDE2E5D47555E1C3E5B07E7F638" xlink:to="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_2D029E61C0F5FCC3FA593E5B07E7DE7C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B" xlink:to="loc_us-gaap_CashFlowHedgingMember_2D029E61C0F5FCC3FA593E5B07E7DE7C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_63B005B896F1DE2D92CB3E5B07E7E90D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_BD1383FED593A5EAA0FA3E5B07E7AF8B" xlink:to="loc_us-gaap_FairValueHedgingMember_63B005B896F1DE2D92CB3E5B07E7E90D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5A46D5445A05B7BC47EB3E5B07E75152" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5A46D5445A05B7BC47EB3E5B07E75152" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A46D5445A05B7BC47EB3E5B07E75152" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5A46D5445A05B7BC47EB3E5B07E75152" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommodityContractMember" xlink:label="loc_us-gaap_CommodityContractMember_FDE3F48CB553EE24D7403E5B07E727CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:to="loc_us-gaap_CommodityContractMember_FDE3F48CB553EE24D7403E5B07E727CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_2A1824C1D1E64794B9633E5B07E76510" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:to="loc_us-gaap_ForeignExchangeContractMember_2A1824C1D1E64794B9633E5B07E76510" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateContractMember" xlink:label="loc_us-gaap_InterestRateContractMember_1E8A41FB6540EF11AA4C3E5B07E7464B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:to="loc_us-gaap_InterestRateContractMember_1E8A41FB6540EF11AA4C3E5B07E7464B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySwapMember" xlink:label="loc_us-gaap_EquitySwapMember_17BF9467A5EFDC35C9203E5B07E7F93D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_BE91B357A182CC351F1B3E5B07E728F0" xlink:to="loc_us-gaap_EquitySwapMember_17BF9467A5EFDC35C9203E5B07E7F93D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_AC5B4DE4E962AC5109833E5B07E7758B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_8141772A38E04328E3AB3E5B07D7E21D" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_AC5B4DE4E962AC5109833E5B07E7758B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_38BDE9F4E76C26E97E143E5B07E726B5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_AC5B4DE4E962AC5109833E5B07E7758B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_38BDE9F4E76C26E97E143E5B07E726B5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_38BDE9F4E76C26E97E143E5B07E726B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_AC5B4DE4E962AC5109833E5B07E7758B" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_38BDE9F4E76C26E97E143E5B07E726B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_B8542697DFC388C8582D3E5B07E7A155" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_38BDE9F4E76C26E97E143E5B07E726B5" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_B8542697DFC388C8582D3E5B07E7A155" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_F7CDF6C393B3B19371733E5B07E7F08D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:to="loc_us-gaap_DerivativeAssets_F7CDF6C393B3B19371733E5B07E7F08D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_F37FE5511F202FD9F4A43E5B07E7427E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:to="loc_us-gaap_DerivativeLiabilities_F37FE5511F202FD9F4A43E5B07E7427E" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_DerivativeAssetCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading" xlink:label="loc_hsy_DerivativeAssetCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading_7F9836A5E0354AE6DC6A3E5B07E72B3B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:to="loc_hsy_DerivativeAssetCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading_7F9836A5E0354AE6DC6A3E5B07E72B3B" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_DerivativeLiabilityCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading" xlink:label="loc_hsy_DerivativeLiabilityCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading_60514F30C526961E26F23E5B07E7500E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_3388739EC195565951093E5B07E74C96" xlink:to="loc_hsy_DerivativeLiabilityCashTransfersReceivablePayableChangeInQuotedMarketPricesOnTheLastDayOfTrading_60514F30C526961E26F23E5B07E7500E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsEffectsOfDerivativeInstrumentsOnConsolidatedStatementsOfIncomeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_E978AF24A64521C7AB4C3E5BFE0C7B9F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:to="loc_us-gaap_DerivativeTable_E978AF24A64521C7AB4C3E5BFE0C7B9F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_1DEFB08415C0C0B065DE3E5BFE0C508F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_E978AF24A64521C7AB4C3E5BFE0C7B9F" xlink:to="loc_us-gaap_HedgingDesignationAxis_1DEFB08415C0C0B065DE3E5BFE0C508F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_1DEFB08415C0C0B065DE3E5BFE0C508F" xlink:to="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_1DEFB08415C0C0B065DE3E5BFE0C508F" xlink:to="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_32A78A4F109B650EE4533E5BFE0C4711" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3" xlink:to="loc_us-gaap_NondesignatedMember_32A78A4F109B650EE4533E5BFE0C4711" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_CA17AF5CB07FDC1812B53E5BFE0C9C90" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_33C549B2E02269212BAC3E5BFE0C07F3" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_CA17AF5CB07FDC1812B53E5BFE0C9C90" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_958A5EC5B18579EA90183E5BFE0C903F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_E978AF24A64521C7AB4C3E5BFE0C7B9F" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_958A5EC5B18579EA90183E5BFE0C903F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_52C3E81082847B9D2CAF3E5BFE0CF1C1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_958A5EC5B18579EA90183E5BFE0C903F" xlink:to="loc_us-gaap_HedgingRelationshipDomain_52C3E81082847B9D2CAF3E5BFE0CF1C1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_52C3E81082847B9D2CAF3E5BFE0CF1C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_958A5EC5B18579EA90183E5BFE0C903F" xlink:to="loc_us-gaap_HedgingRelationshipDomain_52C3E81082847B9D2CAF3E5BFE0CF1C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_B65C29643FB7DCAFBD603E5BFE0C0E0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_52C3E81082847B9D2CAF3E5BFE0CF1C1" xlink:to="loc_us-gaap_CashFlowHedgingMember_B65C29643FB7DCAFBD603E5BFE0C0E0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_7DE1C412ED282184D6813E5BFE0CD036" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_E978AF24A64521C7AB4C3E5BFE0C7B9F" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_7DE1C412ED282184D6813E5BFE0CD036" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_7DE1C412ED282184D6813E5BFE0CD036" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_7DE1C412ED282184D6813E5BFE0CD036" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommodityContractMember" xlink:label="loc_us-gaap_CommodityContractMember_34E731047DA28579A51A3E5BFE0C7093" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:to="loc_us-gaap_CommodityContractMember_34E731047DA28579A51A3E5BFE0C7093" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_7991BD063BB1892ABBF73E5BFE0C3718" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:to="loc_us-gaap_ForeignExchangeContractMember_7991BD063BB1892ABBF73E5BFE0C3718" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateContractMember" xlink:label="loc_us-gaap_InterestRateContractMember_DCC2786000091DA356063E5BFE0CFA7E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:to="loc_us-gaap_InterestRateContractMember_DCC2786000091DA356063E5BFE0CFA7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySwapMember" xlink:label="loc_us-gaap_EquitySwapMember_69A6F25CD5176D67EFB63E5BFE0C5646" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_7A2A65DE703B203006BD3E5BFE0CEC3C" xlink:to="loc_us-gaap_EquitySwapMember_69A6F25CD5176D67EFB63E5BFE0C5646" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_3019FEAD8329363257C33E5BFE0C4581" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_3019FEAD8329363257C33E5BFE0C4581" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_5329C39219223AAE27893E5BFE0C6CFC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_5329C39219223AAE27893E5BFE0C6CFC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_77EA2BF1224C08DE36773E5BFE0C09E0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_77EA2BF1224C08DE36773E5BFE0C09E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_187389A895426045CEC13E5BFE0C2314" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_1A342C90E50CDA84A53E3E5BFE0CA00F" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_187389A895426045CEC13E5BFE0C2314" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsFairValueOfLongTermDebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EB909FF19C829CE43E5E42694FB1A2DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EB909FF19C829CE43E5E42694FB1A2DF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FD47221B49BB453A81A242694FB16797" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_EB909FF19C829CE43E5E42694FB1A2DF" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FD47221B49BB453A81A242694FB16797" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_18CDF0D7A11DC662EAE042694FB161B8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FD47221B49BB453A81A242694FB16797" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_18CDF0D7A11DC662EAE042694FB161B8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_18CDF0D7A11DC662EAE042694FB161B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FD47221B49BB453A81A242694FB16797" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_18CDF0D7A11DC662EAE042694FB161B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_AA767F8ED84A4C96FF1342694FB11E14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_18CDF0D7A11DC662EAE042694FB161B8" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_AA767F8ED84A4C96FF1342694FB11E14" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LongtermDebtCurrentMaturitiesFairValue" xlink:label="loc_hsy_LongtermDebtCurrentMaturitiesFairValue_382EF4FC9EBB6AC6C79442694FB1EF53" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_hsy_LongtermDebtCurrentMaturitiesFairValue_382EF4FC9EBB6AC6C79442694FB1EF53" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LongtermDebtExcludingCurrentMaturitiesFairValue" xlink:label="loc_hsy_LongtermDebtExcludingCurrentMaturitiesFairValue_B5E11B742B4D4A2B775F42694FB1AD78" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_hsy_LongtermDebtExcludingCurrentMaturitiesFairValue_B5E11B742B4D4A2B775F42694FB1AD78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtFairValue" xlink:label="loc_us-gaap_LongTermDebtFairValue_A04C4007ECE069D5C2A642694FB10668" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_us-gaap_LongTermDebtFairValue_A04C4007ECE069D5C2A642694FB10668" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_4DFC702AA91D92D1560C42694FB180E3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_us-gaap_LongTermDebtCurrent_4DFC702AA91D92D1560C42694FB180E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_584F08DFABDDA30785F442694FB182F1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_584F08DFABDDA30785F442694FB182F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_A2D62CE58BF71BA0FEDA42694FB2E7B8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_589E49FF4051D94F717042694FB17DF4" xlink:to="loc_us-gaap_LongTermDebt_A2D62CE58BF71BA0FEDA42694FB2E7B8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_6A906FDA00991D8146673E5B421A85E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_6A906FDA00991D8146673E5B421A85E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6A906FDA00991D8146673E5B421A85E3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_6A906FDA00991D8146673E5B421A85E3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommodityContractMember" xlink:label="loc_us-gaap_CommodityContractMember_17404BC9A3CA284584603E5B421A8660" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:to="loc_us-gaap_CommodityContractMember_17404BC9A3CA284584603E5B421A8660" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_DCC49F1D00025EFED4693E5B421AC9C4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:to="loc_us-gaap_ForeignExchangeContractMember_DCC49F1D00025EFED4693E5B421AC9C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateContractMember" xlink:label="loc_us-gaap_InterestRateContractMember_FE95AD1757E109538F4A3E5B421ACA71" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:to="loc_us-gaap_InterestRateContractMember_FE95AD1757E109538F4A3E5B421ACA71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquitySwapMember" xlink:label="loc_us-gaap_EquitySwapMember_052D40ADE5CB3077CA353E5B421ABFDC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:to="loc_us-gaap_EquitySwapMember_052D40ADE5CB3077CA353E5B421ABFDC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_D1A8B9242918FC8D46283E5B421A185C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F577B12C4115FBDB96A23E5B421A950E" xlink:to="loc_us-gaap_InterestRateSwapMember_D1A8B9242918FC8D46283E5B421A185C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_288E3A762D591F2741B63E5B421AAC6A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_HedgingDesignationAxis_288E3A762D591F2741B63E5B421AAC6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_288E3A762D591F2741B63E5B421AAC6A" xlink:to="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_288E3A762D591F2741B63E5B421AAC6A" xlink:to="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_83D11DCC08F3FDCD8F213E5B421A472B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_83D11DCC08F3FDCD8F213E5B421A472B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_9F1AF3B35C153D4E23423E5B421A6ED6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_396BACBCB5A6856A6EF33E5B421AEFB3" xlink:to="loc_us-gaap_NondesignatedMember_9F1AF3B35C153D4E23423E5B421A6ED6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_AD2C0B3F3C452AFBABCC3E5B421A18FE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_AD2C0B3F3C452AFBABCC3E5B421A18FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_AD2C0B3F3C452AFBABCC3E5B421A18FE" xlink:to="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_AD2C0B3F3C452AFBABCC3E5B421A18FE" xlink:to="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_215878DF3603EF8D7CFE3E5B421AC0ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8" xlink:to="loc_us-gaap_CashFlowHedgingMember_215878DF3603EF8D7CFE3E5B421AC0ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_23C9D16C27C9D9E8D2993E5B421A3F83" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_EE1CB649A1E25A5444DE3E5B421A07C8" xlink:to="loc_us-gaap_FairValueHedgingMember_23C9D16C27C9D9E8D2993E5B421A3F83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A2EDE4610B7AB93089353E5B421A4DA3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A2EDE4610B7AB93089353E5B421A4DA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A2EDE4610B7AB93089353E5B421A4DA3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_A2EDE4610B7AB93089353E5B421A4DA3" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_042626D66A15865EF3813E5B421A0540" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_042626D66A15865EF3813E5B421A0540" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_A2646A18C4BBE76394A03E5B421AEA23" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_61A1DDAC3A9F777C93773E5B421A3EB8" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_A2646A18C4BBE76394A03E5B421AEA23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_919F435F8B94CA917EE03E5B421A4A92" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_RangeAxis_919F435F8B94CA917EE03E5B421A4A92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_919F435F8B94CA917EE03E5B421A4A92" xlink:to="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_919F435F8B94CA917EE03E5B421A4A92" xlink:to="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_880CBB075C57CFD4CB963E5B421AD023" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59" xlink:to="loc_us-gaap_MinimumMember_880CBB075C57CFD4CB963E5B421AD023" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_5DCC10A3274E590ED3433E5B421A5F43" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_075E07921DD2EBD1D1C63E5B421A0D59" xlink:to="loc_us-gaap_MaximumMember_5DCC10A3274E590ED3433E5B421A5F43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_D658DE48FFF512B138D03E5B421A81C8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_D658DE48FFF512B138D03E5B421A81C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_095CAED70B479B6F85F93E5B421ABD5A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D658DE48FFF512B138D03E5B421A81C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_095CAED70B479B6F85F93E5B421ABD5A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_095CAED70B479B6F85F93E5B421ABD5A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_D658DE48FFF512B138D03E5B421A81C8" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_095CAED70B479B6F85F93E5B421ABD5A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_44D659D7A68EAAC024913E5B421A7A4C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_ConsolidationItemsAxis_44D659D7A68EAAC024913E5B421A7A4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_45B4D7309BA8F9E0FB533E5B421A4D41_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_44D659D7A68EAAC024913E5B421A7A4C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_45B4D7309BA8F9E0FB533E5B421A4D41_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_45B4D7309BA8F9E0FB533E5B421A4D41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_44D659D7A68EAAC024913E5B421A7A4C" xlink:to="loc_us-gaap_ConsolidationItemsDomain_45B4D7309BA8F9E0FB533E5B421A4D41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_90554FE298F9A490CED53E5B421ACAA3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_45B4D7309BA8F9E0FB533E5B421A4D41" xlink:to="loc_us-gaap_OperatingSegmentsMember_90554FE298F9A490CED53E5B421ACAA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_E2EF0E66CCF3ED7D912E3E5B421A964A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_E2EF0E66CCF3ED7D912E3E5B421A964A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_8D31D6701C81F282ED743E5B422A01AA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E2EF0E66CCF3ED7D912E3E5B421A964A" xlink:to="loc_us-gaap_SegmentDomain_8D31D6701C81F282ED743E5B422A01AA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_8D31D6701C81F282ED743E5B422A01AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E2EF0E66CCF3ED7D912E3E5B421A964A" xlink:to="loc_us-gaap_SegmentDomain_8D31D6701C81F282ED743E5B422A01AA" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_InternationalandOtherSegmentMember" xlink:label="loc_hsy_InternationalandOtherSegmentMember_F71B197B99834D7AA5483E5B422AE9E0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_8D31D6701C81F282ED743E5B422A01AA" xlink:to="loc_hsy_InternationalandOtherSegmentMember_F71B197B99834D7AA5483E5B422AE9E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_4E20F1FDC0E742C4E7753E5B422AD318" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_StatementGeographicalAxis_4E20F1FDC0E742C4E7753E5B422AD318" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3F711817E974CDD5A09F3E5B422A5D64_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_4E20F1FDC0E742C4E7753E5B422AD318" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3F711817E974CDD5A09F3E5B422A5D64_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_3F711817E974CDD5A09F3E5B422A5D64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_4E20F1FDC0E742C4E7753E5B422AD318" xlink:to="loc_us-gaap_SegmentGeographicalDomain_3F711817E974CDD5A09F3E5B422A5D64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_10EDD439A7D8A0BEF2773E5B422A3765" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_10EDD439A7D8A0BEF2773E5B422A3765" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2F10F1E077F06C0D3F9C3E5B422A97EB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_10EDD439A7D8A0BEF2773E5B422A3765" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2F10F1E077F06C0D3F9C3E5B422A97EB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2F10F1E077F06C0D3F9C3E5B422A97EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_10EDD439A7D8A0BEF2773E5B422A3765" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2F10F1E077F06C0D3F9C3E5B422A97EB" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_MaunaLoaMacadamiaNutCorporationMember" xlink:label="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_C2935047A9AE6C3773C83E5B422AEB62" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_2F10F1E077F06C0D3F9C3E5B422A97EB" xlink:to="loc_hsy_MaunaLoaMacadamiaNutCorporationMember_C2935047A9AE6C3773C83E5B422AEB62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_7D955189C91D179C833F3E5B422A0C06" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C50FC45CB63F35707C183E5B421AE243" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_7D955189C91D179C833F3E5B422A0C06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_55296C70A02C52B53B573E5B422A41BC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_7D955189C91D179C833F3E5B422A0C06" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_55296C70A02C52B53B573E5B422A41BC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_55296C70A02C52B53B573E5B422A41BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_7D955189C91D179C833F3E5B422A0C06" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_55296C70A02C52B53B573E5B422A41BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpenseMember" xlink:label="loc_us-gaap_InterestExpenseMember_949A78603AB73D9872AB3E5B422AC912" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_55296C70A02C52B53B573E5B422A41BC" xlink:to="loc_us-gaap_InterestExpenseMember_949A78603AB73D9872AB3E5B422AC912" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_MinimumLengthofTimeHedgedinCashFlowHedge" xlink:label="loc_hsy_MinimumLengthofTimeHedgedinCashFlowHedge_C53F91408A375FCC3F353E5B422A92B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_hsy_MinimumLengthofTimeHedgedinCashFlowHedge_C53F91408A375FCC3F353E5B422A92B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumLengthOfTimeHedgedInCashFlowHedge1" xlink:label="loc_us-gaap_MaximumLengthOfTimeHedgedInCashFlowHedge1_2E6159873B7DB01832A03E5B422ACDA0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_MaximumLengthOfTimeHedgedInCashFlowHedge1_2E6159873B7DB01832A03E5B422ACDA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_FFAB03229C31A58EF6053E5B422A16B4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_invest_DerivativeNotionalAmount_FFAB03229C31A58EF6053E5B422A16B4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeTermOfContract" xlink:label="loc_us-gaap_DerivativeTermOfContract_8B8BB6860FA58A87700A3E5B422ABE13" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_DerivativeTermOfContract_8B8BB6860FA58A87700A3E5B422ABE13" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueNetAssetLiability" xlink:label="loc_us-gaap_FairValueNetAssetLiability_00AC57057E80912DD03F3E5B422A0172" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_FairValueNetAssetLiability_00AC57057E80912DD03F3E5B422A0172" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_C739A1C299A076E2DEB63E5B422AC691" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_C739A1C299A076E2DEB63E5B422AC691" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_3D735FCDEF34BBAFB25A3E5B422A02A6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_3D735FCDEF34BBAFB25A3E5B422A02A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1" xlink:label="loc_us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1_060B9C76416697B35CB83E5B422AE27F" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_F5FB78FAC2B81CEAA4313E5B422A8A2C" xlink:to="loc_us-gaap_IncreaseDecreaseInFairValueOfHedgedItemInInterestRateFairValueHedge1_060B9C76416697B35CB83E5B422AE27F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/DerivativeInstrumentsAndFairValueMeasurementsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/DocumentAndEntityInformation" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationLineItems" xlink:label="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationTable" xlink:label="loc_dei_DocumentInformationTable_E13CC5E4516920FAB8D73E5BFF920B96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_DocumentInformationTable_E13CC5E4516920FAB8D73E5BFF920B96" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_C7EA2100375252127C043E5BFF9272C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_E13CC5E4516920FAB8D73E5BFF920B96" xlink:to="loc_us-gaap_StatementClassOfStockAxis_C7EA2100375252127C043E5BFF9272C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C7EA2100375252127C043E5BFF9272C5" xlink:to="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_C7EA2100375252127C043E5BFF9272C5" xlink:to="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_6C88C1C2A880401747503E5BFF929B89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476" xlink:to="loc_hsy_HersheyCommonStockMember_6C88C1C2A880401747503E5BFF929B89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_95F8F4AEB4A4F1AB6B8D3E5BFF92EA03" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1DC3A447D444BF08F8733E5BFF925476" xlink:to="loc_us-gaap_CommonClassBMember_95F8F4AEB4A4F1AB6B8D3E5BFF92EA03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_D31DB7B5E46746058A2F3E5BFF923027" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityRegistrantName_D31DB7B5E46746058A2F3E5BFF923027" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_983712642F07F4BA096A3E5BFF929FFD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityCentralIndexKey_983712642F07F4BA096A3E5BFF929FFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_41EAF1BAE4A20762676A3E5BFF927808" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_CurrentFiscalYearEndDate_41EAF1BAE4A20762676A3E5BFF927808" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_BC14AB9177C3956B99063E5BFF929A62" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityFilerCategory_BC14AB9177C3956B99063E5BFF929A62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_75F4C19A87E27A89984D3E5BFF922B59" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_DocumentType_75F4C19A87E27A89984D3E5BFF922B59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_768F5AC6286AFC8BE4AE3E5BFF925DB9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_DocumentPeriodEndDate_768F5AC6286AFC8BE4AE3E5BFF925DB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_52BC89666EAEE7FDC5633E5BFF929A2E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_DocumentFiscalYearFocus_52BC89666EAEE7FDC5633E5BFF929A2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_3F5D7C6D50EB927744F03E5BFF9225FF" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_DocumentFiscalPeriodFocus_3F5D7C6D50EB927744F03E5BFF9225FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_3C4EEA128A42E34FC05C3E5BFF922D89" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_AmendmentFlag_3C4EEA128A42E34FC05C3E5BFF922D89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_E5C1BA5E279F1CD116FC3E5BFF92681B" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_E5C1BA5E279F1CD116FC3E5BFF92681B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_DF12C537DAE9AC23CDB23E5BFF92F44F" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_DF12C537DAE9AC23CDB23E5BFF92F44F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_0F3C9D1CFFCD235E6E7A3E5BFF929249" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityVoluntaryFilers_0F3C9D1CFFCD235E6E7A3E5BFF929249" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_6C78D78E9AA0DA4FCAD03E5BFF921D98" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityCurrentReportingStatus_6C78D78E9AA0DA4FCAD03E5BFF921D98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_489A86A0991F59E28E523E69A99AABD4" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_D5A3E250E492FD6307273E5BFF92937E" xlink:to="loc_dei_EntityPublicFloat_489A86A0991F59E28E523E69A99AABD4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/EarningsPerShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/EarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasicLineItems" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_00E77DC0EB40014206D85EC3F4941294" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_429FF7D6CB9168B6458F5EC3F4942BB2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_00E77DC0EB40014206D85EC3F4941294" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_429FF7D6CB9168B6458F5EC3F4942BB2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_454C54EE07DF63A2B99F5EC3F494D477" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_429FF7D6CB9168B6458F5EC3F4942BB2" xlink:to="loc_us-gaap_StatementClassOfStockAxis_454C54EE07DF63A2B99F5EC3F494D477" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_454C54EE07DF63A2B99F5EC3F494D477" xlink:to="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_454C54EE07DF63A2B99F5EC3F494D477" xlink:to="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_HersheyCommonStockMember" xlink:label="loc_hsy_HersheyCommonStockMember_071882D8E66C090A8EB25EC3F494A627" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2" xlink:to="loc_hsy_HersheyCommonStockMember_071882D8E66C090A8EB25EC3F494A627" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_6765DEFCA78A4D21F5EF5EC3F494FFC6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_C1EBD87C6D949ABE51015EC3F49439A2" xlink:to="loc_us-gaap_CommonClassBMember_6765DEFCA78A4D21F5EF5EC3F494FFC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_71373064861882D1142F5EC3F49497CA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_429FF7D6CB9168B6458F5EC3F4942BB2" xlink:to="loc_us-gaap_AwardTypeAxis_71373064861882D1142F5EC3F49497CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_71373064861882D1142F5EC3F49497CA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_71373064861882D1142F5EC3F49497CA" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_D2990FF0A970FC79C2AC5EC3F494E90E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_D2990FF0A970FC79C2AC5EC3F494E90E" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember" xlink:label="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_3F6E0BCE3C1B1C9D9F985EC3F49493A1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_404A45A63BB6BB8C42405EC3F494BC1E" xlink:to="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_3F6E0BCE3C1B1C9D9F985EC3F49493A1" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_DividendsCommonStockCashAdditionalPercentageOverClassBCommonStockDividends" xlink:label="loc_hsy_DividendsCommonStockCashAdditionalPercentageOverClassBCommonStockDividends_4810C7967872B9D8F6AA5EC465DE149D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_00E77DC0EB40014206D85EC3F4941294" xlink:to="loc_hsy_DividendsCommonStockCashAdditionalPercentageOverClassBCommonStockDividends_4810C7967872B9D8F6AA5EC465DE149D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasicTwoClassMethodAbstract" xlink:label="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_00E77DC0EB40014206D85EC3F4941294" xlink:to="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Dividends" xlink:label="loc_us-gaap_Dividends_434A1962132C9F0632CD5EC3F4943396" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:to="loc_us-gaap_Dividends_434A1962132C9F0632CD5EC3F4943396" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_1FE0A9155E3155F3D9505EC3F4943DE5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_1FE0A9155E3155F3D9505EC3F4943DE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_46B779BDB77B671BE3975EC3F4948215" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossBasic_46B779BDB77B671BE3975EC3F4948215" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_60F2F5241E5CF5D6955B5EC3F4944E92" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_60F2F5241E5CF5D6955B5EC3F4944E92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1F40726251EF62D087A55EC3F4941CD0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicTwoClassMethodAbstract_3CBBD498096370D4F72A5EC3F494E620" xlink:to="loc_us-gaap_EarningsPerShareBasic_1F40726251EF62D087A55EC3F4941CD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract" xlink:label="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_00E77DC0EB40014206D85EC3F4941294" xlink:to="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DistributedEarnings" xlink:label="loc_us-gaap_DistributedEarnings_40340CA4D5CCFA866F2C5EC3F4946601" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_DistributedEarnings_40340CA4D5CCFA866F2C5EC3F4946601" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_58AD10345001628C85C25EC3F4944B78" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_58AD10345001628C85C25EC3F4944B78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted" xlink:label="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_0774E5BEC6123BAF97AC5EC3F494D0B6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_ParticipatingSecuritiesDistributedAndUndistributedEarningsLossDiluted_0774E5BEC6123BAF97AC5EC3F494D0B6" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_IncrementalCommonSharesAttributabletoDilutiveEffectofConversionofCommonStock" xlink:label="loc_hsy_IncrementalCommonSharesAttributabletoDilutiveEffectofConversionofCommonStock_B79F0A1395553A10E45B5EC3F494FC29" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_hsy_IncrementalCommonSharesAttributabletoDilutiveEffectofConversionofCommonStock_B79F0A1395553A10E45B5EC3F494FC29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_BED9A32A1245567776955EC3F494651B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_BED9A32A1245567776955EC3F494651B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_39E8EB1F164F2F22C9235EC3F4946B6B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_39E8EB1F164F2F22C9235EC3F4946B6B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_A6B067CCF18649FF1F985EC3F4944360" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedTwoClassMethodAbstract_2C1AF4B2D360358D97C25EC3F494C2D0" xlink:to="loc_us-gaap_EarningsPerShareDiluted_A6B067CCF18649FF1F985EC3F4944360" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/EarningsPerShareNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F904649EC73E7C0A86D442695079859A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_219FD16FA73992D0CF4B42695079F22B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F904649EC73E7C0A86D442695079859A" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_219FD16FA73992D0CF4B42695079F22B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B91FEB03A27E3D4F96BC42695079AC0A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_219FD16FA73992D0CF4B42695079F22B" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B91FEB03A27E3D4F96BC42695079AC0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1AA6CC2829C477657F53426950798F4E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B91FEB03A27E3D4F96BC42695079AC0A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1AA6CC2829C477657F53426950798F4E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1AA6CC2829C477657F53426950798F4E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B91FEB03A27E3D4F96BC42695079AC0A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1AA6CC2829C477657F53426950798F4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_E3E190D1228D340CBB4E426950796F98" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1AA6CC2829C477657F53426950798F4E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_E3E190D1228D340CBB4E426950796F98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_B4F16B900656A31443D142695079020C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_F904649EC73E7C0A86D442695079859A" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_B4F16B900656A31443D142695079020C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/EarningsPerShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssets" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsCarryingAmountsAndAccumulatedAmortizationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7622359CFBE64F3AC92E4FF37B51EE0F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7622359CFBE64F3AC92E4FF37B51EE0F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CD0CA42B93CE2F784D314FF37B519044" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7622359CFBE64F3AC92E4FF37B51EE0F" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CD0CA42B93CE2F784D314FF37B519044" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2A81EEE7DB7C8131E36C4FF37B512F34_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CD0CA42B93CE2F784D314FF37B519044" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2A81EEE7DB7C8131E36C4FF37B512F34_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2A81EEE7DB7C8131E36C4FF37B512F34" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CD0CA42B93CE2F784D314FF37B519044" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2A81EEE7DB7C8131E36C4FF37B512F34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_634DF667CE4E3EB8429F4FF37B518636" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_2A81EEE7DB7C8131E36C4FF37B512F34" xlink:to="loc_us-gaap_TrademarksMember_634DF667CE4E3EB8429F4FF37B518636" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08F78A58DACB6039A3F94FF37B51CF4C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_7622359CFBE64F3AC92E4FF37B51EE0F" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08F78A58DACB6039A3F94FF37B51CF4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1C6B9F9DB57A69AAA1944FF37B51A28A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08F78A58DACB6039A3F94FF37B51CF4C" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1C6B9F9DB57A69AAA1944FF37B51A28A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1C6B9F9DB57A69AAA1944FF37B51A28A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08F78A58DACB6039A3F94FF37B51CF4C" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1C6B9F9DB57A69AAA1944FF37B51A28A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_98DA7636AF1BD5190CF54FF37B51CEAA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1C6B9F9DB57A69AAA1944FF37B51A28A" xlink:to="loc_us-gaap_TrademarksMember_98DA7636AF1BD5190CF54FF37B51CEAA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_27BFCDA76F61844E41C34FF37B521D03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_27BFCDA76F61844E41C34FF37B521D03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_F1B58E0B06E3EBE6CD654FF37B52A4C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_F1B58E0B06E3EBE6CD654FF37B52A4C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_550747A18A1208DF84C44FF37B526FA6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_550747A18A1208DF84C44FF37B526FA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5469726039A6224539AC4FF37B529A58" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4D19A7252EA64304CB824FF37B51AEEC" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_5469726039A6224539AC4FF37B529A58" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsFutureEstimatedAmortizationExpenseDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_E36A2A85AE85903D63BD3E5B1771354D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_E36A2A85AE85903D63BD3E5B1771354D" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_D1EEF8FA3830B87C0ADF3E5B17716801" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:to="loc_us-gaap_ConsolidationItemsAxis_D1EEF8FA3830B87C0ADF3E5B17716801" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2445FF3CF876EA312F523E5B1771DBBC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_D1EEF8FA3830B87C0ADF3E5B17716801" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2445FF3CF876EA312F523E5B1771DBBC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_2445FF3CF876EA312F523E5B1771DBBC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_D1EEF8FA3830B87C0ADF3E5B17716801" xlink:to="loc_us-gaap_ConsolidationItemsDomain_2445FF3CF876EA312F523E5B1771DBBC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_C32702ACCA2974B18E973E5B177111E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_2445FF3CF876EA312F523E5B1771DBBC" xlink:to="loc_us-gaap_OperatingSegmentsMember_C32702ACCA2974B18E973E5B177111E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_FC6F19C694E1132AE0DB3E5B17717FBE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_FC6F19C694E1132AE0DB3E5B17717FBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DB87BDAF265FCCB5C8C63E5B1771C546_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_FC6F19C694E1132AE0DB3E5B17717FBE" xlink:to="loc_us-gaap_SegmentDomain_DB87BDAF265FCCB5C8C63E5B1771C546_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_DB87BDAF265FCCB5C8C63E5B1771C546" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_FC6F19C694E1132AE0DB3E5B17717FBE" xlink:to="loc_us-gaap_SegmentDomain_DB87BDAF265FCCB5C8C63E5B1771C546" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_InternationalandOtherSegmentMember" xlink:label="loc_hsy_InternationalandOtherSegmentMember_66ABE2C8A978CD60E9AA3E5B177174F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_DB87BDAF265FCCB5C8C63E5B1771C546" xlink:to="loc_hsy_InternationalandOtherSegmentMember_66ABE2C8A978CD60E9AA3E5B177174F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_58993DE53363040281093E5B1771FBA8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:to="loc_us-gaap_StatementGeographicalAxis_58993DE53363040281093E5B1771FBA8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_ED0DCDAB287D434CCC7B3E5B1771BDE3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_58993DE53363040281093E5B1771FBA8" xlink:to="loc_us-gaap_SegmentGeographicalDomain_ED0DCDAB287D434CCC7B3E5B1771BDE3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_ED0DCDAB287D434CCC7B3E5B1771BDE3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_58993DE53363040281093E5B1771FBA8" xlink:to="loc_us-gaap_SegmentGeographicalDomain_ED0DCDAB287D434CCC7B3E5B1771BDE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1AF781C91F86C03463FD3E5B1771489B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_6E2DFC4C870CB9071F903E5B17716509" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1AF781C91F86C03463FD3E5B1771489B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_70F5E757911E92691FF53E5B17719563_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1AF781C91F86C03463FD3E5B1771489B" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_70F5E757911E92691FF53E5B17719563_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_70F5E757911E92691FF53E5B17719563" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_1AF781C91F86C03463FD3E5B1771489B" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_70F5E757911E92691FF53E5B17719563" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_7AB75749CADCE7E6153E3E5B17716E05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_70F5E757911E92691FF53E5B17719563" xlink:to="loc_us-gaap_TrademarksMember_7AB75749CADCE7E6153E3E5B17716E05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_C6FC2FC5920EAF8FF3733E5B17710E6F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_E36A2A85AE85903D63BD3E5B1771354D" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_C6FC2FC5920EAF8FF3733E5B17710E6F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsSummaryOfChangesInCarryingValueOfGoodwillByReportableSegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillLineItems" xlink:label="loc_us-gaap_GoodwillLineItems_AC3248D553C0C9D700964DDE15FDC10A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfGoodwillTable" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_CDAABD896131C94D9BF24DDE15FCD6C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_AC3248D553C0C9D700964DDE15FDC10A" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_CDAABD896131C94D9BF24DDE15FCD6C4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_7FA4A45181A8039017A34DDE15FC8521" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CDAABD896131C94D9BF24DDE15FCD6C4" xlink:to="loc_us-gaap_ConsolidationItemsAxis_7FA4A45181A8039017A34DDE15FC8521" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_311C7BD1F0830ABD5E4E4DDE15FC34AA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7FA4A45181A8039017A34DDE15FC8521" xlink:to="loc_us-gaap_ConsolidationItemsDomain_311C7BD1F0830ABD5E4E4DDE15FC34AA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_311C7BD1F0830ABD5E4E4DDE15FC34AA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_7FA4A45181A8039017A34DDE15FC8521" xlink:to="loc_us-gaap_ConsolidationItemsDomain_311C7BD1F0830ABD5E4E4DDE15FC34AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_0EF2202EB2AE9976C2754DDE15FC61C3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_311C7BD1F0830ABD5E4E4DDE15FC34AA" xlink:to="loc_us-gaap_OperatingSegmentsMember_0EF2202EB2AE9976C2754DDE15FC61C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_E751130133C19C5239814DDE15FCBF31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_CDAABD896131C94D9BF24DDE15FCD6C4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_E751130133C19C5239814DDE15FCBF31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E751130133C19C5239814DDE15FCBF31" xlink:to="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_E751130133C19C5239814DDE15FCBF31" xlink:to="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_NorthAmericaSegmentMember" xlink:label="loc_hsy_NorthAmericaSegmentMember_82206A0C681024BF08684DDE15FDD3BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD" xlink:to="loc_hsy_NorthAmericaSegmentMember_82206A0C681024BF08684DDE15FDD3BC" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_InternationalandOtherSegmentMember" xlink:label="loc_hsy_InternationalandOtherSegmentMember_61FBC7B98553767C3E394DDE15FD720B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_84314B96B954DF2818B24DDE15FCE9CD" xlink:to="loc_hsy_InternationalandOtherSegmentMember_61FBC7B98553767C3E394DDE15FD720B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillRollForward" xlink:label="loc_us-gaap_GoodwillRollForward_1BE50685C26BB61CBE824DDE15FDCED5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_AC3248D553C0C9D700964DDE15FDC10A" xlink:to="loc_us-gaap_GoodwillRollForward_1BE50685C26BB61CBE824DDE15FDCED5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_6EDE632C1AB4A9690C374DDE15FD2FA4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_1BE50685C26BB61CBE824DDE15FDCED5" xlink:to="loc_us-gaap_Goodwill_6EDE632C1AB4A9690C374DDE15FD2FA4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GoodwillTranslationAdjustments" xlink:label="loc_us-gaap_GoodwillTranslationAdjustments_9163EDF744680F2485674DDE15FD623D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_1BE50685C26BB61CBE824DDE15FDCED5" xlink:to="loc_us-gaap_GoodwillTranslationAdjustments_9163EDF744680F2485674DDE15FD623D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/GoodwillAndIntangibleAssetsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/IncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/IncomeTaxesIncomeBeforeTaxesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxContingencyLineItems" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxContingencyTable" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_371FB5C82A2627F84BFF547D09644AC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_371FB5C82A2627F84BFF547D09644AC3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_970A94EE8715BB0856D6547D0964AC26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_371FB5C82A2627F84BFF547D09644AC3" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_970A94EE8715BB0856D6547D0964AC26" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_CDFF5CB91E29264C6847547D09647DCE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_970A94EE8715BB0856D6547D0964AC26" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_CDFF5CB91E29264C6847547D09647DCE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_CDFF5CB91E29264C6847547D09647DCE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_970A94EE8715BB0856D6547D0964AC26" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_CDFF5CB91E29264C6847547D09647DCE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_8E6A6F79F70DBBA02EFD547D09650BC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_CDFF5CB91E29264C6847547D09647DCE" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_8E6A6F79F70DBBA02EFD547D09650BC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_6007990B1748658AA1DA547D096588A5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_371FB5C82A2627F84BFF547D09644AC3" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_6007990B1748658AA1DA547D096588A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_DE5B62CDE404772D0A4C547D0965B248_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_6007990B1748658AA1DA547D096588A5" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_DE5B62CDE404772D0A4C547D0965B248_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain" xlink:label="loc_us-gaap_EquityMethodInvesteeNameDomain_DE5B62CDE404772D0A4C547D0965B248" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_6007990B1748658AA1DA547D096588A5" xlink:to="loc_us-gaap_EquityMethodInvesteeNameDomain_DE5B62CDE404772D0A4C547D0965B248" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PartnershipsQualifyingForTaxCreditsMember" xlink:label="loc_hsy_PartnershipsQualifyingForTaxCreditsMember_141FB9ACB4433D24D0B6547D0965B6A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvesteeNameDomain_DE5B62CDE404772D0A4C547D0965B248" xlink:to="loc_hsy_PartnershipsQualifyingForTaxCreditsMember_141FB9ACB4433D24D0B6547D0965B6A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_15406E1C20A303516383547DD1F96069" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_15406E1C20A303516383547DD1F96069" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9F947CE035C1D170EACB547DD27053AF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_9F947CE035C1D170EACB547DD27053AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_384F11982AA4E8EDAB45547D0965A965" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleAmountOfUnrecordedBenefit_384F11982AA4E8EDAB45547D0965A965" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxCreditsAndAdjustments" xlink:label="loc_us-gaap_IncomeTaxCreditsAndAdjustments_DF95767B9FCDE7298E78547D09655DCA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_IncomeTaxCreditsAndAdjustments_DF95767B9FCDE7298E78547D09655DCA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_7D6EF577B6E3165657A3547D09655727" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_B356264671D738C0AE22547D09656EF4" xlink:to="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_7D6EF577B6E3165657A3547D09655727" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/IncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiaries" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterestLineItems" xlink:label="loc_us-gaap_MinorityInterestLineItems_C8D67C6222C5A30E84B059252127BF6C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterestTable" xlink:label="loc_us-gaap_MinorityInterestTable_BD3C1F6F076E094394FC59252127E398" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_C8D67C6222C5A30E84B059252127BF6C" xlink:to="loc_us-gaap_MinorityInterestTable_BD3C1F6F076E094394FC59252127E398" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_F7B8CF6A88980C5E814B59252127F34D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_BD3C1F6F076E094394FC59252127E398" xlink:to="loc_dei_LegalEntityAxis_F7B8CF6A88980C5E814B59252127F34D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8AD76BF9B427A31E5DBB592521279969_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_F7B8CF6A88980C5E814B59252127F34D" xlink:to="loc_dei_EntityDomain_8AD76BF9B427A31E5DBB592521279969_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8AD76BF9B427A31E5DBB592521279969" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_F7B8CF6A88980C5E814B59252127F34D" xlink:to="loc_dei_EntityDomain_8AD76BF9B427A31E5DBB592521279969" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LotteShanghaiFoodCompanyMember" xlink:label="loc_hsy_LotteShanghaiFoodCompanyMember_6939FAC19C8838D60C4F592521276D55" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_8AD76BF9B427A31E5DBB592521279969" xlink:to="loc_hsy_LotteShanghaiFoodCompanyMember_6939FAC19C8838D60C4F592521276D55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_16BFBB08924CC829555B59252127B1FB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_BD3C1F6F076E094394FC59252127E398" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_16BFBB08924CC829555B59252127B1FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_062ED2C966058A5FF9B159252127F10B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_16BFBB08924CC829555B59252127B1FB" xlink:to="loc_us-gaap_EquityComponentDomain_062ED2C966058A5FF9B159252127F10B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_062ED2C966058A5FF9B159252127F10B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_16BFBB08924CC829555B59252127B1FB" xlink:to="loc_us-gaap_EquityComponentDomain_062ED2C966058A5FF9B159252127F10B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_1EB3423A4133D787D44B592521278B04" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_062ED2C966058A5FF9B159252127F10B" xlink:to="loc_us-gaap_NoncontrollingInterestMember_1EB3423A4133D787D44B592521278B04" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_DD254F89A295EE31F3665925212789EE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_C8D67C6222C5A30E84B059252127BF6C" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_DD254F89A295EE31F3665925212789EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MovementInMinorityInterestRollForward" xlink:label="loc_us-gaap_MovementInMinorityInterestRollForward_5D685C0D3379A875F145592521271203" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_C8D67C6222C5A30E84B059252127BF6C" xlink:to="loc_us-gaap_MovementInMinorityInterestRollForward_5D685C0D3379A875F145592521271203" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_A42526DDA07482670D17592521278AE4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInMinorityInterestRollForward_5D685C0D3379A875F145592521271203" xlink:to="loc_us-gaap_MinorityInterest_A42526DDA07482670D17592521278AE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_221C60EF0DC99721C5BE59252127385D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInMinorityInterestRollForward_5D685C0D3379A875F145592521271203" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_221C60EF0DC99721C5BE59252127385D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToNoncontrollingInterest_623064FAC16D312B198159252127C6D2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInMinorityInterestRollForward_5D685C0D3379A875F145592521271203" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxPortionAttributableToNoncontrollingInterest_623064FAC16D312B198159252127C6D2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/NoncontrollingInterestsInSubsidiariesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNet" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNetDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_621ED24B1B791B519B4359252117934D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_621ED24B1B791B519B4359252117934D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_5B2856CF01D384ABEFAD5925211789C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_621ED24B1B791B519B4359252117934D" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_5B2856CF01D384ABEFAD5925211789C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_5B2856CF01D384ABEFAD5925211789C5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_5B2856CF01D384ABEFAD5925211789C5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NonoperatingIncomeExpenseMember" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseMember_CF971F25B25C4B2AF0AF592521177A48" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseMember_CF971F25B25C4B2AF0AF592521177A48" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_D34060871779A2C9C7B459252117D789" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_660F1372444E343BA713592521173348" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_D34060871779A2C9C7B459252117D789" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C03032E2ED471FDCEAF959252117EA7C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_621ED24B1B791B519B4359252117934D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C03032E2ED471FDCEAF959252117EA7C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ED4192571DF859FE7E1C59252117ECBB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C03032E2ED471FDCEAF959252117EA7C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ED4192571DF859FE7E1C59252117ECBB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ED4192571DF859FE7E1C59252117ECBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C03032E2ED471FDCEAF959252117EA7C" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ED4192571DF859FE7E1C59252117ECBB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TrademarksMember" xlink:label="loc_us-gaap_TrademarksMember_890DAA2BCDBDF12F9EB3592521178A98" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_ED4192571DF859FE7E1C59252117ECBB" xlink:to="loc_us-gaap_TrademarksMember_890DAA2BCDBDF12F9EB3592521178A98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_8429CAFC8B1C63CE54E059252117D764" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_621ED24B1B791B519B4359252117934D" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_8429CAFC8B1C63CE54E059252117D764" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85BFA492CED1A909695A5925211774E4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8429CAFC8B1C63CE54E059252117D764" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85BFA492CED1A909695A5925211774E4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85BFA492CED1A909695A5925211774E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8429CAFC8B1C63CE54E059252117D764" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85BFA492CED1A909695A5925211774E4" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member" xlink:label="loc_hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member_DE0063CCB4CDF948631D59252117A5ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_85BFA492CED1A909695A5925211774E4" xlink:to="loc_hsy_ShanghaiGoldenMonkeyFoodJointStockCo.Ltd.Member_DE0063CCB4CDF948631D59252117A5ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PriorPeriodReclassificationAdjustment" xlink:label="loc_us-gaap_PriorPeriodReclassificationAdjustment_88E62661AB3BF19B5D0D5925211719C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_PriorPeriodReclassificationAdjustment_88E62661AB3BF19B5D0D5925211719C7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_24736A3EAC52E090880759252117EA6E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_24736A3EAC52E090880759252117EA6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount" xlink:label="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_8F55A24F55867E95A1E059252117537D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_BusinessCombinationBargainPurchaseGainRecognizedAmount_8F55A24F55867E95A1E059252117537D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnDispositionOfIntangibleAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_ED4C3118B138AAD1E82A59252117DA7B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_GainLossOnDispositionOfIntangibleAssets_ED4C3118B138AAD1E82A59252117DA7B" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_OtherNonoperatingGainLoss" xlink:label="loc_hsy_OtherNonoperatingGainLoss_EDC49F9959C9FAF76D3759252117FA10" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_hsy_OtherNonoperatingGainLoss_EDC49F9959C9FAF76D3759252117FA10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_A24284A423FE7A9F90C159252117DA22" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_051EC846BCA776F4FDFC592521176B8B" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_A24284A423FE7A9F90C159252117DA22" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/OtherIncomeExpenseNetTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansAmountsExpectedToBeAmortizedFromAociIntoNetPeriodicBenefitDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_EE9CEC98BC0CEBF53D323E5BFD514A7D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E83B7095883EC3343A353E5BFD51B0EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_EE9CEC98BC0CEBF53D323E5BFD514A7D" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E83B7095883EC3343A353E5BFD51B0EA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_6A27037599FC5919218D3E5BFD517F7C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E83B7095883EC3343A353E5BFD51B0EA" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_6A27037599FC5919218D3E5BFD517F7C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_6A27037599FC5919218D3E5BFD517F7C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_6A27037599FC5919218D3E5BFD517F7C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_AC96021D94BD3AF487B43E5BFD511F66" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_AC96021D94BD3AF487B43E5BFD511F66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_DEF0BAB128716AC918893E5BFD5126C5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_980F8A7826785FEF7ED13E5BFD51787E" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_DEF0BAB128716AC918893E5BFD5126C5" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansComponentsOfNetPeriodicBenefitCostDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_083E2F1B560EC8B701C14FF37ACF691F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E366DD3C0F927DE32E154FF37ACE9B6D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_083E2F1B560EC8B701C14FF37ACF691F" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E366DD3C0F927DE32E154FF37ACE9B6D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_368FFB6C73A6B6F22F694FF37ACE232B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_E366DD3C0F927DE32E154FF37ACE9B6D" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_368FFB6C73A6B6F22F694FF37ACE232B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_368FFB6C73A6B6F22F694FF37ACE232B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_368FFB6C73A6B6F22F694FF37ACE232B" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_11B5D27819389D04FCEC4FF37ACF2D59" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_11B5D27819389D04FCEC4FF37ACF2D59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_59790A792442154951454FF37ACFB699" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_4ECBDC2D6232AFA73A1E4FF37ACFA088" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_59790A792442154951454FF37ACFB699" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_083E2F1B560EC8B701C14FF37ACF691F" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_AC6704CBACB57FA7A5CD4FF37ACF374F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_AC6704CBACB57FA7A5CD4FF37ACF374F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_5BFCFB4A78BD815168764FF37ACF46AB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_5BFCFB4A78BD815168764FF37ACF46AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_57605C94355208AAAAEF4FF37ACF9363" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_57605C94355208AAAAEF4FF37ACF9363" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_A1DAD06A013B4141916B4FF37ACF44E7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_A1DAD06A013B4141916B4FF37ACF44E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_7CD23A5F790F5D2F0BF74FF37ACF5376" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_7CD23A5F790F5D2F0BF74FF37ACF5376" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_63FA1EA13B977C49855C4FF37ACFF3A7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_A6E31AB275EE496C6C8B4FF37ACF38E4" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_63FA1EA13B977C49855C4FF37ACFF3A7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansExpectedBenefitPaymentsToBePaidDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_053EDBDDC912CADA071F3E5BFD036966" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7B03B0E939209C51B6003E5BFD037790" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_053EDBDDC912CADA071F3E5BFD036966" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7B03B0E939209C51B6003E5BFD037790" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EBF36BDD1583EF35F0913E5BFD03A37C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7B03B0E939209C51B6003E5BFD037790" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EBF36BDD1583EF35F0913E5BFD03A37C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EBF36BDD1583EF35F0913E5BFD03A37C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EBF36BDD1583EF35F0913E5BFD03A37C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_F8991C557D0CDDA5E5D43E5BFD037B20" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_F8991C557D0CDDA5E5D43E5BFD037B20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_A73EBD1EDE16C93118BF3E5BFD03E1C6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_FE2F1F9E42677A2EEF373E5BFD034F2C" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_A73EBD1EDE16C93118BF3E5BFD03E1C6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7C9E221F00F3A2D9B9FA4FF37AD8800E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_26F5EE05E35C0D2E2F3E4FF37AD84976" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7C9E221F00F3A2D9B9FA4FF37AD8800E" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_26F5EE05E35C0D2E2F3E4FF37AD84976" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_125868CFC09B00458EA64FF37AD8AC23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_26F5EE05E35C0D2E2F3E4FF37AD84976" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_125868CFC09B00458EA64FF37AD8AC23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_125868CFC09B00458EA64FF37AD8AC23" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_125868CFC09B00458EA64FF37AD8AC23" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_FFAFBC83AF59494C45594FF37AD80569" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_FFAFBC83AF59494C45594FF37AD80569" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_FD0E5DF5AA86D6BE66C54FF37AD88918" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_FD0E5DF5AA86D6BE66C54FF37AD88918" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_CE9E25411FFE90995B3E4FF37AD83A56" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_AD0166C5B86D255454634FF37AD8E841" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_CE9E25411FFE90995B3E4FF37AD83A56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_DEB094C600E87B8264574FF37AD885F5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_26F5EE05E35C0D2E2F3E4FF37AD84976" xlink:to="loc_us-gaap_StatementScenarioAxis_DEB094C600E87B8264574FF37AD885F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_980072C2A0B1C01C1CC84FF37AD817DE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_DEB094C600E87B8264574FF37AD885F5" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_980072C2A0B1C01C1CC84FF37AD817DE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_980072C2A0B1C01C1CC84FF37AD817DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_DEB094C600E87B8264574FF37AD885F5" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_980072C2A0B1C01C1CC84FF37AD817DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_EFD105BDB8C48B4F81E44FF37AD87D1A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_7C9E221F00F3A2D9B9FA4FF37AD8800E" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_EFD105BDB8C48B4F81E44FF37AD87D1A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansOnePercentChangeInAssumedHealthCareTrendRateEffectsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPensionPlanAssetsWithinFairValueHierarchyDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_AECC7D15C3C186F2820E3E5BFD12D10E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B5EF07033CB62995D79E3E5BFD12B840" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_AECC7D15C3C186F2820E3E5BFD12D10E" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B5EF07033CB62995D79E3E5BFD12B840" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_489E251621E13357FD1E3E5BFD12D66C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B5EF07033CB62995D79E3E5BFD12B840" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_489E251621E13357FD1E3E5BFD12D66C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_B7A632CB883320ECAFF93E5BFD12AE60_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_489E251621E13357FD1E3E5BFD12D66C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_B7A632CB883320ECAFF93E5BFD12AE60_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_B7A632CB883320ECAFF93E5BFD12AE60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_489E251621E13357FD1E3E5BFD12D66C" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_B7A632CB883320ECAFF93E5BFD12AE60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_DEDEB85BAC8E79071B9D3E5BFD124554" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_B7A632CB883320ECAFF93E5BFD12AE60" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_DEDEB85BAC8E79071B9D3E5BFD124554" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7426669228DBEB3156003E5BFD12BA61" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B5EF07033CB62995D79E3E5BFD12B840" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7426669228DBEB3156003E5BFD12BA61" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_FE6F5F4668E1B5E188893E5BFD12E2B4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7426669228DBEB3156003E5BFD12BA61" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_FE6F5F4668E1B5E188893E5BFD12E2B4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_FE6F5F4668E1B5E188893E5BFD12E2B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_7426669228DBEB3156003E5BFD12BA61" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_FE6F5F4668E1B5E188893E5BFD12E2B4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B64259C3BC1C49A9A3F83E5BFD12E74A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_B5EF07033CB62995D79E3E5BFD12B840" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B64259C3BC1C49A9A3F83E5BFD12E74A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B64259C3BC1C49A9A3F83E5BFD12E74A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_B64259C3BC1C49A9A3F83E5BFD12E74A" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_198B75351CC1AAD9DB413E5BFD121C14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_198B75351CC1AAD9DB413E5BFD121C14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_FE7D1891069C633855D13E5BFD127735" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_FE7D1891069C633855D13E5BFD127735" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_44E255C574A7E55B60CC3E5BFD1274E2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62FC4432C2C111EBA13E3E5BFD123CBB" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_44E255C574A7E55B60CC3E5BFD1274E2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansSummaryOfPlanAssetsAcrossAssetClassesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_213582FDE8A4CBA712403E5BFD121BAD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5F7764010F06FA28B2193E5BFD129175" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_213582FDE8A4CBA712403E5BFD121BAD" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5F7764010F06FA28B2193E5BFD129175" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_BC0D6117F10E171790CD3E5BFD1234E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5F7764010F06FA28B2193E5BFD129175" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_BC0D6117F10E171790CD3E5BFD1234E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_155FACE474295E27D2EC3E5BFD12814C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_BC0D6117F10E171790CD3E5BFD1234E4" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_155FACE474295E27D2EC3E5BFD12814C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_155FACE474295E27D2EC3E5BFD12814C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_BC0D6117F10E171790CD3E5BFD1234E4" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_155FACE474295E27D2EC3E5BFD12814C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_FE83B70FCFF0CB02936C3E5BFD1216A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_155FACE474295E27D2EC3E5BFD12814C" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_FE83B70FCFF0CB02936C3E5BFD1216A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_BB49BAE97D6ACF0A07D33E5BFD12F905" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5F7764010F06FA28B2193E5BFD129175" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_BB49BAE97D6ACF0A07D33E5BFD12F905" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_2C4D4A8AD2B1D31ABA933E5BFD128C14_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_BB49BAE97D6ACF0A07D33E5BFD12F905" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_2C4D4A8AD2B1D31ABA933E5BFD128C14_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_2C4D4A8AD2B1D31ABA933E5BFD128C14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_BB49BAE97D6ACF0A07D33E5BFD12F905" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_2C4D4A8AD2B1D31ABA933E5BFD128C14" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingBenefitObligationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DA8EB2E03D68DD438DCF3E5BFD419A4E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0B3DC9EC3102C70362CD3E5BFD41C054" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_DA8EB2E03D68DD438DCF3E5BFD419A4E" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0B3DC9EC3102C70362CD3E5BFD41C054" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_5318C37DD7C26820203E3E5BFD418481" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_0B3DC9EC3102C70362CD3E5BFD41C054" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_5318C37DD7C26820203E3E5BFD418481" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_5318C37DD7C26820203E3E5BFD418481" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_5318C37DD7C26820203E3E5BFD418481" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_7AE437749E95D13AD7663E5BFD415BD6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_7AE437749E95D13AD7663E5BFD415BD6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_28D542E225B1CCEA18BB3E5BFD41A2B2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_09904AE52B5A3C8E9BBE3E5BFD418743" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_28D542E225B1CCEA18BB3E5BFD41A2B2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/PensionAndOtherPostRetirementBenefitPlansWeightedAverageAssumptionsUsedInComputingNetPeriodicBenefitCostDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4E9EB5A298F5FCE107323E5BFD31BCF4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FF85444A868F786CB3A23E5BFD313545" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4E9EB5A298F5FCE107323E5BFD31BCF4" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FF85444A868F786CB3A23E5BFD313545" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_D847FA519A82B5D1C4143E5BFD31EDA8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FF85444A868F786CB3A23E5BFD313545" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_D847FA519A82B5D1C4143E5BFD31EDA8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_D847FA519A82B5D1C4143E5BFD31EDA8" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_D847FA519A82B5D1C4143E5BFD31EDA8" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_4BFDA254C60297A252B53E5BFD3112D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_4BFDA254C60297A252B53E5BFD3112D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_8960D00977E2371FE47B3E5BFD31637B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_538EFEF792BBB31216113E5BFD31FDC3" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_8960D00977E2371FE47B3E5BFD31637B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformationDepreciationAndAmortizationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_B3A379A8A000B45E358E426950AC529B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E222051B1AE917CF1003426950ABFBB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_B3A379A8A000B45E358E426950AC529B" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E222051B1AE917CF1003426950ABFBB9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_C3B3158AC7B5CAEEECF2426950AB106F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E222051B1AE917CF1003426950ABFBB9" xlink:to="loc_us-gaap_ConsolidationItemsAxis_C3B3158AC7B5CAEEECF2426950AB106F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_C3B3158AC7B5CAEEECF2426950AB106F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_C3B3158AC7B5CAEEECF2426950AB106F" xlink:to="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_42EC3227C4723B426723426950AB1934" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759" xlink:to="loc_us-gaap_OperatingSegmentsMember_42EC3227C4723B426723426950AB1934" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_B492F98F0908BB4ACEC6426950AB5CD7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_A7A488C25690C74F2C37426950AB0759" xlink:to="loc_us-gaap_CorporateNonSegmentMember_B492F98F0908BB4ACEC6426950AB5CD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_08DEC428BA451352B91B426950AB9DAB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E222051B1AE917CF1003426950ABFBB9" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_08DEC428BA451352B91B426950AB9DAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_08DEC428BA451352B91B426950AB9DAB" xlink:to="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_08DEC428BA451352B91B426950AB9DAB" xlink:to="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_NorthAmericaSegmentMember" xlink:label="loc_hsy_NorthAmericaSegmentMember_A9C1558BA50DBD36F80D426950ACCF6B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36" xlink:to="loc_hsy_NorthAmericaSegmentMember_A9C1558BA50DBD36F80D426950ACCF6B" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_InternationalandOtherSegmentMember" xlink:label="loc_hsy_InternationalandOtherSegmentMember_8268698AA3095DB11495426950AC0657" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36" xlink:to="loc_hsy_InternationalandOtherSegmentMember_8268698AA3095DB11495426950AC0657" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateMember" xlink:label="loc_us-gaap_CorporateMember_893FCC52DEEE2C7B46B6426950AC32A4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_CD159DD50F890597689C426950ABBA36" xlink:to="loc_us-gaap_CorporateMember_893FCC52DEEE2C7B46B6426950AC32A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_E872B778E1E5011A5413426950AC37CE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_B3A379A8A000B45E358E426950AC529B" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_E872B778E1E5011A5413426950AC37CE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformationNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_0783FFA94E81C3D8E2223F8582733C56" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_0E7E025411D0565F9EF43F858272D1F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_0783FFA94E81C3D8E2223F8582733C56" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_0E7E025411D0565F9EF43F858272D1F1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_48F94E9B3DBEED733E9B3F8582728721" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_0E7E025411D0565F9EF43F858272D1F1" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_48F94E9B3DBEED733E9B3F8582728721" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_5ACE36E1719390ED71F33F858272B9F6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_48F94E9B3DBEED733E9B3F8582728721" xlink:to="loc_us-gaap_SegmentDomain_5ACE36E1719390ED71F33F858272B9F6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_5ACE36E1719390ED71F33F858272B9F6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_48F94E9B3DBEED733E9B3F8582728721" xlink:to="loc_us-gaap_SegmentDomain_5ACE36E1719390ED71F33F858272B9F6" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_NorthAmericaSegmentMember" xlink:label="loc_hsy_NorthAmericaSegmentMember_18BBB8A7C47365D4A86F3F8582720865" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5ACE36E1719390ED71F33F858272B9F6" xlink:to="loc_hsy_NorthAmericaSegmentMember_18BBB8A7C47365D4A86F3F8582720865" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_34299131D2AF74B5A2563F8582728274" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_0E7E025411D0565F9EF43F858272D1F1" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_34299131D2AF74B5A2563F8582728274" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F999CB46FC4BB83402523F8582729032_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_34299131D2AF74B5A2563F8582728274" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F999CB46FC4BB83402523F8582729032_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_F999CB46FC4BB83402523F8582729032" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_34299131D2AF74B5A2563F8582728274" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_F999CB46FC4BB83402523F8582729032" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GeographicConcentrationRiskMember" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_23B110ED2467F603BF853F85827239A9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_F999CB46FC4BB83402523F8582729032" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_23B110ED2467F603BF853F85827239A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CEB6EC1477B2F4747FE63F858272A5E8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_0E7E025411D0565F9EF43F858272D1F1" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CEB6EC1477B2F4747FE63F858272A5E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E8DFDEC354D6F1E9B983F858272656B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CEB6EC1477B2F4747FE63F858272A5E8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E8DFDEC354D6F1E9B983F858272656B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E8DFDEC354D6F1E9B983F858272656B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_CEB6EC1477B2F4747FE63F858272A5E8" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E8DFDEC354D6F1E9B983F858272656B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SalesRevenueGoodsNetMember" xlink:label="loc_us-gaap_SalesRevenueGoodsNetMember_9BC2DDF3358B1FC850833F85827384E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5E8DFDEC354D6F1E9B983F858272656B" xlink:to="loc_us-gaap_SalesRevenueGoodsNetMember_9BC2DDF3358B1FC850833F85827384E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_09DC4C97A45CD6B3F0833F8582732AA5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_0783FFA94E81C3D8E2223F8582733C56" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_09DC4C97A45CD6B3F0833F8582732AA5" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformationSalesAndIncomeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5658BD4B3DA180087C124E60E69717C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5658BD4B3DA180087C124E60E69717C1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_FB0A0361DE50EFE5F3624E60E69756DA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5658BD4B3DA180087C124E60E69717C1" xlink:to="loc_us-gaap_ConsolidationItemsAxis_FB0A0361DE50EFE5F3624E60E69756DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_FB0A0361DE50EFE5F3624E60E69756DA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_FB0A0361DE50EFE5F3624E60E69756DA" xlink:to="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_CEA1B0C1EE24E1B0E1A54E60E6974FF6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC" xlink:to="loc_us-gaap_OperatingSegmentsMember_CEA1B0C1EE24E1B0E1A54E60E6974FF6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_C6114763C8B9C489F92C4E60E697F69D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC" xlink:to="loc_us-gaap_CorporateNonSegmentMember_C6114763C8B9C489F92C4E60E697F69D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaterialReconcilingItemsMember" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_81D8C91CF373077C4A5C4E60E6979BAE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_5043248A972E2AF04D7C4E60E69746EC" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_81D8C91CF373077C4A5C4E60E6979BAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_6F6243847AE29BBB7FB14E60E697B3BF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5658BD4B3DA180087C124E60E69717C1" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_6F6243847AE29BBB7FB14E60E697B3BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6F6243847AE29BBB7FB14E60E697B3BF" xlink:to="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_6F6243847AE29BBB7FB14E60E697B3BF" xlink:to="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_NorthAmericaSegmentMember" xlink:label="loc_hsy_NorthAmericaSegmentMember_144F729736430E46D5104E60E6970BCA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F" xlink:to="loc_hsy_NorthAmericaSegmentMember_144F729736430E46D5104E60E6970BCA" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_InternationalandOtherSegmentMember" xlink:label="loc_hsy_InternationalandOtherSegmentMember_98DE7241D4E714E8E7EB4E60E697B57A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_63F1FEB6D66EB74144824E60E697EB2F" xlink:to="loc_hsy_InternationalandOtherSegmentMember_98DE7241D4E714E8E7EB4E60E697B57A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_B04FF8467F6A379594934E60E6974761" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_SalesRevenueNet_B04FF8467F6A379594934E60E6974761" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_F94CA3C4A9EEAF67840D4E60E6970119" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_OperatingIncomeLoss_F94CA3C4A9EEAF67840D4E60E6970119" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_B2015172656BD253AB364E60E697785D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_B2015172656BD253AB364E60E697785D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_32851D611B776C1642064E60E697B3DA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_RestructuringCharges_32851D611B776C1642064E60E697B3DA" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PensionExpenseNonServiceRelated" xlink:label="loc_hsy_PensionExpenseNonServiceRelated_A96BDA3684517C0B84B84E60E6975DC3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_hsy_PensionExpenseNonServiceRelated_A96BDA3684517C0B84B84E60E6975DC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BusinessCombinationIntegrationRelatedCosts" xlink:label="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_795427713A850073217D4E60E6970892" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_BusinessCombinationIntegrationRelatedCosts_795427713A850073217D4E60E6970892" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_08C1B050C98512BE491D4E60E6975470" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_08C1B050C98512BE491D4E60E6975470" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_EA5BCC414CCD1551F84D4E60E697E9F8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_EA5BCC414CCD1551F84D4E60E697E9F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9F5D2823748FFA39C6854E60E69740EE" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_61B775BD016DC37A577E4E60E6976963" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_9F5D2823748FFA39C6854E60E69740EE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformationSummaryOfDerivativeInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_0F07A47ED713A58380094DD5BEDFE41D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F07A47ED713A58380094DD5BEDFE41D" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_B1669DE6AA29B8E234574DD5BEDEAC2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_B1669DE6AA29B8E234574DD5BEDEAC2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_9504EBF885D07C1F60414DD5BEDE4178_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B1669DE6AA29B8E234574DD5BEDEAC2F" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_9504EBF885D07C1F60414DD5BEDE4178_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_9504EBF885D07C1F60414DD5BEDE4178" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B1669DE6AA29B8E234574DD5BEDEAC2F" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_9504EBF885D07C1F60414DD5BEDE4178" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommodityContractMember" xlink:label="loc_us-gaap_CommodityContractMember_B986E0A5558AE7471A214DD5BEDE268A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_9504EBF885D07C1F60414DD5BEDE4178" xlink:to="loc_us-gaap_CommodityContractMember_B986E0A5558AE7471A214DD5BEDE268A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_39B012DEB2A56D1A5D0A4DD5BEDE7E31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:to="loc_us-gaap_ConsolidationItemsAxis_39B012DEB2A56D1A5D0A4DD5BEDE7E31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_235E7E51DD92860BE14E4DD5BEDE25F9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_39B012DEB2A56D1A5D0A4DD5BEDE7E31" xlink:to="loc_us-gaap_ConsolidationItemsDomain_235E7E51DD92860BE14E4DD5BEDE25F9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_235E7E51DD92860BE14E4DD5BEDE25F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_39B012DEB2A56D1A5D0A4DD5BEDE7E31" xlink:to="loc_us-gaap_ConsolidationItemsDomain_235E7E51DD92860BE14E4DD5BEDE25F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_5057919F9AABF02914854DD5BEDE8BBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_235E7E51DD92860BE14E4DD5BEDE25F9" xlink:to="loc_us-gaap_OperatingSegmentsMember_5057919F9AABF02914854DD5BEDE8BBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_905384BA4624E73E72404DD5BEDE5DD8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_905384BA4624E73E72404DD5BEDE5DD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_143B7F17141F56F57A204DD5BEDEFF2E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_905384BA4624E73E72404DD5BEDE5DD8" xlink:to="loc_us-gaap_SegmentDomain_143B7F17141F56F57A204DD5BEDEFF2E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_143B7F17141F56F57A204DD5BEDEFF2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_905384BA4624E73E72404DD5BEDE5DD8" xlink:to="loc_us-gaap_SegmentDomain_143B7F17141F56F57A204DD5BEDEFF2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaterialReconcilingItemsMember" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_0874AB19426ED99052034DD5BEDFE487" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_143B7F17141F56F57A204DD5BEDEFF2E" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_0874AB19426ED99052034DD5BEDFE487" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_14A21046A0AE4C6AE0044DD6E22109D4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_AA39F651CA58B3F1567F4DD5BEDD8281" xlink:to="loc_us-gaap_StatementScenarioAxis_14A21046A0AE4C6AE0044DD6E22109D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_43294B68C9327EFE63624DD6E31B69E3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_14A21046A0AE4C6AE0044DD6E22109D4" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_43294B68C9327EFE63624DD6E31B69E3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_43294B68C9327EFE63624DD6E31B69E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_14A21046A0AE4C6AE0044DD6E22109D4" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_43294B68C9327EFE63624DD6E31B69E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_30BD481C9DC7924E0E804DDDFE64AB4B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_43294B68C9327EFE63624DD6E31B69E3" xlink:to="loc_us-gaap_ScenarioForecastMember_30BD481C9DC7924E0E804DDDFE64AB4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_1052340D43A9658FDC4D4DD5BEDFAEA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0F07A47ED713A58380094DD5BEDFE41D" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_1052340D43A9658FDC4D4DD5BEDFAEA0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/SegmentInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtInterestExpenseDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtLongTermDebtInterestRatesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_05DE1036B5180615896E3E5BFE4A80EB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_E6D033CDFDA5DD7C28E43E5BFE4A36B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_05DE1036B5180615896E3E5BFE4A80EB" xlink:to="loc_us-gaap_DebtInstrumentTable_E6D033CDFDA5DD7C28E43E5BFE4A36B6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_5A37B4B75D9FC517F1F73E5BFE4AB2C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E6D033CDFDA5DD7C28E43E5BFE4A36B6" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_5A37B4B75D9FC517F1F73E5BFE4AB2C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F722C665A0BB5818CC493E5BFE4A409F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5A37B4B75D9FC517F1F73E5BFE4AB2C2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F722C665A0BB5818CC493E5BFE4A409F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F722C665A0BB5818CC493E5BFE4A409F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5A37B4B75D9FC517F1F73E5BFE4AB2C2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F722C665A0BB5818CC493E5BFE4A409F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DomesticCorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_DomesticCorporateDebtSecuritiesMember_C359BF1CC76BDA16BA0F3E5BFE4ACC27" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_F722C665A0BB5818CC493E5BFE4A409F" xlink:to="loc_us-gaap_DomesticCorporateDebtSecuritiesMember_C359BF1CC76BDA16BA0F3E5BFE4ACC27" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_B235BB8B9C0DD976286E3E5BFE4AAF8A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_E6D033CDFDA5DD7C28E43E5BFE4A36B6" xlink:to="loc_us-gaap_DebtInstrumentAxis_B235BB8B9C0DD976286E3E5BFE4AAF8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_B235BB8B9C0DD976286E3E5BFE4AAF8A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_B235BB8B9C0DD976286E3E5BFE4AAF8A" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes5.45Due2016Member" xlink:label="loc_hsy_Notes5.45Due2016Member_051856002FE66E39A1863E5BFE4AF660" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes5.45Due2016Member_051856002FE66E39A1863E5BFE4AF660" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes1.50Due2016Member" xlink:label="loc_hsy_Notes1.50Due2016Member_9FD0D40C78D4755F22733E5BFE4A1368" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes1.50Due2016Member_9FD0D40C78D4755F22733E5BFE4A1368" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes1.60Due2018Member" xlink:label="loc_hsy_Notes1.60Due2018Member_3DA84064A53C438DE7DB3E5BFE4AFD7F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes1.60Due2018Member_3DA84064A53C438DE7DB3E5BFE4AFD7F" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes4.125Due2020Member" xlink:label="loc_hsy_Notes4.125Due2020Member_420662086D525C8F6D273E5BFE4A1ECE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes4.125Due2020Member_420662086D525C8F6D273E5BFE4A1ECE" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Debentures8.8Due2021Member" xlink:label="loc_hsy_Debentures8.8Due2021Member_AFD4E39DA172EF8FD86E3E5BFE4ADED5" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Debentures8.8Due2021Member_AFD4E39DA172EF8FD86E3E5BFE4ADED5" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes2.625Due2023Member" xlink:label="loc_hsy_Notes2.625Due2023Member_4580351817A67B5B2B733E5BFE4A7594" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes2.625Due2023Member_4580351817A67B5B2B733E5BFE4A7594" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes3.20Due2025Member" xlink:label="loc_hsy_Notes3.20Due2025Member_11445A70ED06193A20183E5BFE4A761D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Notes3.20Due2025Member_11445A70ED06193A20183E5BFE4A761D" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Debentures7.2Due2027Member" xlink:label="loc_hsy_Debentures7.2Due2027Member_C1FE2D7DA21973B1F5383E5BFE4A4F0D" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4A73E8B4894EAD9821753E5BFE4ABD3F" xlink:to="loc_hsy_Debentures7.2Due2027Member_C1FE2D7DA21973B1F5383E5BFE4A4F0D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_42F672022A55C5FA7F093E5BFE4A9906" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_05DE1036B5180615896E3E5BFE4A80EB" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_42F672022A55C5FA7F093E5BFE4A9906" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtShortTermDebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_5791ADFA02124953EDFB3E5B30EAB5F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_5791ADFA02124953EDFB3E5B30EAB5F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_C12B6C49F98F23A208003E5B30EAC0B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_5791ADFA02124953EDFB3E5B30EAB5F2" xlink:to="loc_us-gaap_CreditFacilityAxis_C12B6C49F98F23A208003E5B30EAC0B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_E65612A9859EFBCF1AA63E5B30EA1992_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_C12B6C49F98F23A208003E5B30EAC0B7" xlink:to="loc_us-gaap_CreditFacilityDomain_E65612A9859EFBCF1AA63E5B30EA1992_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_E65612A9859EFBCF1AA63E5B30EA1992" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_C12B6C49F98F23A208003E5B30EAC0B7" xlink:to="loc_us-gaap_CreditFacilityDomain_E65612A9859EFBCF1AA63E5B30EA1992" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_DB85EBEF4420D9313BAA3E5B30EAFA78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_E65612A9859EFBCF1AA63E5B30EA1992" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_DB85EBEF4420D9313BAA3E5B30EAFA78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_63F7F735915494C5BF6D3E5B30EA1C7A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_5791ADFA02124953EDFB3E5B30EAB5F2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_63F7F735915494C5BF6D3E5B30EA1C7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_63F7F735915494C5BF6D3E5B30EA1C7A" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_63F7F735915494C5BF6D3E5B30EA1C7A" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_D25531CB913BC75BBE823E5B30EA0A33" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8" xlink:to="loc_us-gaap_LineOfCreditMember_D25531CB913BC75BBE823E5B30EA0A33" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForeignLineOfCreditMember" xlink:label="loc_us-gaap_ForeignLineOfCreditMember_B91D8B519A20F26293143E5B30EAC4B7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_184E31794DFA89DD20863E5B30EA6AB8" xlink:to="loc_us-gaap_ForeignLineOfCreditMember_B91D8B519A20F26293143E5B30EAC4B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_24EE69166A736B990EDB3E5B30EA9F30" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_5791ADFA02124953EDFB3E5B30EAB5F2" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_24EE69166A736B990EDB3E5B30EA9F30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_624F199CD02EC16805E23E5B30EA8C43_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_24EE69166A736B990EDB3E5B30EA9F30" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_624F199CD02EC16805E23E5B30EA8C43_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_624F199CD02EC16805E23E5B30EA8C43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_24EE69166A736B990EDB3E5B30EA9F30" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_624F199CD02EC16805E23E5B30EA8C43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_A14A16F9502E33D6A5373E5B30FA848D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_624F199CD02EC16805E23E5B30EA8C43" xlink:to="loc_us-gaap_CommercialPaperMember_A14A16F9502E33D6A5373E5B30FA848D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_11B322D889AA227712B33E5B30FA0D8B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_11B322D889AA227712B33E5B30FA0D8B" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_LineOfCreditFacilityAccordionFeatureIncreaseLimit" xlink:label="loc_hsy_LineOfCreditFacilityAccordionFeatureIncreaseLimit_0F0D019DF836D9B796133E5B30FA07D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_hsy_LineOfCreditFacilityAccordionFeatureIncreaseLimit_0F0D019DF836D9B796133E5B30FA07D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LinesOfCreditCurrent" xlink:label="loc_us-gaap_LinesOfCreditCurrent_6DBFF23ADE4B668A500C3E5B30FA79B0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_us-gaap_LinesOfCreditCurrent_6DBFF23ADE4B668A500C3E5B30FA79B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_9FA1B73FB04D47A66F193E5B30FA9A56" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_us-gaap_ShortTermBorrowings_9FA1B73FB04D47A66F193E5B30FA9A56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_497A6B1E48ABD0C9196D3E5B30FA3D23" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_EF98C62E212CEE7F51E13E5B30FAADF5" xlink:to="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_497A6B1E48ABD0C9196D3E5B30FA3D23" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtSummaryOfLongTermDebtDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_E930BC6293895B12C1183E5B2A081352" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_92939EB1E568E73D20C63E5B2A08295F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E930BC6293895B12C1183E5B2A081352" xlink:to="loc_us-gaap_DebtInstrumentTable_92939EB1E568E73D20C63E5B2A08295F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_626388AEF4C5EB4427EE3E5B2A0864FE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_92939EB1E568E73D20C63E5B2A08295F" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_626388AEF4C5EB4427EE3E5B2A0864FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_626388AEF4C5EB4427EE3E5B2A0864FE" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_626388AEF4C5EB4427EE3E5B2A0864FE" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DomesticCorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_DomesticCorporateDebtSecuritiesMember_025738CA7404EBA3BEE73E5B2A08B50E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543" xlink:to="loc_us-gaap_DomesticCorporateDebtSecuritiesMember_025738CA7404EBA3BEE73E5B2A08B50E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableToBanksMember" xlink:label="loc_us-gaap_NotesPayableToBanksMember_AD4884D9107C7DE1CE143E5B2A08E9E6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_BAF886C1AEBF87195CC13E5B2A086543" xlink:to="loc_us-gaap_NotesPayableToBanksMember_AD4884D9107C7DE1CE143E5B2A08E9E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_098E4CE59577CD685C563E5B2A082B39" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_92939EB1E568E73D20C63E5B2A08295F" xlink:to="loc_us-gaap_DebtInstrumentAxis_098E4CE59577CD685C563E5B2A082B39" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_098E4CE59577CD685C563E5B2A082B39" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_098E4CE59577CD685C563E5B2A082B39" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes5.45Due2016Member" xlink:label="loc_hsy_Notes5.45Due2016Member_3177376F1D52C181626F3E5B2A08BE1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes5.45Due2016Member_3177376F1D52C181626F3E5B2A08BE1C" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes1.50Due2016Member" xlink:label="loc_hsy_Notes1.50Due2016Member_74B3105197620FA266A73E5B2A08F5C1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes1.50Due2016Member_74B3105197620FA266A73E5B2A08F5C1" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes1.60Due2018Member" xlink:label="loc_hsy_Notes1.60Due2018Member_5522D0EF4426FC986D513E5B2A080605" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes1.60Due2018Member_5522D0EF4426FC986D513E5B2A080605" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes4.125Due2020Member" xlink:label="loc_hsy_Notes4.125Due2020Member_35E4129CE1698A84E7EF3E5B2A08AB73" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes4.125Due2020Member_35E4129CE1698A84E7EF3E5B2A08AB73" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Debentures8.8Due2021Member" xlink:label="loc_hsy_Debentures8.8Due2021Member_E57D7FA741B58E9CE0823E5B2A084199" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Debentures8.8Due2021Member_E57D7FA741B58E9CE0823E5B2A084199" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes2.625Due2023Member" xlink:label="loc_hsy_Notes2.625Due2023Member_58369E8911466CC65D733E5B2A087876" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes2.625Due2023Member_58369E8911466CC65D733E5B2A087876" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Notes3.20Due2025Member" xlink:label="loc_hsy_Notes3.20Due2025Member_1AC3BCE44802D414B00C3E5B2A085A4D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Notes3.20Due2025Member_1AC3BCE44802D414B00C3E5B2A085A4D" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_Debentures7.2Due2027Member" xlink:label="loc_hsy_Debentures7.2Due2027Member_D59445B31D99A9CD8C713E5B2A084E54" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_hsy_Debentures7.2Due2027Member_D59445B31D99A9CD8C713E5B2A084E54" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherDebtSecuritiesMember" xlink:label="loc_us-gaap_OtherDebtSecuritiesMember_2D02FD82AE34074A9EEA3E5B2A082F65" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0ECB893BDCB2BDE064C13E5B2A0845A5" xlink:to="loc_us-gaap_OtherDebtSecuritiesMember_2D02FD82AE34074A9EEA3E5B2A082F65" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_F985BE1F85934461E1D33E5B2A080564" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E930BC6293895B12C1183E5B2A081352" xlink:to="loc_us-gaap_LongTermDebt_F985BE1F85934461E1D33E5B2A080564" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_CFB8B7E67AFD4A7188053E5B2A08D5FA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E930BC6293895B12C1183E5B2A081352" xlink:to="loc_us-gaap_LongTermDebtCurrent_CFB8B7E67AFD4A7188053E5B2A08D5FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_69A3FE491B0AD2EE64593E5B2A08D3B0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E930BC6293895B12C1183E5B2A081352" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_69A3FE491B0AD2EE64593E5B2A08D3B0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/ShortAndLongTermDebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansCompensationExpenseAndIncomeTaxBenefitsForStockBasedCompensationProgramsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansFairValueWeightedAverageAssumptionsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E0DF5E6F756940AFC39F3E5B4E5A50DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E0DF5E6F756940AFC39F3E5B4E5A50DD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_AFA08969CB8411134C4B3E5B4E5A445D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E0DF5E6F756940AFC39F3E5B4E5A50DD" xlink:to="loc_us-gaap_AwardTypeAxis_AFA08969CB8411134C4B3E5B4E5A445D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_AFA08969CB8411134C4B3E5B4E5A445D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_AFA08969CB8411134C4B3E5B4E5A445D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_FEFD9132A5DEBEA2027C3E5B4E5A6DA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0" xlink:to="loc_us-gaap_EmployeeStockOptionMember_FEFD9132A5DEBEA2027C3E5B4E5A6DA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_771DC17C998D1CAF27023E5B4E5A2175" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0" xlink:to="loc_us-gaap_PerformanceSharesMember_771DC17C998D1CAF27023E5B4E5A2175" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PerformanceStockUnitsandRestrictedStockUnitsMember" xlink:label="loc_hsy_PerformanceStockUnitsandRestrictedStockUnitsMember_A74618765DE0C64F394C3E5B4E5AA984" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0FAF505C289A2D63CC5B3E5B4E5AA1E0" xlink:to="loc_hsy_PerformanceStockUnitsandRestrictedStockUnitsMember_A74618765DE0C64F394C3E5B4E5AA984" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_DB5F266A12C101BC7F343E5B4E5A2DD8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E0DF5E6F756940AFC39F3E5B4E5A50DD" xlink:to="loc_us-gaap_RangeAxis_DB5F266A12C101BC7F343E5B4E5A2DD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_DB5F266A12C101BC7F343E5B4E5A2DD8" xlink:to="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_DB5F266A12C101BC7F343E5B4E5A2DD8" xlink:to="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_AF6B6EECD215B93687423E5B4E5A21A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145" xlink:to="loc_us-gaap_MinimumMember_AF6B6EECD215B93687423E5B4E5A21A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_678B6BC3ACD6A013AAAE3E5B4E5AD37C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_35D2B163801D2F5C15283E5B4E5A7145" xlink:to="loc_us-gaap_MaximumMember_678B6BC3ACD6A013AAAE3E5B4E5AD37C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_646C587FF9D4E5E64C343E5B4E5AFE72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_646C587FF9D4E5E64C343E5B4E5AFE72" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_21BBD501A80CC0BB364E3E5B4E5AF900" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_21BBD501A80CC0BB364E3E5B4E5AF900" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_98CA4019DBE743C9FDD03E5B4E5AAF5C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_98CA4019DBE743C9FDD03E5B4E5AAF5C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_2971C19CF845AAF479B33E5B4E5AD4A8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_2971C19CF845AAF479B33E5B4E5AD4A8" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberExcluded" xlink:label="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberExcluded_004F5677127FE2F4D2F33E5B4E5A508C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumberExcluded_004F5677127FE2F4D2F33E5B4E5A508C" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardIntrinsicValueOfShareBasedLiabilitiesPaidCombinedWithFairValueOfSharesVested" xlink:label="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardIntrinsicValueOfShareBasedLiabilitiesPaidCombinedWithFairValueOfSharesVested_65E71C72E126A582B20A3E5B4E5A4C1C" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardIntrinsicValueOfShareBasedLiabilitiesPaidCombinedWithFairValueOfSharesVested_65E71C72E126A582B20A3E5B4E5A4C1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualSharesIssued" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualSharesIssued_7BB2AAB9779CBF8A9A013E5B4E5A37A3" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualSharesIssued_7BB2AAB9779CBF8A9A013E5B4E5A37A3" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_DeferredCompensationArrangementwithIndividualConversionBasis" xlink:label="loc_hsy_DeferredCompensationArrangementwithIndividualConversionBasis_99069F14A59DBF1BC59C3E5B4E5A7BFC" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0E5716C39392F968219C3E5B4E5A6094" xlink:to="loc_hsy_DeferredCompensationArrangementwithIndividualConversionBasis_99069F14A59DBF1BC59C3E5B4E5A7BFC" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansPsusAndRsusFairValueWeightedAverageAssumptionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A1307A57416487356E15426951AB60D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A1307A57416487356E15426951AB60D5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_4AAF5B16FF08C73CC566426951ABDCCE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_A1307A57416487356E15426951AB60D5" xlink:to="loc_us-gaap_AwardTypeAxis_4AAF5B16FF08C73CC566426951ABDCCE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4C5BFB20D6635C4274A6426951ABF640_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_4AAF5B16FF08C73CC566426951ABDCCE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4C5BFB20D6635C4274A6426951ABF640_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4C5BFB20D6635C4274A6426951ABF640" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_4AAF5B16FF08C73CC566426951ABDCCE" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4C5BFB20D6635C4274A6426951ABF640" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember" xlink:label="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_0093084BC359F3F10028426951AB2B85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4C5BFB20D6635C4274A6426951ABF640" xlink:to="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_0093084BC359F3F10028426951AB2B85" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_044745435DA99B742C99426951ABE076" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_044745435DA99B742C99426951ABE076" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_0DE311FF3933E05F36A2426951ABD345" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_0DE311FF3933E05F36A2426951ABD345" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharePrice" xlink:label="loc_us-gaap_SharePrice_098D7DB1B821AB973DA7426951AB51E6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_SharePrice_098D7DB1B821AB973DA7426951AB51E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_58E25D277639BB26440E426951AB59E7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_58E25D277639BB26440E426951AB59E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C75131D2583B81BAFA41426951AC91A7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1641674E8615952DD089426951ABAE7F" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C75131D2583B81BAFA41426951AC91A7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansStockOptionActivityDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansStockOptionInformationByExercisePriceRangeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_5E52BD6039030D6F50D43E5BFD03503E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_AE1355294F7B83EE5ABB3E5BFD039B7D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_5E52BD6039030D6F50D43E5BFD03503E" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_AE1355294F7B83EE5ABB3E5BFD039B7D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_2963BADC4CE094FA2E9C3E5BFD03F36B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_AE1355294F7B83EE5ABB3E5BFD039B7D" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_2963BADC4CE094FA2E9C3E5BFD03F36B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_40C9AA387272CD5167193E5BFD039AEF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_2963BADC4CE094FA2E9C3E5BFD03F36B" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_40C9AA387272CD5167193E5BFD039AEF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_40C9AA387272CD5167193E5BFD039AEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_2963BADC4CE094FA2E9C3E5BFD03F36B" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_40C9AA387272CD5167193E5BFD039AEF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansSummaryOfPsusAndRsusActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9C57726A3B0F0DF776F426951D0AB54" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758F160BA886310246CE426951D0B061" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9C57726A3B0F0DF776F426951D0AB54" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758F160BA886310246CE426951D0B061" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_D4B15D753496830F0107426951D0DAA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_758F160BA886310246CE426951D0B061" xlink:to="loc_us-gaap_AwardTypeAxis_D4B15D753496830F0107426951D0DAA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DD95505B62E17C4CF14426951D09BCB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_D4B15D753496830F0107426951D0DAA9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DD95505B62E17C4CF14426951D09BCB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DD95505B62E17C4CF14426951D09BCB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_D4B15D753496830F0107426951D0DAA9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DD95505B62E17C4CF14426951D09BCB" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember" xlink:label="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_22E7AEC45930B383C689426951D02C07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4DD95505B62E17C4CF14426951D09BCB" xlink:to="loc_hsy_PerformanceSharesAndRestrictedStockUnitsRSUMember_22E7AEC45930B383C689426951D02C07" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9C57726A3B0F0DF776F426951D0AB54" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4D515EF36320257AB1DB426951D00BA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4D515EF36320257AB1DB426951D00BA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_C7ADB914E26823378AE8426951D050C4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_C7ADB914E26823378AE8426951D050C4" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange" xlink:label="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange_A5126A47495ECD12CE7B426951D02A95" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:to="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChange_A5126A47495ECD12CE7B426951D02A95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_69B0EF9DBEA944841833426951D06F3B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_69B0EF9DBEA944841833426951D06F3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_2CF3410F643E85F49006426951D0D512" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_10C6020301F744595A0C426951D00954" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_2CF3410F643E85F49006426951D0D512" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D9C57726A3B0F0DF776F426951D0AB54" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_D134D91F42447C1E4153426951D08690" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_D134D91F42447C1E4153426951D08690" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99B05F46D4D9D7C35A8F426951D1C072" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_99B05F46D4D9D7C35A8F426951D1C072" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue" xlink:label="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue_BDA87330D64BAB325503426951D14A09" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:to="loc_hsy_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPerformanceAssumptionChangeWeightedAverageGrantDateFairValue_BDA87330D64BAB325503426951D14A09" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_C2597D2F62BDF83FF352426951D1D0AB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_C2597D2F62BDF83FF352426951D1D0AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_8A16239865F022715B99426951D1BD79" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_24778174840BB3411368426951D00A15" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_8A16239865F022715B99426951D1BD79" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/StockCompensationPlansTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/SupplementalBalanceSheetInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityCommonStockOutstandingDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_EC42EEA47DC218BA1DE24FF37A81B627" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_EC42EEA47DC218BA1DE24FF37A81B627" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_154053296AA819FE93974FF37A822604" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_EC42EEA47DC218BA1DE24FF37A81B627" xlink:to="loc_us-gaap_AwardTypeAxis_154053296AA819FE93974FF37A822604" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_62F4859CC8152E65BA654FF37A822EFA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_154053296AA819FE93974FF37A822604" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_62F4859CC8152E65BA654FF37A822EFA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_62F4859CC8152E65BA654FF37A822EFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_154053296AA819FE93974FF37A822604" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_62F4859CC8152E65BA654FF37A822EFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_EC2AD26437CA6E699EF44FF37A822A79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_62F4859CC8152E65BA654FF37A822EFA" xlink:to="loc_us-gaap_EmployeeStockOptionMember_EC2AD26437CA6E699EF44FF37A822A79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_E1D1A6173FC916FE978C4FF37A82BF3A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_E1D1A6173FC916FE978C4FF37A82BF3A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_C5B77F842869002F171A4FF37A82E67E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_C5B77F842869002F171A4FF37A82E67E" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_TreasuryStockChangeInShares" xlink:label="loc_hsy_TreasuryStockChangeInShares_5A54A8294594C5BDB14D4FF37A82D982" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_hsy_TreasuryStockChangeInShares_5A54A8294594C5BDB14D4FF37A82D982" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_7DDAE76BA5A6A9454FB54FF37A82926C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_7DDAE76BA5A6A9454FB54FF37A82926C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross_7B9E00A4241875044F564FF37A821EE8" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross_7B9E00A4241875044F564FF37A821EE8" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_TreasuryStockChangeInValue" xlink:label="loc_hsy_TreasuryStockChangeInValue_752CD4DCC641C065AAEB4FF37A822381" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_884CA31C162B167D9C034FF37A822B97" xlink:to="loc_hsy_TreasuryStockChangeInValue_752CD4DCC641C065AAEB4FF37A822381" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_D1B0ADC3F29269FC5C174FF37A869734" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_CB2D4511DBCF600E80EA4FF37A859D82" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_D1B0ADC3F29269FC5C174FF37A869734" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_CB2D4511DBCF600E80EA4FF37A859D82" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_C0CBDCE885C9A0FA36064FF37A86E032" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_CB2D4511DBCF600E80EA4FF37A859D82" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_C0CBDCE885C9A0FA36064FF37A86E032" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_C0CBDCE885C9A0FA36064FF37A86E032" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_C0CBDCE885C9A0FA36064FF37A86E032" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_A2015ShareRepurchaseProgramMember" xlink:label="loc_hsy_A2015ShareRepurchaseProgramMember_7A0F61F01F7EDB7B87874FF37A860C4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6" xlink:to="loc_hsy_A2015ShareRepurchaseProgramMember_7A0F61F01F7EDB7B87874FF37A860C4A" xlink:type="arc" />
    <loc xlink:href="hsy-20160403.xsd#hsy_A2016ShareRepurchaseProgramMember" xlink:label="loc_hsy_A2016ShareRepurchaseProgramMember_F80F003EE7DD3D2B02534FF37A86D469" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_519EB7E1DEDA2831610F4FF37A8623B6" xlink:to="loc_hsy_A2016ShareRepurchaseProgramMember_F80F003EE7DD3D2B02534FF37A86D469" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_01590E39F39500A4D5EA4FF37A864689" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_D1B0ADC3F29269FC5C174FF37A869734" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_01590E39F39500A4D5EA4FF37A864689" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_78CD51B441FA52E680864FF37A8672B0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_D1B0ADC3F29269FC5C174FF37A869734" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_78CD51B441FA52E680864FF37A8672B0" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.hersheys.com/role/TreasuryStockActivityTables" xlink:type="extended" />
</linkbase>
