<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>668</ContextCount>
  <ElementCount>401</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>172</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DocumentCoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Statement of Earnings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedStatementOfEarnings</Role>
      <ShortName>Consolidated Statement of Earnings</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Statement of Comprehensive Earnings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedStatementOfComprehensiveEarnings</Role>
      <ShortName>Consolidated Statement of Comprehensive Earnings</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheet</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Balance Sheet (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedBalanceSheetParenthetical</Role>
      <ShortName>Consolidated Balance Sheet (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statement of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedStatementOfCashFlows</Role>
      <ShortName>Consolidated Statement of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statement of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedStatementOfStockholdersEquity</Role>
      <ShortName>Consolidated Statement of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statement of Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_StatementConsolidatedStatementOfStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statement of Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Effect of New Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEffectOfNewAccountingPronouncements</Role>
      <ShortName>Effect of New Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomers</Role>
      <ShortName>Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Credit and Other Debt Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCreditAndOtherDebtAgreements</Role>
      <ShortName>Credit and Other Debt Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Stock Option Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlans</Role>
      <ShortName>Stock Option Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Deferred Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDeferredCompensation</Role>
      <ShortName>Deferred Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Restricted Stock, Performance Share and Cash Awards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureRestrictedStockPerformanceShareAndCashAwards</Role>
      <ShortName>Restricted Stock, Performance Share and Cash Awards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Derivatives and Hedging Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivity</Role>
      <ShortName>Derivatives and Hedging Activity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangements</Role>
      <ShortName>Commitments, Contingencies and Off-Balance Sheet Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Supplemental Disclosures of Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformation</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinations</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersTables</Role>
      <ShortName>Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomers</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Credit and Other Debt Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCreditAndOtherDebtAgreementsTables</Role>
      <ShortName>Credit and Other Debt Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCreditAndOtherDebtAgreements</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Stock Option Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlansTables</Role>
      <ShortName>Stock Option Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlans</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Derivatives and Hedging Activity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivityTables</Role>
      <ShortName>Derivatives and Hedging Activity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivity</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangementsTables</Role>
      <ShortName>Commitments, Contingencies and Off-Balance Sheet Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangements</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Supplemental Disclosures of Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformationTables</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Summary of Significant Accounting Policies - Summary of Changes to Presentation of Consolidated Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesToPresentationOfConsolidatedBalanceSheetDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Changes to Presentation of Consolidated Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Summary of Significant Accounting Policies - Summary of Changes to Presentation of Statement of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfChangesToPresentationOfStatementOfCashFlowsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Summary of Changes to Presentation of Statement of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Business Combinations - Acquisition Method for Recording Business Combinations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinationsAcquisitionMethodForRecordingBusinessCombinationsDetail</Role>
      <ShortName>Business Combinations - Acquisition Method for Recording Business Combinations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Business Combinations - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinationsAdditionalInformationDetail</Role>
      <ShortName>Business Combinations - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Business Combinations - Summary of Estimated Fair Values of Net Assets Acquired (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinationsSummaryOfEstimatedFairValuesOfNetAssetsAcquiredDetail</Role>
      <ShortName>Business Combinations - Summary of Estimated Fair Values of Net Assets Acquired (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Business Combinations - Summary of Unaudited Pro Forma Historical Results (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureBusinessCombinationsSummaryOfUnauditedProFormaHistoricalResultsDetail</Role>
      <ShortName>Business Combinations - Summary of Unaudited Pro Forma Historical Results (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Contracts with Customers - Summary of Unbilled Receivables, Contract Assets and Contract Liabilities from Contracts with Customers (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersSummaryOfUnbilledReceivablesContractAssetsAndContractLiabilitiesFromContractsWithCustomersDetail</Role>
      <ShortName>Contracts with Customers - Summary of Unbilled Receivables, Contract Assets and Contract Liabilities from Contracts with Customers (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Contracts with Customers - Summary of Changes in Deferred Revenue Balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersSummaryOfChangesInDeferredRevenueBalancesDetail</Role>
      <ShortName>Contracts with Customers - Summary of Changes in Deferred Revenue Balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Contracts with Customers - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersAdditionalInformationDetail</Role>
      <ShortName>Contracts with Customers - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Contracts with Customers - Summary of Expected Revenue Related to Performance Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersSummaryOfExpectedRevenueRelatedToPerformanceObligationsDetail</Role>
      <ShortName>Contracts with Customers - Summary of Expected Revenue Related to Performance Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Contracts with Customers - Summary of Expected Revenue Related to Performance Obligations 1 (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureContractsWithCustomersSummaryOfExpectedRevenueRelatedToPerformanceObligations1Detail</Role>
      <ShortName>Contracts with Customers - Summary of Expected Revenue Related to Performance Obligations 1 (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Intangible Assets - Carrying Amount of Goodwill Allocated by Domestic and Foreign Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssetsCarryingAmountOfGoodwillAllocatedByDomesticAndForeignOperationsDetail</Role>
      <ShortName>Intangible Assets - Carrying Amount of Goodwill Allocated by Domestic and Foreign Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Intangible Assets - Changes in Carrying Amount of Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssetsChangesInCarryingAmountOfGoodwillDetail</Role>
      <ShortName>Intangible Assets - Changes in Carrying Amount of Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Intangible Assets - Major Classes of Amortizable Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssetsMajorClassesOfAmortizableIntangibleAssetsDetail</Role>
      <ShortName>Intangible Assets - Major Classes of Amortizable Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Intangible Assets - Estimated Aggregate Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureIntangibleAssetsEstimatedAggregateAmortizationExpenseDetail</Role>
      <ShortName>Intangible Assets - Estimated Aggregate Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Credit and Other Debt Agreements - Summary of Corporate and Other Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCreditAndOtherDebtAgreementsSummaryOfCorporateAndOtherDebtDetail</Role>
      <ShortName>Credit and Other Debt Agreements - Summary of Corporate and Other Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Credit and Other Debt Agreements - Summary of Corporate and Other Debt (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCreditAndOtherDebtAgreementsSummaryOfCorporateAndOtherDebtParentheticalDetail</Role>
      <ShortName>Credit and Other Debt Agreements - Summary of Corporate and Other Debt (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Credit and Other Debt Agreements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/DisclosureCreditAndOtherDebtAgreementsAdditionalInformationDetail</Role>
      <ShortName>Credit and Other Debt Agreements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Earnings Per Share - Computation of Basic and Diluted Net EPS (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEarningsPerShareComputationOfBasicAndDilutedNetEPSDetail</Role>
      <ShortName>Earnings Per Share - Computation of Basic and Diluted Net EPS (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Earnings Per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetail</Role>
      <ShortName>Earnings Per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Stock Option Plans - Additional information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlansAdditionalInformationDetail</Role>
      <ShortName>Stock Option Plans - Additional information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Stock Option Plans - Black-Scholes Option Pricing Model with Weighted Average (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlansBlackScholesOptionPricingModelWithWeightedAverageDetail</Role>
      <ShortName>Stock Option Plans - Black-Scholes Option Pricing Model with Weighted Average (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Stock Option Plans - Stock Option Activity and Related Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlansStockOptionActivityAndRelatedInformationDetail</Role>
      <ShortName>Stock Option Plans - Stock Option Activity and Related Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Stock Option Plans - Stock Options Outstanding and Exercisable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureStockOptionPlansStockOptionsOutstandingAndExercisableDetail</Role>
      <ShortName>Stock Option Plans - Stock Options Outstanding and Exercisable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Deferred Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDeferredCompensationAdditionalInformationDetail</Role>
      <ShortName>Deferred Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Restricted Stock, Performance Share and Cash Awards - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureRestrictedStockPerformanceShareAndCashAwardsAdditionalInformationDetail</Role>
      <ShortName>Restricted Stock, Performance Share and Cash Awards - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Derivatives and Hedging Activity - Summary of Notional and Fair Values of Derivative Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivitySummaryOfNotionalAndFairValuesOfDerivativeInstrumentsDetail</Role>
      <ShortName>Derivatives and Hedging Activity - Summary of Notional and Fair Values of Derivative Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Derivatives and Hedging Activity - Summary of Notional and Fair Values of Derivative Instruments (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivitySummaryOfNotionalAndFairValuesOfDerivativeInstrumentsParentheticalDetail</Role>
      <ShortName>Derivatives and Hedging Activity - Summary of Notional and Fair Values of Derivative Instruments (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Derivatives and Hedging Activity - Summary of Amounts of Derivative Gains (Losses) Recognized In Accumulated Other Comprehensive Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivitySummaryOfAmountsOfDerivativeGainsLossesRecognizedInAccumulatedOtherComprehensiveLossDetail</Role>
      <ShortName>Derivatives and Hedging Activity - Summary of Amounts of Derivative Gains (Losses) Recognized In Accumulated Other Comprehensive Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Derivatives and Hedging Activity - Summary of Amounts of Derivative Gains (Losses) Recognized In Accumulated Other Comprehensive Loss (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivitySummaryOfAmountsOfDerivativeGainsLossesRecognizedInAccumulatedOtherComprehensiveLossParentheticalDetail</Role>
      <ShortName>Derivatives and Hedging Activity - Summary of Amounts of Derivative Gains (Losses) Recognized In Accumulated Other Comprehensive Loss (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Derivatives and Hedging Activity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureDerivativesAndHedgingActivityAdditionalInformationDetail</Role>
      <ShortName>Derivatives and Hedging Activity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements - Contractual Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangementsContractualObligationsDetail</Role>
      <ShortName>Commitments, Contingencies and Off-Balance Sheet Arrangements - Contractual Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangementsAdditionalInformationDetail</Role>
      <ShortName>Commitments, Contingencies and Off-Balance Sheet Arrangements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements - Off-Balance Sheet Commitments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureCommitmentsContingenciesAndOffBalanceSheetArrangementsOffBalanceSheetCommitmentsDetail</Role>
      <ShortName>Commitments, Contingencies and Off-Balance Sheet Arrangements - Off-Balance Sheet Commitments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Supplemental Disclosures of Cash Flow Information - Cash Flow (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformationCashFlowDetail</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Cash Flow (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformationTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Supplemental Disclosures of Cash Flow Information - Cash Equivalents, Restricted Cash and Fiduciary Cash (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/DisclosureSupplementalDisclosuresOfCashFlowInformationCashEquivalentsRestrictedCashAndFiduciaryCashDetail</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Cash Equivalents, Restricted Cash and Fiduciary Cash (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Supplemental Disclosures of Cash Flow Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSupplementalDisclosuresOfCashFlowInformationAdditionalInformationDetail</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of Accumulated Other Comprehensive Loss Attributable to Controlling Interests (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLossScheduleOfAccumulatedOtherComprehensiveLossAttributableToControllingInterestsDetail</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Schedule of Accumulated Other Comprehensive Loss Attributable to Controlling Interests (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Accumulated Other Comprehensive Loss - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLossAdditionalInformationDetail</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Segment Information - Schedule of Segment Reporting Information by Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformationScheduleOfSegmentReportingInformationBySegmentDetail</Role>
      <ShortName>Segment Information - Schedule of Segment Reporting Information by Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Segment Information - Summary of Revenues by Type and Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformationSummaryOfRevenuesByTypeAndSegmentDetail</Role>
      <ShortName>Segment Information - Summary of Revenues by Type and Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="ajg-20230331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Segment Information - Summary of Geographical Location and Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ajg.com/20230331/taxonomy/role/Role_DisclosureSegmentInformationSummaryOfGeographicalLocationAndSegmentDetail</Role>
      <ShortName>Segment Information - Summary of Geographical Location and Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 18 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:FiniteLivedIntangibleAssetUsefulLife, us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1 -  ajg-20230331.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="ajg-20230331.htm">ajg-20230331.htm</File>
    <File>ajg-20230331.xsd</File>
    <File>ajg-20230331_cal.xml</File>
    <File>ajg-20230331_def.xml</File>
    <File>ajg-20230331_lab.xml</File>
    <File>ajg-20230331_pre.xml</File>
    <File>ajg-ex31_1.htm</File>
    <File>ajg-ex31_2.htm</File>
    <File>ajg-ex32_1.htm</File>
    <File>ajg-ex32_2.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1093">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
