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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-01-27</periodOfReport>

    <issuer>
        <issuerCik>0001812364</issuerCik>
        <issuerName>Relay Therapeutics, Inc.</issuerName>
        <issuerTradingSymbol>RLAY</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001959229</rptOwnerCik>
            <rptOwnerName>Rahmer Peter</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O RELAY THERAPEUTICS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>60 HAMPSHIRE STREET</rptOwnerStreet2>
            <rptOwnerCity>CAMBRIDGE</rptOwnerCity>
            <rptOwnerState>MA</rptOwnerState>
            <rptOwnerZipCode>02139</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>See remarks</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>994</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>2.99</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>338463</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-01-27</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>11684</value>
                    <footnoteId id="F4"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.62</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>277964</value>
                    <footnoteId id="F5"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-01-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1354</value>
                    <footnoteId id="F6"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>8.45</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>276610</value>
                    <footnoteId id="F7"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The shares were acquired under the Relay Therapeutics, Inc. 2020 Employee Stock Purchase Plan (&quot;ESPP&quot;) in a transaction that was exempt under both Rule 16b-3(d) and Rule 16b-3(c). The reporting person is voluntarily reporting this transaction.</footnote>
        <footnote id="F2">In accordance with the ESPP, these shares were purchased at a price equal to 85% of the closing price of the Issuer's common stock on July 1, 2025.</footnote>
        <footnote id="F3">Includes 108,919 shares underlying restricted stock units (&quot;RSUs&quot;).</footnote>
        <footnote id="F4">Sale of shares to cover the reporting person's income tax withholding obligations upon the vesting of 42,394 shares of RSUs on January 26, 2026. The reporting person had no discretion with respect to such sale, which was transacted in accordance with the Issuer's policies regarding the vesting of RSUs.</footnote>
        <footnote id="F5">Includes 17,710 shares underlying RSUs.</footnote>
        <footnote id="F6">Sale of shares to cover the reporting person's income tax withholding obligations upon the vesting of 5,506 shares of RSUs on January 27, 2026. The reporting person had no discretion with respect to such sale, which was transacted in accordance with the Issuer's policies regarding the vesting of RSUs.</footnote>
        <footnote id="F7">Includes 12,204 shares underlying RSUs.</footnote>
    </footnotes>

    <remarks>Chief Corporate Development Officer</remarks>

    <ownerSignature>
        <signatureName>/s/ Soo-Yeun Lim, as Attorney-in-Fact</signatureName>
        <signatureDate>2026-01-29</signatureDate>
    </ownerSignature>
</ownershipDocument>
