Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” and to the use of our report dated June 26, 2026 (except for the seventh paragraph of Note 1, as to which the date is September 14, 2026) in the Amendment No. 1 to the Registration Statement (Form S-1 No. 333-298617) and related Prospectus of Electra Therapeutics, Inc. for the registration of shares of its common stock.

/s/ Ernst & Young LLP

San Mateo, California

September 14, 2026