Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

 

We consent to the incorporation by reference in the following Registration Statements:

 

1)

Registration Statement (Form S-3 No. 333-220477) of Molecular Templates, Inc.,

 

2)

Registration Statement (Form S-3 No. 333-207745) of Threshold Pharmaceuticals, Inc.,

 

3)

Registration Statement (Form S-3 No. 333-202043) of Threshold Pharmaceuticals, Inc.,

 

4)

Registration Statements (Form S-8 No. 333-221002) of Molecular Templates, Inc. pertaining to the 2009 Stock Plan, as amended, the 2014 Equity Incentive Plan, as amended, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

5)

Registration Statements (Form S-8 No. 333-210089) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Employee Stock Purchase Plan,

 

6)

Registration Statements (Form S-8 No. 333-202476) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Employee Stock Purchase Plan,

 

7)

Registration Statements (Form S-8 No. 333-196249) of Threshold Pharmaceuticals, Inc. pertaining to the 2014 Equity Incentive Plan, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

8)

Registration Statements (Form S-8 No. 333-187107) of Threshold Pharmaceuticals, Inc. pertaining to the 2004 Amended and Restated Equity Incentive Plan, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

9)

Registration Statements (Form S-8 No. 333-180149) of Threshold Pharmaceuticals, Inc. pertaining to the 2004 Amended and Restated Equity Incentive Plan, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

10)

Registration Statements (Form S-8 No. 333-173047 of Threshold Pharmaceuticals, Inc. pertaining to the 2004 Amended and Restated Equity Incentive Plan, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

11)

Registration Statements (Form S-8 No. 333-167260) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Equity Incentive Plan,

 

12)

Registration Statements (Form S-8 No. 333-164865) of Threshold Pharmaceuticals, Inc. pertaining to the 2004 Amended and Restated Equity Incentive Plan, and the Amended and Restated 2004 Employee Stock Purchase Plan,

 

13)

Registration Statements (Form S-8 No. 333-156733) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Equity Incentive Plan,

 

14)

Registration Statements (Form S-8 No. 333-143130) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Equity Incentive Plan,

 

15)

Registration Statements (Form S-8 No. 333-134598) of Threshold Pharmaceuticals, Inc. pertaining to the Amended and Restated 2004 Equity Incentive Plan, and the 2004 Employee Stock Purchase Plan, and

 

16)

Registration Statements (Form S-8 No. 333-126276) of Threshold Pharmaceuticals, Inc. pertaining to the 2001 Equity Incentive Plan, the 2004 Equity Incentive Plan, and the 2004 Employee Stock Purchase Plan;

of our report dated March 30, 2018, with respect to the consolidated financial statements of Molecular Templates, Inc. included in this Annual Report (Form 10-K) for the year ended December 31, 2017.

/s/ Ernst & Young LLP

Austin, Texas

March 30, 2018