XML 22 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document And Entity Information - shares
6 Months Ended
Jun. 30, 2017
Jul. 26, 2017
Document And Entity Information [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2017  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q2  
Trading Symbol exel  
Entity Registrant Name EXELIXIS, INC.  
Entity Central Index Key 0000939767  
Entity Filer Category Large Accelerated Filer  
Current Fiscal Year End Date --12-29  
Entity Common Stock, Shares Outstanding   293,904,704