<?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.1.9</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>40</ContextCount>
  <ElementCount>274</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>19</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</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://aemetis.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 CONDENSED BALANCE SHEETS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedBalanceSheets</Role>
      <ShortName>CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited) (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME (LOSS) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME (LOSS) (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00000007 - Disclosure - 2. Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/Inventory</Role>
      <ShortName>2. Inventory</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00000008 - Disclosure - 3. Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/PropertyPlantAndEquipment</Role>
      <ShortName>3. Property, Plant and Equipment</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00000009 - Disclosure - 4. Intangible Assets and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/IntangibleAssetsAndGoodwill</Role>
      <ShortName>4. Intangible Assets and Goodwill</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>00000010 - Disclosure - 5. Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://aemetis.com/role/NotesPayable</Role>
      <ShortName>5. Notes Payable</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>00000011 - Disclosure - 6. Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/CommitmentsAndContingencies</Role>
      <ShortName>6. Commitments and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>00000012 - Disclosure - 7. Outstanding Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OutstandingWarrants</Role>
      <ShortName>7. Outstanding Warrants</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>00000013 - Disclosure - 8. Fair Value of Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueOfWarrants</Role>
      <ShortName>8. Fair Value of Warrants</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>00000014 - Disclosure - 9. Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueMeasurements</Role>
      <ShortName>9. Fair Value Measurements</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>00000015 - Disclosure - 10. Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/Stock-basedCompensation</Role>
      <ShortName>10. Stock-Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>00000016 - Disclosure - 11. Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/Agreements</Role>
      <ShortName>11. Agreements</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>00000017 - Disclosure - 12. Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/SegmentInformation</Role>
      <ShortName>12. Segment Information</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>00000018 - Disclosure - 13. Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/RelatedPartyTransactions</Role>
      <ShortName>13. Related Party Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>00000019 - Disclosure - 14. Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/SubsequentEvents</Role>
      <ShortName>14. Subsequent Events</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>00000020 - Disclosure - 15. Management's Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ManagementsPlan</Role>
      <ShortName>15. Management's Plan</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>00000021 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>00000022 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>00000023 - Disclosure - 2. Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/InventoryTables</Role>
      <ShortName>2. Inventory (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>00000024 - Disclosure - 3. Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/PropertyPlantAndEquipmentTables</Role>
      <ShortName>3. Property, Plant and Equipment (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>00000025 - Disclosure - 4. Intangible Assets and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/IntangibleAssetsAndGoodwillTables</Role>
      <ShortName>4. Intangible Assets and Goodwill (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>00000026 - Disclosure - 5. Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://aemetis.com/role/NotesPayableTables</Role>
      <ShortName>5. Notes Payable (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>00000027 - Disclosure - 6. Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>6. Commitments and Contingencies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>00000028 - Disclosure - 7. Outstanding Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OutstandingWarrantsTables</Role>
      <ShortName>7. Outstanding Warrants (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>00000029 - Disclosure - 8. Fair Value of Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueOfWarrantsTables</Role>
      <ShortName>8. Fair Value of Warrants (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>00000030 - Disclosure - 9. Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueMeasurementsTables</Role>
      <ShortName>9. Fair Value Measurements (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://aemetis.com/role/Stock-basedCompensationTables</Role>
      <ShortName>10. Stock-Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>00000032 - Disclosure - 11. Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/AgreementsTables</Role>
      <ShortName>11. Agreements (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>00000033 - Disclosure - 12. Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/SegmentInformationTables</Role>
      <ShortName>12. Segment Information (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>00000034 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>00000035 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>00000036 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>1. Nature of Activities and Summary of Significant Accounting Policies (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>00000037 - Disclosure - 2. Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/InventoryDetails</Role>
      <ShortName>2. Inventory (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>00000038 - Disclosure - 3. Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/PropertyPlantAndEquipmentDetails</Role>
      <ShortName>3. Property, Plant and Equipment (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>00000039 - Disclosure - 3. Property, Plant and Equipment (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative</Role>
      <ShortName>3. Property, Plant and Equipment (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>00000040 - Disclosure - 4. Intangible Assets and Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails</Role>
      <ShortName>4. Intangible Assets and Goodwill (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>00000041 - Disclosure - 4. Intangible Assets and Goodwill (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative</Role>
      <ShortName>4. Intangible Assets and Goodwill (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>00000042 - Disclosure - 5. Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://aemetis.com/role/NotesPayableDetails</Role>
      <ShortName>5. Notes Payable (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>00000043 - Disclosure - 5. Notes Payable (Details 1)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://aemetis.com/role/NotesPayableDetails1</Role>
      <ShortName>5. Notes Payable (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>00000044 - Disclosure - 5. Notes Payable (Details Narrative)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://aemetis.com/role/NotesPayableDetailsNarrative</Role>
      <ShortName>5. Notes Payable (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>00000045 - Disclosure - 6. Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>6. Commitments and Contingencies (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>00000046 - Disclosure - 6. Commitments and Contingencies (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/CommitmentsAndContingenciesDetailsNarrative</Role>
      <ShortName>6. Commitments and Contingencies (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>00000047 - Disclosure - 7. Outstanding Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OutstandingWarrantsDetails</Role>
      <ShortName>7. Outstanding Warrants (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>00000048 - Disclosure - 7. Outstanding Warrants (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OutstandingWarrantsDetails1</Role>
      <ShortName>7. Outstanding Warrants (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>00000049 - Disclosure - 8. Fair Value of Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueOfWarrantsDetails</Role>
      <ShortName>8. Fair Value of Warrants (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>00000050 - Disclosure - 9. Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>9. Fair Value Measurements (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>00000051 - Disclosure - 9. Fair Value Measurements (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/FairValueMeasurementsDetails1</Role>
      <ShortName>9. Fair Value Measurements (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>00000052 - Disclosure - 10. Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/Stock-basedCompensationDetails</Role>
      <ShortName>10. Stock-Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>00000053 - Disclosure - 10. Stock-Based Compensation (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/Stock-basedCompensationDetails1</Role>
      <ShortName>10. Stock-Based Compensation (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>00000054 - Disclosure - 11. Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/AgreementsDetails</Role>
      <ShortName>11. Agreements (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>00000055 - Disclosure - 11. Agreements (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/AgreementsDetailsNarrative</Role>
      <ShortName>11. Agreements (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>00000056 - Disclosure - 12. Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/SegmentInformationDetails</Role>
      <ShortName>12. Segment Information (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>00000057 - Disclosure - 12. Segment Information (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/SegmentInformationDetails1</Role>
      <ShortName>12. Segment Information (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>00000058 - Disclosure - 13. Related Party Transactions (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.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 CONDENSED BALANCE SHEETS (Unaudited)</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Mar. 31, 2014'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2013'</Log>
    <Log type="Info">Process Flow-Through: 00000003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEETS (Unaudited) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 00000004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME (LOSS) (Unaudited)</Log>
    <Log type="Info">Process Flow-Through: 00000005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)</Log>
  </Logs>
  <InputFiles>
    <File>amtx-20150331.xml</File>
    <File>amtx-20150331.xsd</File>
    <File>amtx-20150331_cal.xml</File>
    <File>amtx-20150331_def.xml</File>
    <File>amtx-20150331_lab.xml</File>
    <File>amtx-20150331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
