Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We hereby consent to the incorporation by reference in this Registration Statement on FormS-3 of Spero Therapeutics, Inc. of our report dated April 2, 2018 relating to the financial statements, which appears in Spero Therapeutics, Inc.’s Annual Report on Form10-K for the year ended December 31, 2017. We also consent to the reference to us under the heading “Experts” in such Registration Statement.
/s/ PricewaterhouseCoopers LLP
Boston, Massachusetts
December 3, 2018