<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0407</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2023-05-30</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000731012</issuerCik>
        <issuerName>HEALTHCARE SERVICES GROUP INC</issuerName>
        <issuerTradingSymbol>HCSG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001645229</rptOwnerCik>
            <rptOwnerName>Visconto Jude</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>3220 TILLMAN DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 300</rptOwnerStreet2>
            <rptOwnerCity>BENSALEM</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>19020</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2023-05-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>2835</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>14.11</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6472</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Represents a grant of unvested deferred stock units (&quot;DSU&quot;) which will become fully vested on the one year anniversary of the grant date. Such DSUs will be settled in shares of common stock on the first to occur of (i) five-year anniversary of the Date of Grant, (ii) the Participant's date of death, disability or separation from service; or (iii) the date of a Change of Control (the &quot;Settlement Date&quot;). A Participant may elect a further deferral beyond the Settlement Date pursuant to the rules of Code Section 409A.</footnote>
        <footnote id="F2">Amount represents 2,835 unvested DSUs and 3,637 vested DSUs.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Michael Harrity, by Power of Attorney</signatureName>
        <signatureDate>2023-05-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wk-form4_1685577333.xml", "description": "FORM 4", "secsgml_size_bytes": 3756}]
X0407
4
2023-05-30
0
0000731012
HEALTHCARE SERVICES GROUP INC
HCSG
0001645229
Visconto Jude
3220 TILLMAN DRIVE
SUITE 300
BENSALEM
PA
19020
1
0
0
0
0
Common Stock
2023-05-30
4
A
0
2835
14.11
A
6472
D
Represents a grant of unvested deferred stock units ("DSU") which will become fully vested on the one year anniversary of the grant date. Such DSUs will be settled in shares of common stock on the first to occur of (i) five-year anniversary of the Date of Grant, (ii) the Participant's date of death, disability or separation from service; or (iii) the date of a Change of Control (the "Settlement Date"). A Participant may elect a further deferral beyond the Settlement Date pursuant to the rules of Code Section 409A.
Amount represents 2,835 unvested DSUs and 3,637 vested DSUs.
/s/ Michael Harrity, by Power of Attorney
2023-05-31