<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:hsfi="http://www.hartfordfunds.com/20251231"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="hsfi-20251231.xsd" xlink:type="simple"/>
    <context id="D_31Dec2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001053425</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000003216_NonDiversificationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001053425</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">hsfi:S000003216Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">hsfi:NonDiversificationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000003224_NonDiversificationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001053425</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">hsfi:S000003224Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">hsfi:NonDiversificationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000003206_NonDiversificationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001053425</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">hsfi:S000003206Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">hsfi:NonDiversificationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:DocumentPeriodEndDate contextRef="D_31Dec2025_31Dec2025" id="apid_1">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="D_31Dec2025_31Dec2025" id="apid_2">Hartford Series Fund Inc</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_31Dec2025_31Dec2025" id="apid_3">0001053425</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Dec2025_31Dec2025" id="apid_4">false</dei:AmendmentFlag>
    <oef:ProspectusDate contextRef="D_31Dec2025_31Dec2025" id="apid_5">2026-04-30</oef:ProspectusDate>
    <dei:EntityInvCompanyType contextRef="D_31Dec2025_31Dec2025" id="apid_6">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_31Dec2025_31Dec2025" id="apid_7">497</dei:DocumentType>
    <oef:SupplementToProspectusTextBlock
      contextRef="D_31Dec2025_31Dec2025"
      id="x_3add2713-f83c-4561-acdf-92cfb455b3b4">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;NOVEMBER 5, 2026&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;SUPPLEMENT TO &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;HARTFORD HLS FUNDS PROSPECTUS&lt;/span&gt; &lt;br/&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;DATED APRIL 30, 2026, AS SUPPLEMENTED TO DATE&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;This Supplement contains new and additional information and should be read in connection with your Statutory Prospectus.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;At a Joint Special Meeting of Shareholders held on November 5, 2026, shareholders of each of Hartford Capital Appreciation HLS Fund, Hartford Disciplined Equity HLS Fund, and Hartford Healthcare HLS Fund (each a &#x201c;Fund&#x201d; and collectively, the &#x201c;Funds&#x201d;) approved a proposal to reclassify the Fund from a diversified investment company to a non-diversified investment company and to eliminate the Fund&#x2019;s related fundamental diversification policy. The change to each Fund&#x2019;s diversification classification will become effective December 7, 2026. Accordingly, the following changes are being made to the above referenced Statutory Prospectus effective December 7, 2026:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(1) Under the heading &#x201c;Hartford Capital Appreciation HLS Fund Summary Section - Principal Investment Strategy&#x201d; in the above referenced Statutory Prospectus, the eighth sentence is deleted in its entirety and replaced with the following:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund&#x2019;s portfolio managers do not allocate a set percentage to any investment style or security but instead seek a flexible and broad-based Fund profile. The Fund is a non-diversified fund, meaning that the Fund may invest a larger proportion of its assets in the securities of one or more issuers than a fund that is &#x201c;diversified&#x201d;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(2) Under the heading &#x201c;Hartford Capital Appreciation HLS Fund Summary Section - Principal Risks&#x201d; in the above referenced Statutory Prospectus, the following principal risk is added after &#x201c;Quantitative Investing Risk&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(3) Under the heading &#x201c;Hartford Disciplined Equity HLS Fund Summary Section - Principal Investment Strategy&#x201d; in the above referenced Statutory Prospectus, the fifth sentence is deleted in its entirety and replaced with the following:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is a non-diversified fund, meaning that the Fund may invest a larger proportion of its assets in the securities of one or more issuers than a fund that is &#x201c;diversified&#x201d;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(4) Under the heading &#x201c;Hartford Disciplined Equity HLS Fund Summary Section - Principal Risks&#x201d; in the above referenced Statutory Prospectus, the following principal risk is added after &#x201c;Active Investment Management Risk&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(5) Under the heading &#x201c;Hartford Healthcare HLS Fund Summary Section - Principal Investment Strategy&#x201d; in the above referenced Statutory Prospectus, the following sentence is added to the end of the paragraph:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is a non-diversified fund, meaning that the Fund may invest a larger proportion of its assets in the securities of one or more issuers than a fund that is &#x201c;diversified&#x201d;. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;(6) Under the heading &#x201c;Hartford Healthcare HLS Fund Summary Section - Principal Risks&#x201d; in the above referenced Statutory Prospectus, the following principal risk is added after &#x201c;Active Investment Management Risk&#x201d;:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;</oef:SupplementToProspectusTextBlock>
    <oef:RiskTextBlock
      contextRef="S000003216_NonDiversificationRiskMember"
      id="abb788ca-84b7-421d-b75d-982ed9504c46">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000003224_NonDiversificationRiskMember"
      id="cdfcf891-8692-4f9b-9941-e131492d20d1">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="S000003206_NonDiversificationRiskMember"
      id="x_3b1d347b-d4ab-43ac-89a5-e192bb1a86f0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Non-Diversification Risk &#x2013;&#x2009;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;line-height:12pt;"&gt; &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is non-diversified, which means it is permitted to invest a greater portion of its assets in a smaller number of issuers than a &#x201c;diversified&#x201d; fund. For this reason the Fund may be more exposed to the risks associated with and developments affecting an individual issuer than a fund that invests more widely. The Fund may also be subject to greater market fluctuation and price volatility than a more broadly diversified fund.&lt;/span&gt;</oef:RiskTextBlock>
</xbrl>
