Related-Party Transactions, Agreements (Details) $ in Millions | 3 Months Ended | 12 Months Ended |
Mar. 31, 2019 | Dec. 31, 2018USD ($) | Dec. 31, 2017USD ($) | Dec. 31, 2016USD ($) |
Related Party Transaction | | | | | |
Operating Leases, Income Statement, Lease Revenue | | | $ 425 | $ 277 | $ 193 |
Other Commitments | | | | | |
2018, Commitment | | | 530 | | |
2022, Commitment | | | 478 | | |
Operating Leases, Future Minimum Payments Receivable, Thereafter | | | 1,500 | | |
Indemnification deductible | | | $ 1 | | |
Second Amended and Restated Trucking Transportation Services Agreement (High Plains System) | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr11 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Second Amended and Restated Master Terminalling Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr11 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Salt Lake City Storage Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr11 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Transportation Services Agreement (LAR Short Haul Pipeline) [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Sep12 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Amended Anacortes Track Use and Throughput Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Nov12 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 1 year | | |
Amorco Terminal Use and Throughput Agreement (Martinez Marine) | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr12 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Long Beach Storage Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Dec12 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Terminalling Services Agreement for Northwest Product System [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jun13 | | |
Term (years) | | | 1 year | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Terminalling, Transportation, and Storage Services Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr16 | | |
Term (years) | | | 6 months | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Long Beach Pipeline Throughput Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Dec13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Transportation Services Agreement (SoCal Pipelines) [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Dec13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 0 years | | |
Bakken Area Storage Hub Storage - TRMC Tanks [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr14 | | |
Term (years) | | | 5 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Transportation Services Agreement (LAR Short Haul Pipeline) [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jul14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Terminalling & Dedicated Storage Services Agreement - Anacortes [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jul14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
THPP Reversal Open Season Northbound Commitment [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Sep14 | | |
Term (years) | | | 7 years | | |
Tesoro Alaska Pipeline Throughput Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Sep14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Keep-Whole Commodity Fee Agreement | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Dec14 | | |
Term (years) | | | 5 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Crude OIl Trucking Transportation Services Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Oct14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Fuel Distribution and Supply Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Oct14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Product Supply Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Oct14 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Kenai Storage Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jul16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Terminalling, Transportation and Storage Services Agreement - St. Paul Park [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Sep16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Alaska Terminalling Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Sep16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Martinez Storage Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Nov16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Crude OIl Trucking Transportation Services Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Oct15 | | |
Term (years) | | | 1 month | | |
Other Commitments | | | | | |
Term Of Renewal | | | 0 years | | |
Fuel Distribution and Supply Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Jan16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 0 years | | |
Product Supply Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Feb16 | | |
Term (years) | | | 1 year | | |
Other Commitments | | | | | |
Term Of Renewal | | | 0 years | | |
Carson Tank Farm Storage Agreement | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | [1] | | 2 | | |
Service Agreement Initiation Date | [1] | | Jun13 | | |
Term (years) | [1] | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | [1] | | 5 years | | |
Term Of Modification | [1] | | 20 years | | |
Terminalling, Transportation, and Storage Services Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Oct13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Amended Pipeline and Gathering Services Agreement - WNRL [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Oct13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Asphalt and Propane Rack Loading Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | May16 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Southern California Terminalling Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jun13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Carson Storage Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jun13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Avon Marine Terminal Use and Throughput Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 0 | | |
Service Agreement Initiation Date | | | Jan17 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 0 years | | |
Belfield Crude & Oil Gathering [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Jan17 | | |
Term (years) | | | 2 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Amended Renewal Trucking Transportation Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Apr17 | | |
Term (years) | | | 1 year | | |
Product Transportation Agreement (TRMC, WRSW, WRCLP, SPPRC) [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Jan18 | | |
Term (years) | | | 1 year | | |
Plant Dedication Agreement (Robinson Lake and Belfield) [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Apr18 | | |
Term (years) | | | 3 years | | |
Product Sales Agreement - Robinson Lake [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Apr18 | | |
Term (years) | | | 3 years | | |
Product Sales Agreement - Belfield [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Apr18 | | |
Term (years) | | | 3 years | | |
Product Sales Agreement Y-Grade - Robinson Lake [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | May18 | | |
Term (years) | | | 1 month | | |
SLC Core Crude Throughput [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | May18 | | |
Term (years) | | | 2 months 12 days | | |
Truck Loading (H2S) Little Knife [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Jun18 | | |
Term (years) | | | 6 years | | |
Truck Unloading Facility Throughput Agreement (Stanley LACT) [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Jun18 | | |
Term (years) | | | 3 years | | |
Transportation Services Agreement (LAR Interconnecting Pipelines) [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Aug18 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Amended Master Terminalling Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Aug18 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Master Unloading and Storage Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Aug18 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Amended Asphalt Terminalling, Transportation and Storage Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Aug18 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 30 days | | |
Fryburg Terminal Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Aug18 | | |
Term (years) | | | 2 years 7 months | | |
Transloading Services Agreement - Salt Lake City Spur [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Oct18 | | |
Term (years) | | | 3 years | | |
Natural Gas Liquids Marketing Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Oct18 | | |
Term (years) | | | 3 years | | |
Amended Salt Lake City Storage and Transportation Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Apr11 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Length Of Time For Continuing Minimum Payments | | | 12 months | | |
Carson Coke Handling Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Dec13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Amended and Restated Long Beach Berth Access Use and Throughput Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Number Of Contract Renewals | | | 2 | | |
Service Agreement Initiation Date | | | Dec13 | | |
Term (years) | | | 10 years | | |
Other Commitments | | | | | |
Term Of Renewal | | | 5 years | | |
Transportation Services Agreement (Anacortes Short Haul Pipelines) [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Nov17 | | |
Term (years) | | | 10 years | | |
Anacortes Manifest Rail Terminalling Services Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Nov17 | | |
Term (years) | | | 10 years | | |
Anacortes Marine Terminal Operating Agreement [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Nov17 | | |
Term (years) | | | 17 years | | |
Storage Services Agreement-Anacortes II [Member] | | | | | |
Related Party Transaction | | | | | |
Service Agreement Initiation Date | | | Nov17 | | |
Term (years) | | | 10 years | | |
Partner to Andeavor [Member] | Omnibus Agreement | | | | | |
Other Commitments | | | | | |
Payment for Administrative Fees | | | $ 17 | | |
Partner to Andeavor [Member] | Secondment and Logistics Services Agreement | | | | | |
Other Commitments | | | | | |
Long-term Purchase Commitment, Amount | | | 8 | $ 8 | $ 5 |
Affiliated Entity [Member] | | | | | |
Related Party Transaction | | | | | |
Operating Leases, Income Statement, Lease Revenue | | | $ 407 | | |
Subsequent Event | Secondment and Logistics Services Agreement | | | | | |
Related Party Transaction | | | | | |
Term (years) | | 10 years | | | |
Other Commitments | | | | | |
Length Of Time For Continuing Minimum Payments | | 60 days | | | |
| |
[1] | Agreement gives Marathon the option to renew for two five-year terms, or Marathon may modify the term of the agreements to a twenty-year term by providing notice in accordance with each agreement. | |