<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: QXInteractive; Version: 3.5d -->
    <!-- Field: Doc-Info; Name: Source; Value: AMTX 03312014 10Q1.xfr; Date: 2014/05/15T17:39:08 -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80010000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://aemetis.com/role/DocumentAndEntityInformation" xlink:href="amtx-20140331.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheet" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedBalanceSheet" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetParenthetical" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedBalanceSheetParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows" xlink:href="amtx-20140331.xsd#ConsolidatedCondensedStatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Inventory" xlink:href="amtx-20140331.xsd#Inventory" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwill" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayable" xlink:href="amtx-20140331.xsd#NotesPayable" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeases" xlink:href="amtx-20140331.xsd#OperatingLeases" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrants" xlink:href="amtx-20140331.xsd#OutstandingWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrants" xlink:href="amtx-20140331.xsd#FairValueOfWarrants" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurements" xlink:href="amtx-20140331.xsd#FairValueMeasurements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensation" xlink:href="amtx-20140331.xsd#StockBasedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/Agreements" xlink:href="amtx-20140331.xsd#Agreements" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformation" xlink:href="amtx-20140331.xsd#SegmentInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactions" xlink:href="amtx-20140331.xsd#RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SubsequentEvents" xlink:href="amtx-20140331.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/ManagementsPlan" xlink:href="amtx-20140331.xsd#ManagementsPlan" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="amtx-20140331.xsd#NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryTables" xlink:href="amtx-20140331.xsd#InventoryTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableTables" xlink:href="amtx-20140331.xsd#NotesPayableTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesTables" xlink:href="amtx-20140331.xsd#OperatingLeasesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsTables" xlink:href="amtx-20140331.xsd#OutstandingWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:href="amtx-20140331.xsd#FairValueOfWarrantsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsTables" xlink:href="amtx-20140331.xsd#FairValueMeasurementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationTables" xlink:href="amtx-20140331.xsd#StockBasedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsTables" xlink:href="amtx-20140331.xsd#AgreementsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationTables" xlink:href="amtx-20140331.xsd#SegmentInformationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="amtx-20140331.xsd#NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryDetails" xlink:href="amtx-20140331.xsd#InventoryDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/InventoryDetailsNarrative" xlink:href="amtx-20140331.xsd#InventoryDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="amtx-20140331.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:href="amtx-20140331.xsd#IntangibleAssetsAndGoodwillDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails" xlink:href="amtx-20140331.xsd#NotesPayableDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetails1" xlink:href="amtx-20140331.xsd#NotesPayableDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:href="amtx-20140331.xsd#NotesPayableDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesDetails1" xlink:href="amtx-20140331.xsd#OperatingLeasesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OperatingLeasesDetailsNarrative" xlink:href="amtx-20140331.xsd#OperatingLeasesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:href="amtx-20140331.xsd#OutstandingWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:href="amtx-20140331.xsd#FairValueOfWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:href="amtx-20140331.xsd#FairValueMeasurementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:href="amtx-20140331.xsd#FairValueMeasurementsDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetails" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetails1" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/StockBasedCompensationDetailsNarrative" xlink:href="amtx-20140331.xsd#StockBasedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/AgreementsDetails" xlink:href="amtx-20140331.xsd#AgreementsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails" xlink:href="amtx-20140331.xsd#SegmentInformationDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/SegmentInformationDetails1" xlink:href="amtx-20140331.xsd#SegmentInformationDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:href="amtx-20140331.xsd#RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/DocumentAndEntityInformation" xlink:title="0001 - Document - Document and Entity Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheet" xlink:title="0002 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedBalanceSheetParenthetical" xlink:title="0003 - Statement - CONSOLIDATED CONDENSED BALANCE SHEET (Unaudited) (Parenthetical)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedStatementsOfOperationsAndComprehensiveIncomeLoss" xlink:title="0004 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME / (LOSS) (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/ConsolidatedCondensedStatementsOfCashFlows" xlink:title="0005 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPolicies" xlink:title="0006 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/Inventory" xlink:title="0007 - Disclosure - 2. Inventory" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipment" xlink:title="0008 - Disclosure - 3. Property, Plant and Equipment" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwill" xlink:title="0009 - Disclosure - 4. Intangible Assets and Goodwill" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayable" xlink:title="0010 - Disclosure - 5. Notes Payable" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeases" xlink:title="0011 - Disclosure - 6. Operating Leases" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrants" xlink:title="0012 - Disclosure - 7. Outstanding Warrants" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrants" xlink:title="0013 - Disclosure - 8. Fair Value of Warrants" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurements" xlink:title="0014 - Disclosure - 9. Fair Value Measurements" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensation" xlink:title="0015 - Disclosure - 10. Stock Based Compensation" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/Agreements" xlink:title="0016 - Disclosure - 11. Agreements" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformation" xlink:title="0017 - Disclosure - 12. Segment Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactions" xlink:title="0018 - Disclosure - 13. Related Party Transactions" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/SubsequentEvents" xlink:title="0019 - Disclosure - 14. Subsequent Events" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/ManagementsPlan" xlink:title="0020 - Disclosure - 15. Management's Plan" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:title="0021 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Policies)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesOfActivitiesAndSummaryOfSignificantAccountingPoliciesTables" xlink:title="0022 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryTables" xlink:title="0023 - Disclosure - 2. Inventory (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentTables" xlink:title="0024 - Disclosure - 3. Property, Plant and Equipment (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillTables" xlink:title="0025 - Disclosure - 4. Intangible Assets and Goodwill (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableTables" xlink:title="0026 - Disclosure - 5. Notes Payable (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesTables" xlink:title="0027 - Disclosure - 6. Operating Leases (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsTables" xlink:title="0028 - Disclosure - 7. Outstanding Warrants (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsTables" xlink:title="0029 - Disclosure - 8. Fair Value of Warrants (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsTables" xlink:title="0030 - Disclosure - 9. Fair Value Measurements (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationTables" xlink:title="0031 - Disclosure - 10. Stock Based Compensation (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsTables" xlink:title="0032 - Disclosure - 11. Agreements (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationTables" xlink:title="0033 - Disclosure - 12. Segment Information (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails" xlink:title="0034 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetails1" xlink:title="0035 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NatureOfActivitiesAndSummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="0036 - Disclosure - 1. Nature of Activities and Summary of Significant Accounting Policies (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryDetails" xlink:title="0037 - Disclosure - 2. Inventory (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/InventoryDetailsNarrative" xlink:title="0038 - Disclosure - 2. Inventory (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetails" xlink:title="0039 - Disclosure - 3. Property, Plant and Equipment (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="0040 - Disclosure - 3. Property, Plant and Equipment (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetails" xlink:title="0041 - Disclosure - 4. Intangible Assets and Goodwill (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/IntangibleAssetsAndGoodwillDetailsNarrative" xlink:title="0042 - Disclosure - 4. Intangible Assets and Goodwill (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails" xlink:title="0043 - Disclosure - 5. Notes Payable (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetails1" xlink:title="0044 - Disclosure - 5. Notes Payable (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/NotesPayableDetailsNarrative" xlink:title="0045 - Disclosure - 5. Notes Payable (Details Narrative)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaapDebtInstrumentAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapDebtInstrumentAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaapDebtInstrumentNameDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapDebtInstrumentAxis" xlink:to="loc_us-gaapDebtInstrumentNameDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaapDebtInstrumentNameDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapDebtInstrumentAxis" xlink:to="loc_us-gaapDebtInstrumentNameDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_ThirdEyeCapitalNotesMember" xlink:label="loc_AMTXThirdEyeCapitalNotesMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXThirdEyeCapitalNotesMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaapRevolvingCreditFacilityMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_us-gaapRevolvingCreditFacilityMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_RevenueParticipationTermNotesMember" xlink:label="loc_AMTXRevenueParticipationTermNotesMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXRevenueParticipationTermNotesMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_AcquisitionTermNotesMember" xlink:label="loc_AMTXAcquisitionTermNotesMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXAcquisitionTermNotesMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_CilionShareholderSellerNotePayableMember" xlink:label="loc_AMTXCilionShareholderSellerNotePayableMember_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXCilionShareholderSellerNotePayableMember_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_StateBankOfIndiaLoanMember" xlink:label="loc_AMTXStateBankOfIndiaLoanMember_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXStateBankOfIndiaLoanMember_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_SubordinatedNotesMember" xlink:label="loc_AMTXSubordinatedNotesMember_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXSubordinatedNotesMember_110" xlink:type="arc" order="111" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_EbLongtermPromissoryNotesMember" xlink:label="loc_AMTXEbLongtermPromissoryNotesMember_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDebtInstrumentNameDomain" xlink:to="loc_AMTXEbLongtermPromissoryNotesMember_130" xlink:type="arc" order="131" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaapDebtInstrumentFaceAmount_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDebtInstrumentFaceAmount_150" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaapDebtInstrumentUnamortizedDiscount_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDebtInstrumentUnamortizedDiscount_150" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaapPaymentsOfDebtIssuanceCosts_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPaymentsOfDebtIssuanceCosts_150" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_DebtInstrumentAccruedInterest" xlink:label="loc_AMTXDebtInstrumentAccruedInterest_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXDebtInstrumentAccruedInterest_150" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_DebtInstrumentAnnualPrincipalPayment" xlink:label="loc_us-gaapDebtInstrumentAnnualPrincipalPayment_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDebtInstrumentAnnualPrincipalPayment_150" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_InterestCostsIncurred1" xlink:label="loc_AMTXInterestCostsIncurred1_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXInterestCostsIncurred1_150" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_WorkingCapitalFunding" xlink:label="loc_AMTXWorkingCapitalFunding_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXWorkingCapitalFunding_150" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_OutstandingAmountOfSecundrabad" xlink:label="loc_AMTXOutstandingAmountOfSecundrabad_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXOutstandingAmountOfSecundrabad_150" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherLongTermDebtCurrent" xlink:label="loc_us-gaapOtherLongTermDebtCurrent_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherLongTermDebtCurrent_150" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherSundryLiabilitiesCurrent" xlink:label="loc_us-gaapOtherSundryLiabilitiesCurrent_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherSundryLiabilitiesCurrent_150" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_OtherShortTermBorrowings" xlink:label="loc_us-gaapOtherShortTermBorrowings_150" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapOtherShortTermBorrowings_150" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesDetails1" xlink:title="0046 - Disclosure - 6. Operating Leases (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OperatingLeasesDetailsNarrative" xlink:title="0047 - Disclosure - 6. Operating Leases (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/OutstandingWarrantsDetails" xlink:title="0048 - Disclosure - 7. Outstanding Warrants (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueOfWarrantsDetails" xlink:title="0049 - Disclosure - 8. Fair Value of Warrants (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails" xlink:title="0050 - Disclosure - 9. Fair Value Measurements (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaapFairValueByMeasurementBasisAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapFairValueByMeasurementBasisAxis" xlink:to="loc_us-gaapFairValueDisclosureItemAmountsDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaapFairValueInputsLevel1Member_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapFairValueInputsLevel1Member_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaapFairValueInputsLevel2Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapFairValueInputsLevel2Member_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaapFairValueInputsLevel3Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapFairValueDisclosureItemAmountsDomain" xlink:to="loc_us-gaapFairValueInputsLevel3Member_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_WarrantyLiability" xlink:label="loc_AMTXWarrantyLiability_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXWarrantyLiability_50" xlink:type="arc" order="0" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/FairValueMeasurementsDetails1" xlink:title="0051 - Disclosure - 9. Fair Value Measurements (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetails" xlink:title="0052 - Disclosure - 10. Stock Based Compensation (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:to="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:to="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_EmployeeStockPlanMember" xlink:label="loc_AMTXEmployeeStockPlanMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:to="loc_AMTXEmployeeStockPlanMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_20" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfShareAuthorized" xlink:label="loc_AMTXNumberOfShareAuthorized_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfShareAuthorized_20" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesGranted" xlink:label="loc_AMTXNumberOfSharesGranted_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesGranted_20" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesExercised" xlink:label="loc_AMTXNumberOfSharesExercised_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesExercised_20" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesForfeitedexpired" xlink:label="loc_AMTXNumberOfSharesForfeitedexpired_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesForfeitedexpired_20" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesOutstandingBeginning" xlink:label="loc_AMTXNumberOfSharesOutstandingBeginning_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesOutstandingBeginning_20" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesAuthorized" xlink:label="loc_AMTXNumberOfSharesAuthorized_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesAuthorized_20" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_20" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesExercised1" xlink:label="loc_AMTXNumberOfSharesExercised1_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesExercised1_20" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_20" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_NumberOfSharesOutstandingEnding" xlink:label="loc_AMTXNumberOfSharesOutstandingEnding_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXNumberOfSharesOutstandingEnding_20" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_20" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_WeightedAverageExercisePriceAuthorized" xlink:label="loc_AMTXWeightedAverageExercisePriceAuthorized_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXWeightedAverageExercisePriceAuthorized_20" xlink:type="arc" order="13" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_20" xlink:type="arc" order="14" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_20" xlink:type="arc" order="15" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_20" xlink:type="arc" order="16" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetails1" xlink:title="0053 - Disclosure - 10. Stock Based Compensation (Details 1)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaapRangeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapRangeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaapRangeMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapRangeAxis" xlink:to="loc_us-gaapRangeMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaapRangeMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapRangeAxis" xlink:to="loc_us-gaapRangeMember_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaapMinimumMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRangeMember" xlink:to="loc_us-gaapMinimumMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaapMaximumMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRangeMember" xlink:to="loc_us-gaapMaximumMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_Dividendyield" xlink:label="loc_AMTXDividendyield_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXDividendyield_70" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_70" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_70" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2013/elts/us-gaap-2013-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_70" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="amtx-20140331.xsd#AMTX_WeightedAverageFairValuePerShareOfCommonStock" xlink:label="loc_AMTXWeightedAverageFairValuePerShareOfCommonStock_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_AMTXWeightedAverageFairValuePerShareOfCommonStock_70" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/StockBasedCompensationDetailsNarrative" xlink:title="0054 - Disclosure - 10. Stock Based Compensation (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/AgreementsDetails" xlink:title="0055 - Disclosure - 11. Agreements (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails" xlink:title="0056 - Disclosure - 12. Segment Information (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/SegmentInformationDetails1" xlink:title="0057 - Disclosure - 12. Segment Information (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://aemetis.com/role/RelatedPartyTransactionsDetailsNarrative" xlink:title="0058 - Disclosure - 13. Related Party Transactions (Details Narrative)" />
</link:linkbase>
