<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>532</ContextCount>
  <ElementCount>530</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>164</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>16</UnitCount>
  <MyReports>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementsOfIncomeLoss</Role>
      <ShortName>Consolidated Statements of Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004001 - Statement - Consolidated Statement of Comprehensive Income (Loss) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementOfComprehensiveIncomeLossParenthetical</Role>
      <ShortName>Consolidated Statement of Comprehensive Income (Loss) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006000 - Statement - Consolidated Statements of Changes in Redeemable Non-controlling Interests and Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementsOfChangesInRedeemableNonControllingInterestsAndStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Redeemable Non-controlling Interests and Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1006001 - Statement - Consolidated Statements of Changes in Redeemable Non-controlling Interests and Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementsOfChangesInRedeemableNonControllingInterestsAndStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Redeemable Non-controlling Interests and Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1007000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DescriptionOfBusiness</Role>
      <ShortName>Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Revenue from Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomers</Role>
      <ShortName>Revenue from Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Business Acquisitions and Related Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessAcquisitionsAndRelatedTransactions</Role>
      <ShortName>Business Acquisitions and Related Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/PropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Energy Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/EnergyAssets</Role>
      <ShortName>Energy Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Investment Funds</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/InvestmentFunds</Role>
      <ShortName>Investment Funds</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Non-Controlling Interests and Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/NonControllingInterestsAndEquity</Role>
      <ShortName>Non-Controlling Interests and Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Stock Incentive Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/StockIncentivePlan</Role>
      <ShortName>Stock Incentive Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/EmployeeBenefits</Role>
      <ShortName>Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GeographicInformation</Role>
      <ShortName>Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Other Expenses, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/OtherExpensesNet</Role>
      <ShortName>Other Expenses, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivities</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Quarterly Information (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/QuarterlyInformationUnaudited</Role>
      <ShortName>Quarterly Information (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Revenue from Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomersTables</Role>
      <ShortName>Revenue from Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/RevenueFromContractsWithCustomers</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Business Acquisitions and Related Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessAcquisitionsAndRelatedTransactionsTables</Role>
      <ShortName>Business Acquisitions and Related Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/BusinessAcquisitionsAndRelatedTransactions</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/GoodwillAndIntangibleAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/PropertyAndEquipment</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Energy Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/EnergyAssetsTables</Role>
      <ShortName>Energy Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/EnergyAssets</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/LongTermDebt</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Investment Funds (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/InvestmentFundsTables</Role>
      <ShortName>Investment Funds (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/InvestmentFunds</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Stock Incentive Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/StockIncentivePlanTables</Role>
      <ShortName>Stock Incentive Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/StockIncentivePlan</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GeographicInformationTables</Role>
      <ShortName>Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/GeographicInformation</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Other Expenses, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/OtherExpensesNetTables</Role>
      <ShortName>Other Expenses, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/OtherExpensesNet</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/FairValueMeasurement</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2320301 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivities</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/BusinessSegmentInformation</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2323301 - Disclosure - Quarterly Information (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/QuarterlyInformationUnauditedTables</Role>
      <ShortName>Quarterly Information (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/QuarterlyInformationUnaudited</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Summary of Significant Accounting Policies - Principles of Consolidation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesPrinciplesOfConsolidationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Principles of Consolidation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Summary of Significant Accounting Policies - Use of Estimates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesUseOfEstimatesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Use of Estimates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Summary of Significant Accounting Policies - Restricted Cash  (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesRestrictedCashDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Restricted Cash  (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2401406 - Disclosure - Summary of Significant Accounting Policies - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2401407 - Disclosure - Summary of Significant Accounting Policies - Project Development Costs  (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesProjectDevelopmentCostsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Project Development Costs  (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2401408 - Disclosure - Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2401409 - Disclosure - Summary of Significant Accounting Policies - Energy Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesEnergyAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Energy Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2401410 - Disclosure - Summary of Significant Accounting Policies - Goodwill and Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesGoodwillAndIntangibleAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Goodwill and Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2401411 - Disclosure - Summary of Significant Accounting Policies - Sales Leaseback (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesSalesLeasebackDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Sales Leaseback (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2401412 - Disclosure - Summary of Significant Accounting Policies - Amounts Related to Sale Leaseback (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesAmountsRelatedToSaleLeasebackDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Amounts Related to Sale Leaseback (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2401413 - Disclosure - Summary of Significant Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2401414 - Disclosure - Summary of Significant Accounting Policies - Stock-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesStockBasedCompensationExpenseDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Stock-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2401415 - Disclosure - Summary of Significant Accounting Policies - Fair Value Measurements  (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesFairValueMeasurementsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Fair Value Measurements  (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2401416 - Disclosure - Summary of Significant Accounting Policies - Share Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesShareRepurchaseProgramDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Share Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2401417 - Disclosure - Summary of Significant Accounting Policies - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesEarningsPerShareDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2401418 - Disclosure - Summary of Significant Accounting Policies - Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesDerivativeInstrumentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2401419 - Disclosure - Summary of Significant Accounting Policies - Redeemable Non-Controlling Interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesRedeemableNonControllingInterestDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Redeemable Non-Controlling Interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2401420 - Disclosure - Summary of Significant Accounting Policies - Recent Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/SummaryOfSignificantAccountingPoliciesRecentAccountingPronouncementsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Recent Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Revenue from Contracts with Customers - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomersAdditionalInformationDetails</Role>
      <ShortName>Revenue from Contracts with Customers - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Revenue from Contracts with Customers - Summary of Impact of Adoption (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomersSummaryOfImpactOfAdoptionDetails</Role>
      <ShortName>Revenue from Contracts with Customers - Summary of Impact of Adoption (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Revenue from Contracts with Customers - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomersDisaggregationOfRevenueDetails</Role>
      <ShortName>Revenue from Contracts with Customers - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Revenue from Contracts with Customers - Contract Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/RevenueFromContractsWithCustomersContractBalancesDetails</Role>
      <ShortName>Revenue from Contracts with Customers - Contract Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Business Acquisitions and Related Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessAcquisitionsAndRelatedTransactionsAdditionalInformationDetails</Role>
      <ShortName>Business Acquisitions and Related Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Business Acquisitions and Related Transactions - Purchase Price Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessAcquisitionsAndRelatedTransactionsPurchasePriceAllocationDetails</Role>
      <ShortName>Business Acquisitions and Related Transactions - Purchase Price Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Goodwill and Intangible Assets - Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsGoodwillDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Goodwill and Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Goodwill and Intangible Assets - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Goodwill and Intangible Assets - Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsAmortizationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Goodwill and Intangible Assets - Future Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GoodwillAndIntangibleAssetsFutureAmortizationDetails</Role>
      <ShortName>Goodwill and Intangible Assets - Future Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/PropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Energy Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/EnergyAssetsAdditionalInformationDetails</Role>
      <ShortName>Energy Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebtScheduleOfLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Long-Term Debt - Schedule of Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebtScheduleOfMaturitiesDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Long-Term Debt - Senior Secured Credit Facility - Revolver and Term Loan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebtSeniorSecuredCreditFacilityRevolverAndTermLoanDetails</Role>
      <ShortName>Long-Term Debt - Senior Secured Credit Facility - Revolver and Term Loan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Long-Term Debt - Construction and Term Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/LongTermDebtConstructionAndTermLoansDetails</Role>
      <ShortName>Long-Term Debt - Construction and Term Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Income Taxes - Domestic and foreign income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesDomesticAndForeignIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Domestic and foreign income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Income Taxes - Income tax provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesIncomeTaxProvisionDetails</Role>
      <ShortName>Income Taxes - Income tax provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Income Taxes - Deferred income tax assets and liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesDeferredIncomeTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred income tax assets and liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Income Taxes - Reconciliation of Effective Tax Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesReconciliationOfEffectiveTaxRatesDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Effective Tax Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2410407 - Disclosure - Income Taxes - Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Investment Funds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/InvestmentFundsDetails</Role>
      <ShortName>Investment Funds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/InvestmentFundsTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2412401 - Disclosure - Non-Controlling Interests and Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/NonControllingInterestsAndEquityDetails</Role>
      <ShortName>Non-Controlling Interests and Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/NonControllingInterestsAndEquity</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Stock Incentive Plan - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/StockIncentivePlanAdditionalInformationDetails</Role>
      <ShortName>Stock Incentive Plan - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Stock Incentive Plan - Stock Options Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/StockIncentivePlanStockOptionsActivityDetails</Role>
      <ShortName>Stock Incentive Plan - Stock Options Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Stock Incentive Plan - Fair Value Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/StockIncentivePlanFairValueAssumptionsDetails</Role>
      <ShortName>Stock Incentive Plan - Fair Value Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2414401 - Disclosure - Employee Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/EmployeeBenefitsDetails</Role>
      <ShortName>Employee Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/EmployeeBenefits</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/CommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Commitments and Contingencies - Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/CommitmentsAndContingenciesOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Geographic Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/GeographicInformationDetails</Role>
      <ShortName>Geographic Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/GeographicInformationTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Other Expenses, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/OtherExpensesNetDetails</Role>
      <ShortName>Other Expenses, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/OtherExpensesNetTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Other Expenses, Net - Deferred Financing Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/OtherExpensesNetDeferredFinancingCostsDetails</Role>
      <ShortName>Other Expenses, Net - Deferred Financing Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Fair Value Measurement - Fair Value of Assets and Liabilities Measured on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurementFairValueOfAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurement - Fair Value of Assets and Liabilities Measured on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Fair Value Measurement - Fair Value of Contingent Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurementFairValueOfContingentLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurement - Fair Value of Contingent Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Fair Value Measurement - Fair Value and Carrying Value of Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurementFairValueAndCarryingValueOfLongTermDebtDetails</Role>
      <ShortName>Fair Value Measurement - Fair Value and Carrying Value of Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>2419405 - Disclosure - Fair Value Measurement - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/FairValueMeasurementAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurement - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>2420402 - Disclosure - Derivative Instruments and Hedging Activities - Fair Value of Derivative Instruments on the Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesFairValueOfDerivativeInstrumentsOnBalanceSheetDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Fair Value of Derivative Instruments on the Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Derivative Instruments and Hedging Activities - Effects on statements of income and consolidated statements of comprehensive income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesEffectsOnStatementsOfIncomeAndConsolidatedStatementsOfComprehensiveIncomeDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Effects on statements of income and consolidated statements of comprehensive income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Derivative Instruments and Hedging Activities - Effects of Derivative Instruments in Accumulated Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesEffectsOfDerivativeInstrumentsInAccumulatedOtherComprehensiveIncomeDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Effects of Derivative Instruments in Accumulated Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>2420405 - Disclosure - Derivative Instruments and Hedging Activities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesAdditionalInformationDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>2420406 - Disclosure - Derivative Instruments and Hedging Activities - Summary of Active Derivative Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/DerivativeInstrumentsAndHedgingActivitiesSummaryOfActiveDerivativeInstrumentsDetails</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Summary of Active Derivative Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Business Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Business Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Business Segment Information - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessSegmentInformationSegmentInformationDetails</Role>
      <ShortName>Business Segment Information - Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>2422404 - Disclosure - Business Segment Information - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/BusinessSegmentInformationRevenueDetails</Role>
      <ShortName>Business Segment Information - Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>2423402 - Disclosure - Quarterly Information (Unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ameresco.com/role/QuarterlyInformationUnauditedDetails</Role>
      <ShortName>Quarterly Information (Unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ameresco.com/role/QuarterlyInformationUnauditedTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="amrc-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - amrc-20181231.xml</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - amrc-20181231.xml</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>amrc-20181231.xml</File>
    <File>amrc-20181231.xsd</File>
    <File>amrc-20181231_cal.xml</File>
    <File>amrc-20181231_def.xml</File>
    <File>amrc-20181231_lab.xml</File>
    <File>amrc-20181231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
