Exhibit 23.2
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the use in this Post-Effective Amendment No. 1 to Registration Statement on Form S-1 (No. 333-178685) on Form S-3 of Pacific Ethanol, Inc. of our report dated March 8, 2012, relating to our audits of the consolidated financial statements, which appear in the Annual Report on Form 10-K of Pacific Ethanol, Inc. for the year ended December 31, 2011.
We also consent to the reference to our firm under the caption “Experts” in the Prospectus, which is part of this Registration Statement.
/s/ HEIN & ASSOCIATES LLP
Irvine, California
March 8, 2012