<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001579672</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001023024</issuerCik>
            <issuerName>ANI Pharmaceuticals, Inc.</issuerName>
            <secFileNumber>001-31812</secFileNumber>
            <issuerAddress>
                <ns2:street1>210 Main Street West</ns2:street1>
                <ns2:city>Baudette</ns2:city>
                <ns2:stateOrCountry>MN</ns2:stateOrCountry>
                <ns2:zipCode>56623</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(218) 634-3500</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>ROBERT E BROWN JR</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Observer for Board of Directors</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>15977</noOfUnitsSold>
            <aggregateMarketValue>951630.06</aggregateMarketValue>
            <noOfUnitsOutstanding>20280798</noOfUnitsOutstanding>
            <approxSaleDate>08/18/2023</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/01/2013</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of Warrants</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>4167</amountOfSecuritiesAcquired>
            <paymentDate>07/01/2013</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/01/2013</acquiredDate>
            <natureOfAcquisitionTransaction>Compensation for Past Services</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>8310</amountOfSecuritiesAcquired>
            <paymentDate>11/01/2013</paymentDate>
            <natureOfPayment>Compensation</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>04/01/2014</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of Warrants</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>3500</amountOfSecuritiesAcquired>
            <paymentDate>04/01/2014</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>Meridian Venture Partners II LLC</name>
                <address>
                    <ns2:street1>210 Main Street West</ns2:street1>
                    <ns2:city>Baudette</ns2:city>
                    <ns2:stateOrCountry>MN</ns2:stateOrCountry>
                    <ns2:zipCode>56623</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>08/16/2023</saleDate>
            <amountOfSecuritiesSold>200000</amountOfSecuritiesSold>
            <grossProceeds>11700000.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>08/18/2023</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Robert Emmet Brown</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5140}]
144
0001579672
XXXXXXXX
LIVE
0001023024
ANI Pharmaceuticals, Inc.
001-31812
210 Main Street West
Baudette
MN
56623
(218) 634-3500
ROBERT E BROWN JR
Observer for Board of Directors
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
15977
951630.06
20280798
08/18/2023
NASDAQ
Common
07/01/2013
Exercise of Warrants
Issuer
N
4167
07/01/2013
Cash
Common
11/01/2013
Compensation for Past Services
Issuer
N
8310
11/01/2013
Compensation
Common
04/01/2014
Exercise of Warrants
Issuer
N
3500
04/01/2014
Cash
N
Meridian Venture Partners II LLC
210 Main Street West
Baudette
MN
56623
Common
08/16/2023
200000
11700000.00
08/18/2023
/s/ Robert Emmet Brown