<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version>2.4.0.8</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>193</ContextCount>
  <ElementCount>348</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>87</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00000002 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/ConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00000007 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentation</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00000008 - Disclosure - 2. PACIFIC ETHANOL PLANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PacificEthanolPlants</Role>
      <ShortName>2. PACIFIC ETHANOL PLANTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00000009 - Disclosure - 3. PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PropertyAndEquipment</Role>
      <ShortName>3. PROPERTY AND EQUIPMENT</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>00000010 - Disclosure - 4. INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IntangibleAssets</Role>
      <ShortName>4. INTANGIBLE ASSETS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>00000011 - Disclosure - 5. DERIVATIVES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Derivatives</Role>
      <ShortName>5. DERIVATIVES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>00000012 - Disclosure - 6. DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Debt</Role>
      <ShortName>6. DEBT</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>00000013 - Disclosure - 7. INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxes</Role>
      <ShortName>7. INCOME TAXES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>00000014 - Disclosure - 8. PREFERRED STOCK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PreferredStock</Role>
      <ShortName>8. PREFERRED STOCK</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>00000015 - Disclosure - 9. COMMON STOCK AND WARRANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommonStockAndWarrants</Role>
      <ShortName>9. COMMON STOCK AND WARRANTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>00000016 - Disclosure - 10. STOCK BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/StockBasedCompensation</Role>
      <ShortName>10. STOCK BASED COMPENSATION</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>00000017 - Disclosure - 11. COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommitmentsAndContingencies</Role>
      <ShortName>11. COMMITMENTS AND CONTINGENCIES</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>00000018 - Disclosure - 12. FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/FairValueMeasurements</Role>
      <ShortName>12. FAIR VALUE MEASUREMENTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>00000019 - Disclosure - 13. RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/RelatedPartyTransactions</Role>
      <ShortName>13. RELATED PARTY TRANSACTIONS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>00000020 - Disclosure - 14. SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/SubsequentEvents</Role>
      <ShortName>14. SUBSEQUENT EVENTS</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>00000021 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationPolicies</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>00000022 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationTables</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>00000023 - Disclosure - 2. PACIFIC ETHANOL PLANTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PacificEthanolPlantsTables</Role>
      <ShortName>2. PACIFIC ETHANOL PLANTS (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>00000024 - Disclosure - 3. PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>3. PROPERTY AND EQUIPMENT (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>00000025 - Disclosure - 4. INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IntangibleAssetsTables</Role>
      <ShortName>4. INTANGIBLE ASSETS (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>00000026 - Disclosure - 5. DERIVATIVES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DerivativesTables</Role>
      <ShortName>5. DERIVATIVES (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>00000027 - Disclosure - 6. DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DebtTables</Role>
      <ShortName>6. DEBT (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>00000028 - Disclosure - 7. INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxesTables</Role>
      <ShortName>7. INCOME TAXES (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>00000029 - Disclosure - 8. PREFERRED STOCK (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PreferredStockTables</Role>
      <ShortName>8. PREFERRED STOCK (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>00000030 - Disclosure - 9. COMMON STOCK AND WARRANTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommonStockAndWarrantsTables</Role>
      <ShortName>9. COMMON STOCK AND WARRANTS (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>00000031 - Disclosure - 10. STOCK BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/StockBasedCompensationTables</Role>
      <ShortName>10. STOCK BASED COMPENSATION (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>00000032 - Disclosure - 11. COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>11. COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>00000033 - Disclosure - 12. FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/FairValueMeasurementsTables</Role>
      <ShortName>12. FAIR VALUE MEASUREMENTS (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>00000034 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Concentration sales)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetails-ConcentrationSales</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Concentration sales)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>00000035 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Purchase concentration)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetails-PurchaseConcentration</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Purchase concentration)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>00000036 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Inventories)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetails-Inventories</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Inventories)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>00000037 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Useful Lives)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetails-UsefulLives</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details-Useful Lives)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>00000038 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details-EPS computation)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetails-EpsComputation</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details-EPS computation)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>00000039 - Disclosure - 1. ORGANIZATION AND BASIS OF PRESENTATION (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/OrganizationAndBasisOfPresentationDetailsNarrative</Role>
      <ShortName>1. ORGANIZATION AND BASIS OF PRESENTATION (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>00000040 - Disclosure - 2. PACIFIC ETHANOL PLANTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/VariableInterestEntityDetails</Role>
      <ShortName>2. PACIFIC ETHANOL PLANTS (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>00000041 - Disclosure - 2. PACIFIC ETHANOL PLANTS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PacificEthanolPlantsDetailsNarrative</Role>
      <ShortName>2. PACIFIC ETHANOL PLANTS (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>00000042 - Disclosure - 3. PROPERTY AND EQUIPMENT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PropertyAndEquipmentDetails</Role>
      <ShortName>3. PROPERTY AND EQUIPMENT (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>00000043 - Disclosure - 3. PROPERTY AND EQUIPMENT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PropertyAndEquipmentDetailsNarrative</Role>
      <ShortName>3. PROPERTY AND EQUIPMENT (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>00000044 - Disclosure - 4. INTANGIBLE ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IntangibleAssetsDetails</Role>
      <ShortName>4. INTANGIBLE ASSETS (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>00000045 - Disclosure - 4. INTANGIBLE ASSETS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IntangibleAssetsDetailsNarrative</Role>
      <ShortName>4. INTANGIBLE ASSETS (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>00000046 - Disclosure - 5. DERIVATIVES (Details-Fair value)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DerivativesDetails-FairValue</Role>
      <ShortName>5. DERIVATIVES (Details-Fair value)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>00000047 - Disclosure - 5. DERIVATIVES (Details-Recognized gains/losses)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DerivativesDetails-RecognizedGainslosses</Role>
      <ShortName>5. DERIVATIVES (Details-Recognized gains/losses)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>00000048 - Disclosure - 5. DERIVATIVES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DerivativesDetailsNarrative</Role>
      <ShortName>5. DERIVATIVES (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>00000049 - Disclosure - 6. DEBT (Details-Long term borrowings)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DebtDetails-LongTermBorrowings</Role>
      <ShortName>6. DEBT (Details-Long term borrowings)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>00000050 - Disclosure - 6. DEBT (Details-Future debt payments)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DebtDetails-FutureDebtPayments</Role>
      <ShortName>6. DEBT (Details-Future debt payments)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>00000051 - Disclosure - 6. DEBT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/DebtDetailsNarrative</Role>
      <ShortName>6. DEBT (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>00000052 - Disclosure - 7. INCOME TAXES (Details-Effective rate)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxesDetails-EffectiveRate</Role>
      <ShortName>7. INCOME TAXES (Details-Effective rate)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>00000053 - Disclosure - 7. INCOME TAXES (Details-Deferred tax assets)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxesDetails-DeferredTaxAssets</Role>
      <ShortName>7. INCOME TAXES (Details-Deferred tax assets)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>00000054 - Disclosure - 7. INCOME TAXES (Details-Tax jurisdictions)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxesDetails-TaxJurisdictions</Role>
      <ShortName>7. INCOME TAXES (Details-Tax jurisdictions)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>00000055 - Disclosure - 7. INCOME TAXES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/IncomeTaxesDetailsNarrative</Role>
      <ShortName>7. INCOME TAXES (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>00000056 - Disclosure - 8. PREFERRED STOCK (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/PreferredStockDetails</Role>
      <ShortName>8. PREFERRED STOCK (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>00000057 - Disclosure - 9. COMMON STOCK AND WARRANTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommonStockAndWarrantsDetails</Role>
      <ShortName>9. COMMON STOCK AND WARRANTS (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>00000058 - Disclosure - 10. STOCK-BASED COMPENSATION (Details-Option Activity)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Stock-BasedCompensationDetails-OptionActivity</Role>
      <ShortName>10. STOCK-BASED COMPENSATION (Details-Option Activity)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>00000059 - Disclosure - 10. STOCK-BASED COMPENSATION (Detail-Options Outstanding and Exercisable)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Stock-BasedCompensationDetail-OptionsOutstandingAndExercisable</Role>
      <ShortName>10. STOCK-BASED COMPENSATION (Detail-Options Outstanding and Exercisable)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>00000060 - Disclosure - 10. STOCK-BASED COMPENSATION (Details-Restricted Stock Activity)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Stock-BasedCompensationDetails-RestrictedStockActivity</Role>
      <ShortName>10. STOCK-BASED COMPENSATION (Details-Restricted Stock Activity)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>00000061 - Disclosure - 10. STOCK-BASED COMPENSATION (Details-Stock based compensation expense)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Stock-BasedCompensationDetails-StockBasedCompensationExpense</Role>
      <ShortName>10. STOCK-BASED COMPENSATION (Details-Stock based compensation expense)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>00000062 - Disclosure - 10. STOCK-BASED COMPENSATION (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/Stock-BasedCompensationDetailsNarrative</Role>
      <ShortName>10. STOCK-BASED COMPENSATION (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>00000063 - Disclosure - 11. COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>11. COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>00000064 - Disclosure - 11. COMMITMENTS AND CONTINGENCIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/CommitmentsAndContingenciesDetailsNarrative</Role>
      <ShortName>11. COMMITMENTS AND CONTINGENCIES (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>00000065 - Disclosure - 12. FAIR VALUE MEASUREMENTS (Details-Fair Value Warrants)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>12. FAIR VALUE MEASUREMENTS (Details-Fair Value Warrants)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>00000066 - Disclosure - 12. FAIR VALUE MEASUREMENTS (Details-Other derivatives)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/FairValueMeasurementsDetails-OtherDerivatives</Role>
      <ShortName>12. FAIR VALUE MEASUREMENTS (Details-Other derivatives)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>00000067 - Disclosure - 12. FAIR VALUE MEASUREMENTS (Details-Level 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/FairValueMeasurementsDetails-Level3</Role>
      <ShortName>12. FAIR VALUE MEASUREMENTS (Details-Level 3)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>00000068 - Disclosure - 13. RELATED PARTY TRANSACTIONS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://paceth.com/role/RelatedPartyTransactionsDetailsNarrative</Role>
      <ShortName>13. RELATED PARTY TRANSACTIONS (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Process Flow-Through: 00000002 - Statement - CONSOLIDATED BALANCE SHEETS</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2011'</Log>
    <Log type="Info">Process Flow-Through: 00000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 00000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</Log>
    <Log type="Info">Process Flow-Through: 00000006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</Log>
  </Logs>
  <InputFiles>
    <File>peix-20131231.xml</File>
    <File>peix-20131231.xsd</File>
    <File>peix-20131231_cal.xml</File>
    <File>peix-20131231_def.xml</File>
    <File>peix-20131231_lab.xml</File>
    <File>peix-20131231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
