XML 141 R121.htm IDEA: XBRL DOCUMENT
v3.25.0.1

RELATED PARTY TRANSACTIONS (Details) |  | 12 Months Ended |
--- | --- | --- | ---
Jun. 17, 2022 USD ($) | Dec. 31, 2024 USD ($) | May 23, 2022 a
Related Party Transaction [Line Items] |  |  |
Related party transaction, amounts of transaction |  | $ 0 |
Hershey Trust Company | Donation Agreement |  |  |
Related Party Transaction [Line Items] |  |  |
Area of Land | a |  |  | 6
Proceeds from sales of property, plant and equipment and other long-lived assets | $ 6,300,000 |  |
Loss on sale of property | $ 13,568,000 |  |

X
- Definition Area of land held. + References No definition available. + Details
Name: | us-gaap_AreaOfLand
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the carrying value and the sale price of real estate or properties that were intended to be sold or held for capital appreciation or rental income. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482130/360-10-45-5 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-3 + Details
Name: | us-gaap_GainLossOnSaleOfProperties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-3 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 310 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481990/310-10-45-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(c)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07(2)(g)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-1 + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=hsy_HersheyTrustCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=hsy_DonationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |