Leases Lessor Disclosures (Details) - USD ($) $ in Millions | 12 Months Ended |
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 |
Lessor, Lease, Description [Line Items] | | | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year One | | $ 678 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Two | | 665 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Three | | 622 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Four | | 500 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Five | | 218 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, after Year Five | | 1,087 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received | | 3,770 | | | | |
Lessor, Operating Lease, Payment to be Received, Year One | | 876 | | | | |
Sales-type lease revenue, related parties | | 500 | | $ 465 | | $ 435 |
Lessor, Operating Lease, Payment to be Received, Year Two | | 832 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Three | | 665 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Four | | 500 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Five | | 214 | | | | |
Lessor, Operating Lease, Payment to be Received, after Year Five | | 297 | | | | |
Lessor, Operating Lease, Payments to be Received | | 3,384 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount | | 1,892 | | | | |
Sales-type Lease, Lease Receivable | [1] | 1,878 | | | | |
Sales-type Lease, Unguaranteed Residual Asset | [2] | 204 | | | | |
Accumulated depreciation | | 2,124 | | 1,880 | | |
Property, Plant and Equipment, Net | | 2,596 | | 2,697 | | |
Property Subject to or Available for Operating Lease, Gross | | 4,720 | | 4,577 | | |
Sales-type Lease, Revenue | | 136 | | 62 | | 0 |
Deferred Revenue, Noncurrent | | 347 | | 219 | | |
Contributions | | 31 | | 82 | | 160 |
Net Investment in Lease, before Allowance for Credit Loss, Current | [3] | 251 | | | | |
Net Investment in Lease, before Allowance for Credit Loss, Noncurrent | [2] | 1,627 | | | | |
Sales-Type Lease, Net Investment in Lease, before Allowance for Credit Loss | | 2,082 | | | | |
Net Investment in Lease, Purchase | | 85 | | 72 | | 48 |
Pipelines And Related Assets [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 677 | | 670 | | |
Refineries and related assets [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 1,399 | | 1,310 | | |
Terminals and related assets [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 1,267 | | 1,241 | | |
Barges and towing vessels [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 126 | | 126 | | |
Gas Gathering And Transmission Equipment And Facilities [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 86 | | 94 | | |
Processing, Fractionation And Storage Facilities [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 1,000 | | 973 | | |
Land Building Office Equipment And Other [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Property Subject to or Available for Operating Lease, Gross | | 165 | | 163 | | |
Marathon Petroleum Corporation [Member] | Gain (loss) on sales-type lease | Limited Partners Common Units | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Contributions | [4] | | | 43 | | 112 |
Nonrelated Party | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year One | | 175 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Two | | 161 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Three | | 150 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Four | | 141 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Five | | 132 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, after Year Five | | 959 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received | | 1,718 | | | | |
Lessor, Operating Lease, Payment to be Received, Year One | | 117 | | | | |
Operating Lease, Lease Income | | 243 | | 327 | | 376 |
Sales-type Lease, Selling Profit (Loss) | | | | 509 | [5] | 0 |
Sales-type Lease, Interest Income | | 114 | | 46 | | 0 |
Sales-type Lease, Variable Lease Income | | 22 | | 16 | | 0 |
Lessor, Operating Lease, Payment to be Received, Year Two | | 95 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Three | | 75 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Four | | 53 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Five | | 46 | | | | |
Lessor, Operating Lease, Payment to be Received, after Year Five | | 250 | | | | |
Lessor, Operating Lease, Payments to be Received | | 636 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount | | 778 | | | | |
Sales-type Lease, Lease Receivable | | 940 | [1] | 914 | | 0 |
Sales-type Lease, Unguaranteed Residual Asset | | 78 | [2] | 63 | | 0 |
Sales Type Lease Derecognition Properties And Equipment Net | | | | 745 | | 0 |
Sales Type Lease Derecognition of Deferred Revenue | | | | 277 | | 0 |
Sales-type Lease, Revenue | | 136 | | 62 | | 0 |
Deferred Revenue, Noncurrent | | 344 | | 216 | | 135 |
Net Investment in Lease, before Allowance for Credit Loss, Current | [3] | 102 | | | | |
Net Investment in Lease, before Allowance for Credit Loss, Noncurrent | [2] | 838 | | | | |
Sales-Type Lease, Net Investment in Lease, before Allowance for Credit Loss | | 1,018 | | | | |
Related Party | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year One | | 503 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Two | | 504 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Three | | 472 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Four | | 359 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, Year Five | | 86 | | | | |
Sales-Type and Direct Financing Leases, Lease Receivable, to be Received, after Year Five | | 128 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Payments to be Received | | 2,052 | | | | |
Lessor, Operating Lease, Payment to be Received, Year One | | 759 | | | | |
Operating Lease, Lease Income | | 822 | | 763 | | 743 |
Sales-type Lease, Interest Income | | 467 | | 447 | | 431 |
Sales-type Lease, Variable Lease Income | | 33 | | 18 | | 4 |
Sales-type lease revenue, related parties | | 500 | | 465 | | 435 |
Lessor, Operating Lease, Payment to be Received, Year Two | | 737 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Three | | 590 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Four | | 447 | | | | |
Lessor, Operating Lease, Payment to be Received, Year Five | | 168 | | | | |
Lessor, Operating Lease, Payment to be Received, after Year Five | | 47 | | | | |
Lessor, Operating Lease, Payments to be Received | | 2,748 | | | | |
Sales-type and Direct Financing Leases, Lease Receivable, Undiscounted Excess Amount | | 1,114 | | | | |
Sales-type Lease, Lease Receivable | [1] | 938 | | | | |
Sales-type Lease, Unguaranteed Residual Asset | | 126 | [2] | 87 | | |
Deferred Revenue, Noncurrent | | 99 | | 110 | | |
Net Investment in Lease, before Allowance for Credit Loss, Current | | 149 | [3] | 111 | | |
Net Investment in Lease, before Allowance for Credit Loss, Noncurrent | | 789 | [2] | 883 | | |
Sales-Type Lease, Net Investment in Lease, before Allowance for Credit Loss | | $ 1,064 | | | | |
Affiliated Entity | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Sales-type Lease, Lease Receivable | | | | 87 | | 519 |
Sales-type Lease, Unguaranteed Residual Asset | | | | 6 | | 14 |
Sales Type Lease Derecognition Properties And Equipment Net | | | | 50 | | 421 |
Sales Type Lease Derecognition of Deferred Revenue | | | | $ 0 | | $ 0 |
Maximum | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Lessor, Operating Lease, Renewal Term | | 5 years | | | | |
Maximum | Lease Agreements, Lessor [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Lessor, Operating Lease, Term of Contract | | 9 years | | | | |
Minimum | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Lessor, Operating Lease, Renewal Term | | 1 year | | | | |
Minimum | Lease Agreements, Lessor [Member] | | | | | | |
Lessor, Lease, Description [Line Items] | | | | | | |
Lessor, Operating Lease, Term of Contract | | 1 year | | | | |
| |
[1]This amount does not include the unguaranteed residual assets[2]The related-party balance is presented in Noncurrent assets - related parties and the third-party balance is presented in Other noncurrent assets in the Consolidated Balance Sheets.[3]The related-party balance is presented in Current assets - related parties and the third-party balance is presented in Receivables, net in the Consolidated Balance Sheets.[4]The amount recognized on commencement date was recorded as a Contribution from MPC in the Consolidated Statements of Equity given the underlying agreements are between entities under common control.[5]The amount recognized on commencement date was recorded as a gain in Other income in the Consolidated Statements of Income. | |