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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2019-07-16</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001040971</issuerCik>
        <issuerName>SL GREEN REALTY CORP</issuerName>
        <issuerTradingSymbol>SLG</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001693945</rptOwnerCik>
            <rptOwnerName>Dillard Lauren B.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O SL GREEN REALTY CORP.</rptOwnerStreet1>
            <rptOwnerStreet2>420 LEXINGTON AVENUE</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10170</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable></nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Phantom Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2019-07-16</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>568.006</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>568.006</value>
                    <footnoteId id="F2"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12569.355</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The Phantom Stock Units convert to Common Stock on a 1-for-1 basis.</footnote>
        <footnote id="F2">Includes 124.754 Phantom Stock Units accrued pursuant to deemed reinvestment of dividend equivalents on Phantom Stock Units.</footnote>
        <footnote id="F3">The Phantom Stock Units become payable in Common Stock (or in certain cases in cash) upon (unless the reporting person elects otherwise in accordance with the documents governing the applicable program) the earlier of (i) the January 1 coincident with or next following the earlier of (A) the reporting person's ceasing to be a director, and (B) the reporting person's death, and (ii) a change of control of the Issuer (as determined under such governing documents), in each case to the extent vested.  In addition, the reporting person (i) has been permitted to elect to receive distributions in the form of installment payments, and (ii) may be permitted to receive distributions for certain unforeseeable emergencies.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Lauren B. Dillard, by Andrew S. Levine, attorney-in-fact</signatureName>
        <signatureDate>2019-07-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
