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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2021-11-10</periodOfReport>

    <dateOfOriginalSubmission>2021-11-15</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0000749251</issuerCik>
        <issuerName>GARTNER INC</issuerName>
        <issuerTradingSymbol>IT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001308381</rptOwnerCik>
            <rptOwnerName>Kranich Robin B</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>56 TOP GALLANT ROAD</rptOwnerStreet1>
            <rptOwnerStreet2>P.O. BOX 10212</rptOwnerStreet2>
            <rptOwnerCity>STAMFORD</rptOwnerCity>
            <rptOwnerState>CT</rptOwnerState>
            <rptOwnerZipCode>06904-2212</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>EVP &amp; CHRO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2021-11-10</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>3518</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>329.53</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>12333</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares withheld from the settlement of the SARs for the payment of applicable income and payroll tax withholding due upon exercise.</footnote>
        <footnote id="F2">This amendment is being filed to correct the original Form 4 filed November 15, 2021. The number of shares withheld was incorrectly reported as 5,065 in the original Form 4, due to an administrative error, and has been corrected in this amendment. In addition, the total number of shares owned in Column 5 has been increased to reflect the correct number of shares held by the reporting person after all the transactions reported in the original Form 4.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Kevin Tang for Robin B. Kranich</signatureName>
        <signatureDate>2021-11-29</signatureDate>
    </ownerSignature>
</ownershipDocument>
