<?xml version="1.0" encoding="US-ASCII" ?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 6.4b -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: https://www.novaworks.com -->
    <!-- Field: Doc-Info; Name: Source; Value: sd_052826.xfr; Date: 2026%2D06%2D01T18:43:53Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<xbrli:xbrl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:dei="http://xbrl.sec.gov/dei/2024" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:rxp="http://xbrl.sec.gov/rxp/2024q3" xmlns:snj="http://xbrl.sec.gov/snj/2024" xmlns:country="http://xbrl.sec.gov/country/2024" xmlns:trx="http://sec.trx.com/20250831">
    <link:schemaRef xlink:href="trx-20250831.xsd" xlink:type="simple" />
    <xbrli:context id="From2024-09-01to2025-08-31">
      <xbrli:entity>
        <xbrli:identifier scheme="http://www.sec.gov/CIK">0001173643</xbrli:identifier>
      </xbrli:entity>
      <xbrli:period>
        <xbrli:startDate>2024-09-01</xbrli:startDate>
        <xbrli:endDate>2025-08-31</xbrli:endDate>
      </xbrli:period>
    </xbrli:context>
    <xbrli:unit id="USD">
      <xbrli:measure>iso4217:USD</xbrli:measure>
    </xbrli:unit>
    <dei:AmendmentFlag contextRef="From2024-09-01to2025-08-31">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="From2024-09-01to2025-08-31">0001173643</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="From2024-09-01to2025-08-31">TRX GOLD CORPORATION</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="From2024-09-01to2025-08-31">2025-08-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType contextRef="From2024-09-01to2025-08-31">2.01 SD</dei:DocumentType>
    <dei:EntityReportingCurrencyISOCode contextRef="From2024-09-01to2025-08-31">USD</dei:EntityReportingCurrencyISOCode>
    <rxp:AlternativeReportingRegime contextRef="From2024-09-01to2025-08-31">CA</rxp:AlternativeReportingRegime>
    <rxp:Fees contextRef="From2024-09-01to2025-08-31" unitRef="USD" decimals="0">940263</rxp:Fees>
    <rxp:Royalties contextRef="From2024-09-01to2025-08-31" unitRef="USD" decimals="0">3363713</rxp:Royalties>
    <rxp:Taxes contextRef="From2024-09-01to2025-08-31" unitRef="USD" decimals="0">2661712</rxp:Taxes>
    <rxp:TotalPayments contextRef="From2024-09-01to2025-08-31" unitRef="USD" decimals="0">6965688</rxp:TotalPayments>
</xbrli:xbrl>
