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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2020-04-27</periodOfReport>

    <notSubjectToSection16>1</notSubjectToSection16>

    <issuer>
        <issuerCik>0001356104</issuerCik>
        <issuerName>Mellanox Technologies, Ltd.</issuerName>
        <issuerTradingSymbol>MLNX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001767066</rptOwnerCik>
            <rptOwnerName>Prescher Amir</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O MELLANOX TECHNOLOGIES, LTD.</rptOwnerStreet1>
            <rptOwnerStreet2>HAKIDMA 26, OFER INDUSTRIAL PARK</rptOwnerStreet2>
            <rptOwnerCity>YOKNEAM</rptOwnerCity>
            <rptOwnerState>L3</rptOwnerState>
            <rptOwnerZipCode>2069200</rptOwnerZipCode>
            <rptOwnerStateDescription>ISRAEL</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>SVP End-User Sales &amp; Bus Dev</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Ordinary Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2020-04-27</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>62470</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>125.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>45703</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Ordinary Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2020-04-27</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>45703</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.00</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">Disposed of pursuant to the terms of the Agreement and Plan of Merger, dated as March 10, 2019 (the &quot;Merger Agreement&quot;), by and among the Issuer, NVIDIA International Holdings, Inc., a Delaware corporation (&quot;Parent&quot;), Teal Barvaz Ltd., a company organized under the laws of the State of Israel and a wholly owned subsidiary of Parent, and NVIDIA Corporation, a Delaware corporation (&quot;Guarantor&quot;) in exchange for cash consideration of $125.00 per share (the &quot;Per Share Merger Consideration&quot;), subject to any applicable withholding taxes.</footnote>
        <footnote id="F2">Pursuant to the terms of the Merger Agreement, on April 27, 2020, each outstanding award of restricted stock units (&quot;Issuer RSU&quot;) was assumed by Guarantor and converted into RSUs of Guarantor (&quot;Guarantor RSU&quot;), having substantially the same terms and conditions as the Issuer RSU, but for a number of Guarantor common shares equal to the product of the number of Ordinary Shares of the Issuer underlying the Assumed RSU multiplied by a fraction (such ratio, the &quot;Exchange Ratio&quot;), the numerator of which is the Per Share Merger Consideration and the denominator of which is the volume weighted average price for a common share of Parent on NASDAQ, calculated based on the ten consecutive trading days ending on the third complete trading day prior to (and excluding) the closing date of the Merger.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Alinka Flaminia, as attorney-in-fact for Amir Prescher</signatureName>
        <signatureDate>2020-04-27</signatureDate>
    </ownerSignature>
</ownershipDocument>
