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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-09-29</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001031308</issuerCik>
        <issuerName>BENTLEY SYSTEMS INC</issuerName>
        <issuerTradingSymbol>BSY</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002062214</rptOwnerCik>
            <rptOwnerName>Moutte Julien</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O BENTLEY SYSTEMS, INCORPORATED</rptOwnerStreet1>
            <rptOwnerStreet2>685 STOCKTON DRIVE</rptOwnerStreet2>
            <rptOwnerCity>EXTON</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>19341</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chief Technology Officer</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class B Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-09-29</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>106</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>90862</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents dividend equivalent rights that accrued to the Reporting Person in connection with a dividend paid by the Issuer on awards previously granted and vest on the same terms as the awards to which they relate.</footnote>
        <footnote id="F2">Includes shares of Class B Common Stock acquired by the Reporting Person through the Bentley Systems, Incorporated Global Employee Stock Purchase Plan for an offering period ended on June 30, 2026 for which the Reporting Person's enrollment and contribution elections were made in December 2025. Total has been adjusted to account for dividend equivalent rights incorrectly included in prior reports.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Michael T. Fischette, Attorney-in-Fact</signatureName>
        <signatureDate>2026-10-01</signatureDate>
    </ownerSignature>
</ownershipDocument>
