CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in this Registration Statement of ANI Pharmaceuticals, Inc. on Form S-8 to be filed on or about July 17, 2026 of our reports dated February 27, 2026, on our audits of the financial statements as of December 31, 2025 and 2024 and for each of the years in the three-year period ended December 31, 2025, and the effectiveness of ANI Pharmaceuticals, Inc. and Subsidiaries’ internal control over financial reporting as of December 31, 2025, which reports were included in the Annual Report on Form 10-K filed February 27, 2026.
/s/ EisnerAmper LLP
EISNERAMPER LLP
Iselin, New Jersey
July 17, 2026