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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-08-26</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001959229</rptOwnerCik>
            <rptOwnerName>Rahmer Peter</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <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>true</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-08-26</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>4508</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>20.03</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>223657</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The reported transaction was effected pursuant to a Rule 10b5-1 trading plan adopted by the reporting person on October 31, 2025.</footnote>
        <footnote id="F2">This transaction was executed in multiple trades at prices ranging from $20.00 to $20.11. The price reported above reflects the weighted average sale price. The reporting person hereby undertakes to provide upon request by the staff of the Securities and Exchange Commission, the Issuer or a security holder of the Issuer, full information regarding the number of shares sold at each respective price within the range set forth in this footnote.</footnote>
        <footnote id="F3">Includes 6,102 shares underlying restricted stock units.</footnote>
    </footnotes>

    <remarks>Chief Corporate Development Officer</remarks>

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