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

    <schemaVersion>X0304</schemaVersion>

    <documentType>5</documentType>

    <periodOfReport>2011-12-31</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

    <issuer>
        <issuerCik>0000093451</issuerCik>
        <issuerName>STERLING BANCORP</issuerName>
        <issuerTradingSymbol>stl</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001327439</rptOwnerCik>
            <rptOwnerName>Fredston Dale C</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1></rptOwnerStreet1>
            <rptOwnerStreet2>650 FIFTH AVENUE</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10019</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Senior Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionCoding>
                <transactionFormType></transactionFormType>
            </transactionCoding>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2461</value>
                    <footnoteId id="F1"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Non-qualified Stock Option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>17.99</value>
            </conversionOrExercisePrice>
            <transactionCoding>
                <transactionFormType></transactionFormType>
            </transactionCoding>
            <exerciseDate>
                <value>2012-03-15</value>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2017-03-15</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>10000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>10000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Includes 1,218 shares of restricted common stock issued March 25, 2010 and 1,158 shares of restricted common stock issued on March 24, 2011, pursuant to the Sterling Bancorp Stock Incentive Plan. The shares vest 50%, 25% and 25% on the second, third and fourth anniversaries of the respective grant dates subject to (1) accelerated vesting upon death, disability and change in control and (2) continued vesting upon retirment after the second anniversary of the grant date subject to compliance with a non-compete. The restricted shares are subject to full dividend reinvestment.</footnote>
        <footnote id="F2">On December 15, 2005 the Board of Directors voted to accelerate the vesting and exercisability of any outstanding unvested and unexercisable non-qualified stock options granted to officers on March 22, 2005 effective as of December 19, 2005; provided, however, that the transfer of shares acquired by such exercise is restricted until the date that the option would have been exercisable prior to such change. Such restrictions will expire as to 10% on the first anniversary of the date of the grant, an additional 15% of the grant on the second anniversary of the date of the grant, an additional 25% of the grant on the third anniversary of the date of the grant and the remaining 50% of the grant on the fourth anniversary of the date of the grant.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Dale C. Fredston</signatureName>
        <signatureDate>2012-01-24</signatureDate>
    </ownerSignature>
</ownershipDocument>
