XML 96 R74.htm IDEA: XBRL DOCUMENT
v3.24.0.1

DERIVATIVE INSTRUMENTS - NARRATIVE (Details) - USD ($) $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2023 | Dec. 31, 2022
Derivative [Line Items] |  |
Cash flow hedge gain (loss) to be reclassified within twelve months | $ 9,659 |
Commodities futures and options | Non-designated Hedges |  |
Derivative [Line Items] |  |
Derivative, notional amount | $ 94,917 | $ 243,009
Commodities futures and options | Non-designated Hedges | Minimum |  |
Derivative [Line Items] |  |
Derivative, term of contract | 3 months |
Commodities futures and options | Non-designated Hedges | Maximum |  |
Derivative [Line Items] |  |
Derivative, term of contract | 24 months |
Foreign exchange contracts |  |
Derivative [Line Items] |  |
Minimum length of time, hedged in cash flow hedge | 3 months |
Maximum length of time, hedged in cash flow hedge | 12 months |
Foreign exchange contracts | Designated as Hedging Instrument | Cash Flow Hedges |  |
Derivative [Line Items] |  |
Derivative, notional amount | $ 80,068 | 59,448
Foreign exchange contracts | Non-designated Hedges |  |
Derivative [Line Items] |  |
Derivative, notional amount | 13,665 | 1,843
Deferred compensation derivatives |  |
Derivative [Line Items] |  |
Derivative, notional amount | $ 22,867 | $ 18,803
Deferred compensation derivatives | Non-designated Hedges | Minimum |  |
Derivative [Line Items] |  |
Derivative, term of contract | 3 months |
Deferred compensation derivatives | Non-designated Hedges | Maximum |  |
Derivative [Line Items] |  |
Derivative, term of contract | 12 months |

X
- Definition Minimum length of time over which the entity is hedging its exposure to the variability in future cash flows for forecasted transactions, excluding those forecasted transactions related to the payment of variable interest on existing financial instruments, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | hsy_MinimumLengthofTimeHedgedinCashFlowHedge
Namespace Prefix: | hsy_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated net amount of existing gains or losses on cash flow hedges at the reporting date expected to be reclassified to earnings within the next 12 months. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480870/815-30-50-1 + Details
Name: | us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1A + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum length of time over which the entity is hedging its exposure to the variability in future cash flows for forecasted transactions, excluding those forecasted transactions related to the payment of variable interest on existing financial instruments, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -SubTopic 30 -Topic 815 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480870/815-30-50-1 + Details
Name: | us-gaap_MaximumLengthOfTimeHedgedInCashFlowHedge1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_EquitySwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |