v3.10.0.1
Document and Entity Information - shares
3 Months Ended
Sep. 28, 2018
Oct. 30, 2018
Document And Entity Information [Abstract]    
Entity Registrant Name WESTERN DIGITAL CORP  
Entity Central Index Key 0000106040  
Current Fiscal Year End Date --06-28  
Entity Filer Category Large Accelerated Filer  
Document Type 10-Q  
Document Period End Date Sep. 28, 2018  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q1  
Amendment Flag false  
Entity Common Stock, Shares Outstanding (in shares)   289,424,688
Entity Current Reporting Status Yes