<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>183</ContextCount>
  <ElementCount>242</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>48</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYDEFICIT</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/Business</Role>
      <ShortName>Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Revenue, Receivables, and Concentration of Credit Risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/RevenueReceivablesandConcentrationofCreditRisk</Role>
      <ShortName>Revenue, Receivables, and Concentration of Credit Risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Marketable Securities and Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurements</Role>
      <ShortName>Marketable Securities and Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Other Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherAssetsnet</Role>
      <ShortName>Other Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Medical Claims and Related Payables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MedicalClaimsandRelatedPayables</Role>
      <ShortName>Medical Claims and Related Payables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherLiabilities</Role>
      <ShortName>Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CommonStock</Role>
      <ShortName>Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Net Income (Loss) Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/NetIncomeLossPerCommonShare</Role>
      <ShortName>Net Income (Loss) Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Goodwill and Amortizable Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/GoodwillandAmortizableIntangibleAssets</Role>
      <ShortName>Goodwill and Amortizable Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntities</Role>
      <ShortName>Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - Revenue, Receivables, and Concentration of Credit Risk (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/RevenueReceivablesandConcentrationofCreditRiskTables</Role>
      <ShortName>Revenue, Receivables, and Concentration of Credit Risk (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/RevenueReceivablesandConcentrationofCreditRisk</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - Marketable Securities and Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurementsTables</Role>
      <ShortName>Marketable Securities and Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurements</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - Other Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherAssetsnetTables</Role>
      <ShortName>Other Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/OtherAssetsnet</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - Medical Claims and Related Payables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MedicalClaimsandRelatedPayablesTables</Role>
      <ShortName>Medical Claims and Related Payables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/MedicalClaimsandRelatedPayables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - Other Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherLiabilitiesTables</Role>
      <ShortName>Other Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/OtherLiabilities</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - Net Income (Loss) Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/NetIncomeLossPerCommonShareTables</Role>
      <ShortName>Net Income (Loss) Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/NetIncomeLossPerCommonShare</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesTables</Role>
      <ShortName>Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/VariableInterestEntities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/BusinessDetails</Role>
      <ShortName>Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/Business</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/SummaryofSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - Revenue, Receivables, and Concentration of Credit Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/RevenueReceivablesandConcentrationofCreditRiskDetails</Role>
      <ShortName>Revenue, Receivables, and Concentration of Credit Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/RevenueReceivablesandConcentrationofCreditRiskTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - Marketable Securities and Fair Value Measurements - Summary of Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurementsSummaryofMarketableSecuritiesDetails</Role>
      <ShortName>Marketable Securities and Fair Value Measurements - Summary of Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - Marketable Securities and Fair Value Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Marketable Securities and Fair Value Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - Marketable Securities and Fair Value Measurements - Summarizes Marketable Securities Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurementsSummarizesMarketableSecuritiesMaturityDetails</Role>
      <ShortName>Marketable Securities and Fair Value Measurements - Summarizes Marketable Securities Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - Marketable Securities and Fair Value Measurements - Summary of Fair Value Assets Measured on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MarketableSecuritiesandFairValueMeasurementsSummaryofFairValueAssetsMeasuredonRecurringBasisDetails</Role>
      <ShortName>Marketable Securities and Fair Value Measurements - Summary of Fair Value Assets Measured on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - Other Assets, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherAssetsnetDetails</Role>
      <ShortName>Other Assets, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/OtherAssetsnetTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - Medical Claims and Related Payables - Summary Changes in Medical Claims and Related Payables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MedicalClaimsandRelatedPayablesSummaryChangesinMedicalClaimsandRelatedPayablesDetails</Role>
      <ShortName>Medical Claims and Related Payables - Summary Changes in Medical Claims and Related Payables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - Medical Claims and Related Payables - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/MedicalClaimsandRelatedPayablesAdditionalInformationDetails</Role>
      <ShortName>Medical Claims and Related Payables - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - Other Liabilities - Summary of Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherLiabilitiesSummaryofOtherLiabilitiesDetails</Role>
      <ShortName>Other Liabilities - Summary of Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - Other Liabilities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/OtherLiabilitiesAdditionalInformationDetails</Role>
      <ShortName>Other Liabilities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/DebtDetails</Role>
      <ShortName>Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/Debt</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/CommonStockDetails</Role>
      <ShortName>Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/CommonStock</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - Net Income (Loss) Per Common Share - Computation of Basic and Diluted EPS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/NetIncomeLossPerCommonShareComputationofBasicandDilutedEPSDetails</Role>
      <ShortName>Net Income (Loss) Per Common Share - Computation of Basic and Diluted EPS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/NetIncomeLossPerCommonShareTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - Net Income (Loss) Per Common Share - Schedule of Antidilutive Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/NetIncomeLossPerCommonShareScheduleofAntidilutiveSecuritiesDetails</Role>
      <ShortName>Net Income (Loss) Per Common Share - Schedule of Antidilutive Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/NetIncomeLossPerCommonShareTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - Goodwill and Amortizable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/GoodwillandAmortizableIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Amortizable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://agilonhealth.com/role/GoodwillandAmortizableIntangibleAssets</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SupplementalCashFlowInformationSummaryofSupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - Supplemental Cash Flow Information - Summary of Cash, Cash Equivalents and Restricted Cash Equivalents from Continuing Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/SupplementalCashFlowInformationSummaryofCashCashEquivalentsandRestrictedCashEquivalentsfromContinuingOperationsDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Summary of Cash, Cash Equivalents and Restricted Cash Equivalents from Continuing Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - Variable Interest Entities - Summary of Consolidated Asset and Liabilities Include VIE Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesSummaryofConsolidatedAssetandLiabilitiesIncludeVIEAssetsandLiabilitiesDetails</Role>
      <ShortName>Variable Interest Entities - Summary of Consolidated Asset and Liabilities Include VIE Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - Variable Interest Entities - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesAdditionalInformationDetails</Role>
      <ShortName>Variable Interest Entities - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - Variable Interest Entities - Schedule of Equity Method Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesScheduleofEquityMethodInvestmentsDetails</Role>
      <ShortName>Variable Interest Entities - Schedule of Equity Method Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - Variable Interest Entities - Summary of Operating Results (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesSummaryofOperatingResultsDetails</Role>
      <ShortName>Variable Interest Entities - Summary of Operating Results (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="agl-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - Variable Interest Entities - Summarized balance sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agilonhealth.com/role/VariableInterestEntitiesSummarizedbalancesheetDetails</Role>
      <ShortName>Variable Interest Entities - Summarized balance sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="agl-20230930.htm">agl-20230930.htm</File>
    <File>agl-20230930.xsd</File>
    <File>agl-20230930_cal.xml</File>
    <File>agl-20230930_def.xml</File>
    <File>agl-20230930_lab.xml</File>
    <File>agl-20230930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2023</BaseTaxonomy>
    <BaseTaxonomy items="699">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
