<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vcyt-20210601.xsd" xlink:type="simple"/>
    <context id="duration_2021-06-01_to_2021-06-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001384101</identifier>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2021-06-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="duration_2021-06-01_to_2021-06-01"
      id="Hidden_dei_AmendmentFlag_duration_2021-06-01_to_2021-06-01">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2021-06-01_to_2021-06-01"
      id="Hidden_dei_EntityCentralIndexKey_duration_2021-06-01_to_2021-06-01">0001384101</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2021-06-01_to_2021-06-01">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2021-06-01_to_2021-06-01">2021-06-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2021-06-01_to_2021-06-01">VERACYTE, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2021-06-01_to_2021-06-01">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2021-06-01_to_2021-06-01">001-36156</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2021-06-01_to_2021-06-01">20-5455398</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2021-06-01_to_2021-06-01">6000 Shoreline Court</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2021-06-01_to_2021-06-01">Suite&#160;300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2021-06-01_to_2021-06-01">South San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2021-06-01_to_2021-06-01">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2021-06-01_to_2021-06-01">94080</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2021-06-01_to_2021-06-01">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2021-06-01_to_2021-06-01">243-6300</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2021-06-01_to_2021-06-01">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2021-06-01_to_2021-06-01">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2021-06-01_to_2021-06-01">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2021-06-01_to_2021-06-01">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2021-06-01_to_2021-06-01">Common Stock, par value, $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2021-06-01_to_2021-06-01">VCYT</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2021-06-01_to_2021-06-01">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2021-06-01_to_2021-06-01">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="duration_2021-06-01_to_2021-06-01">This Amendment No.&#160;1 on Form 8-K/A is an amendment to the Current Report on Form 8-K (the &#x201c;Form 8-K&#x201d;) of Veracyte, Inc., a Delaware corporation (&#x201c;Veracyte&#x201d;), filed with the Securities and Exchange Commission on June&#160;1, 2021, for the sole purpose of removing the check mark in the box relating to written communications pursuant to Rule 425 under the Securities Act (17 CFR 230.425), which was inadvertently checked in the Form 8-K. All other information in the Form 8-K is unchanged.</dei:AmendmentDescription>
</xbrl>
