<SEC-DOCUMENT>0001284084-18-000035.txt : 20180329
<SEC-HEADER>0001284084-18-000035.hdr.sgml : 20180329
<ACCEPTANCE-DATETIME>20180329170841
ACCESSION NUMBER:		0001284084-18-000035
CONFORMED SUBMISSION TYPE:	4
PUBLIC DOCUMENT COUNT:		1
CONFORMED PERIOD OF REPORT:	20180327
FILED AS OF DATE:		20180329
DATE AS OF CHANGE:		20180329

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Queue Limited Partnership
		CENTRAL INDEX KEY:			0001366137
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			1231

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-08504
		FILM NUMBER:		18723825

	BUSINESS ADDRESS:	
		STREET 1:		68 JONSPIN RD.
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887
		BUSINESS PHONE:		978-658-8888 X 520

	MAIL ADDRESS:	
		STREET 1:		68 JONSPIN RD.
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887

REPORTING-OWNER:	

	OWNER DATA:	
		COMPANY CONFORMED NAME:			Queue Management Associates, Inc.
		CENTRAL INDEX KEY:			0001366135
		STATE OF INCORPORATION:			MA
		FISCAL YEAR END:			1231

	FILING VALUES:
		FORM TYPE:		4
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-08504
		FILM NUMBER:		18723824

	BUSINESS ADDRESS:	
		STREET 1:		68 JONSPIN RD.
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887
		BUSINESS PHONE:		978-658-8888 X 520

	MAIL ADDRESS:	
		STREET 1:		68 JONSPIN RD.
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887

ISSUER:		

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			UNIFIRST CORP
		CENTRAL INDEX KEY:			0000717954
		STANDARD INDUSTRIAL CLASSIFICATION:	SERVICES-PERSONAL SERVICES [7200]
		IRS NUMBER:				042103460
		STATE OF INCORPORATION:			MA
		FISCAL YEAR END:			0830

	BUSINESS ADDRESS:	
		STREET 1:		68 JONSPIN RD
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887
		BUSINESS PHONE:		(978) 658-8888

	MAIL ADDRESS:	
		STREET 1:		68 JONSPIN ROAD
		CITY:			WILMINGTON
		STATE:			MA
		ZIP:			01887

	FORMER COMPANY:	
		FORMER CONFORMED NAME:	INTERSTATE UNIFORM SERVICES CORP/MA
		DATE OF NAME CHANGE:	19840410
</SEC-HEADER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>wf-form4_152235768183763.xml
<DESCRIPTION>FORM 4
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2018-03-27</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000717954</issuerCik>
        <issuerName>UNIFIRST CORP</issuerName>
        <issuerTradingSymbol>UNF</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001366137</rptOwnerCik>
            <rptOwnerName>Queue Limited Partnership</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O UNIFIRST CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>68 JONSPIN ROAD</rptOwnerStreet2>
            <rptOwnerCity>WILMINGTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>01887</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001366135</rptOwnerCik>
            <rptOwnerName>Queue Management Associates, Inc.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O UNIFIRST CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>68 JONSPIN ROAD</rptOwnerStreet2>
            <rptOwnerCity>WILMINGTON</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>01887</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Class B Common Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2018-03-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1062211</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>124</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock ($0.10 par value)</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1062211.0</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>672974</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                    <footnoteId id="F3"/>
                    <footnoteId id="F4"/>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Each share of Class B Common Stock is convertible at any time by the holder into one share of Common Stock.  Each share of Class B Common Stock automatically converts into one share of Common Stock upon transfer to a recipient that is not a permitted transferee or upon termination of the Class B Common Stock, in each case in accordance with the terms of the charter of UniFirst Corporation.</footnote>
        <footnote id="F2">Represents shares repurchased by UniFirst Corporation from The Queue Limited Partnership at a price per share of $124.00.</footnote>
        <footnote id="F3">Includes 672,775 shares owned directly by The Queue Limited Partnership  and 199 shares owned directly by Queue Management Associates, Inc.  Queue Management Associates, Inc. is the general partner of The Queue Limited Partnership. The Ronald D. Croatti Trust  1993 (of which Carol Croatti and Matthew Croatti are the trustees and Carol Croatti is the beneficiary), Cynthia Croatti and Cecilia Levenstein are the sole shareholders of Queue Management Associates, Inc., and Carol Croatti, Cynthia Croatti and Cecelia Levenstein are the directors of Queue Management Associates, Inc. Cynthia Croatti and Cecelia Levenstein are trustees, co-trustees and in some cases beneficiaries, and in some cases their children are beneficiaries, of various trusts which hold limited partnership interests in The Queue Limited Partnership.</footnote>
        <footnote id="F4">Ronald D. Croatti's children are beneficiaries of certain trusts which hold limited partnership interests in The Queue Limited Partnership.  Certain of the trusts which hold limited partnership interests in The Queue Limited Partnership also own some of the reported shares directly.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ David Whitman, Attorney-in-Fact</signatureName>
        <signatureDate>2018-03-27</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ David Whitman, Attorney-in-Fact</signatureName>
        <signatureDate>2018-03-27</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ David Whitman, Attorney-in-Fact</signatureName>
        <signatureDate>2018-03-27</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ David Whitman, Attorney-in-Fact</signatureName>
        <signatureDate>2018-03-27</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
