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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-01-15</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000853273</issuerCik>
        <issuerName>BORLAND SOFTWARE CORP</issuerName>
        <issuerTradingSymbol>BORL</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001246210</rptOwnerCik>
            <rptOwnerName>TARKOFF ROBERT M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>6801 KOLL CENTER PARKWAY</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>PLEASANTON</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94566</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Stock Option (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>5.2</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-01-15</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>30000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2007-01-15</value>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2017-01-15</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>30000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>30000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Any or all of the shares subject to the option are immediately exercisable; however, any unvested shares purchased under the option shall be subject to repurchase by the issuer.  The shares subject to the option shall vest, and the issuer's right of repurchase as to the shares shall lapse, in accordance with the following schedule:  1/3rd of the shares on the first anniversary of the date of grant, and 1/36th of the shares each month thereafter for the 24 months following the first anniversary of the date of grant, such that all of the shares subject to the option shall be vested, and the issuer's right of repurchase shall have fully lapsed, on the third anniversary of the date of grant, assuming the reporting person's continued service on the Board of Directors of the issuer at each vesting date.</footnote>
        <footnote id="F2">The exercise price reflects the closing price of Borland's common stock on January 12, 2007.  The option grant was effective as of the date of the reporting person's appointment to the Board of Directors of Borland. However, the date of appointment, January 15, 2007, was a non-trading day on the Nasdaq National Market. Under the terms of Borland's 2002 Stock Incentive Plan (the &quot;Plan&quot;), should any relevant date under the Plan fall on a date on which there is no trading on the Nasdaq National Market, then the relevant date for purposes of the Plan shall be the immediately preceding trading date.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Melissa Fruge, Attorney-in-fact for Robert M. Tarkoff</signatureName>
        <signatureDate>2007-01-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
