<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:_2="http://www.w3.org/1999/xhtml"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2024q2"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2024q2/ffd-2024q2.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000930420</identifier>
        </entity>
        <period>
            <startDate>2026-04-22</startDate>
            <endDate>2026-04-22</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000930420</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-22</startDate>
            <endDate>2026-04-22</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000930420</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-22</startDate>
            <endDate>2026-04-22</endDate>
        </period>
    </context>
    <context id="c-4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000930420</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-04-22</startDate>
            <endDate>2026-04-22</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="pure">
        <measure>_2:pURE</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="rate">
        <measure>utr:Rate</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-38">0000930420</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-39">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-2">KFORCE INC.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-3">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Common Stock, par value $0.01</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-6">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-7" unitRef="shares">2807806</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-8" unitRef="pure">33.73</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-9" unitRef="usd">94707296.38</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-10" unitRef="rate">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-11" unitRef="usd">13079.08</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-12" unitRef="usd">94707296.38</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-13" unitRef="usd">13079.08</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">9157.36</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-15" unitRef="usd">3921.72</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-16">&lt;div style="margin-bottom:0.08pt;margin-top:2pt"&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:5.85pt;font-weight:400;line-height:120%;position:relative;top:-3.15pt;vertical-align:baseline"&gt;(1)&lt;/span&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:9pt;font-weight:400;line-height:120%"&gt; Fee Calculation Rule and Proposed Maximum Aggregate Offering Price Per Unit: Estimated solely for the purpose of calculating the registration fee in accordance with Rules 457(c) and 457(h) under the Securities Act on the basis of the average between the high and low sales prices for shares of Common Stock of Kforce Inc. (the &#x201c;Registrant&#x201d;) as reported on the NYSE on April&#160;22, 2026.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom:0.08pt;margin-top:2pt"&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:9pt;font-weight:400;line-height:120%"&gt;Amount Registered: Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this registration statement (the &#x201c;Registration Statement&#x201d;) shall also cover any additional shares of Common Stock of the Registrant that become issuable in respect of the securities identified in the above table by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without the receipt of consideration that increases the number of outstanding shares of the Registrant&#x2019;s common stock.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="c-3" id="f-17">true</ffd:Rule457pOffsetFlg>
    <ffd:Rule457pOffsetFlg contextRef="c-4" id="f-18">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetClmdInd contextRef="c-4" id="f-19">true</ffd:OffsetClmdInd>
    <ffd:OffsetPrrFilerNm contextRef="c-4" id="f-20">Kforce Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="c-4" id="f-21">S-8</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c-4" id="f-22">333-286770</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="c-4" id="f-23">2025-04-25</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt contextRef="c-4" decimals="2" id="f-24" unitRef="usd">9157.36</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="c-4" id="f-25">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="c-4" id="f-26">Common Stock, par value $0.01</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties contextRef="c-4" decimals="0" id="f-27" unitRef="shares">1596806</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt contextRef="c-4" decimals="2" id="f-28" unitRef="usd">72750481.36</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:OffsetClmdInd contextRef="c-3" id="f-29">false</ffd:OffsetClmdInd>
    <ffd:OffsetPrrFilerNm contextRef="c-3" id="f-30">Kforce Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="c-3" id="f-31">S-8</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c-3" id="f-32">333-286770</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="c-3" id="f-33">2025-04-25</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt contextRef="c-3" decimals="2" id="f-34" unitRef="usd">9157.36</ffd:OffsetPrrFeeAmt>
    <ffd:OffsetNote contextRef="c-4" id="f-35">&lt;div style="margin-bottom:0.08pt;margin-top:2pt"&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:5.85pt;font-weight:400;line-height:120%;position:relative;top:-3.15pt;vertical-align:baseline"&gt;(1)&lt;/span&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:9pt;font-weight:400;line-height:120%"&gt; The Registrant previously registered $123,663,963.60 in an aggregate offering amount of common stock pursuant to the Registration Statement on Form S-8 (File No. 333-286770) filed on April 25, 2025, of which $72,750,481.36 relates to the unsold securities associated with the fee offset claimed herein. The offering that included these unsold securities has been terminated.&lt;/span&gt;&lt;/div&gt;</ffd:OffsetNote>
    <ffd:TermntnCmpltnWdrwl contextRef="c-4" id="f-36">terminated.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="c-3" id="f-37">&lt;div style="margin-bottom:0.08pt;margin-top:2pt"&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:5.85pt;font-weight:400;line-height:120%;position:relative;top:-3.15pt;vertical-align:baseline"&gt;(2)&lt;/span&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:9pt;font-weight:400;line-height:120%"&gt; The Registrant expects to partially offset the registration fee due hereunder by an amount of fees that was previously paid with respect to the Prior Registration Statement pursuant to Rule 457(p) under the Securities Act. The fees previously paid for the Prior Registration Statement was $18,932.95, of which $9,157.36 relates to the unsold securities associated with the fee offset claimed herein. Pursuant to Rule 457(p) under the Securities Act, the Registrant hereby offsets the total registration fee due under this Registration Statement by $9,157.36 from the fees previously paid in connection with the Prior Registration Statement.&lt;/span&gt;&lt;/div&gt;</ffd:OffsetNote>
</xbrl>