<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001108426</identifier>
        </entity>
        <period>
            <startDate>2025-08-15</startDate>
            <endDate>2025-08-15</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001108426</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-15</startDate>
            <endDate>2025-08-15</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-17">0001108426</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-18">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp contextRef="c-1" id="f-19">424B5</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c-1" id="f-1">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-2">TXNM Energy, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-3">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Common Stock, no par value</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="c-2" id="f-6">true</ffd:Rule457rFlg>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="0" id="f-7" unitRef="usd">200000000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-8" unitRef="number">0.00015310</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="0" id="f-9" unitRef="usd">30620</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="0" id="f-10" unitRef="usd">200000000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="0" id="f-11" unitRef="usd">30620</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="c-1" decimals="0" id="f-12" unitRef="usd">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="0" id="f-13" unitRef="usd">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="0" id="f-14" unitRef="usd">30620</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-15">The filing fee is calculated in accordance with 457(r) of the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;). In accordance with Rules 456(b) and 457(r) under the Securities Act, the Registrant initially deferred payment of all of the registration fee for Registration Statement on Form S-3ASR (Registration No. 333-285426) filed on February 28, 2025 (the "Registration Statement").  This &#x201c;Calculation of Filing Fee Tables&#x201d; shall be deemed to update the &#x201c;Calculation of Filing Fee Tables&#x201d; filed as Exhibit 107 to the Registration Statement in accordance with Rules 456(b) and 457(r) under the Securities Act.</ffd:OfferingNote>
    <ffd:RegnFileNb contextRef="c-1" id="f-16">333-285426</ffd:RegnFileNb>
</xbrl>
