XML 65 R51.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Uncertainty (Details) | 12 Months Ended
--- | ---
Dec. 31, 2023 refinery
California [Member] |
Uncertainty (Textual) |
Number of refineries | 2

X
- Definition Number Of Refineries + References No definition available. + Details
Name: | vlo_NumberOfRefineries
Namespace Prefix: | vlo_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Uncertainties + References No definition available. + Details
Name: | vlo_UncertaintiesAbstract
Namespace Prefix: | vlo_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=stpr_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |