<SUBMISSION>
<ACCESSION-NUMBER>0000893538-05-000017
<TYPE>5
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20041231
<FILING-DATE>20050215
<DATE-OF-FILING-DATE-CHANGE>20050215
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>WILKENING GARRY A
<CIK>0001198295
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>5
<ACT>34
<FILE-NUMBER>001-31539
<FILM-NUMBER>05618753
</FILING-VALUES>
<MAIL-ADDRESS>
<STREET1>1776 LINCOLN ST
<STREET2>STE 700
<CITY>DENVER
<STATE>CO
<ZIP>80202
</MAIL-ADDRESS>
</REPORTING-OWNER>
<ISSUER>
<COMPANY-DATA>
<CONFORMED-NAME>ST MARY LAND & EXPLORATION CO
<CIK>0000893538
<ASSIGNED-SIC>1311
<IRS-NUMBER>410518430
<STATE-OF-INCORPORATION>DE
<FISCAL-YEAR-END>1231
</COMPANY-DATA>
<BUSINESS-ADDRESS>
<STREET1>1776 LINCOLN ST STE 700
<CITY>DENVER
<STATE>CO
<ZIP>80203
<PHONE>303-861-8140
</BUSINESS-ADDRESS>
</ISSUER>
<DOCUMENT>
<TYPE>5
<SEQUENCE>1
<FILENAME>primary_doc.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0202</schemaVersion>

    <documentType>5</documentType>

    <periodOfReport>2004-12-31</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001198295</rptOwnerCik>
            <rptOwnerName>WILKENING GARRY A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1776 LINCOLN ST</rptOwnerStreet1>
            <rptOwnerStreet2>STE 700</rptOwnerStreet2>
            <rptOwnerCity>DENVER</rptOwnerCity>
            <rptOwnerState>CO</rptOwnerState>
            <rptOwnerZipCode>80202</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>VP-Administration &amp; Controller</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2004-06-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>52</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>24.225</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>734</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2004-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>65</value>
                    <footnoteId id="F2"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>35.65</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>799</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Mr. Wilkening purchased 52 shares of the issuer's common stock on June 30, 2004, through the issuer's Employee Stock Purchase Plan.</footnote>
        <footnote id="F2">Mr. Wilkening purchased 65 shares of the issuer's common stock on December 31, 2004, through the issuer's Employee Stock Purchase Plan.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>James C. Robertson (Attorney-in-Fact)</signatureName>
        <signatureDate>2005-02-15</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
</SUBMISSION>
