XML 71 R52.htm IDEA: XBRL DOCUMENT
v3.24.1

Benefit plans (Details) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Feb. 02, 2024 | Feb. 03, 2023 | Jan. 28, 2022
Benefit plans |  |  |
Matching contribution expense related to the Company's 401(k) plan | $ 35.9 | $ 35.7 | $ 34.0
Compensation expense for the Dollar General Corporation CDP/SERP Plan | $ 1.0 | $ 1.2 | $ 1.3

X
- Definition Deferred Compensation Arrangements and Supplemental Employee Retirement Plan Compensation Expense + References No definition available. + Details
Name: | dg_DeferredCompensationArrangementsAndSupplementalEmployeeRetirementPlanCompensationExpense
Namespace Prefix: | dg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_CompensationAndRetirementDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration