XML 85 R67.htm IDEA: XBRL DOCUMENT
v3.20.4

Debt and Finance Lease Obligations, Credit Facilities (Details) |  | 12 Months Ended |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Apr. 13, 2020 USD ($) | Dec. 31, 2020 USD ($) | Dec. 31, 2020 CAD ($) | Dec. 31, 2019 USD ($) | Dec. 31, 2019 CAD ($) | Dec. 31, 2018 USD ($) | Dec. 31, 2018 CAD ($) | Dec. 31, 2020 CAD ($) | Nov. 30, 2020 CAD ($) | Jul. 31, 2020 USD ($) | Jun. 30, 2020 USD ($) | Nov. 30, 2019 USD ($) | Oct. 31, 2019 USD ($)
364-day Revolving Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  | $ 875,000,000 | $ 875,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term |  |  | 0 |  |  |  |  |  |  |  |  |  |  |  |
Availability |  |  | 875,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, term |  | 364 days |  |  |  |  |  |  |  |  |  |  |  |  |
364-day Revolving Credit Facility [Member] | Credit Facilities [Member] | Minimum [Member] | Base Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 0.15% |  |  |  |  |  |  |  |  |  |  |  |  |
364-day Revolving Credit Facility [Member] | Credit Facilities [Member] | Minimum [Member] | Eurodollar Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 0.15% |  |  |  |  |  |  |  |  |  |  |  |  |
364-day Revolving Credit Facility [Member] | Credit Facilities [Member] | Maximum [Member] | Base Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 1.70% |  |  |  |  |  |  |  |  |  |  |  |  |
364-day Revolving Credit Facility [Member] | Credit Facilities [Member] | Maximum [Member] | Eurodollar Rate [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Basis spread on variable rate |  | 1.70% |  |  |  |  |  |  |  |  |  |  |  |  |
Canadian Revolver [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  |  |  |  |  | $ 150,000,000 | $ 150,000,000 |  |  |  |
Outstanding borrowings or letters of credit issued, short-term |  |  |  |  |  |  |  |  |  | 0 |  |  |  |  |
Availability |  |  |  |  |  |  |  |  |  | 145,000,000 |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amount borrowed / Amount of eligible receivables sold under accounts receivable sales facility |  |  |  |  | $ 0 |  | $ 0 |  | $ 0 |  |  |  |  |  |
Repayments of lines of credit |  |  |  |  | $ 0 |  | $ 0 |  | $ 0 |  |  |  |  |  |
Canadian Revolver Letter of Credit [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1] |  |  |  |  |  |  |  |  | $ 5,000,000 |  |  |  |  |
Accounts Receivable Sales Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  | 1,000,000,000 | [2] |  |  |  |  |  |  |  | $ 1,000,000,000.0 | $ 1,300,000,000 |  |
Outstanding borrowings or letters of credit issued, short-term | [2] |  | 0 |  |  |  |  |  |  |  |  |  |  |  |
Availability | [2] |  | 885,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate of credit facility at period end (percent) |  |  |  |  |  | 2.3866% |  |  |  |  |  |  |  |  |
Amount borrowed / Amount of eligible receivables sold under accounts receivable sales facility |  |  | 300,000,000 |  |  | $ 900,000,000 |  | $ 0 |  |  |  |  |  |  |
Repayments of lines of credit |  |  | 400,000,000 |  |  | 900,000,000 |  | 0 |  |  |  |  |  |  |
Designated pool of accounts receivable |  |  | 1,400,000,000 |  |  | $ 2,200,000,000 |  |  |  |  |  |  |  |  |
Committed Letter of Credit Facility Expires November 2021 [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount | [3] |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1],[3] |  | 0 |  |  |  |  |  |  |  |  |  |  |  |
Availability | [3] |  | 50,000,000 |  |  |  |  |  |  |  |  |  |  |  |
IEnova Revolver [Member] | Central Mexico Terminals [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  | $ 660,000,000 |  |  |  |  |  |  |  |  |  |  | $ 491,000,000 | $ 340,000,000
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate of credit facility at period end (percent) |  |  | 3.87% |  |  | 5.749% |  |  |  | 3.87% |  |  |  |  |
Amount borrowed / Amount of eligible receivables sold under accounts receivable sales facility |  |  | $ 250,000,000 |  |  | $ 239,000,000 |  | 109,000,000 |  |  |  |  |  |  |
Repayments of lines of credit |  |  | 0 |  |  | 0 |  | 0 |  |  |  |  |  |  |
IEnova Revolver [Member] | Central Mexico Terminals [Member] | Credit Facilities [Member] | Variable Interest Entity, Primary Beneficiary [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount | [4] |  | 660,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [4] |  | 598,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Availability | [4] |  | 62,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Uncommitted Letter of Credit Facility [Member] | Credit Facilities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued, short-term | [1] |  | 150,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities [Member] | Valero Revolver [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  | 4,000,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued |  |  | 0 |  |  |  |  |  |  |  |  |  |  |  |
Availability |  |  | 3,966,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings from long-term lines of credit |  |  | 0 |  |  | 0 |  | 0 |  |  |  |  |  |  |
Repayments of long-term lines of credit |  |  | 0 |  |  | 0 |  | 0 |  |  |  |  |  |  |
Credit Facilities [Member] | Valero Revolver Letter of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  | 2,400,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Outstanding borrowings or letters of credit issued | [1] |  | $ 34,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities [Member] | VLP Revolver [Member] | Valero Energy Partners LP [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Facility amount |  |  |  |  |  |  |  | 750,000,000 |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Repayments of long-term lines of credit |  |  |  |  |  |  |  | 410,000,000 |  |  |  |  |  |  |
Senior Notes [Member] | VLP Senior Notes Due March 15, 2028 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate of notes (percent) |  |  | 4.50% |  |  |  |  |  |  | 4.50% |  |  |  |  |
Senior Notes [Member] | Valero Energy Partners LP [Member] | VLP Senior Notes Due March 15, 2028 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit Facilities (Textual) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Face amount of long-term debt issuance |  |  |  |  |  | $ 500,000,000 |  | $ 500,000,000 |  |  |  |  |  |  |
Interest rate of notes (percent) |  |  |  |  |  | 4.50% |  | 4.50% |  |  |  |  |  |  |
[1] | Letters of credit issued as of December 31, 2020 expire at various times in 2021 through 2023.
[2] | The available borrowing capacity was lower than the facility amount due to low product prices impacting the amount of eligible receivables.
[3] | We extended the maturity date of the letter of credit facility from November 2020 to November 2021.
[4] | Creditors of our VIE do not have recourse against us.

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The effective interest rate at the end of the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromShortTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_RepaymentsOfLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(1)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_ShortTermBorrowings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Credit Facility, Textual [Abstract] + References No definition available. + Details
Name: | vlo_CreditFacilityTextualAbstract
Namespace Prefix: | vlo_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Designated pool of accounts receivable + References No definition available. + Details
Name: | vlo_DesignatedPoolOfAccountsReceivable
Namespace Prefix: | vlo_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_A364DayCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_EurodollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_CanadianRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_CanadianRevolverLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ARSalesFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_CommittedLetterofCreditFacilityExpiresNovemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_IEnovaRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=vlo_CentralMexicoTerminalsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_OtherLetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ValeroRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_ValeroRevolverLetterofCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=vlo_VLPRevolverMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=vlo_ValeroEnergyPartnersLPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=vlo_VLPSeniorNotesDueMarch2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |