<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13D" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>SCHEDULE 13D</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001341401</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <securitiesClassTitle>Common Stock</securitiesClassTitle>
      <dateOfEvent>11/14/2025</dateOfEvent>
      <previouslyFiledFlag>true</previouslyFiledFlag>
      <issuerInfo>
        <issuerCIK>0000717954</issuerCIK>
        <issuerCUSIP>904708104</issuerCUSIP>
        <issuerName>UNIFIRST CORP</issuerName>
        <address>
          <com:street1>68 JONSPIN RD</com:street1>
          <com:city>WILMINGTON</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>01887</com:zipCode>
        </address>
      </issuerInfo>
      <authorizedPersons>
        <notificationInfo>
          <personName>Meagan Snyder, CCO</personName>
          <personPhoneNum>5023714118</personPhoneNum>
          <personAddress>
            <com:street1>462 South 4th Street, Suite 2000</com:street1>
            <com:city>Louisville</com:city>
            <com:stateOrCountry>KY</com:stateOrCountry>
            <com:zipCode>40202</com:zipCode>
          </personAddress>
        </notificationInfo>
      </authorizedPersons>
    </coverPageHeader>
    <reportingPersons>
      <reportingPersonInfo>
        <reportingPersonCIK>0001341401</reportingPersonCIK>
        <reportingPersonNoCIK>N</reportingPersonNoCIK>
        <reportingPersonName>River Road Asset Management, LLC</reportingPersonName>
        <fundType>OO</fundType>
        <legalProceedings>N</legalProceedings>
        <citizenshipOrOrganization>DE</citizenshipOrOrganization>
        <soleVotingPower>763959.00</soleVotingPower>
        <sharedVotingPower>0.00</sharedVotingPower>
        <soleDispositivePower>881303.00</soleDispositivePower>
        <sharedDispositivePower>0.00</sharedDispositivePower>
        <aggregateAmountOwned>881303.00</aggregateAmountOwned>
        <isAggregateExcludeShares>N</isAggregateExcludeShares>
        <percentOfClass>6.1</percentOfClass>
        <typeOfReportingPerson>IA</typeOfReportingPerson>
      </reportingPersonInfo>
    </reportingPersons>
    <items1To7>
      <item1>
        <securityTitle>Common Stock</securityTitle>
        <issuerName>UNIFIRST CORP</issuerName>
        <issuerPrincipalAddress>
          <com:street1>68 JONSPIN RD</com:street1>
          <com:city>WILMINGTON</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>01887</com:zipCode>
        </issuerPrincipalAddress>
      </item1>
      <item2>
        <filingPersonName>River Road Asset Management, LLC (RRAM or the Filer)</filingPersonName>
        <principalBusinessAddress>462 South Fourth Street, Suite 2000, Louisville, KY 40202</principalBusinessAddress>
        <principalJob>RRAM is a Securities and Exchange Commission registered investment advisor.

The name, business address, business activity and present principal occupation or employment of each executive officer and director of the Filer are set forth in Annex A, which is incorporated herein by reference.
</principalJob>
        <hasBeenConvicted>During the last five years, none of the Filer, or the persons listed in Annex A, have been convicted in a criminal proceeding (excluding traffic violations or similar misdemeanors).</hasBeenConvicted>
        <convictionDescription>During the last five years, none of the Filer, or the persons listed in Annex A, were a party to a civil proceeding of a judicial or administrative body of competent jurisdiction and as a result of such proceeding was or is subject to a judgment, decree or final order enjoining future violations of, or prohibiting or mandating activities subject to, federal or state securities laws or finding any violation with respect to such laws.</convictionDescription>
        <citizenship>RRAM is organized under the laws of Delaware.

The citizenship of each executive officer and director of the Filer who is a natural person is set forth in Annex A hereto, which is incorporated herein by reference.
</citizenship>
      </item2>
      <item3>
        <fundsSource>The source of funds used in purchasing the Stock of the Issuer is RRAM client funds for which RRAM acts as investment advisor pursuant to an investment advisory agreement between each RRAM client and RRAM.  The amount of funds used in purchasing the Stock of the Issuer is $134,947,269.25.</fundsSource>
      </item3>
      <item4>
        <transactionPurpose>The Stock was acquired for investment purposes in the ordinary course of business. As such, the Filer may purchase, hold, vote, trade, dispose, sell or otherwise deal the Stock for the benefit of its clients depending on changes in
the per share price of the Stock, or related to changes in the Issuer's operations, management structure, business strategy, future acquisitions, growth prospects, liquidity, capital allocation, including use of leverage, or from the
sale or merger of the Issuer. The Filer may discuss such matters, and specifically may discuss board of director nominees and may suggest potential board of director nominees, with the Issuer's management or directors, other
shareholders, existing or potential strategic partners or competitors, investment and finance professionals, and other investors. Such analysis and discussions may result in the Filer materially modifying their ownership of the
Stock. The Filer may also exchange information with the Issuer pursuant to confidentiality or similar agreements, propose changes in its operations, governance, capitalization, or propose one or more of the actions described in
sections (a) through (j) of Item 4 of Schedule 13D, all in order to enhance shareholder value. The Filer does not intend to seek control of the Issuer or participate in the day-to-day management of the Issuer.
</transactionPurpose>
      </item4>
      <item5>
        <percentageOfClassSecurities>Based on 14,565,659 shares of Common Stock of the Issuer outstanding as of October 22, 2025, the Filer, or the persons listed in Annex A, may be deemed to beneficially own 881,303, or 6.1%, of the Issuer's outstanding shares of Common Stock.</percentageOfClassSecurities>
        <numberOfShares>The Filer, or the persons listed in Annex A, have the sole power to vote or direct the vote of 763,959 shares of the Stock and to dispose or direct the disposition of 881,303 shares of the Stock that the Filers may be deemed to beneficially own.</numberOfShares>
        <transactionDesc>The Filer effected the following transactions in the Stock in open market transactions on the dates indicated, and such transactions are the only transactions in the Stock by the Filer during the sixty days prior to and including November 14, 2025 (date range: September 15, 2025 through November 14, 2025):
