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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2005-06-13</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0000893538</issuerCik>
        <issuerName>ST MARY LAND &amp; EXPLORATION CO</issuerName>
        <issuerTradingSymbol>SM</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001195488</rptOwnerCik>
            <rptOwnerName>NANCE ROBERT L</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>NANCE PETROLEUM CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>PO BOX 7168</rptOwnerStreet2>
            <rptOwnerCity>BILLINGS</rptOwnerCity>
            <rptOwnerState>MT</rptOwnerState>
            <rptOwnerZipCode>59103-7168</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>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2005-06-13</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>G</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value>E</value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>109100</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>794098</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Self as Trustee for Robert L. Nance TTEE for Robert S. Nance Financial Mgt. Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2005-11-08</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>14000</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>33.9539</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>780098</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Self as Trustee for Robert L. Nance TTEE for Robert S. Nance Financial Mgt. Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2005-11-09</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>6000</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>33.931</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>774098</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By Self as Trustee for Robert L. Nance TTEE for Robert S. Nance Financial Mgt. Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Mr. Nance's son gifted the shares to a trust for which Mr. Nance is a trustee. Mr. Nance has an indirect pecuniary interest in the trust as he is a trustee of the trust and his son is a beneficiary of the trust.  Mr. Nance has no beneficiary economic benefit that is derived from this trust.</footnote>
        <footnote id="F2">Total includes the following corrections of math errors in Column 5 of Table 1 on previously filed Form 5s: subtraction of 490 shares on the Form 5 for the year 2000, subtraction of 550 shares on the Form 5 for the year 2001 and the addition of 2 shares on the Form 5 for the year 2004.  Total also includes 1,040 shares acquired during 1999 and 964 shares acquired during 2003 under the St. Mary Land &amp; Exploration Company Employee Stock Purchase Plan.  These corrections are presented on a post split basis (2 for 1 stock split on 8-21-00 and 2 for 1 stock split on 3-31-05)</footnote>
        <footnote id="F3">The shares were sold by a trust for which Mr. Nance is a trustee.  Mr. Nance has an indirect pecuniary interest in the trust as he is a trustee of the trust and his son is a beneficiary of the trust.  Mr. Nance has no beneficiary economic benefit that is derived from this trust.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Karin M. Writer (Attorney-In-Fact)</signatureName>
        <signatureDate>2005-11-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
