<?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>28</ContextCount>
  <ElementCount>286</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>14</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001 - 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>0002 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedBalanceSheet</Role>
      <ShortName>CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/ConsolidatedCondensedBalanceSheetParenthetical</Role>
      <ShortName>CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited) (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0004 - 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>0005 - 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>0006 - 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>0007 - 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>0008 - 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>0009 - 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>0010 - 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>0011 - Disclosure - 6. Operating Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OperatingLeases</Role>
      <ShortName>6. Operating Leases</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0012 - 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>0013 - 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>0014 - 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>0015 - Disclosure - 10. Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/StockBasedCompensation</Role>
      <ShortName>10. Stock Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0016 - 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>0017 - 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>0018 - 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>0019 - 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>0020 - 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>0021 - 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>0022 - 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>0023 - 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>0024 - 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>0025 - 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>0026 - 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>0027 - Disclosure - 6. Operating Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OperatingLeasesTables</Role>
      <ShortName>6. Operating Leases (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0028 - 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>0029 - 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>0030 - 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>0031 - Disclosure - 10. Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/StockBasedCompensationTables</Role>
      <ShortName>10. Stock Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0032 - 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>0033 - 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>0034 - 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>0035 - 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>0036 - 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>0037 - 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>0038 - Disclosure - 2. Inventory (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/InventoryDetailsNarrative</Role>
      <ShortName>2. Inventory (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0039 - 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>R40.htm</HtmlFileName>
      <LongName>0040 - 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>R41.htm</HtmlFileName>
      <LongName>0041 - 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>R42.htm</HtmlFileName>
      <LongName>0042 - 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>R43.htm</HtmlFileName>
      <LongName>0043 - 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>R44.htm</HtmlFileName>
      <LongName>0044 - 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>R45.htm</HtmlFileName>
      <LongName>0045 - 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>R46.htm</HtmlFileName>
      <LongName>0046 - Disclosure - 6. Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OperatingLeasesDetails1</Role>
      <ShortName>6. Operating Leases (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0047 - Disclosure - 6. Operating Leases (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/OperatingLeasesDetailsNarrative</Role>
      <ShortName>6. Operating Leases (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0048 - 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>R49.htm</HtmlFileName>
      <LongName>0049 - 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>0050 - 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>0051 - 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>0052 - Disclosure - 10. Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/StockBasedCompensationDetails</Role>
      <ShortName>10. Stock Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0053 - Disclosure - 10. Stock Based Compensation (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/StockBasedCompensationDetails1</Role>
      <ShortName>10. Stock Based Compensation (Details 1)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0054 - Disclosure - 10. Stock Based Compensation (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://aemetis.com/role/StockBasedCompensationDetailsNarrative</Role>
      <ShortName>10. Stock Based Compensation (Details Narrative)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0055 - 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>R56.htm</HtmlFileName>
      <LongName>0056 - 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>0057 - 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>0058 - 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: 0002 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited)</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Mar. 31, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2012'</Log>
    <Log type="Info">Process Flow-Through: 0003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 0004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME / (LOSS) (Unaudited)</Log>
    <Log type="Info">Process Flow-Through: 0005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)</Log>
  </Logs>
  <InputFiles>
    <File>amtx-20140331.xml</File>
    <File>amtx-20140331.xsd</File>
    <File>amtx-20140331_cal.xml</File>
    <File>amtx-20140331_def.xml</File>
    <File>amtx-20140331_lab.xml</File>
    <File>amtx-20140331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
