<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="msif-20260519.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001535778</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-2">0001535778</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c-1" id="f-3">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="c-1" id="f-4">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">MSC Income Fund,&#160;Inc.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c-1" id="f-5">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="c-1" id="f-6">The insider trading policy prohibits all directors, officers and certain other personnel from, directly or indirectly, trading in MSC Income&#x2019;s securities while in the possession of material nonpublic information related to MSC Income and from engaging in short sales and short-term or other speculative trading of MSC Income securities and any transactions that hedge or offset, or are designed to hedge or offset, any decrease in the market value of securities issued by MSC Income.</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c-1" id="f-7">The insider trading policy prohibits all directors, officers and certain other personnel from, directly or indirectly, trading in MSC Income&#x2019;s securities while in the possession of material nonpublic information related to MSC Income and from engaging in short sales and short-term or other speculative trading of MSC Income securities and any transactions that hedge or offset, or are designed to hedge or offset, any decrease in the market value of securities issued by MSC Income</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="c-1" id="f-8">true</ecd:AwardTmgMnpiCnsdrdFlag>
</xbrl>
