Attached files

file filename
10-K - 10-K - CUBIST PHARMACEUTICALS INCa2196647z10-k.htm
EX-2.2 - EXHIBIT 2.2 - CUBIST PHARMACEUTICALS INCa2196647zex-2_2.htm
EX-10.31 - EXHIBIT 10.31 - CUBIST PHARMACEUTICALS INCa2196647zex-10_31.htm
EX-23.2 - EXHIBIT 23.2 - CUBIST PHARMACEUTICALS INCa2196647zex-23_2.htm
EX-32.2 - EXHIBIT 32.2 - CUBIST PHARMACEUTICALS INCa2196647zex-32_2.htm
EX-21.1 - EXHIBIT 21.1 - CUBIST PHARMACEUTICALS INCa2196647zex-21_1.htm
EX-31.2 - EXHIBIT 31.2 - CUBIST PHARMACEUTICALS INCa2196647zex-31_2.htm
EX-32.1 - EXHIBIT 32.1 - CUBIST PHARMACEUTICALS INCa2196647zex-32_1.htm
EX-31.1 - EXHIBIT 31.1 - CUBIST PHARMACEUTICALS INCa2196647zex-31_1.htm
EX-10.60 - EXHIBIT 10.60 - CUBIST PHARMACEUTICALS INCa2196647zex-10_60.htm
EX-10.57 - EXHIBIT 10.57 - CUBIST PHARMACEUTICALS INCa2196647zex-10_57.htm
EX-10.58 - EXHIBIT 10.58 - CUBIST PHARMACEUTICALS INCa2196647zex-10_58.htm
EX-10.61 - EXHIBIT 10.61 - CUBIST PHARMACEUTICALS INCa2196647zex-10_61.htm
EX-10.52 - EXHIBIT 10.52 - CUBIST PHARMACEUTICALS INCa2196647zex-10_52.htm
EX-10.56 - EXHIBIT 10.56 - CUBIST PHARMACEUTICALS INCa2196647zex-10_56.htm
EX-10.47 - EXHIBIT 10.47 - CUBIST PHARMACEUTICALS INCa2196647zex-10_47.htm
EX-10.54 - EXHIBIT 10.54 - CUBIST PHARMACEUTICALS INCa2196647zex-10_54.htm
EX-10.51 - EXHIBIT 10.51 - CUBIST PHARMACEUTICALS INCa2196647zex-10_51.htm
EX-10.59 - EXHIBIT 10.59 - CUBIST PHARMACEUTICALS INCa2196647zex-10_59.htm
EX-10.33 - EXHIBIT 10.33 - CUBIST PHARMACEUTICALS INCa2196647zex-10_33.htm
EX-10.55 - EXHIBIT 10.55 - CUBIST PHARMACEUTICALS INCa2196647zex-10_55.htm

QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (Nos. 333-162764, 333-162763, 333-155352, 333-148455, 333-148454, 333-136937, 333-118065, 333-106388, 333-101908, 333-99739, 333-65385, 333-65383, 333-60168, 333-60152, 333-54140, 333-49522, 333-32178, 333-25707, 333-124210, 333-126225 and 333-132248) of Cubist Pharmaceuticals, Inc. of our report dated February 26, 2010, relating to the financial statements, financial statement schedule and the effectiveness of internal control over financial reporting, which appears in the Annual Report to Shareholders, which is incorporated in this Annual Report on Form 10-K.

/s/ PRICEWATERHOUSECOOPERS LLP

PricewaterhouseCoopers LLP
Boston, Massachusetts
February 26, 2010
   



QuickLinks