Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the Registration Statement (Form S-8) pertaining to the 2023 Free Share Plan of Nanobiotix S.A. of our report
dated April 24, 2023, with respect to the consolidated financial statements of Nanobiotix S.A. included in its Annual Report (Form 20-F) for the year ended December 31, 2022, filed with the Securities and Exchange Commission.
/s/ ERNST & YOUNG et Autres
Paris La Défense, France
June 27, 2023