XML 13 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
Document and Entity Information - shares
9 Months Ended
Nov. 03, 2017
Dec. 01, 2017
Document and Entity Information    
Entity Registrant Name DOLLAR GENERAL CORP  
Entity Central Index Key 0000029534  
Document Type 10-Q  
Document Period End Date Nov. 03, 2017  
Amendment Flag false  
Current Fiscal Year End Date --02-02  
Entity Current Reporting Status Yes  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding   271,563,597
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q3