(1) Name	(2) Date	(3) Number of Shares of Common Stock	(4) Price per Share of Common Stock 	(5) How Transacted - Sell or Buy	Where Transacted
RRAM	9/15/2025	                            479	172.03	Buy	RRAM Principal Place of Business
RRAM	9/29/2025	                            369 	166.57	Buy	 RRAM Principal Place of Business
RRAM	10/6/2025	                        3,773 	170.30	Buy	 RRAM Principal Place of Business
RRAM	10/10/2025	                            553 	157.38	Sell	 RRAM Principal Place of Business
RRAM	10/13/2025	                            636 	158.54	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                      21,630 	162.27	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                              30 	162.27	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                              13 	161.93	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                              13 	161.93	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                              13 	161.93	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                      19,020 	162.27	Buy	 RRAM Principal Place of Business
RRAM	10/14/2025	                            361 	162.76	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              82 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                        2,139 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            472 	162.62	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            264 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              19 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            142 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            189 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                        8,113 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              26 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            892 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              92 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            114 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            103 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            842 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              23 	162.62	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              99 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                          4,217 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                              66 	162.00	Buy	 RRAM Principal Place of Business
RRAM	10/16/2025	                            156 	162.89	Buy	 RRAM Principal Place of Business
RRAM	10/17/2025	                            1,073 	169.19	Buy	 RRAM Principal Place of Business
RRAM	10/17/2025	                            430 	169.34	Buy	 RRAM Principal Place of Business
RRAM	10/17/2025	                            326 	169.44	Buy	 RRAM Principal Place of Business
RRAM	10/17/2025	                            147 	168.44	Sell	 RRAM Principal Place of Business
RRAM	10/22/2025	                              95 	162.06	Buy	 RRAM Principal Place of Business
RRAM	10/22/2025	                            185 	162.88	Buy	 RRAM Principal Place of Business
RRAM	10/22/2025	                            104 	162.79	Buy	 RRAM Principal Place of Business
RRAM	10/22/2025	                            187 	163.61	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                      10,111 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                              14 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                                5 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                                5 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                                5 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/23/2025	                        8,756 	159.92	Buy	 RRAM Principal Place of Business
RRAM	10/29/2025	                              29 	158.31	Buy	 RRAM Principal Place of Business
RRAM	10/31/2025	                            394 	154.16	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                              25 	154.16	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                            522 	154.16	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                        2,199 	154.33	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                            100 	154.34	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                            568 	154.34	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                            372 	154.34	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                            279 	154.34	Sell	 RRAM Principal Place of Business
RRAM	10/31/2025	                                8 	154.34	Sell	 RRAM Principal Place of Business
RRAM	11/3/2025	                         9,193 	155.81	Buy	 RRAM Principal Place of Business
RRAM	11/3/2025	                        1,564 	154.84	Buy	 RRAM Principal Place of Business
RRAM	11/3/2025	                            397 	155.75	Buy	 RRAM Principal Place of Business
RRAM	11/4/2025	                              19 	150.78	Buy	 RRAM Principal Place of Business
RRAM	11/4/2025	                              19 	150.78	Buy	 RRAM Principal Place of Business
RRAM	11/4/2025	                              19 	150.78	Buy	 RRAM Principal Place of Business
RRAM	11/6/2025	                              59 	150.14	Buy	 RRAM Principal Place of Business
RRAM	11/6/2025	                            182 	149.72	Sell	 RRAM Principal Place of Business
RRAM	11/7/2025	                              43 	150.80	Sell	 RRAM Principal Place of Business
RRAM	11/10/2025	                              44 	151.18	Sell	 RRAM Principal Place of Business
RRAM	11/12/2025	                        1,149 	156.27	Buy	 RRAM Principal Place of Business
RRAM	11/12/2025	                              11 	155.98	Sell	 RRAM Principal Place of Business


The transactions noted above were purchases or sales of shares effected in the open market and the table includes commissions paid in per share prices.
</transactionDesc>
        <listOfShareholders>Not applicable.</listOfShareholders>
        <date5PercentOwnership>Not applicable.  </date5PercentOwnership>
      </item5>
      <item6>
        <contractDescription>RRAM is the investment adviser to accounts of RRAM clients pursuant to investment advisory agreements between RRAM clients and RRAM. Each investment advisory agreement provides RRAM with the authority, among other things, to invest account funds in the Stock, to dispose of the Stock, and to file this statement on behalf of the account. Some, but not all, investment advisory agreements provide RRAM with the authority to vote for the Stock. The number of shares of Stock for which RRAM has sole voting power is reflected on RRAM's cover page.</contractDescription>
      </item6>
      <item7>
        <filedExhibits>ANNEX A - The name, business address, business activity, present principal
occupation or employment and, if natural person, citizenship of each executive
officer and director of the Filers.</filedExhibits>
      </item7>
    </items1To7>
    <signatureInfo>
      <signaturePerson>
        <signatureReportingPerson>River Road Asset Management, LLC</signatureReportingPerson>
        <signatureDetails>
          <signature>Meagan Snyder</signature>
          <title>Meagan Snyder/Chief Compliance Officer</title>
          <date>11/17/2025</date>
        </signatureDetails>
      </signaturePerson>
    </signatureInfo>
  </formData>

</edgarSubmission>
