<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>452</ContextCount>
  <ElementCount>666</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>160</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>14</UnitCount>
  <MyReports>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00305 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (PARENTHETICAL)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (PARENTHETICAL)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00505 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/StatementConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Asset Impairments, Other Charges, and Inventory Valuation Provision</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvision</Role>
      <ShortName>Asset Impairments, Other Charges, and Inventory Valuation Provision</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDivestitures</Role>
      <ShortName>Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Investments in Other Entities and Noncontrolling Interest in a Subsidiary</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiary</Role>
      <ShortName>Investments in Other Entities and Noncontrolling Interest in a Subsidiary</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Cash, Cash Equivalents and Restricted Cash</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCashCashEquivalentsAndRestrictedCash</Role>
      <ShortName>Cash, Cash Equivalents and Restricted Cash</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Short-Term Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureShortTermInvestments</Role>
      <ShortName>Short-Term Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Other Receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureOtherReceivables</Role>
      <ShortName>Other Receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Land, Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLandPropertyAndEquipment</Role>
      <ShortName>Land, Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>11801 - Disclosure - 401(k) Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/Disclosure401KPlan</Role>
      <ShortName>401(k) Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>11901 - Disclosure - Net Income (Loss) Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShare</Role>
      <ShortName>Net Income (Loss) Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>12001 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>12101 - Disclosure - Reportable Segments and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureReportableSegmentsAndGeographicInformation</Role>
      <ShortName>Reportable Segments and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>12201 - Disclosure - Concentrations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureConcentrations</Role>
      <ShortName>Concentrations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>12301 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>12401 - Disclosure - Schedule II: Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II: Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureRevenue</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Asset Impairments, Other Charges, and Inventory Valuation Provision (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionTables</Role>
      <ShortName>Asset Impairments, Other Charges, and Inventory Valuation Provision (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvision</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Investments in Other Entities and Noncontrolling Interest in a Subsidiary (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryTables</Role>
      <ShortName>Investments in Other Entities and Noncontrolling Interest in a Subsidiary (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiary</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Cash, Cash Equivalents and Restricted Cash (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCashCashEquivalentsAndRestrictedCashTables</Role>
      <ShortName>Cash, Cash Equivalents and Restricted Cash (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureCashCashEquivalentsAndRestrictedCash</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Short-Term Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureShortTermInvestmentsTables</Role>
      <ShortName>Short-Term Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureShortTermInvestments</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Other Receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureOtherReceivablesTables</Role>
      <ShortName>Other Receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureOtherReceivables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Land, Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLandPropertyAndEquipmentTables</Role>
      <ShortName>Land, Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureLandPropertyAndEquipment</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureAccruedLiabilities</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureDebt</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquity</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureLeases</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>31903 - Disclosure - Net Income (Loss) Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShareTables</Role>
      <ShortName>Net Income (Loss) Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShare</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>32103 - Disclosure - Reportable Segments and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureReportableSegmentsAndGeographicInformationTables</Role>
      <ShortName>Reportable Segments and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureReportableSegmentsAndGeographicInformation</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Summary of Significant Accounting Policies - Reclassifications (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesReclassificationsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Reclassifications (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Summary of Significant Accounting Policies - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesInventoryDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40104 - Disclosure - Summary of Significant Accounting Policies - Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesLongLivedAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40105 - Disclosure - Summary of Significant Accounting Policies - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesGoodwillDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40106 - Disclosure - Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40107 - Disclosure - Summary of Significant Accounting Policies - Alternative Fuels Tax Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAlternativeFuelsTaxCreditDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Alternative Fuels Tax Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40108 - Disclosure - Summary of Significant Accounting Policies - Advertising Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdvertisingCostsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Advertising Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40109 - Disclosure - Summary of Significant Accounting Policies - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40110 - Disclosure - Summary of Significant Accounting Policies - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesIncomeTaxesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40111 - Disclosure - Summary of Significant Accounting Policies - Foreign Currency Translation and Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesForeignCurrencyTranslationAndTransactionsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Foreign Currency Translation and Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40112 - Disclosure - Summary of Significant Accounting Policies - Recently Adopted Accounting Changes and Recently Issued Accounting Standards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRecentlyAdoptedAccountingChangesAndRecentlyIssuedAccountingStandardsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Recently Adopted Accounting Changes and Recently Issued Accounting Standards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Revenue - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRevenueDisaggregationOfRevenueDetails</Role>
      <ShortName>Revenue - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Revenue - Remaining Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRevenueRemainingPerformanceObligationsDetails</Role>
      <ShortName>Revenue - Remaining Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Revenue - Contract Costs and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRevenueContractCostsAndLiabilitiesDetails</Role>
      <ShortName>Revenue - Contract Costs and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Asset Impairments, Other Charges, and Inventory Valuation Provision - Summary of Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionSummaryOfChargesDetails</Role>
      <ShortName>Asset Impairments, Other Charges, and Inventory Valuation Provision - Summary of Charges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Asset Impairments, Other Charges, and Inventory Valuation Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionDetails</Role>
      <ShortName>Asset Impairments, Other Charges, and Inventory Valuation Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Asset Impairments, Other Charges, and Inventory Valuation Provision - Cash Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionCashChargesDetails</Role>
      <ShortName>Asset Impairments, Other Charges, and Inventory Valuation Provision - Cash Charges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureAssetImpairmentsOtherChargesAndInventoryValuationProvisionTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Divestitures - BP Transaction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDivestituresBpTransactionDetails</Role>
      <ShortName>Divestitures - BP Transaction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Divestitures - SAFE&amp;CEC S.r.l. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDivestituresSafeCecSrlDetails</Role>
      <ShortName>Divestitures - SAFE&amp;CEC S.r.l. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Investments in Other Entities and Noncontrolling Interest in a Subsidiary - SAFE&amp;CEC S.r.l. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiarySafeCecSrlDetails</Role>
      <ShortName>Investments in Other Entities and Noncontrolling Interest in a Subsidiary - SAFE&amp;CEC S.r.l. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Investments in Other Entities and Noncontrolling Interest in a Subsidiary - MCEP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryMcepDetails</Role>
      <ShortName>Investments in Other Entities and Noncontrolling Interest in a Subsidiary - MCEP (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Investments in Other Entities and Noncontrolling Interest in a Subsidiary - NG Advantage (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryNgAdvantageDetails</Role>
      <ShortName>Investments in Other Entities and Noncontrolling Interest in a Subsidiary - NG Advantage (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureInvestmentsInOtherEntitiesAndNoncontrollingInterestInSubsidiaryTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Cash, Cash Equivalents and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCashCashEquivalentsAndRestrictedCashDetails</Role>
      <ShortName>Cash, Cash Equivalents and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureCashCashEquivalentsAndRestrictedCashTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Short-Term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureShortTermInvestmentsDetails</Role>
      <ShortName>Short-Term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureShortTermInvestmentsTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Derivative Instruments and Hedging Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Derivative Instruments and Hedging Activities - Summary of Commodity Derivative Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesSummaryOfCommodityDerivativeActivityDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Summary of Commodity Derivative Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>40803 - Disclosure - Derivative Instruments and Hedging Activities - Schedule of Weighted-Average Price of Open Commodity Wwap Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesScheduleOfWeightedAveragePriceOfOpenCommodityWwapContractsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Schedule of Weighted-Average Price of Open Commodity Wwap Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Fair Value Measurements - Commodity Swap Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurementsCommoditySwapContractsDetails</Role>
      <ShortName>Fair Value Measurements - Commodity Swap Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Fair Value Measurements - Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurementsAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Fair Value Measurements - Fair Value Recognition - Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurementsFairValueRecognitionAssetsDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value Recognition - Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Fair Value Measurements - Fair Value Recognition - Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureFairValueMeasurementsFairValueRecognitionLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Fair Value Recognition - Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Other Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureOtherReceivablesDetails</Role>
      <ShortName>Other Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureOtherReceivablesTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Land, Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLandPropertyAndEquipmentDetails</Role>
      <ShortName>Land, Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureLandPropertyAndEquipmentTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureAccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureAccruedLiabilitiesTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Debt - Debt Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtDebtObligationsDetails</Role>
      <ShortName>Debt - Debt Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>41302 - Disclosure - Debt - 7.5% Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebt75NotesDetails</Role>
      <ShortName>Debt - 7.5% Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>41303 - Disclosure - Debt - Plains Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtPlainsCreditFacilityDetails</Role>
      <ShortName>Debt - Plains Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>41304 - Disclosure - Debt - SG Credit and TOTAL Credit Support Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtSgCreditAndTotalCreditSupportAgreementDetails</Role>
      <ShortName>Debt - SG Credit and TOTAL Credit Support Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>41305 - Disclosure - Debt - NG Advantage Debt and Financing Lease Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtNgAdvantageDebtAndFinancingLeaseObligationsDetails</Role>
      <ShortName>Debt - NG Advantage Debt and Financing Lease Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>41306 - Disclosure - Debt - Other Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureDebtOtherDebtDetails</Role>
      <ShortName>Debt - Other Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Stockholders' Equity - Authorized Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityAuthorizedSharesDetails</Role>
      <ShortName>Stockholders' Equity - Authorized Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Stockholders' Equity - Voting Rights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityVotingRightsDetails</Role>
      <ShortName>Stockholders' Equity - Voting Rights (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>41403 - Disclosure - Stockholders' Equity - Issuance of Common Stock and Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityIssuanceOfCommonStockAndWarrantsDetails</Role>
      <ShortName>Stockholders' Equity - Issuance of Common Stock and Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>41404 - Disclosure - Stockholders' Equity - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityStockBasedCompensationDetails</Role>
      <ShortName>Stockholders' Equity - Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>41405 - Disclosure - Stockholders' Equity - Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityRestrictedStockUnitsDetails</Role>
      <ShortName>Stockholders' Equity - Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>41406 - Disclosure - Stockholders' Equity - Employee Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureStockholdersEquityEmployeeStockPurchasePlanDetails</Role>
      <ShortName>Stockholders' Equity - Employee Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>41502 - Disclosure - Income Taxes - Tax Credit Carryforwards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxesTaxCreditCarryforwardsDetails</Role>
      <ShortName>Income Taxes - Tax Credit Carryforwards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>41503 - Disclosure - Income Taxes - Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureIncomeTaxesUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Commitments and Contingencies - Long-Term Take-or-Pay Natural Gas Purchase Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCommitmentsAndContingenciesLongTermTakeOrPayNaturalGasPurchaseContractsDetails</Role>
      <ShortName>Commitments and Contingencies - Long-Term Take-or-Pay Natural Gas Purchase Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>41602 - Disclosure - Commitments and Contingencies - Long-Term Natural Gas Purchase Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureCommitmentsAndContingenciesLongTermNaturalGasPurchaseContractsDetails</Role>
      <ShortName>Commitments and Contingencies - Long-Term Natural Gas Purchase Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>41702 - Disclosure - Leases - Finance and Operating Lease Asset and Liability Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesFinanceAndOperatingLeaseAssetAndLiabilityBalancesDetails</Role>
      <ShortName>Leases - Finance and Operating Lease Asset and Liability Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>41703 - Disclosure - Leases - Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>41704 - Disclosure - Leases - Supplemental Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesSupplementalInformationDetails</Role>
      <ShortName>Leases - Supplemental Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>41705 - Disclosure - Leases - Maturities of Finance and Operating Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesMaturitiesOfFinanceAndOperatingLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturities of Finance and Operating Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>41706 - Disclosure - Leases - Maturities of Lease Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesMaturitiesOfLeaseReceivablesDetails</Role>
      <ShortName>Leases - Maturities of Lease Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>41707 - Disclosure - Leases - Operating Lease Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesOperatingLeaseCommitmentsDetails</Role>
      <ShortName>Leases - Operating Lease Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>41708 - Disclosure - Leases - Capitalized Lease Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesCapitalizedLeaseObligationDetails</Role>
      <ShortName>Leases - Capitalized Lease Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>41709 - Disclosure - Leases - Capitalized Lease Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureLeasesCapitalizedLeaseReceivablesDetails</Role>
      <ShortName>Leases - Capitalized Lease Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>41801 - Disclosure - 401(k) Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/Disclosure401KPlanDetails</Role>
      <ShortName>401(k) Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/Disclosure401KPlan</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>41901 - Disclosure - Net Income (Loss) Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShareDetails</Role>
      <ShortName>Net Income (Loss) Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>41902 - Disclosure - Net Income (Loss) Per Share - Anti-dilutive Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShareAntiDilutiveSecuritiesDetails</Role>
      <ShortName>Net Income (Loss) Per Share - Anti-dilutive Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureNetIncomeLossPerShareTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>42001 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>42101 - Disclosure - Reportable Segments and Geographic Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureReportableSegmentsAndGeographicInformationDetails</Role>
      <ShortName>Reportable Segments and Geographic Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureReportableSegmentsAndGeographicInformationTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>42201 - Disclosure - Concentrations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureConcentrationsDetails</Role>
      <ShortName>Concentrations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureConcentrations</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>42301 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="clne-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>42401 - Disclosure - Schedule II: Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cleanenergyfuels.com/role/DisclosureScheduleIiValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II: Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cleanenergyfuels.com/role/DisclosureScheduleIiValuationAndQualifyingAccounts</ParentRole>
      <Position>120</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>clne-20191231.xml</File>
    <File>clne-20191231.xsd</File>
    <File>clne-20191231_cal.xml</File>
    <File>clne-20191231_def.xml</File>
    <File>clne-20191231_lab.xml</File>
    <File>clne-20191231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
