QuickLinks -- Click here to rapidly navigate through this document
Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
As independent registered public accountants, we hereby consent to the incorporation by reference in this Registration Statement on Form S-3 and related Prospectus, of our report dated March 28, 2019, relating to the consolidated financial statements of Aridis Pharmaceuticals, Inc. included in its Annual Report on Form 10-K for the year ended December 31, 2018, which report includes an explanatory paragraph relating to the uncertainty of the Company's ability to continue as a going concern. We also consent to the reference to our Firm under the caption "Experts" in the Prospectus, which is part of said Registration Statement.
/s/ Mayer Hoffman McCann P.C.
San Diego, California
September 3, 2019
QuickLinks
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM