<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>444</ContextCount>
  <ElementCount>428</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>121</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001001 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Income (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedStatementsOfIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Income (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1007000 - Statement - Consolidated Statements of Comprehensive Income (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1009000 - Statement - Consolidated Statements of Equity (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedStatementsOfEquityUnaudited</Role>
      <ShortName>Consolidated Statements of Equity (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1009501 - Statement - Consolidated Statements of Equity (unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedStatementsOfEquityUnauditedParenthetical</Role>
      <ShortName>Consolidated Statements of Equity (unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1010000 - Statement - Consolidated Statements of Cash Flows (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/ConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Merger and Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/MergerAndAcquisition</Role>
      <ShortName>Merger and Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/Equity</Role>
      <ShortName>Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/VariableInterestEntities</Role>
      <ShortName>Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EarningsPerCommonShare</Role>
      <ShortName>Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Revenues and Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformation</Role>
      <ShortName>Revenues and Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2126100 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2127100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2128100 - Disclosure - Price Risk Management Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/PriceRiskManagementActivities</Role>
      <ShortName>Price Risk Management Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2129100 - Disclosure - Condensed Consolidating Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatements</Role>
      <ShortName>Condensed Consolidating Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/Inventories</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/Leases</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/Debt</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2321301 - Disclosure - Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EquityTables</Role>
      <ShortName>Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/Equity</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/VariableInterestEntitiesTables</Role>
      <ShortName>Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/VariableInterestEntities</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2323301 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/EmployeeBenefitPlans</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - Earnings Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EarningsPerCommonShareTables</Role>
      <ShortName>Earnings Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/EarningsPerCommonShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2325301 - Disclosure - Revenues and Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformationTables</Role>
      <ShortName>Revenues and Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/RevenuesAndSegmentInformation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2326301 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2327301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/FairValueMeasurements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2328301 - Disclosure - Price Risk Management Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/PriceRiskManagementActivitiesTables</Role>
      <ShortName>Price Risk Management Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/PriceRiskManagementActivities</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2329301 - Disclosure - Condensed Consolidating Financial Statements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsTables</Role>
      <ShortName>Condensed Consolidating Financial Statements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.valero.com/role/CondensedConsolidatingFinancialStatements</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Basis of Presentation and Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPoliciesDetails</Role>
      <ShortName>Basis of Presentation and Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/BasisOfPresentationAndSignificantAccountingPoliciesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2402401 - Disclosure - Merger and Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/MergerAndAcquisitionDetails</Role>
      <ShortName>Merger and Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/MergerAndAcquisition</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/InventoriesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Leases, Total Lease Cost by Class of Underlying Asset (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesTotalLeaseCostByClassOfUnderlyingAssetDetails</Role>
      <ShortName>Leases, Total Lease Cost by Class of Underlying Asset (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Leases, Rental Expense, Net of Sublease Rental Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesRentalExpenseNetOfSubleaseRentalIncomeDetails</Role>
      <ShortName>Leases, Rental Expense, Net of Sublease Rental Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2418404 - Disclosure - Leases, Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases, Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2418405 - Disclosure - Leases, Remaining Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesRemainingMinimumLeasePaymentsDetails</Role>
      <ShortName>Leases, Remaining Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2418406 - Disclosure - Leases, Future Lease Commencement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/LeasesFutureLeaseCommencementDetails</Role>
      <ShortName>Leases, Future Lease Commencement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Debt, Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/DebtNarrativeDetails</Role>
      <ShortName>Debt, Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Debt, Credit Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/DebtCreditFacilitiesDetails</Role>
      <ShortName>Debt, Credit Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Debt, Interest Incurred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/DebtInterestIncurredDetails</Role>
      <ShortName>Debt, Interest Incurred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2420401 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2421402 - Disclosure - Equity, Share Activity Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EquityShareActivityRollforwardDetails</Role>
      <ShortName>Equity, Share Activity Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2421403 - Disclosure - Equity, Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EquityNarrativeDetails</Role>
      <ShortName>Equity, Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2421404 - Disclosure - Equity, Changes in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EquityChangesInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Equity, Changes in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Variable Interest Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/VariableInterestEntitiesDetails</Role>
      <ShortName>Variable Interest Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/VariableInterestEntitiesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2423402 - Disclosure - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EmployeeBenefitPlansDetails</Role>
      <ShortName>Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/EmployeeBenefitPlansTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - Earnings Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/EarningsPerCommonShareDetails</Role>
      <ShortName>Earnings Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/EarningsPerCommonShareTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2425402 - Disclosure - Revenues and Segment Information, Receivables from Contracts with Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformationReceivablesFromContractsWithCustomersDetails</Role>
      <ShortName>Revenues and Segment Information, Receivables from Contracts with Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2425403 - Disclosure - Revenues and Segment Information, Components of Operating Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformationComponentsOfOperatingIncomeLossDetails</Role>
      <ShortName>Revenues and Segment Information, Components of Operating Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2425404 - Disclosure - Revenues and Segment Information, Disaggregation of Revenue by Product (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformationDisaggregationOfRevenueByProductDetails</Role>
      <ShortName>Revenues and Segment Information, Disaggregation of Revenue by Product (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2425405 - Disclosure - Revenues and Segment Information, Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/RevenuesAndSegmentInformationAssetsDetails</Role>
      <ShortName>Revenues and Segment Information, Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/RevenuesAndSegmentInformationTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2426402 - Disclosure - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/SupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/SupplementalCashFlowInformationTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2427402 - Disclosure - Fair Value Measurements, Recurring (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/FairValueMeasurementsRecurringDetails</Role>
      <ShortName>Fair Value Measurements, Recurring (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2427403 - Disclosure - Fair Value Measurements, Nonrecurring (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/FairValueMeasurementsNonrecurringDetails</Role>
      <ShortName>Fair Value Measurements, Nonrecurring (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2427404 - Disclosure - Fair Value Measurements, Other Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/FairValueMeasurementsOtherFinancialInstrumentsDetails</Role>
      <ShortName>Fair Value Measurements, Other Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2428402 - Disclosure - Price Risk Management Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/PriceRiskManagementActivitiesDetails</Role>
      <ShortName>Price Risk Management Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/PriceRiskManagementActivitiesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2428403 - Disclosure - Price Risk Management Activities, Hedging Instruments by Consolidated Balance Sheet Location (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/PriceRiskManagementActivitiesHedgingInstrumentsByConsolidatedBalanceSheetLocationDetails</Role>
      <ShortName>Price Risk Management Activities, Hedging Instruments by Consolidated Balance Sheet Location (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2428404 - Disclosure - Price Risk Management Activities, Effect of Derivative Instruments on Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/PriceRiskManagementActivitiesEffectOfDerivativeInstrumentsOnIncomeDetails</Role>
      <ShortName>Price Risk Management Activities, Effect of Derivative Instruments on Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2429402 - Disclosure - Condensed Consolidating Financial Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsDetails</Role>
      <ShortName>Condensed Consolidating Financial Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2429403 - Disclosure - Condensed Consolidating Financial Statements, Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsBalanceSheetDetails</Role>
      <ShortName>Condensed Consolidating Financial Statements, Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2429404 - Disclosure - Condensed Consolidating Financial Statements, Statement of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsStatementOfIncomeDetails</Role>
      <ShortName>Condensed Consolidating Financial Statements, Statement of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2429405 - Disclosure - Condensed Consolidating Financial Statements, Statement of Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsStatementOfComprehensiveIncomeDetails</Role>
      <ShortName>Condensed Consolidating Financial Statements, Statement of Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="vloform10-qx9302019.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2429406 - Disclosure - Condensed Consolidating Financial Statements, Statement of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.valero.com/role/CondensedConsolidatingFinancialStatementsStatementOfCashFlowsDetails</Role>
      <ShortName>Condensed Consolidating Financial Statements, Statement of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="vloform10-qx9302019.htm">vloform10-qx9302019.htm</File>
    <File>vlo-20190930.xsd</File>
    <File>vlo-20190930_cal.xml</File>
    <File>vlo-20190930_def.xml</File>
    <File>vlo-20190930_lab.xml</File>
    <File>vlo-20190930_pre.xml</File>
    <File>vloexh3101-9302019.htm</File>
    <File>vloexh3102-9302019.htm</File>
    <File>vloexh3201-9302019.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
