Attached files

file filename
EX-10.2 - EX-10.2 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_2.htm
EX-10.21 - EX-10.21 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_21.htm
EX-10.19 - EX-10.19 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_19.htm
EX-10.18 - EX-10.18 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_18.htm
EX-10.14 - EX-10.14 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_14.htm
EX-10.13 - EX-10.13 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_13.htm
EX-10.10 - EX-10.10 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_10.htm
EX-10.8 - EX-10.8 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_8.htm
EX-10.1 - EX-10.1 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-10_1.htm
EX-5.1 - EX-5.1 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-5_1.htm
EX-4.1 - EX-4.1 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-4_1.htm
EX-3.5 - EX-3.5 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-3_5.htm
EX-3.4 - EX-3.4 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-3_4.htm
EX-3.3 - EX-3.3 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-3_3.htm
EX-3.2 - EX-3.2 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-3_2.htm
EX-1.1 - EX-1.1 - RHYTHM PHARMACEUTICALS, INC.a2233203zex-1_1.htm
S-1/A - S-1/A - RHYTHM PHARMACEUTICALS, INC.a2233203zs-1a.htm

QuickLinks -- Click here to rapidly navigate through this document


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 May 23, 2017, except for Note 13, as to which the date is September 22, 2017 in Amendment No.1 to the Registration Statement (Form S-1) and related Prospectus of Rhythm Pharmaceuticals, Inc. for the registration of 7,666,666 shares of its common stock.

/s/ Ernst & Young LLP

Boston, Massachusetts
September 22, 2017




QuickLinks