Exhibit 5.1

November 20, 2018
DexCom, Inc.
6340 Sequence Drive
San Diego, CA 92121
Gentlemen and Ladies:
We deliver this opinion with respect to certain matters in connection with the offering by DexCom, Inc., a Delaware corporation (the “Company”), of up to an aggregate of 3,865,979 shares of the Company’s common stock, par value $0.001 per share (the “Shares”), to be issued pursuant to that certain Amended and Restated Collaboration and License Agreement, dated as of even date herewith, by and among the Company, Verily Life Sciences LLC (an Alphabet Company) and Verily Ireland Limited (the “Collaboration and License Agreement”) and that certain Common Stock Purchase Agreement, dated as of even date herewith by and among the Company, Verily Life Sciences LLC and Onduo, LLC, a joint venture partially owned by Verily the “Purchase Agreement” and together with the Collaboration and License Agreement, the “Agreements”). The Shares were registered pursuant to an automatic shelf Registration Statement on FormS-3 (FileNo. 333-228495) filed by the Company with the Securities and Exchange Commission (the “Commission”) on November 20, 2018 under the Securities Act of 1933, as amended (the “Securities Act”), which automatically became effective upon filing (the “Registration Statement”), the prospectus dated November 20, 2018 included therein (the “Base Prospectus”) and the final prospectus supplement dated November 20, 2018, filed with the Commission pursuant to Rule 424(b) under the Securities Act (the “Prospectus Supplement” and together with the Base Prospectus, the “Prospectus”). The offering of the Shares by the Company pursuant to the Registration Statement, the Prospectus and the Agreements is referred to herein as the “Offering.”
In connection with our opinion expressed below we have examined originals or copies of the Agreements, the Company’s Restated Certificate of Incorporation, as amended to date, filed with, and certified by, the Delaware Secretary of State (the “Restated Certificate”) and the Company’s Amended & Restated Bylaws (the “Bylaws”), certain corporate proceedings of the Company’s board of directors (the “Board”) or an authorized committee or committees thereof and the Company’s stockholders relating to the Registration Statement, the Restated Certificate and the Bylaws, and such other agreements, documents, certificates and statements of the Company, its transfer agent and public or government officials, as we have deemed advisable, and have examined such questions of law as we have considered necessary.
We have assumed the authenticity of all documents submitted to us as originals, the genuineness of all signatures on documents submitted to us, the conformity to originals and completeness of all documents submitted to us as copies, the legal capacity of all persons or entities executing the same, the absence of any undisclosed termination, modification, waiver or amendment to any document reviewed by us, the absence of any other extrinsic agreements or documents that might change or affect the interpretation or terms of documents we have reviewed, and the due authorization, execution and delivery of all such documents where due authorization, execution and delivery are prerequisites to the effectiveness thereof. In giving our opinion, we have also relied upon a good standing certificate regarding the Company issued by the Delaware Secretary of State dated November 19, 2018 and a management certificate addressed to us and dated of even date herewith executed by the Company containing certain factual representations by the Company (the “Management Certificate”).
We render this opinion only with respect to, and express no opinion herein concerning the application or effect of any laws other than, the existing Delaware General Corporation Law.
In connection with our opinions expressed below, we have assumed that, (i) at or prior to the time of the issuance and delivery of any of the Shares, there will not have occurred any change in the law or the facts affecting the validity of the Shares, any change in actions of the Board or the Company’s stockholders, or any amendments to the Restated Certificate or the Bylaws, and (ii) at the time of the offer, issuance and sale of any Shares, no stop order