<SUBMISSION>
<ACCESSION-NUMBER>0000893538-05-000060
<TYPE>5/A
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20041231
<FILING-DATE>20050518
<DATE-OF-FILING-DATE-CHANGE>20050518
<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>
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>YORK DOUGLAS W
<CIK>0001198298
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>5/A
<ACT>34
<FILE-NUMBER>001-31539
<FILM-NUMBER>05842889
</FILING-VALUES>
<MAIL-ADDRESS>
<STREET1>1776 LINCOLN ST
<STREET2>STE 700
<CITY>DENVER
<STATE>CO
<ZIP>80202
</MAIL-ADDRESS>
</REPORTING-OWNER>
<DOCUMENT>
<TYPE>5/A
<SEQUENCE>1
<FILENAME>primary_doc.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0202</schemaVersion>

    <documentType>5/A</documentType>

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

    <dateOfOriginalSubmission>2005-02-15</dateOfOriginalSubmission>

    <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>0001198298</rptOwnerCik>
            <rptOwnerName>YORK DOUGLAS W</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>Exec VP &amp; COO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2002-06-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>216</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>18.0115</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4789</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stoci; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2002-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>205</value>
                    <footnoteId id="F3"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>20.451</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4994</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Commom Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2003-06-30</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>206</value>
                    <footnoteId id="F4"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>21.2925</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>4994</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock; $.01 Par Value</value>
            </securityTitle>
            <transactionDate>
                <value>2003-12-31</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>M</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>256</value>
                    <footnoteId id="F5"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>23.205</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6248</value>
                    <footnoteId id="F6"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The 216 shares of common stock were purchased through the issurer's Employee Stock Purchase Plan and were inadvertently omitted at the time of purchase.</footnote>
        <footnote id="F2">Due to a typographical error the total ownership number was understated by 2000 shares.</footnote>
        <footnote id="F3">The 205 shares of common stock were purchased through the issurer's Employee Stock Purchase Plan and were inadvertently omitted at the time of purchase.</footnote>
        <footnote id="F4">The 206 shares of common stock were purchased through the issurer's Employee Stock Purchase Plan and were inadvertently omitted at the time of purchase.</footnote>
        <footnote id="F5">The 256 shares of common stock were purchased through the issurer's Employee Stock Purchase Plan and were inadvertently omitted at the time of purchase.</footnote>
        <footnote id="F6">This total includes the 455 &amp; 337 share acquired through the Employee Stock Purchase Plan and correctly filed on the Form 5 which this is amending.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Brenda L Schohn (Attorney-In-Fact)</signatureName>
        <signatureDate>2005-05-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
</XML>
</TEXT>
</DOCUMENT>
</SUBMISSION>
