<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="osbc-20261020.xsd" xlink:type="simple"/>
    <context id="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357173</identifier>
        </entity>
        <period>
            <startDate>2026-10-20</startDate>
            <endDate>2026-10-20</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Hidden_80gayqK-zU-hE_m7LYVdNg">OLD SECOND BANCORP INC</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_wgYmyiDUfk6B7KuoLElisg_2_1">0000357173</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_I9NPUja4D0WRzGnzoCIg1A_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_Gw7huYl_W0C4Lu0fb46Emw">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_m9MQGtU-A0WXW6XXDvKTKg">2026-10-20</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_vBUJML70MUmsXXPWhcsm3w_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_wwXC3TyNT027gIIdLhLG8Q_1_1">000-10537</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_pZsy7RQD0EyjoZFMI7KoOw_1_2">36-3143493</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_NBDmkTNclE-eloZlY-koog">37 South River Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_OHjfdw3pLEeUm1cPD2IOtw">Aurora</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_oRq87TkFi0ep3rNpt9ZCiA">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_8WzqULpqMk2xGglf8oOgYA">60507</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_tBUs24tHl0G7S8ktKsQQgA">630</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_UkloZ4oXfE-n51I4qTSt_w">892-0202</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_0XTXZfnwqEK7By9LbFildg">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_6yTIsI9uVkObjWeDavWB4A">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_zgfHvW4QXUqfbnNHcVfkQQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_4wdYJCcAGkybN9q4uJvczA">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_kAsuWowiIESuLmnm-oz6vw_2_0">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_9V_CilP_LkyTKsVkRSF4Iw_2_1">OSBC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Tc_6s1wER9WHUibziFIqK0_8Q_2_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_20_2026_To_10_20_2026_5mJctYXNVUOrIOudt10q5w"
      id="Narr_DnOtNL9NPEGEhHBKHUJzTw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
