<?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-20261001.xsd" xlink:type="simple"/>
    <context id="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357173</identifier>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Hidden_lD2BW5eCn0Ck1KAk7XeRQg">OLD SECOND BANCORP INC</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_3nenyed8NUCnacK9YuxUKg_2_1">0000357173</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_Nm69eHMM9EKY4bPlnA996w_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_t3w3rmzx4ki-Q___PWS7ZA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_sMTYMzP6ZE6zB_OCbH3PEQ">2026-10-01</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_MMFxHep9ZkSe5pwO2IXu7A_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_gps3BpTYkE2Nxt_sqnpnUQ_1_1">000-10537</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_QuZ1k2iMjUmbMWIy583IHg_1_2">36-3143493</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_RzvMCxfQoEa6BADqFqeUtg">37 South River Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_dRmCAEcBM0-FHLaEVvQAbg">Aurora</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_ILpfDmJ4j0eVl_i0MajY8g">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_G3snjksddEWTek8Oi73PdA">60507</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_djFpGZBSFUizn3Qz3XSGXQ">630</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_iAOioLF6g0C0fs4JlS1ruw">892-0202</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_AQoPt2F2vkWQm3SJJ668JA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_u1MTCTKK5kOJHKQZYwGGNQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_B8a-C-vC3UC_qcD6h44gFA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_xVtVXobe902LnPEoZwBcgg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_TGhMI9tJ9UyKlcWBkj41eQ_2_0">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_qf7-UpKw5UeGN_JmQJJSbg_2_1">OSBC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Tc_gcjK6mp3QkW76sp2ERuvyg_2_2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_1_2026_To_10_1_2026_zwfL5lN2GkiI4K7QuTsKKg"
      id="Narr_RZ5Bxg6DdUqOo90uuNFNEA">false</dei:EntityEmergingGrowthCompany>
</xbrl>
