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

    <schemaVersion>X0607</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2026-09-22</periodOfReport>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0001712762</issuerCik>
        <issuerName>bioAffinity Technologies, Inc.</issuerName>
        <issuerTradingSymbol>BIAF</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001475597</rptOwnerCik>
            <rptOwnerName>HRT FINANCIAL LP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>3 WORLD TRADE CENTER, 175 GREENWICH STRE</rptOwnerStreet1>
            <rptOwnerStreet2>76TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10007</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>116782</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Warrant (rights to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3645</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2022-06-22</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-06-22</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>2.6289</value>
                    <footnoteId id="F2"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The reporting person became the beneficial owner of more than 10% of the outstanding Common Stock on September 22, 2026. The amount reported represents shares of Common Stock directly held by the reporting person immediately following the transaction that resulted in such status.</footnote>
        <footnote id="F2">Represents 1,183 warrants held at the time described in footnote (1). Each warrant is exercisable for 1/450 of a share of Common Stock; the exercise price shown is per whole share, as adjusted for the issuer's reverse stock splits. The underlying amount is rounded to four decimal places.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Adam Nunes</signatureName>
        <signatureDate>2026-11-19</signatureDate>
    </ownerSignature>
</ownershipDocument>
