{"cik":923120,"taxonomy":"us-gaap","tag":"LongTermDebt","label":"Long-term Debt","description":"Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.","entityName":"THE GREENBRIER COMPANIES, INC.","units":{"USD":[{"end":"2024-08-31","val":1755800000,"accn":"0001193125-25-253612","fy":2025,"fp":"FY","form":"10-K","filed":"2025-10-28","frame":"CY2024Q3I"},{"end":"2025-08-31","val":1750900000,"accn":"0001193125-25-253612","fy":2025,"fp":"FY","form":"10-K","filed":"2025-10-28"},{"end":"2025-08-31","val":1750900000,"accn":"0001193125-26-007768","fy":2025,"fp":"Q1","form":"10-Q","filed":"2026-01-08"},{"end":"2025-08-31","val":1750900000,"accn":"0001193125-26-145619","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-04-07"},{"end":"2025-08-31","val":1750900000,"accn":"0001193125-26-292719","fy":2026,"fp":"Q3","form":"10-Q","filed":"2026-07-01","frame":"CY2025Q3I"},{"end":"2025-11-30","val":1766200000,"accn":"0001193125-26-007768","fy":2025,"fp":"Q1","form":"10-Q","filed":"2026-01-08","frame":"CY2025Q4I"},{"end":"2026-02-28","val":1762700000,"accn":"0001193125-26-145619","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-04-07","frame":"CY2026Q1I"},{"end":"2026-05-31","val":1805600000,"accn":"0001193125-26-292719","fy":2026,"fp":"Q3","form":"10-Q","filed":"2026-07-01","frame":"CY2026Q2I"}]}}