<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="osbc-20260304.xsd" xlink:type="simple"/>
    <context id="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357173</identifier>
        </entity>
        <period>
            <startDate>2026-03-04</startDate>
            <endDate>2026-03-04</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Hidden_584qlShoLEe7Tfg_C3wmGw">OLD SECOND BANCORP INC</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Tc_ai7V-bwJ7UKPld9T4U1Eug_2_1">0000357173</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Tc_JqcSBKQx1UmMuOyPiLK6hw_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_VFgGlhjxnE2sp6U6ZmpxTQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_wW22bYid4kKgHaOFGsgwFg">2026-03-04</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Tc_bK4oBI-xAEKkkyjZKBolPQ_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Tc_JSiZAR02q0O1gFptPdxpvA_1_1">000-10537</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Tc_Q-0QoOVa00qZY2XIWdI-eQ_1_2">36-3143493</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_IUDDEJs0A027rApD0WIBfw">37 South River Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_qO39nZkz0kS0lvOt070lAQ">Aurora</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_vPCGfS0XokSsLBbQwtTElQ">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_HL0s0pFv50mSUi4nMsuwHA">60507</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_L_dj_sjomk-yr-0QhZ94VQ">630</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_G8v7q0PtXEiLizp849tw3A">892-0202</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_M_Q7xa9ZqEeosfRf6fK94g">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_zQFVwDHYFEK6mYwvPUZX1g">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_6PNaX_eyQE292H9w68lxiw">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_JADkcCfooUCCU0IAa2Piag">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_3_4_2026_To_3_4_2026_slLaf2A7O06GIeIPP3VJhA"
      id="Narr_4w3thJ-U1UeBf3slKEQlTw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
