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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-03-31</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001890359</rptOwnerCik>
            <rptOwnerName>Simmons Kurt JR</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>1</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-03-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1202</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>12.48</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12630</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">The reporting person has elected to receive fully vested shares of Deferred Stock Units (&quot;DSUs&quot;) under the Issuer's 2020 Amended Omnibus Incentive Plan in lieu of cash fees payable for service on the Issuer's Board of Directors and any committees thereof. The reporting person made this election in November 2023 which applies to director's fees earned in 2024 in compliance with the Issuer's black-out period guidelines. The number of shares represents the quotient of the amount of such fees divided by the Issuer's closing stock price on the date such fees would otherwise be paid, rounded up to the nearest whole share. Such DSUs will be settled in shares of common stock on the first to occur of (i) January 1, 2030; (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;). The reporting person 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 9,795 vested DSUs.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Michael Harrity, by Power of Attorney</signatureName>
        <signatureDate>2024-04-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
[{"type": "4", "sequence": "1", "filename": "wk-form4_1712079958.xml", "description": "FORM 4", "secsgml_size_bytes": 4225}]
X0508
4
2024-03-31
0
0000731012
HEALTHCARE SERVICES GROUP INC
HCSG
0001890359
Simmons Kurt JR
3220 TILLMAN DRIVE
SUITE 300
BENSALEM
PA
19020
1
0
0
0
1
Common Stock
2024-03-31
4
A
0
1202
12.48
A
12630
D
The reporting person has elected to receive fully vested shares of Deferred Stock Units ("DSUs") under the Issuer's 2020 Amended Omnibus Incentive Plan in lieu of cash fees payable for service on the Issuer's Board of Directors and any committees thereof. The reporting person made this election in November 2023 which applies to director's fees earned in 2024 in compliance with the Issuer's black-out period guidelines. The number of shares represents the quotient of the amount of such fees divided by the Issuer's closing stock price on the date such fees would otherwise be paid, rounded up to the nearest whole share. Such DSUs will be settled in shares of common stock on the first to occur of (i) January 1, 2030; (ii) the Participant's date of death, disability or separation from service; or (iii) the date of a Change of Control (the "Settlement Date"). The reporting person may elect a further deferral beyond the Settlement Date pursuant to the rules of Code Section 409A.
Amount represents 2,835 unvested DSUs and 9,795 vested DSUs.
/s/ Michael Harrity, by Power of Attorney
2024-04-02