QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


Consent of Independent Registered Public Accounting Firm

The Board of Directors
Clean Energy Fuels Corp.:

        We consent to the incorporation by reference in the registration statements (Nos. 333-152306, 333-168433, 333-145434, 333-150331, 333-156776, 333-159799, 333-164301, 333-171957, 333-174989, 333-178877, 333-177043, 333-179223 and 333-186705) on Form S-3 and Form S-8 of Clean Energy Fuels Corp. and subsidiaries of our report dated February 28, 2013, with respect to the consolidated balance sheets of Clean Energy Fuels Corp. and subsidiaries as of December 31, 2011 and 2012, and the related consolidated statements of operations, stockholders' equity and comprehensive income (loss), and cash flows for each of the years in the three-year period ended December 31, 2012, and the related financial statement schedule and the effectiveness of internal control over financial reporting as of December 31, 2012, which reports appear in the December 31, 2012 annual report on Form 10-K of Clean Energy Fuels Corp. and subsidiaries.

/s/ KPMG LLP

Los Angeles, California
February 28, 2013




QuickLinks

Consent of Independent Registered Public Accounting Firm