1. Organization and Basis of Presentation (Details Narrative 2)  | 
 Jun. 30, 2017  
EthanolPlants 
 | 
|---|---|
| Pacific Aurora [Member] | |
| Ownership interest | 73.93% | 
| ACEC [Member] | |
| Noncontrolling interest owned | 26.07% | 
| ACEC [Member] | Pacific Aurora [Member] | |
| Ownership interest | 26.07% | 
| Pacific Ethanol Central Plants [Member] | |
| Number of ethanol plants | 4 | 
| X | ||||||||||
- Definition Number of ethanol plants. No definition available. 
  | 
| X | ||||||||||
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |