<?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>0001652545</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0000891024</issuerCik>
            <issuerName>PATTERSON COMPANIES INC.</issuerName>
            <secFileNumber>000-20572</secFileNumber>
            <issuerAddress>
                <ns2:street1>1031 Mendota Heights Road</ns2:street1>
                <ns2:city>St. Paul,</ns2:city>
                <ns2:stateOrCountry>MN</ns2:stateOrCountry>
                <ns2:zipCode>55120</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(651) 686-1600</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>LESLIE KORSH</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>E*TRADE FINANCIAL CORPORATION</name>
                <address>
                    <ns2:street1>3 EDISON DRIVE</ns2:street1>
                    <ns2:city>ALPHARETTA</ns2:city>
                    <ns2:stateOrCountry>GA</ns2:stateOrCountry>
                    <ns2:zipCode>30005</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>908</noOfUnitsSold>
            <aggregateMarketValue>29364.72</aggregateMarketValue>
            <noOfUnitsOutstanding>95294000</noOfUnitsOutstanding>
            <approxSaleDate>07/05/2023</approxSaleDate>
            <securitiesExchangeName>NASD</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/01/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>908</amountOfSecuritiesAcquired>
            <paymentDate>07/01/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>LESLIE KORSH</name>
                <address>
                    <ns2:street1>1031 Mendota Heights Road</ns2:street1>
                    <ns2:city>St. Paul,</ns2:city>
                    <ns2:stateOrCountry>MN</ns2:stateOrCountry>
                    <ns2:zipCode>55120</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>06/21/2023</saleDate>
            <amountOfSecuritiesSold>3500</amountOfSecuritiesSold>
            <grossProceeds>111125.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>07/05/2023</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>01/04/2023</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Les B Korsh</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3916}]
144
0001652545
XXXXXXXX
LIVE
0000891024
PATTERSON COMPANIES INC.
000-20572
1031 Mendota Heights Road
St. Paul,
MN
55120
(651) 686-1600
LESLIE KORSH
Officer
Common
E*TRADE FINANCIAL CORPORATION
3 EDISON DRIVE
ALPHARETTA
GA
30005
908
29364.72
95294000
07/05/2023
NASD
Common
07/01/2023
Restricted Stock
Issuer
N
908
07/01/2023
Not Applicable
N
LESLIE KORSH
1031 Mendota Heights Road
St. Paul,
MN
55120
Common
06/21/2023
3500
111125.00
07/05/2023
01/04/2023
/s/ Les B Korsh