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-228975) of Molecular Templates, Inc.,

 

2)

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

 

3)

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

 

4)

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

 

5)

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

 

6)

Registration Statement (Form S-8 No. 333-225826) of Molecular Templates, Inc. pertaining to the Molecular Templates, Inc. 2018 Equity Incentive Plan

 

7)

Registration Statement (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,

 

8)

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

 

9)

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

 

10)

Registration Statement (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,

 

11)

Registration Statement (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,

 

12)

Registration Statement (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,

 

13)

Registration Statement (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,

 

14)

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

 

15)

Registration Statement (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,

 

16)

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

 

17)

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

 

18)

Registration Statement (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

 

19)

Registration Statement (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 29, 2019, 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, 2018.

/s/ Ernst & Young LLP

Austin, Texas

March 29, 2019