FORM 4
Check this box if no longer subject to Section 16. Form 4 or Form 5 obligations may continue. See Instruction 1(b).
UNITED STATES SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549

STATEMENT OF CHANGES IN BENEFICIAL OWNERSHIP OF SECURITIES

Filed pursuant to Section 16(a) of the Securities Exchange Act of 1934, Section 17(a) of the Public Utility Holding Company Act of 1935 or Section 30(h) of the Investment Company Act of 1940
OMB APPROVAL
OMB Number: 3235-0287
Expires: February 28, 2011
Estimated average burden hours per response... 0.5

(Print or Type Responses)
1. Name and Address of Reporting Person *
Ross William Masters
  2. Issuer Name and Ticker or Trading Symbol
UNIFIRST CORP [UNF]
5. Relationship of Reporting Person(s) to Issuer
(Check all applicable)
_____ Director _____ 10% Owner
__X__ Officer (give title below) _____ Other (specify below)
Executive Vice President
(Last)
(First)
(Middle)
C/O UNIFIRST CORP, 68 JONSPIN ROAD
3. Date of Earliest Transaction (Month/Day/Year)
10/31/2023
(Street)

WILMINGTON, MA 01887
4. If Amendment, Date Original Filed (Month/Day/Year)
6. Individual or Joint/Group Filing (Check Applicable Line)
_X_ Form filed by One Reporting Person
___ Form filed by More than One Reporting Person
(City)
(State)
(Zip)
Table I - Non-Derivative Securities Acquired, Disposed of, or Beneficially Owned
1.Title of Security
(Instr. 3)
2. Transaction Date (Month/Day/Year) 2A. Deemed Execution Date, if any (Month/Day/Year) 3. Transaction Code
(Instr. 8)
4. Securities Acquired (A) or Disposed of (D)
(Instr. 3, 4 and 5)
5. Amount of Securities Beneficially Owned Following Reported Transaction(s)
(Instr. 3 and 4)
6. Ownership Form: Direct (D) or Indirect (I)
(Instr. 4)
7. Nature of Indirect Beneficial Ownership
(Instr. 4)
Code V Amount (A) or (D) Price
Common Stock 10/31/2023   A   1,597 (1) A $ 0 6,107 D  
Common Stock 10/31/2023   F   500 (2) D $ 164.43 5,607 (3) D  
Common Stock               65 I By IRA

Reminder: Report on a separate line for each class of securities beneficially owned directly or indirectly.
Persons who respond to the collection of information contained in this form are not required to respond unless the form displays a currently valid OMB control number. SEC 1474 (9-02)

Table II - Derivative Securities Acquired, Disposed of, or Beneficially Owned
(e.g., puts, calls, warrants, options, convertible securities)
1. Title of Derivative Security
(Instr. 3)
2. Conversion or Exercise Price of Derivative Security 3. Transaction Date (Month/Day/Year) 3A. Deemed Execution Date, if any (Month/Day/Year) 4. Transaction Code
(Instr. 8)
5. Number of Derivative Securities Acquired (A) or Disposed of (D)
(Instr. 3, 4, and 5)
6. Date Exercisable and Expiration Date
(Month/Day/Year)
7. Title and Amount of Underlying Securities
(Instr. 3 and 4)
8. Price of Derivative Security
(Instr. 5)
9. Number of Derivative Securities Beneficially Owned Following Reported Transaction(s)
(Instr. 4)
10. Ownership Form of Derivative Security: Direct (D) or Indirect (I)
(Instr. 4)
11. Nature of Indirect Beneficial Ownership
(Instr. 4)
Code V (A) (D) Date Exercisable Expiration Date Title Amount or Number of Shares
Stock Appreciation Right (4) $ 164.43 10/31/2023   A   1,545     (4) 10/31/2033 Common Stock ($0.10 par value) 1,545 $ 0 1,545 D  

Reporting Owners

Reporting Owner Name / Address Relationships
 Director  10% Owner  Officer  Other
Ross William Masters
C/O UNIFIRST CORP
68 JONSPIN ROAD
WILMINGTON, MA 01887
      Executive Vice President  

Signatures

 /s/ Steven S. Sintros, Attorney-in-Fact   11/02/2023
**Signature of Reporting Person Date

Explanation of Responses:

* If the form is filed by more than one reporting person, see Instruction 4(b)(v).
** Intentional misstatements or omissions of facts constitute Federal Criminal Violations. See 18 U.S.C. 1001 and 15 U.S.C. 78ff(a).
(1) Represents restricted stock units granted under the UniFirst Corporation Amended and Restated 2010 Stock Option and Incentive Plan (the "2010 Plan"). Such restricted stock units vest in five equal annual installments on October 31, 2024, October 31, 2025, October 31, 2026, October 31, 2027 and October 31, 2028.
(2) Represents shares of Common Stock withheld by UniFirst Corporation to satisfy certain tax withholding obligations in connection with the vesting of certain restricted stock units.
(3) Consists of 194 restricted stock units that vest in one remaining annual installment on October 31, 2024, 468 restricted stock units that vest in two remaining equal annual installments on October 31, 2024 and October 31, 2025, 672 restricted stock units that vest in three remaining equal annual installments on October 31, 2024, October 31, 2025 and October 31, 2026, 1,103 restricted stock units that vest in four remaining equal annual installments on October 31, 2024, October 31, 2025, October 31, 2026 and October 31, 2027, 1,597 restricted stock units that vest in five equal annual installments on October 31, 2024, October 31, 2025, October 31, 2026, October 31, 2027 and October 31, 2028 and 1,573 shares of Common Stock owned by the reporting person
(4) This stock appreciation right, which was granted under the 2010 Plan, becomes vested and exercisable in five equal annual installments on October 31, 2024, October 31, 2025, October 31, 2026, October 31, 2027 and October 31, 2028. This stock appreciation right is required to be settled in stock at the time of exercise.

Note: File three copies of this Form, one of which must be manually signed. If space is insufficient, see Instruction 6 for procedure.

Potential persons who are to respond to the collection of information contained in this form are not required to respond unless the form displays a currently valid OMB number.