<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>315</ContextCount>
  <ElementCount>424</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>105</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003001 - Statement - Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Collaboration Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreements</Role>
      <ShortName>Collaboration Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/Inventory</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/PropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Common Stock and Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommonStockAndWarrants</Role>
      <ShortName>Common Stock and Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/NetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/Commitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Organization and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Collaboration Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsTables</Role>
      <ShortName>Collaboration Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreements</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/Investments</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InventoryTables</Role>
      <ShortName>Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/Inventory</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/PropertyAndEquipment</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/Debt</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/NetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/NetIncomeLossPerShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/FairValueMeasurements</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/Commitments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/SegmentInformation</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Organization and Summary of Significant Accounting Policies (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Organization and Summary of Significant Accounting Policies (Estimated Useful Lives of Property Plant And Equipment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Estimated Useful Lives of Property Plant And Equipment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Organization and Summary of Significant Accounting Policies (Allowance Reserve) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesAllowanceReserveDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies (Allowance Reserve) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Collaboration Agreements (Ipsen Collaboration, Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsIpsenCollaborationNarrativeDetails</Role>
      <ShortName>Collaboration Agreements (Ipsen Collaboration, Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Collaboration Agreements (Collaboration Revenues - Ipsen) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsCollaborationRevenuesIpsenDetails</Role>
      <ShortName>Collaboration Agreements (Collaboration Revenues - Ipsen) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Collaboration Agreements (Takeda Collaboration, Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsTakedaCollaborationNarrativeDetails</Role>
      <ShortName>Collaboration Agreements (Takeda Collaboration, Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Collaboration Agreements (Collaboration Revenue - Takeda) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsCollaborationRevenueTakedaDetails</Role>
      <ShortName>Collaboration Agreements (Collaboration Revenue - Takeda) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2402406 - Disclosure - Collaboration Agreements (Genentech Collaboration, Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsGenentechCollaborationNarrativeDetails</Role>
      <ShortName>Collaboration Agreements (Genentech Collaboration, Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2402407 - Disclosure - Collaboration Agreements (Collaboration Revenues - Genentech) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsCollaborationRevenuesGenentechDetails</Role>
      <ShortName>Collaboration Agreements (Collaboration Revenues - Genentech) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402408 - Disclosure - Collaboration Agreements (Other Collaborations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsOtherCollaborationsDetails</Role>
      <ShortName>Collaboration Agreements (Other Collaborations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2402409 - Disclosure - Collaboration Agreements (Collaboration Revenues - GSK) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CollaborationAgreementsCollaborationRevenuesGskDetails</Role>
      <ShortName>Collaboration Agreements (Collaboration Revenues - GSK) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CollaborationAgreementsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Investments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InvestmentsNarrativeDetails</Role>
      <ShortName>Investments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/InvestmentsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Investments (Summary by Security Type) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InvestmentsSummaryBySecurityTypeDetails</Role>
      <ShortName>Investments (Summary by Security Type) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/InvestmentsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Investments (Gross Unrealized Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InvestmentsGrossUnrealizedLossesDetails</Role>
      <ShortName>Investments (Gross Unrealized Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/InvestmentsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Investments (Summary by Contractual Maturity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InvestmentsSummaryByContractualMaturityDetails</Role>
      <ShortName>Investments (Summary by Contractual Maturity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/InvestmentsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Inventory (Schedule of Inventory) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/InventoryScheduleOfInventoryDetails</Role>
      <ShortName>Inventory (Schedule of Inventory) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/InventoryTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Property and Equipment (Schedule of Property and Equipment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/PropertyAndEquipmentScheduleOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment (Schedule of Property and Equipment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Property and Equipment (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/PropertyAndEquipmentNarrativeDetails</Role>
      <ShortName>Property and Equipment (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Debt (Schedule of Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/DebtScheduleOfDebtDetails</Role>
      <ShortName>Debt (Schedule of Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/DebtTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Debt (Secured Convertible Notes) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.exelixis.com/role/DebtSecuredConvertibleNotesDetails</Role>
      <ShortName>Debt (Secured Convertible Notes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/DebtTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Debt (2019 Notes) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.exelixis.com/role/Debt2019NotesDetails</Role>
      <ShortName>Debt (2019 Notes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/DebtTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Debt (Summary of Loss on Extinguishment of Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/DebtSummaryOfLossOnExtinguishmentOfDebtDetails</Role>
      <ShortName>Debt (Summary of Loss on Extinguishment of Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/DebtTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2408406 - Disclosure - Debt (Term Loan Payable) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/DebtTermLoanPayableDetails</Role>
      <ShortName>Debt (Term Loan Payable) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/DebtTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2409401 - Disclosure - Common Stock and Warrants (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommonStockAndWarrantsNarrativeDetails</Role>
      <ShortName>Common Stock and Warrants (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CommonStockAndWarrants</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Stock-based Compensation (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-based Compensation (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Stock-based Compensation (Schedule of Allocated Employee Stock-Based Compensation Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationScheduleOfAllocatedEmployeeStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-based Compensation (Schedule of Allocated Employee Stock-Based Compensation Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Stock-based Compensation (Weighted Average Grant Date Fair Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationWeightedAverageGrantDateFairValueDetails</Role>
      <ShortName>Stock-based Compensation (Weighted Average Grant Date Fair Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Stock-based Compensation (Schedule of Fair Value of Employee Share-Based Payments Awards ESPP Assumptions and Weighted Average Fair Values) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationScheduleOfFairValueOfEmployeeShareBasedPaymentsAwardsEsppAssumptionsAndWeightedAverageFairValuesDetails</Role>
      <ShortName>Stock-based Compensation (Schedule of Fair Value of Employee Share-Based Payments Awards ESPP Assumptions and Weighted Average Fair Values) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Stock-based Compensation (Summary of All Stock Option Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationSummaryOfAllStockOptionActivityDetails</Role>
      <ShortName>Stock-based Compensation (Summary of All Stock Option Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2410407 - Disclosure - Stock-based Compensation (Summary of All RSU Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/StockBasedCompensationSummaryOfAllRsuActivityDetails</Role>
      <ShortName>Stock-based Compensation (Summary of All RSU Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/StockBasedCompensationTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Income Taxes (Schedule of Consolidated Net Income (Loss)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesScheduleOfConsolidatedNetIncomeLossDetails</Role>
      <ShortName>Income Taxes (Schedule of Consolidated Net Income (Loss)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Income Taxes (Components of Income Tax Expense (Benefit)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>Income Taxes (Components of Income Tax Expense (Benefit)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Income Taxes (Schedule of Reconciliation of Income Taxes at the Statutory Federal Income Tax Rate to Net Income Taxes) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesScheduleOfReconciliationOfIncomeTaxesAtStatutoryFederalIncomeTaxRateToNetIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Schedule of Reconciliation of Income Taxes at the Statutory Federal Income Tax Rate to Net Income Taxes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2411405 - Disclosure - Income Taxes (Schedule of Deferred Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesScheduleOfDeferredAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes (Schedule of Deferred Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Income Taxes (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Income Taxes (Schedule of Unrecognized Tax Benefits) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/IncomeTaxesScheduleOfUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes (Schedule of Unrecognized Tax Benefits) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/IncomeTaxesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Net Income (Loss) Per Share (Computation of Basic and Diluted Net Income (Loss) Per Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/NetIncomeLossPerShareComputationOfBasicAndDilutedNetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Computation of Basic and Diluted Net Income (Loss) Per Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/NetIncomeLossPerShareTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Net Income (Loss) Per Share (Potentially Dilutive Shares of Common Stock) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/NetIncomeLossPerSharePotentiallyDilutiveSharesOfCommonStockDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Potentially Dilutive Shares of Common Stock) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/NetIncomeLossPerShareTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Fair Value Measurements (Schedule of Fair Value of Financial Assets Measured on A Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/FairValueMeasurementsScheduleOfFairValueOfFinancialAssetsMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Schedule of Fair Value of Financial Assets Measured on A Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Fair Value Measurements (Schedule of Estimated Fair Value of Outstanding Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/FairValueMeasurementsScheduleOfEstimatedFairValueOfOutstandingDebtDetails</Role>
      <ShortName>Fair Value Measurements (Schedule of Estimated Fair Value of Outstanding Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Commitments (Schedule of Aggregate Future Minimum Lease Payments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommitmentsScheduleOfAggregateFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Commitments (Schedule of Aggregate Future Minimum Lease Payments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CommitmentsTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Commitments (Schedule of Rent Expense and Sublease Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommitmentsScheduleOfRentExpenseAndSubleaseIncomeDetails</Role>
      <ShortName>Commitments (Schedule of Rent Expense and Sublease Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CommitmentsTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2414404 - Disclosure - Commitments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/CommitmentsNarrativeDetails</Role>
      <ShortName>Commitments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/CommitmentsTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Segment Information Segment Information (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformationSegmentInformationNarrativeDetails</Role>
      <ShortName>Segment Information Segment Information (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Segment Information (Schedule of Revenues by Customer) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformationScheduleOfRevenuesByCustomerDetails</Role>
      <ShortName>Segment Information (Schedule of Revenues by Customer) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/SegmentInformationTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2418404 - Disclosure - Segment Information (Concentration Risk by Customer) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformationConcentrationRiskByCustomerDetails</Role>
      <ShortName>Segment Information (Concentration Risk by Customer) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/SegmentInformationTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2418405 - Disclosure - Segment Information (Revenues from Geographic Regions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/SegmentInformationRevenuesFromGeographicRegionsDetails</Role>
      <ShortName>Segment Information (Revenues from Geographic Regions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/SegmentInformationTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Quarterly Financial Data (Unaudited) (Summary of Unaudited Quarterly Financial Data) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/QuarterlyFinancialDataUnauditedSummaryOfUnauditedQuarterlyFinancialDataDetails</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Summary of Unaudited Quarterly Financial Data) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="exel-20171229.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Quarterly Financial Data (Unaudited) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.exelixis.com/role/QuarterlyFinancialDataUnauditedNarrativeDetails</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.exelixis.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>exel-20171229.xml</File>
    <File>exel-20171229.xsd</File>
    <File>exel-20171229_cal.xml</File>
    <File>exel-20171229_def.xml</File>
    <File>exel-20171229_lab.xml</File>
    <File>exel-20171229_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
