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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2007-06-05</periodOfReport>

    <dateOfOriginalSubmission>2007-06-07</dateOfOriginalSubmission>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001065860</issuerCik>
        <issuerName>LIME ENERGY CO.</issuerName>
        <issuerTradingSymbol>LMEC</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0000904775</rptOwnerCik>
            <rptOwnerName>KIPHART RICHARD P</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O WILLIAM BLAIR &amp;COMPANY, LLC</rptOwnerStreet1>
            <rptOwnerStreet2>222 WEST ADAMS STREET</rptOwnerStreet2>
            <rptOwnerCity>CHICAGO</rptOwnerCity>
            <rptOwnerState>IL</rptOwnerState>
            <rptOwnerZipCode>60606</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Lime Energy Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2007-06-06</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>4922</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0.9</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>14841594</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Convertible Term Note</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>1</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-06-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>100000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2007-06-05</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-05-29</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Lime Energy Co. Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>100000</value>
                    <footnoteId id="F2"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3100000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Warrant to purchase Lime Energy Co. Common Stock</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>1.04</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-06-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>28846</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.04</value>
                    <footnoteId id="F3"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2007-06-05</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-05-29</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Lime Energy Co. Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>28846</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>945754</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Acquired pursuant to exercise of warrant</footnote>
        <footnote id="F2">Represents shares issuable upon conversion of subordinated convertible term note. The note may be converted at holder's election anytime at $1.00 per share and any time after May 31, 2008 will automatically convert to shares of common stock at $1.00 per share if the closing price of the Issuer's common stock exceeds $1.50 per share for 20 days in any consecutive 30-day period.</footnote>
        <footnote id="F3">Received in conjuction with the purchase of a $100,000 subordinated convertible term note.</footnote>
    </footnotes>

    <remarks>This amendment is being filed to correct the number of shares owned following the reported transactions.  The figure reported previously in table 1 was calculated using a beginning balance that had not been adjusted for a reverse split effected by the company.  Also the number of warrants owned following the receipt of the warrant listed previously in table II did not reflect the exercise of the warrant reported in table 1.</remarks>

    <ownerSignature>
        <signatureName>Jeffrey Mistarz, by power of attorney</signatureName>
        <signatureDate>2007-10-31</signatureDate>
    </ownerSignature>
</ownershipDocument>
