<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000882095</identifier>
        </entity>
        <period>
            <startDate>2026-05-07</startDate>
            <endDate>2026-05-07</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000882095</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-07</startDate>
            <endDate>2026-05-07</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-18">0000882095</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-19">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-20">N/A</ffd:OffsetTableNa>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-2">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-3">GILEAD SCIENCES, INC.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-5">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-6">Common stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="c-2" id="f-7">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-8" unitRef="shares">47750000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-9" unitRef="usd">130.09</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-10" unitRef="usd">6211797500</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-11" unitRef="number">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-12" unitRef="usd">857849.23</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-13" unitRef="usd">6211797500</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">857849.23</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-15" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-16" unitRef="usd">857849.23</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-17">(1)&#160;&#160;&#160;&#160;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement on Form S-8 shall also cover such indeterminate number of additional shares of common stock, par value $0.001 per share, of the Registrant (the &#x201c;Common Stock&#x201d;) as may become issuable to prevent dilution in the event of stock splits, stock dividends or similar transactions pursuant to the terms of the Gilead Sciences, Inc. 2022 Equity Incentive Plan, as amended and restated (the &#x201c;Plan&#x201d;). The &#x201c;Proposed Maximum Offering Price Per Unit&#x201d; and the &#x201c;Maximum Aggregate Offering Price&#x201d; are estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and (h) under the Securities Act, and based on the average of the high and low sale prices of the Common Stock, as quoted on The Nasdaq Global Select Market, on April 30, 2026. The &#x201c;Amount Registered&#x201d; represents an additional 47,750,000 shares of Common Stock reserved for issuance under the Plan.</ffd:OfferingNote>
</xbrl>
