<?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-20260707.xsd" xlink:type="simple"/>
    <context id="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357173</identifier>
        </entity>
        <period>
            <startDate>2026-07-07</startDate>
            <endDate>2026-07-07</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Hidden_m39NQfKLHkqrglAQcYhXTw">OLD SECOND BANCORP INC</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Tc_tdFwAZh8t0uzy1yJFbkQ-A_2_1">0000357173</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Tc_LeQ1PmUsnEyezGd29WgPqA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_bFZkwwbGrEaj6cRk42zoNA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_K7gBoESUJ0K_MsqrTW3-nQ">2026-07-07</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Tc_-Q9W0k_x50usF2AuvD31xQ_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Tc_Nro9T4zJJke8ysz-H05aig_1_1">000-10537</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Tc_XWNTgKHdkkS-3qvOyGZOOg_1_2">36-3143493</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_CfFQfIzgtUG3EFQnVUxL5w">37 South River Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_qzfZ5U5r8k6oPUsh6PS_Kg">Aurora</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_CNEsHFpBNUCVLC2kKkNYsw">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_nQe7JSrsbE6RMU-ESuyDwA">60507</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_B__Sv4ssvEy_Aq01vtzl_w">630</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_LJIa36Ga202Ehd8wo163lQ">892-0202</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_U6HGJd12NUGYfMoZyGBw2A">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_2esRpveZjUWbVn5obqZ2cA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_p0Q1_vvsi0OvDj7U_pYeiA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_9Twjzm3vY02pj1Zmkr9m0g">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_7_2026_To_7_7_2026_tqLlWIpbpU61vzCLGLp1Sw"
      id="Narr_JbsD5_hGnUutcjpru5-wWw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
