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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-07-29</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001828673</issuerCik>
        <issuerName>HCW Biologics Inc.</issuerName>
        <issuerTradingSymbol>HCWB</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001866258</rptOwnerCik>
            <rptOwnerName>Wong Hing C</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O HCW BIOLOGICS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>2929 N. COMMERCE PARKWAY</rptOwnerStreet2>
            <rptOwnerCity>MIRAMAR,</rptOwnerCity>
            <rptOwnerState>FL</rptOwnerState>
            <rptOwnerZipCode>33025</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chief Executive Officer</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-07-29</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>23210</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>2.585</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>125845</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The reporting person purchased these shares directly from the issuer in a private placement under a Securities Purchase Agreement dated July 29, 2026 (&quot;SPA&quot;), which purchase is exempt from the registration requirements of Section 5 of the Securities Exchange Act of 1934, as amended, pursuant to Section 4(a)(2) thereof and/or Rule 506(b) of Regulation D thereunder. Additionally, the reporting person is entitled to receive common warrants exercisable for an aggregate of up to 23,210 shares of common stock. Under the terms of the SPA, issuance of the common warrants is subject to stockholder approval under Nasdaq Listing Rule 5635(d). Upon issuance, the common warrants will be exercisable immediately and expire 5.5 years from date of issuance.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Nicole Valdivieso, as Attorney-in-Fact for Hing C. Wong</signatureName>
        <signatureDate>2026-07-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
