Document and Entity Information - shares
6 Months Ended
Aug. 03, 2018
Aug. 24, 2018
Document and Entity Information    
Entity Registrant Name DOLLAR GENERAL CORP  
Entity Central Index Key 0000029534  
Document Type 10-Q  
Document Period End Date Aug. 03, 2018  
Amendment Flag false  
Current Fiscal Year End Date --02-01  
Entity Voluntary Filers No  
Entity Current Reporting Status Yes  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding   265,534,401
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q2