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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-07-06</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001709772</rptOwnerCik>
            <rptOwnerName>Bergstrom Donald A</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>President, R&amp;D</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>true</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-07-06</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>8660</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>18.71</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>409897</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 30, 2025.</footnote>
        <footnote id="F2">This transaction was executed in multiple trades at prices ranging from $18.45 to $19.36. 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 15,037 shares underlying restricted stock units.</footnote>
    </footnotes>

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