QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in the Registration Statement (Form S-8) pertaining to the 2004 Equity Incentive Plan of Gilead Sciences, Inc. of our report dated January 23, 2004, with respect to the consolidated financial statements and schedule of Gilead Sciences, Inc. included in its Annual Report (Form 10-K) for the year ended December 31, 2003, filed with the Securities and Exchange Commission.


 

 

/s/  
ERNST & YOUNG LLP      

Palo Alto, California
July 14, 2004




QuickLinks

CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM