<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:afiii="http://www.amgfunds.com/20260903"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0000720309-20260903.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000009868Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000720309</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">afiii:S000009868Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_5644d9a3_a1d3_4df6_9675_49e6deeaab2f">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_fa8705b4_586a_4e0c_84d4_8c3dcd1a371a">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_33400a33_9ef3_4113_94e0_820d7af7c38d">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_f917579d_f18c_4cad_8b99_fce0c5e85b97">0000720309</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_c6935d23-cce0-44c8-0a31-de6b38c9bf72">N-1A</dei:EntityInvCompanyType>
    <oef:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_3_32539734_f4d8_9529_20af_8ff50da86d35">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;AMG FUNDS III &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;AMG GW&amp;amp;K ESG Bond Fund &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:center;"&gt;Supplement dated September&#160;11, 2026 to the Prospectus and Statement of Additional Information, each dated May&#160;1, 2026 &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;The following information supplements and supersedes any information to the contrary relating to AMG GW&amp;amp;K ESG Bond Fund (the &#x201c;Fund&#x201d;), a series of AMG Funds III, contained in the Fund&#x2019;s Prospectus (the &#x201c;Prospectus&#x201d;) and Statement of Additional Information (the &#x201c;SAI&#x201d;), dated as noted above. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;Effective immediately, the Fund&#x2019;s name is changed from AMG GW&amp;amp;K ESG Bond Fund to AMG GW&amp;amp;K Enhanced Core Bond Fund. All references to AMG GW&amp;amp;K ESG Bond Fund in the Prospectus and SAI are deleted and replaced with &#x201c;AMG GW&amp;amp;K Enhanced Core Bond Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:18pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-style:italic"&gt;In addition, effective immediately, the Prospectus is revised as follows: &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The following paragraph is added as the last paragraph of the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Investment Strategies&#x201d; beginning on page 3 and as the penultimate paragraph of the section titled &#x201c;Additional Information About the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Additional Information About the Fund&#x2019;s Principal Investment Strategies&#x201d; on page 12: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;The Fund may use derivatives and similar instruments for a variety of purposes, including hedging, risk management, portfolio management or to earn income. The Fund&#x2019;s use of derivatives may involve the purchase and sale of derivative instruments such as futures, options, to&#x2011;be&#x2011;announced (TBA) commitments, swaps and other similar instruments and techniques. The Fund&#x2019;s investments in derivative instruments and other investments that provide investment exposure to the investments suggested by the Fund&#x2019;s name, or that provide investment exposure to one or more market risk factors associated with the investment focus that the Fund&#x2019;s name suggests, may be counted toward the Fund&#x2019;s 80% investment policy. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Risks&#x201d; beginning on page 4 is revised to add the following as principal risks of the Fund: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Derivatives Risk&lt;/span&gt;&#x2014;the use of derivatives involves costs, the risk that the value of derivatives may not correlate perfectly with their underlying assets, rates or indices, liquidity risk, and the risk of mispricing or improper valuation. The use of derivatives may not succeed for various reasons, and the complexity and rapidly changing structure of derivatives markets may increase the possibility of market losses. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Leverage Risk&#x2014;&lt;/span&gt;borrowing and some derivative investments such as futures, forward commitment transactions and swaps may increase volatility and magnify smaller adverse market movements into relatively larger losses. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;Also with respect to the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Risks&#x201d; beginning on page 4, &#x201c;Credit Risk&#x201d; is deleted and replaced with the following: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Credit and Counterparty Risk&lt;/span&gt;&#x2014;the issuer of bonds or other debt securities or a counterparty to a derivatives contract (including over&#x2011;the&#x2011;counter counterparties as well as brokers and clearinghouses in respect of exchange-traded and/or cleared products) may be unable or unwilling, or may be perceived as unable or unwilling, to make timely interest, principal or settlement payments or otherwise honor its obligations. Changes in an issuer&#x2019;s financial strength, credit rating or the market&#x2019;s perception of an issuer&#x2019;s creditworthiness may also affect the value of the Fund&#x2019;s investment in that issuer. &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The third paragraph of the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Performance&#x201d; on page 6 is deleted and replaced with the following: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;As of March&#160;19, 2021, GW&amp;amp;K was appointed as subadviser to the Fund and the Fund changed its name to &#x201c;AMG GW&amp;amp;K ESG Bond Fund,&#x201d; made changes to its principal investment strategies, and began comparing its performance to the Bloomberg U.S. Aggregate Bond Index. As of September&#160;11, 2026, the Fund changed its name from &#x201c;AMG GW&amp;amp;K ESG Bond Fund&#x201d; to &#x201c;AMG GW&amp;amp;K Enhanced Core Bond Fund&#x201d; and adopted the Fund&#x2019;s current investment strategies. The Fund&#x2019;s past performance would have been different if the Fund were managed using the current investment strategies. &lt;/div&gt;</oef:SupplementToProspectusTextBlock>
    <oef:SupplementToProspectusTextBlock
      contextRef="S000009868Member"
      id="t_4_f4bb27b4_3653_a546_b214_6f98b41678d9">&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;AMG FUNDS III &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;AMG GW&amp;amp;K ESG Bond Fund &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:center;"&gt;Supplement dated September&#160;11, 2026 to the Prospectus and Statement of Additional Information, each dated May&#160;1, 2026 &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;The following information supplements and supersedes any information to the contrary relating to AMG GW&amp;amp;K ESG Bond Fund (the &#x201c;Fund&#x201d;), a series of AMG Funds III, contained in the Fund&#x2019;s Prospectus (the &#x201c;Prospectus&#x201d;) and Statement of Additional Information (the &#x201c;SAI&#x201d;), dated as noted above. &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;Effective immediately, the Fund&#x2019;s name is changed from AMG GW&amp;amp;K ESG Bond Fund to AMG GW&amp;amp;K Enhanced Core Bond Fund. All references to AMG GW&amp;amp;K ESG Bond Fund in the Prospectus and SAI are deleted and replaced with &#x201c;AMG GW&amp;amp;K Enhanced Core Bond Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:18pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-style:italic"&gt;In addition, effective immediately, the Prospectus is revised as follows: &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The following paragraph is added as the last paragraph of the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Investment Strategies&#x201d; beginning on page 3 and as the penultimate paragraph of the section titled &#x201c;Additional Information About the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Additional Information About the Fund&#x2019;s Principal Investment Strategies&#x201d; on page 12: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;The Fund may use derivatives and similar instruments for a variety of purposes, including hedging, risk management, portfolio management or to earn income. The Fund&#x2019;s use of derivatives may involve the purchase and sale of derivative instruments such as futures, options, to&#x2011;be&#x2011;announced (TBA) commitments, swaps and other similar instruments and techniques. The Fund&#x2019;s investments in derivative instruments and other investments that provide investment exposure to the investments suggested by the Fund&#x2019;s name, or that provide investment exposure to one or more market risk factors associated with the investment focus that the Fund&#x2019;s name suggests, may be counted toward the Fund&#x2019;s 80% investment policy. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Risks&#x201d; beginning on page 4 is revised to add the following as principal risks of the Fund: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Derivatives Risk&lt;/span&gt;&#x2014;the use of derivatives involves costs, the risk that the value of derivatives may not correlate perfectly with their underlying assets, rates or indices, liquidity risk, and the risk of mispricing or improper valuation. The use of derivatives may not succeed for various reasons, and the complexity and rapidly changing structure of derivatives markets may increase the possibility of market losses. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Leverage Risk&#x2014;&lt;/span&gt;borrowing and some derivative investments such as futures, forward commitment transactions and swaps may increase volatility and magnify smaller adverse market movements into relatively larger losses. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;Also with respect to the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Principal Risks&#x201d; beginning on page 4, &#x201c;Credit Risk&#x201d; is deleted and replaced with the following: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;Credit and Counterparty Risk&lt;/span&gt;&#x2014;the issuer of bonds or other debt securities or a counterparty to a derivatives contract (including over&#x2011;the&#x2011;counter counterparties as well as brokers and clearinghouses in respect of exchange-traded and/or cleared products) may be unable or unwilling, or may be perceived as unable or unwilling, to make timely interest, principal or settlement payments or otherwise honor its obligations. Changes in an issuer&#x2019;s financial strength, credit rating or the market&#x2019;s perception of an issuer&#x2019;s creditworthiness may also affect the value of the Fund&#x2019;s investment in that issuer. &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;margin-left:4%;font-size:10pt;font-family:times new roman;"&gt;The third paragraph of the section titled &#x201c;Summary of the Funds &#x2013; AMG GW&amp;amp;K ESG Bond Fund &#x2013; Performance&#x201d; on page 6 is deleted and replaced with the following: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;margin-left:9%;font-size:10pt;font-family:times new roman;"&gt;As of March&#160;19, 2021, GW&amp;amp;K was appointed as subadviser to the Fund and the Fund changed its name to &#x201c;AMG GW&amp;amp;K ESG Bond Fund,&#x201d; made changes to its principal investment strategies, and began comparing its performance to the Bloomberg U.S. Aggregate Bond Index. As of September&#160;11, 2026, the Fund changed its name from &#x201c;AMG GW&amp;amp;K ESG Bond Fund&#x201d; to &#x201c;AMG GW&amp;amp;K Enhanced Core Bond Fund&#x201d; and adopted the Fund&#x2019;s current investment strategies. The Fund&#x2019;s past performance would have been different if the Fund were managed using the current investment strategies. &lt;/div&gt;</oef:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_1_7ed98262_8351_92cb_78a3_1493ff9088fc">AMG FUNDS III </dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="DefaultContext"
      id="t_2_e15c6f3e_bfa8_4fa0_c110_100d0e991a8a">2026-05-01</oef:ProspectusDate>
</xbrl>
