v3.26.1
Segment Information (Segment Profit by Reportable Segment) (Details)
$ in Millions
12 Months Ended
Jun. 30, 2026
USD ($)
segment
Jun. 30, 2025
USD ($)
Jun. 30, 2024
USD ($)
Segment Reporting [Line Items]      
Number of Reportable Segments | segment 2    
Cost of products sold $ 244,474 $ 214,410 $ 219,413
Distribution, selling, general, and administrative expenses 6,132 5,382 5,000
Operating Income (Loss) 2,613 2,275 1,243
Operating Segments      
Segment Reporting [Line Items]      
Cost of products sold 244,568 214,492 219,495
Distribution, selling, general, and administrative expenses 6,028 5,261 4,887
Costs and Expenses 250,596 219,753 224,382
Operating Income (Loss) 3,748 2,909 2,530
Operating Segments | Pharmaceutical and Specialty Solutions      
Segment Reporting [Line Items]      
Cost of products sold 229,141 199,999 205,864
Distribution, selling, general, and administrative expenses 2,909 2,387 2,140
Costs and Expenses 232,050 202,386 208,004
Operating Income (Loss) 2,783 2,258 2,015
Operating Segments | GMPD      
Segment Reporting [Line Items]      
Cost of products sold 10,383 10,470 10,264
Distribution, selling, general, and administrative expenses 2,078 2,031 2,025
Costs and Expenses 12,461 12,501 12,289
Operating Income (Loss) 258 135 92
Operating Segments | Other Operating Segment      
Segment Reporting [Line Items]      
Cost of products sold 5,044 4,023 3,367
Distribution, selling, general, and administrative expenses 1,041 843 722
Costs and Expenses 6,085 4,866 4,089
Operating Income (Loss) 707 516 423
Segment Reporting, Reconciling Item, Corporate Nonsegment [Member]      
Segment Reporting [Line Items]      
Operating Income (Loss) $ (1,135) $ (634) $ (1,287)