<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gild-20200730.xsd" xlink:type="simple"/>
    <context id="if9de419a92104dcb893b095598d3459d_D20200730-20200730">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000882095</identifier>
        </entity>
        <period>
            <startDate>2020-07-30</startDate>
            <endDate>2020-07-30</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl80L2ZyYWc6M2MxMGZlOTcyMTUwNGY4YjhlZjZmZWUxYmEyNjJkYzkvdGFibGU6ZjhlMjliNTI5MzdmNGY4OTlhYTA4ZTI3YWQ4MTc4YWUvdGFibGVyYW5nZTpmOGUyOWI1MjkzN2Y0Zjg5OWFhMDhlMjdhZDgxNzhhZV8xLTEtMS0xLTA_9bca7aec-ba3f-4d1d-bc6f-23cec18491da">0000882095</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl80L2ZyYWc6M2MxMGZlOTcyMTUwNGY4YjhlZjZmZWUxYmEyNjJkYzkvdGFibGU6ZjhlMjliNTI5MzdmNGY4OTlhYTA4ZTI3YWQ4MTc4YWUvdGFibGVyYW5nZTpmOGUyOWI1MjkzN2Y0Zjg5OWFhMDhlMjdhZDgxNzhhZV8yLTEtMS0xLTA_2be2d843-f087-4d03-8c93-448a6622d23f">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV85MQ_7b373df0-a96c-467c-a099-094974865a24">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8yMzg_fc170744-d797-433e-b4ce-9c30793a6c48">2020-07-30</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8yNDQ_75f2e4a4-95d2-40e4-9dd6-aac4ede26fda">GILEAD SCIENCES, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGMwOWI4YTE0NWY5NGFiNzhlODMyZWI2YzgyODliNGMvdGFibGVyYW5nZTowYzA5YjhhMTQ1Zjk0YWI3OGU4MzJlYjZjODI4OWI0Y18wLTAtMS0xLTA_76d270dd-45f6-4082-9fd1-637a809e3322">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGMwOWI4YTE0NWY5NGFiNzhlODMyZWI2YzgyODliNGMvdGFibGVyYW5nZTowYzA5YjhhMTQ1Zjk0YWI3OGU4MzJlYjZjODI4OWI0Y18wLTEtMS0xLTA_f591730b-739d-473b-8d41-de263f91ea6a">0-19731</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGMwOWI4YTE0NWY5NGFiNzhlODMyZWI2YzgyODliNGMvdGFibGVyYW5nZTowYzA5YjhhMTQ1Zjk0YWI3OGU4MzJlYjZjODI4OWI0Y18wLTItMS0xLTA_4e680997-9a4a-4e33-826c-d40e4397d4c0">94-3047598</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zMDY_8e355567-7334-4f24-a843-935a7dcb9db4">333 Lakeside Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zMTA_70a2ccfe-0443-4c01-a100-67d04546a207">Foster City</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zMTQ_1d1de9ce-33ff-4f80-a34a-f48294ac77ee">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNTk_1a01e3fa-c2ec-4e66-91b4-51ca9160f390">94404</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNzQ_a9c7c367-0e01-4854-b3e7-143c6f9ebaf0">650</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNzc_ea353977-1e6d-4a66-b1a6-c3cfc58a0e7d">574-3000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNjM5_d7931316-de65-45a1-a93f-2be3a7e8463f">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNjM1_0d617946-58d5-4442-9ea6-68f4db1b04fb">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNjM2_b327fc63-0470-4ad9-b425-cd6effcbfa8c">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNjM3_ac44ae88-4349-4886-a6e6-2452f3c473f7">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGFjMjE3ZDZjYTY1NGJhODkwZjE5MGIzOTcyMzFkYjMvdGFibGVyYW5nZTowYWMyMTdkNmNhNjU0YmE4OTBmMTkwYjM5NzIzMWRiM18xLTAtMS0xLTA_d758cf6a-6309-4ae1-bc51-fcdff0382075">Common Stock, par value, $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGFjMjE3ZDZjYTY1NGJhODkwZjE5MGIzOTcyMzFkYjMvdGFibGVyYW5nZTowYWMyMTdkNmNhNjU0YmE4OTBmMTkwYjM5NzIzMWRiM18xLTItMS0xLTA_39842630-1870-444d-a8a3-3512c1035c03">GILD</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGFibGU6MGFjMjE3ZDZjYTY1NGJhODkwZjE5MGIzOTcyMzFkYjMvdGFibGVyYW5nZTowYWMyMTdkNmNhNjU0YmE4OTBmMTkwYjM5NzIzMWRiM18xLTQtMS0xLTA_a975c62d-d30d-4c00-a404-8ce69c7193d5">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="if9de419a92104dcb893b095598d3459d_D20200730-20200730"
      id="id3VybDovL2RvY3MudjEvZG9jOjY1NDgxOTMxYWY0ZTQ2ZjNiNTNhMzYyOWQyMzZmZGE2L3NlYzo2NTQ4MTkzMWFmNGU0NmYzYjUzYTM2MjlkMjM2ZmRhNl8xL2ZyYWc6OWRhZGRmOWU4ZjVhNGYwNDk3Mzc2ZmNlOWQ3MzI3ZTkvdGV4dHJlZ2lvbjo5ZGFkZGY5ZThmNWE0ZjA0OTczNzZmY2U5ZDczMjdlOV8zNjM4_ffde6f3a-97e1-4552-bb10-5b2b213927c0">false</dei:EntityEmergingGrowthCompany>
</xbrl>
