<?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="tcbs-20250121.xsd" xlink:type="simple"/>
    <context id="c20250121to20250121">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001849466</identifier>
        </entity>
        <period>
            <startDate>2025-01-21</startDate>
            <endDate>2025-01-21</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20250121to20250121"
      id="Fact_e4a825309e6e4d8f8fa74d5ebb96b937">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20250121to20250121"
      id="Fact_271a4574b3c642f3bda0dda3f6ba4efa">0001849466</dei:EntityCentralIndexKey>
    <dei:SecurityExchangeName
      contextRef="c20250121to20250121"
      id="Fact_ec662073ad6a4e4698c4b28eafeaf985">NASDAQ</dei:SecurityExchangeName>
    <dei:DocumentType
      contextRef="c20250121to20250121"
      id="Fact_a87e40411fae40c384fbbd916981630f">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20250121to20250121"
      id="Fact_28f53f2fa4814ec298e8f9a2287ec3ea">2025-01-21</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20250121to20250121"
      id="Fact_e5209f3c03f44b56b94ea26b3154f26c">Texas Community Bancshares, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20250121to20250121"
      id="Fact_a4401cc72db146bf9296b44ca937d922">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20250121to20250121"
      id="Fact_71a93113ce98417ba0d6537612fd086d">001-40610</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20250121to20250121"
      id="Fact_615c86757b4040d4ab160f4324aa8ba2">86-2760335</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20250121to20250121"
      id="Fact_b96ed3d413ca49cba784a307aa79c2a2">215 West Broad Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20250121to20250121"
      id="Fact_f6e2c1adea2d43c1937adb00d26aa219">Mineola</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20250121to20250121"
      id="Fact_94f1471d5b26426caa561989e1c9dfcd">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20250121to20250121"
      id="Fact_bae6fd8ea04b4de48ee47288443bc10d">75773</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20250121to20250121"
      id="Fact_c70350622bab44bfa5b6224bf8806e31">903</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20250121to20250121"
      id="Fact_4990ac260a414fc985937a329ead800b">569-2602</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20250121to20250121"
      id="Fact_b9106bbfdd55472aad7910954cb9b45d">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20250121to20250121"
      id="Fact_3a0c23f41b814efa9792d8c72eb8de67">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20250121to20250121"
      id="Fact_fb7962fd93f949caafa840802c5ec77f">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20250121to20250121"
      id="Fact_49af82717465444ea5eaf788e3dee6c4">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20250121to20250121"
      id="Fact_c37a0c06ede2403faf1795d33ae25093">Common stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20250121to20250121"
      id="Fact_1ef94ea4edca449298ee983ca2add9ae">TCBS</dei:TradingSymbol>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20250121to20250121"
      id="Fact_3ed32094ae86460aa33eb7e85c105f7e">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="c20250121to20250121"
      id="Fact_8d8e6f43cf6644feb536b35401f791a8">true</dei:EntityExTransitionPeriod>
</xbrl>
