<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>112</ContextCount>
  <ElementCount>90</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>27</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - Statements of Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/StatementsofNetAssetsAvailableforBenefits</Role>
      <ShortName>Statements of Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Statements of Changes in Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/StatementsofChangesinNetAssetsAvailableforBenefits</Role>
      <ShortName>Statements of Changes in Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Disclosure - Description of the Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/DescriptionofthePlans</Role>
      <ShortName>Description of the Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Disclosure - Summary of Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/SummaryofAccountingPolicies</Role>
      <ShortName>Summary of Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Disclosure - Acuity DC Trust</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/AcuityDCTrust</Role>
      <ShortName>Acuity DC Trust</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Disclosure - Stable Value Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/StableValueInvestments</Role>
      <ShortName>Stable Value Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Income Tax Status</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/IncomeTaxStatus</Role>
      <ShortName>Income Tax Status</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Benefits Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/BenefitsPayable</Role>
      <ShortName>Benefits Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Risks and Uncertainties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/RisksandUncertainties</Role>
      <ShortName>Risks and Uncertainties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Schedule H, Line 4a - Schedule of Delinquent Participant Contributions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/ScheduleHLine4aScheduleofDelinquentParticipantContributions</Role>
      <ShortName>Schedule H, Line 4a - Schedule of Delinquent Participant Contributions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Schedule H, Line 4i – Schedule of Assets (Held at End of Year)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/ScheduleHLine4iScheduleofAssetsHeldatEndofYear</Role>
      <ShortName>Schedule H, Line 4i – Schedule of Assets (Held at End of Year)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Summary of Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/SummaryofAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/SummaryofAccountingPolicies</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Description of the Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/DescriptionofthePlansTables</Role>
      <ShortName>Description of the Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/DescriptionofthePlans</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Acuity DC Trust (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/AcuityDCTrustTables</Role>
      <ShortName>Acuity DC Trust (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/AcuityDCTrust</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Stable Value Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/StableValueInvestmentsTables</Role>
      <ShortName>Stable Value Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/StableValueInvestments</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/FairValueMeasurements</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Benefits Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/BenefitsPayableTables</Role>
      <ShortName>Benefits Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/BenefitsPayable</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Description of the Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/DescriptionofthePlansDetails</Role>
      <ShortName>Description of the Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/DescriptionofthePlansTables</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Acuity DC Trust - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/AcuityDCTrustNarrativeDetails</Role>
      <ShortName>Acuity DC Trust - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Acuity DC Trust - Schedule of Master Trust Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/AcuityDCTrustScheduleofMasterTrustNetAssetsDetails</Role>
      <ShortName>Acuity DC Trust - Schedule of Master Trust Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Stable Value Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/StableValueInvestmentsDetails</Role>
      <ShortName>Stable Value Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/StableValueInvestmentsTables</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Fair Value Measurements - Investments at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/FairValueMeasurementsInvestmentsatFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Investments at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Benefits Payable - Reconciliation of Net Assets Available for Benefit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/BenefitsPayableReconciliationofNetAssetsAvailableforBenefitDetails</Role>
      <ShortName>Benefits Payable - Reconciliation of Net Assets Available for Benefit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/AcquisitionsDetails</Role>
      <ShortName>Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/Acquisitions</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Schedule H, Line 4a - Schedule of Delinquent Participant Contributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/ScheduleHLine4aScheduleofDelinquentParticipantContributionsDetails</Role>
      <ShortName>Schedule H, Line 4a - Schedule of Delinquent Participant Contributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/ScheduleHLine4aScheduleofDelinquentParticipantContributions</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ayi-20260626.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Schedule H, Line 4i – Schedule of Assets (Held At End of Year) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.acuitybrands.com/role/ScheduleHLine4iScheduleofAssetsHeldAtEndofYearDetails</Role>
      <ShortName>Schedule H, Line 4i – Schedule of Assets (Held At End of Year) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.acuitybrands.com/role/ScheduleHLine4iScheduleofAssetsHeldatEndofYear</ParentRole>
      <Position>30</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="11-K" isDefinitelyFs="true" isUsgaap="true" original="ayi-20260626.htm">ayi-20260626.htm</File>
    <File>ayi-20260626.xsd</File>
    <File>ayi-20260626_cal.xml</File>
    <File>ayi-20260626_def.xml</File>
    <File>ayi-20260626_lab.xml</File>
    <File>ayi-20260626_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="275">http://fasb.org/us-gaap-ebp/2026</BaseTaxonomy>
    <BaseTaxonomy items="19">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
