<?xml version="1.0" encoding="UTF-8"?>
<edgarSubmission xmlns="http://www.sec.gov/edgar/ncen" xmlns:com="http://www.sec.gov/edgar/common">
  <schemaVersion>X0505</schemaVersion>
  <headerData>
    <submissionType>N-CEN</submissionType>
    <filerInfo>
      <liveTestFlag>LIVE</liveTestFlag>
      <filer>
        <issuerCredentials>
          <cik>0001703079</cik>
          <ccc>XXXXXXXX</ccc>
        </issuerCredentials>
        <fileNumber>811-23247</fileNumber>
      </filer>
      <investmentCompanyType>N-2</investmentCompanyType>
    </filerInfo>
  </headerData>
  <formData>
    <generalInfo reportEndingPeriod="2025-09-30" isReportPeriodLt12="N"/>
    <registrantInfo>
      <registrantFullName>XAI Octagon Floating Rate &amp; Alternative Income Trust</registrantFullName>
      <investmentCompFileNo>811-23247</investmentCompFileNo>
      <registrantCik>0001703079</registrantCik>
      <registrantLei>549300XT617P63BLW552</registrantLei>
      <registrantstreet1>321 North Clark Street Suite 2430</registrantstreet1>
      <registrantcity>Chicago</registrantcity>
      <registrantzipCode>60654</registrantzipCode>
      <registrantstate>US-IL</registrantstate>
      <registrantcountry>US</registrantcountry>
      <registrantphoneNumber>312-374-6930</registrantphoneNumber>
      <websites>
        <website webpage="www.xainvestments.com/funds-funds-floating-rate-alternative-income-trust-xflt"/>
      </websites>
      <locationBooksRecords>
        <locationBooksRecord>
          <officeName>U.S. Bank, N.A.</officeName>
          <officeAddress1>1555 N. River Center Drive</officeAddress1>
          <officeCity>Milwaukee</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-WI"/>
          <officeRecordsZipCode>53212</officeRecordsZipCode>
          <officePhone>8008722657</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
        <locationBooksRecord>
          <officeName>Equinity Trust Company LLC</officeName>
          <officeAddress1>6201 5th Avenue</officeAddress1>
          <officeCity>Brooklyn</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-NY"/>
          <officeRecordsZipCode>11219</officeRecordsZipCode>
          <officePhone>7189218209</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
        <locationBooksRecord>
          <officeName>Paralel Technologies LLC</officeName>
          <officeAddress1>1700 Broadway</officeAddress1>
          <officeAddress2>Suite 1850</officeAddress2>
          <officeCity>Denver</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-CO"/>
          <officeRecordsZipCode>80290</officeRecordsZipCode>
          <officePhone>303-226-4150</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
        <locationBooksRecord>
          <officeName>XA Investments LLC</officeName>
          <officeAddress1>321 North Clark Street</officeAddress1>
          <officeAddress2>Suite 2430</officeAddress2>
          <officeCity>Chicago</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-IL"/>
          <officeRecordsZipCode>60654</officeRecordsZipCode>
          <officePhone>888-903-3358</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
        <locationBooksRecord>
          <officeName>Octagon Credit Investors, LLC</officeName>
          <officeAddress1>250 Park Avenue</officeAddress1>
          <officeAddress2>15th Floor</officeAddress2>
          <officeCity>New York</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-NY"/>
          <officeRecordsZipCode>10177</officeRecordsZipCode>
          <officePhone>2124008400</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
        <locationBooksRecord>
          <officeName>Paralel Distributors LLC</officeName>
          <officeAddress1>1700 Broadway</officeAddress1>
          <officeAddress2>Suite 1850</officeAddress2>
          <officeCity>Denver</officeCity>
          <officeStateCountry officeCountry="US" officeState="US-CO"/>
          <officeRecordsZipCode>80290</officeRecordsZipCode>
          <officePhone>303-226-4150</officePhone>
          <booksRecordsDesc>The books and records required to be maintained by Section 31(a) of the Investment Company Act of 1940, as amended, and the rules thereunder.</booksRecordsDesc>
        </locationBooksRecord>
      </locationBooksRecords>
      <isRegistrantFirstFiling>N</isRegistrantFirstFiling>
      <isRegistrantLastFiling>N</isRegistrantLastFiling>
      <registrantFamilyInvComp isRegistrantFamilyInvComp="Y" familyInvCompFullName="The XAI Funds"/>
      <registrantClassificationType>N-2</registrantClassificationType>
      <isSecuritiesActRegistration>Y</isSecuritiesActRegistration>
      <directors>
        <director>
          <directorName>Gregory Dingens</directorName>
          <crdNumber>002279672</crdNumber>
          <isDirectorInterestedPerson>N</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-23915"/>
            <fileNumberInfo fileNumber="811-21582"/>
          </fileNumbers>
        </director>
        <director>
          <directorName>William Meyers</directorName>
          <crdNumber>002158345</crdNumber>
          <isDirectorInterestedPerson>Y</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-21582"/>
            <fileNumberInfo fileNumber="811-23915"/>
          </fileNumbers>
        </director>
        <director>
          <directorName>Scott Jones</directorName>
          <crdNumber>N/A</crdNumber>
          <isDirectorInterestedPerson>N</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-23915"/>
            <fileNumberInfo fileNumber="811-21582"/>
            <fileNumberInfo fileNumber="811-21897"/>
            <fileNumberInfo fileNumber="811-08261"/>
          </fileNumbers>
        </director>
        <director>
          <directorName>Theodore Brombach</directorName>
          <crdNumber>001295389</crdNumber>
          <isDirectorInterestedPerson>Y</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-23915"/>
          </fileNumbers>
        </director>
        <director>
          <directorName>Danielle Cupps</directorName>
          <crdNumber>N/A</crdNumber>
          <isDirectorInterestedPerson>N</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-21582"/>
            <fileNumberInfo fileNumber="811-23915"/>
          </fileNumbers>
        </director>
        <director>
          <directorName>Philip Franklin</directorName>
          <crdNumber>N/A</crdNumber>
          <isDirectorInterestedPerson>N</isDirectorInterestedPerson>
          <fileNumbers>
            <fileNumberInfo fileNumber="811-23915"/>
            <fileNumberInfo fileNumber="811-21582"/>
          </fileNumbers>
        </director>
      </directors>
      <chiefComplianceOfficers>
        <chiefComplianceOfficer>
          <ccoName>Randi Roessler</ccoName>
          <crdNumber>005178959</crdNumber>
          <ccoStreet1>501 S Cherry Street</ccoStreet1>
          <ccoStreet2>Suite 610</ccoStreet2>
          <ccoCity>Denver</ccoCity>
          <ccoStateCountry ccoCountry="US" ccoState="US-CO"/>
          <ccoZipCode>80246</ccoZipCode>
          <ccoPhone>XXXXXX</ccoPhone>
          <isCcoChangedSinceLastFiling>N</isCcoChangedSinceLastFiling>
          <ccoEmployers>
            <ccoEmployer ccoEmployerName="PINE Advisors LLC" ccoEmployerId="82-3455885"/>
          </ccoEmployers>
        </chiefComplianceOfficer>
      </chiefComplianceOfficers>
      <securityMatterSeriesInfo isRegistrantSubmittedMatter="Y"/>
      <isPreviousLegalProceeding>N</isPreviousLegalProceeding>
      <isPreviousProceedingTerminated>N</isPreviousProceedingTerminated>
      <isClaimFiled>N</isClaimFiled>
      <coveredByInsurancePolicy isCoveredByInsurancePolicy="Y" isClaimFiledDuringPeriod="N"/>
      <isFinancialSupportDuringPeriod>N</isFinancialSupportDuringPeriod>
      <isExemptionFromAct>N</isExemptionFromAct>
      <principalUnderwriters>
        <principalUnderwriter>
          <principalUnderwriterName>Paralel Distributors LLC</principalUnderwriterName>
          <principalUnderwriterFileNumber>8-70771</principalUnderwriterFileNumber>
          <principalUnderwriterCrdNumber>000316115</principalUnderwriterCrdNumber>
          <principalUnderwriterLei>5493009VS9HW870GQ698</principalUnderwriterLei>
          <principalUnderwriterRssdId>N/A</principalUnderwriterRssdId>
          <principalUnderWriterStateCountry principalUnderWriterCountry="US" principalUnderWriterState="US-DE"/>
          <isPrincipalUnderwriterAffiliatedWithRegistrant>N</isPrincipalUnderwriterAffiliatedWithRegistrant>
        </principalUnderwriter>
        <principalUnderwriter>
          <principalUnderwriterName>UBS Securities LLC</principalUnderwriterName>
          <principalUnderwriterFileNumber>8-22651</principalUnderwriterFileNumber>
          <principalUnderwriterCrdNumber>000007654</principalUnderwriterCrdNumber>
          <principalUnderwriterLei>T6FIZBDPKLYJKFCRVK44</principalUnderwriterLei>
          <principalUnderwriterRssdId>1576959</principalUnderwriterRssdId>
          <principalUnderWriterStateCountry principalUnderWriterCountry="US" principalUnderWriterState="US-NY"/>
          <isPrincipalUnderwriterAffiliatedWithRegistrant>N</isPrincipalUnderwriterAffiliatedWithRegistrant>
        </principalUnderwriter>
      </principalUnderwriters>
      <isUnderwriterHiredOrTerminated>N</isUnderwriterHiredOrTerminated>
      <publicAccountants>
        <publicAccountant>
          <publicAccountantName>Cohen &amp; Co, LTD</publicAccountantName>
          <pcaobNumber>925</pcaobNumber>
          <publicAccountantLei>N/A</publicAccountantLei>
          <publicAccountantRssdId>N/A</publicAccountantRssdId>
          <publicAccountantStateCountry publicAccountantCountry="US" publicAccountantState="US-OH"/>
        </publicAccountant>
      </publicAccountants>
      <isPublicAccountantChanged>N</isPublicAccountantChanged>
      <isMaterialWeakness>N</isMaterialWeakness>
      <isOpinionOffered>N</isOpinionOffered>
      <isMaterialChange>N</isMaterialChange>
      <isAccountingPrincipleChange>N</isAccountingPrincipleChange>
      <paymentDividendSeries isPaymentDividend="Y"/>
    </registrantInfo>
    <managementInvestmentQuestionSeriesInfo>
      <managementInvestmentQuestion>
        <mgmtInvFundName>XAI Octagon Floating Rate &amp; Alternative Income Trust</mgmtInvFundName>
        <mgmtInvLei>549300XT617P63BLW552</mgmtInvLei>
        <isFirstFilingByFund>N</isFirstFilingByFund>
        <numAuthorizedClass>0</numAuthorizedClass>
        <numAddedClass>0</numAddedClass>
        <numTerminatedClass>0</numTerminatedClass>
        <fundType>N/A</fundType>
        <isNonDiversifiedCompany>N</isNonDiversifiedCompany>
        <isForeignSubsidiary>N</isForeignSubsidiary>
        <isFundSecuritiesLending>Y</isFundSecuritiesLending>
        <didFundLendSecurities>N</didFundLendSecurities>
        <paymentToAgentManagerType>N/A</paymentToAgentManagerType>
        <avgPortfolioSecuritiesValue>0</avgPortfolioSecuritiesValue>
        <netIncomeSecuritiesLending>0</netIncomeSecuritiesLending>
        <relyOnRuleTypes>
          <relyOnRuleType>Rule 18f-4(c)(4) (17CFR 270.18f-4(c)(4))</relyOnRuleType>
          <relyOnRuleType>Rule 32a-4 (17 CFR 270.32a-4)</relyOnRuleType>
          <relyOnRuleType>Rule 18f-4(f)(17 CFR 270.18f-4(f))</relyOnRuleType>
          <relyOnRuleType>Rule 18f-4(d)(i) (17 CFR 270.18f-4(d)(i))</relyOnRuleType>
          <relyOnRuleType>Rule 18f-4 (17 CFR 270.18f-4)</relyOnRuleType>
        </relyOnRuleTypes>
        <isExpenseLimitationInPlace>N</isExpenseLimitationInPlace>
        <isExpenseReducedOrWaived>N</isExpenseReducedOrWaived>
        <isFeesWaivedRecoupable>N</isFeesWaivedRecoupable>
        <isExpenseWaivedRecoupable>N</isExpenseWaivedRecoupable>
        <investmentAdvisers>
          <investmentAdviser>
            <investmentAdviserName>XA Investments LLC</investmentAdviserName>
            <investmentAdviserFileNo>801-110653</investmentAdviserFileNo>
            <investmentAdviserCrdNo>000284005</investmentAdviserCrdNo>
            <investmentAdviserLei>N/A</investmentAdviserLei>
            <investmentAdviserRssdId>N/A</investmentAdviserRssdId>
            <investmentAdviserStateCountry investmentAdviserState="US-IL" investmentAdviserCountry="US"/>
            <isInvestmentAdviserHired>N</isInvestmentAdviserHired>
          </investmentAdviser>
        </investmentAdvisers>
        <subAdvisers>
          <subAdviser>
            <subAdviserName>Octagon Credit Investors, LLC</subAdviserName>
            <subAdviserFileNo>801-71998</subAdviserFileNo>
            <subAdviserCrdNo>000155336</subAdviserCrdNo>
            <subAdviserLei>N/A</subAdviserLei>
            <subAdviserRssdId>N/A</subAdviserRssdId>
            <isSubAdviserAffiliated>N</isSubAdviserAffiliated>
            <subAdviserStateCountry subAdviserState="US-NY" subAdviserCountry="US"/>
            <isSubAdviserHired>N</isSubAdviserHired>
          </subAdviser>
        </subAdvisers>
        <transferAgents>
          <transferAgent>
            <transferAgentName>Equiniti Trust Company, LLC</transferAgentName>
            <transferAgentFileNo>084-00416</transferAgentFileNo>
            <transferAgentLei>213800TS721HGE2JIV94</transferAgentLei>
            <transferAgentStateCountry transferAgentState="US-NY" transferAgentCountry="US"/>
            <isTransferAgentAffiliated>N</isTransferAgentAffiliated>
            <isTransferAgentSubAgent>N</isTransferAgentSubAgent>
          </transferAgent>
        </transferAgents>
        <isTransferAgentHiredOrTerminated>N</isTransferAgentHiredOrTerminated>
        <pricingServices>
          <pricingService>
            <pricingServiceName>IHS MARKIT GROUP HOLDINGS LIMITED</pricingServiceName>
            <pricingServiceLei>2138005LTLTVZ4WMEX25</pricingServiceLei>
            <pricingServiceStateCountry pricingServiceState="US-DE" pricingServiceCountry="US"/>
            <isPricingServiceAffiliated>N</isPricingServiceAffiliated>
          </pricingService>
        </pricingServices>
        <isPricingServiceHiredOrTerminated>N</isPricingServiceHiredOrTerminated>
        <custodians>
          <custodian>
            <custodianName>U.S. Bank, N.A.</custodianName>
            <custodianLei>N/A</custodianLei>
            <custodianRssdId>3009031</custodianRssdId>
            <custodianStateCountry custodianState="US-MN" custodianCountry="US"/>
            <isCustodianAffiliated>N</isCustodianAffiliated>
            <isSubCustodian>N</isSubCustodian>
            <custodyType>Bank - section 17(f)(1) (15 U.S.C. 80a-17(f)(1))</custodyType>
          </custodian>
        </custodians>
        <isCustodianHiredOrTerminated>N</isCustodianHiredOrTerminated>
        <shareholderServicingAgents>
          <shareholderServicingAgent>
            <shareholderServiceAgentName>XA Investments LLC</shareholderServiceAgentName>
            <shareholderServiceAgentLei>N/A</shareholderServiceAgentLei>
            <shareholderServiceAgentRssdId>N/A</shareholderServiceAgentRssdId>
            <shareholderServiceAgentOther>801-110653</shareholderServiceAgentOther>
            <shareholderServiceIdNumberDesc>SEC File Number</shareholderServiceIdNumberDesc>
            <shareholderServiceAgentStateCountry shareholderServiceAgentState="US-IL" shareholderServiceAgentCountry="US"/>
            <isShareholderServiceAgentAffiliated>Y</isShareholderServiceAgentAffiliated>
            <isShareholderServiceAgentSubshare>N</isShareholderServiceAgentSubshare>
          </shareholderServicingAgent>
        </shareholderServicingAgents>
        <isShareholderServiceHiredTerminated>N</isShareholderServiceHiredTerminated>
        <admins>
          <admin>
            <adminName>Paralel Technologies LLC</adminName>
            <adminLei>N/A</adminLei>
            <adminRssdId>N/A</adminRssdId>
            <adminStateCountry adminState="US-CO" adminCountry="US"/>
            <isAdminAffiliated>N</isAdminAffiliated>
            <isAdminSubAdmin>N</isAdminSubAdmin>
          </admin>
        </admins>
        <isAdminHiredOrTerminated>N</isAdminHiredOrTerminated>
        <brokerDealers>
          <brokerDealer>
            <brokerDealerName>XMS Capital Partners, LLC</brokerDealerName>
            <brokerDealerFileNo>8-67502</brokerDealerFileNo>
            <brokerDealerCrdNo>000142871</brokerDealerCrdNo>
            <brokerDealerLei>N/A</brokerDealerLei>
            <brokerDealerRssdId>N/A</brokerDealerRssdId>
            <brokerDealerStateCountry brokerDealerState="US-IL" brokerDealerCountry="US"/>
            <brokerDealerCommission>0</brokerDealerCommission>
          </brokerDealer>
        </brokerDealers>
        <aggregateCommission>0</aggregateCommission>
        <principalTransactions>
          <principalTransaction>
            <principalName>WELLS FARGO SECURITIES, LLC</principalName>
            <principalFileNo>8-65876</principalFileNo>
            <principalCrdNo>000126292</principalCrdNo>
            <principalLei>PBLD0EJDB5FWOLXP3B76</principalLei>
            <principalRssdId>3204407</principalRssdId>
            <principalStateCountry principalState="US-NC" principalCountry="US"/>
            <principalTotalPurchaseSale>15947602</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>DEUTSCHE BANK SECURITIES INC.</principalName>
            <principalFileNo>8-17822</principalFileNo>
            <principalCrdNo>000002525</principalCrdNo>
            <principalLei>9J6MBOOO7BECTDTUZW19</principalLei>
            <principalRssdId>2259709</principalRssdId>
            <principalStateCountry principalState="US-NY" principalCountry="US"/>
            <principalTotalPurchaseSale>28413578</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>GOLDMAN SACHS &amp; CO. LLC</principalName>
            <principalFileNo>8-129</principalFileNo>
            <principalCrdNo>000000361</principalCrdNo>
            <principalLei>FOR8UP27PHTHYVLBNG30</principalLei>
            <principalRssdId>1440528</principalRssdId>
            <principalStateCountry principalState="US-UT" principalCountry="US"/>
            <principalTotalPurchaseSale>74745544</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>PERFORMANCE TRUST CAPITAL PARTNERS, LCC</principalName>
            <principalFileNo>8-47035</principalFileNo>
            <principalCrdNo>000036155</principalCrdNo>
            <principalLei>549300F8NR5Q23JRIY74</principalLei>
            <principalStateCountry principalState="US-IL" principalCountry="US"/>
            <principalTotalPurchaseSale>43148518</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>CITIGROUP GLOBAL MARKETS, INC</principalName>
            <principalFileNo>8-08177</principalFileNo>
            <principalCrdNo>000007059</principalCrdNo>
            <principalLei>MBNUM2BPBDO7JBLYG310</principalLei>
            <principalRssdId>2754521</principalRssdId>
            <principalStateCountry principalState="US-NY" principalCountry="US"/>
            <principalTotalPurchaseSale>35181891</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>BOFA SECURITIES, INC.</principalName>
            <principalFileNo>8-69787</principalFileNo>
            <principalCrdNo>000283942</principalCrdNo>
            <principalLei>549300HN4UKV1E2R3U73</principalLei>
            <principalRssdId>5112588</principalRssdId>
            <principalStateCountry principalState="US-NY" principalCountry="US"/>
            <principalTotalPurchaseSale>70244068</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>BARCLAYS CAPITAL INC.</principalName>
            <principalFileNo>8-41342</principalFileNo>
            <principalCrdNo>000019714</principalCrdNo>
            <principalLei>AC28XWWI3WIBK2824319</principalLei>
            <principalRssdId>1146316</principalRssdId>
            <principalStateCountry principalState="US-NY" principalCountry="US"/>
            <principalTotalPurchaseSale>25405450</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>JEFFERIES LLC</principalName>
            <principalFileNo>8-15074</principalFileNo>
            <principalCrdNo>000002347</principalCrdNo>
            <principalLei>58PU97L1C0WSRCWADL48</principalLei>
            <principalStateCountry principalState="US-NY" principalCountry="US"/>
            <principalTotalPurchaseSale>19878605</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>MORGAN STANLEY &amp; CO. LLC</principalName>
            <principalFileNo>8-68191</principalFileNo>
            <principalCrdNo>000149777</principalCrdNo>
            <principalLei>IGJSJL3JD5P30I6NJZ34</principalLei>
            <principalRssdId>1573239</principalRssdId>
            <principalStateCountry principalState="US-MD" principalCountry="US"/>
            <principalTotalPurchaseSale>59597502</principalTotalPurchaseSale>
          </principalTransaction>
          <principalTransaction>
            <principalName>JPMORGAN SECURITIES LLC</principalName>
            <principalFileNo>8-35008</principalFileNo>
            <principalCrdNo>000000079</principalCrdNo>
            <principalLei>ZBUT11V806EZRVTWT807</principalLei>
            <principalRssdId>1155420</principalRssdId>
            <principalStateCountry principalState="US-OH" principalCountry="US"/>
            <principalTotalPurchaseSale>98990006</principalTotalPurchaseSale>
          </principalTransaction>
        </principalTransactions>
        <principalAggregatePurchase>566814563</principalAggregatePurchase>
        <isBrokerageResearchPayment>N</isBrokerageResearchPayment>
        <mnthlyAvgNetAssets>468765543</mnthlyAvgNetAssets>
      </managementInvestmentQuestion>
    </managementInvestmentQuestionSeriesInfo>
    <closedEndManagementInvestment>
      <securityRelatedItems>
        <securityRelatedItem>
          <description>Preferred stock</description>
          <securityClassTitle>6.95% Series II 2029 Convertible Preferred Shares</securityClassTitle>
          <commonStocks>
            <commonStock commonStockExchange="N/A" commonStockTickerSymbol="N/A"/>
          </commonStocks>
        </securityRelatedItem>
        <securityRelatedItem>
          <description>Common stock</description>
          <securityClassTitle>Common</securityClassTitle>
          <commonStocks>
            <commonStock commonStockExchange="XNYS" commonStockTickerSymbol="XFLT"/>
          </commonStocks>
        </securityRelatedItem>
        <securityRelatedItem>
          <description>Preferred stock</description>
          <securityClassTitle>6.50% Series 2026 Term Preferred Shares</securityClassTitle>
          <commonStocks>
            <commonStock commonStockExchange="XNYS" commonStockTickerSymbol="XFLTPRA"/>
          </commonStocks>
        </securityRelatedItem>
      </securityRelatedItems>
      <isRightsOffering>N</isRightsOffering>
      <isSecondaryOffering>N</isSecondaryOffering>
      <isRepurchaseSecurity>N</isRepurchaseSecurity>
      <isDefaultLongTermDebt>N</isDefaultLongTermDebt>
      <isDividendsInArrears>N</isDividendsInArrears>
      <isSecuritiesModified>N</isSecuritiesModified>
      <managementFee>2.88</managementFee>
      <netOperatingExpenses>7.96</netOperatingExpenses>
      <marketPricePerShare>5.30</marketPricePerShare>
      <netAssetValuePerShare>5.85</netAssetValuePerShare>
    </closedEndManagementInvestment>
    <attachmentsTab>
      <isIPAReportInternalControl>true</isIPAReportInternalControl>
      <isInfoRequiredEO>true</isInfoRequiredEO>
    </attachmentsTab>
    <signature registrantSignedName="XAI Octagon Floating Rate &amp; Alternative Income Trust" signedDate="2025-12-12" signature="Derek Mullins" title="Chief Financial Officer and Treasurer"/>
  </formData>
</edgarSubmission>