<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:specialized="http://www.vanguard.com/20260131"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="specialized-20260131.xsd" xlink:type="simple"/>
    <context id="D_31Jan2026_31Jan2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000734383</identifier>
        </entity>
        <period>
            <startDate>2026-01-31</startDate>
            <endDate>2026-01-31</endDate>
        </period>
    </context>
    <context id="S000002920">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000734383</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">specialized:S000002920Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-31</startDate>
            <endDate>2026-01-31</endDate>
        </period>
    </context>
    <dei:DocumentPeriodEndDate contextRef="D_31Jan2026_31Jan2026" id="apid_1">2026-01-31</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="D_31Jan2026_31Jan2026" id="apid_2">VANGUARD SPECIALIZED FUNDS</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_31Jan2026_31Jan2026" id="apid_3">0000734383</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Jan2026_31Jan2026" id="apid_4">false</dei:AmendmentFlag>
    <oef:ProspectusDate contextRef="D_31Jan2026_31Jan2026" id="apid_5">2026-05-28</oef:ProspectusDate>
    <dei:EntityInvCompanyType contextRef="D_31Jan2026_31Jan2026" id="apid_6">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_31Jan2026_31Jan2026" id="apid_7">497</dei:DocumentType>
    <oef:SupplementToProspectusTextBlock
      contextRef="D_31Jan2026_31Jan2026"
      id="c7329f3d-f360-4dc2-a342-8d4cf3c559e2">&lt;span style="color:#000000;font-family:Arial;font-size:14pt;font-weight:bold;"&gt;Vanguard Dividend Growth Fund&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:11pt;font-weight:bold;"&gt;Supplement Dated June 22, 2026, to the Prospectus and Summary Prospectus&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Important Changes to the Fund  &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The board of trustees of Vanguard Specialized Funds has approved amending the investment strategy for Vanguard Dividend Growth Fund (the &#x201c;Fund&#x201d;) effective on or about June 22, 2026. The investment objective of the Fund remains unchanged.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Prospectus and Summary Prospectus Text Changes&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The following replaces the language under the &#x201c;Principal Investment Strategies&#x201d; heading in the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;font-weight:bold;"&gt;Fund Summary &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;section:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The Fund employs an active management approach, investing primarily in stocks that tend to offer current dividends. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;Under normal circumstances, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;Fund invests at least 80% of its net assets, plus the amount of any borrowings for investment purposes, in dividend growth stocks.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt; For purposes of the 80% &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;policy, a dividend growth stock is a stock that has paid a dividend within the past five years. The Fund focuses on high-quality companies that have prospects for long-term total returns as a result of their ability to grow earnings and their willingness to increase dividends over time.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt; These stocks &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;typically&#x2014;but not always&#x2014;will be large-cap, will be undervalued relative to the market, and will show potential for increasing dividends. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The Fund seeks to be &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;diversified across industry sectors.&lt;/span&gt;</oef:SupplementToProspectusTextBlock>
    <fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock
      contextRef="S000002920"
      id="b8873189-99cf-45b1-a88b-3e71fd21f324">&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;Under normal circumstances, the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;Fund invests at least 80% of its net assets, plus the amount of any borrowings for investment purposes, in dividend growth stocks.&lt;/span&gt;</fnd:NmRule35d1EightyPctInvstmntPlcyTextBlock>
    <fnd:NmRule35d1TermSlctnCritSmryTextBlock
      contextRef="S000002920"
      id="x_9c781f63-8abd-4b61-9a44-a87b149ed064">&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt; For purposes of the 80% &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;policy, a dividend growth stock is a stock that has paid a dividend within the past five years. The Fund focuses on high-quality companies that have prospects for long-term total returns as a result of their ability to grow earnings and their willingness to increase dividends over time.&lt;/span&gt;</fnd:NmRule35d1TermSlctnCritSmryTextBlock>
    <fnd:NmRule35d1TermDfnSmryTextBlock
      contextRef="S000002920"
      id="x_2759eb1e-df12-4bca-b80e-81f369187f87">&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt; These stocks &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;typically&#x2014;but not always&#x2014;will be large-cap, will be undervalued relative to the market, and will show potential for increasing dividends. &lt;/span&gt;</fnd:NmRule35d1TermDfnSmryTextBlock>
</xbrl>
