<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:3d24918f-babe-48ad-ae38-33043153b8ca,g:492b23e8-80ce-473c-b62a-383f84fd75bf-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:glad="http://www.glad.com/20240630" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.glad.com/20240630">
  <xs:import namespace="http://fasb.org/srt/2024" schemaLocation="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2024" schemaLocation="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2006/xbrldi" schemaLocation="http://www.xbrl.org/2006/xbrldi-2006.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/cef-pre/2024" schemaLocation="https://xbrl.sec.gov/cef/2024/cef-2024_pre.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2024" schemaLocation="https://xbrl.sec.gov/dei/2024/dei-2024.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2024" schemaLocation="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="glad-20240630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="glad-20240630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="glad-20240630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="glad-20240630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://www.glad.com/role/Cover">
        <link:definition>0000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES">
        <link:definition>0000002 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical">
        <link:definition>0000003 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONS" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS">
        <link:definition>0000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS">
        <link:definition>0000005 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticals" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETSParentheticals">
        <link:definition>0000006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>0000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" roleURI="http://www.glad.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical">
        <link:definition>0000008 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSCHEDULEOFINVESTMENTS" roleURI="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS">
        <link:definition>0000009 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSCHEDULEOFINVESTMENTS_1" roleURI="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS_1">
        <link:definition>0000009 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals" roleURI="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals">
        <link:definition>0000010 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals_1" roleURI="http://www.glad.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParentheticals_1">
        <link:definition>0000010 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ORGANIZATION" roleURI="http://www.glad.com/role/ORGANIZATION">
        <link:definition>0000011 - Disclosure - ORGANIZATION</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" roleURI="http://www.glad.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
        <link:definition>0000012 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTS" roleURI="http://www.glad.com/role/INVESTMENTS">
        <link:definition>0000013 - Disclosure - INVESTMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RELATEDPARTYTRANSACTIONS" roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONS">
        <link:definition>0000014 - Disclosure - RELATED PARTY TRANSACTIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGS" roleURI="http://www.glad.com/role/BORROWINGS">
        <link:definition>0000015 - Disclosure - BORROWINGS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CUMULATIVEREDEEMABLEPREFERREDSTOCKOFFERING" roleURI="http://www.glad.com/role/CUMULATIVEREDEEMABLEPREFERREDSTOCKOFFERING">
        <link:definition>0000016 - Disclosure - CUMULATIVE REDEEMABLE PREFERRED STOCK OFFERING</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGS" roleURI="http://www.glad.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGS">
        <link:definition>0000017 - Disclosure - REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARE" roleURI="http://www.glad.com/role/NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARE">
        <link:definition>0000018 - Disclosure - NET INCREASE IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED AVERAGE COMMON SHARE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DISTRIBUTIONSTOCOMMONSTOCKHOLDERS" roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERS">
        <link:definition>0000019 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="COMMITMENTSANDCONTINGENCIES" roleURI="http://www.glad.com/role/COMMITMENTSANDCONTINGENCIES">
        <link:definition>0000020 - Disclosure - COMMITMENTS AND CONTINGENCIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALHIGHLIGHTS" roleURI="http://www.glad.com/role/FINANCIALHIGHLIGHTS">
        <link:definition>0000021 - Disclosure - FINANCIAL HIGHLIGHTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUBSEQUENTEVENTS" roleURI="http://www.glad.com/role/SUBSEQUENTEVENTS">
        <link:definition>0000022 - Disclosure - SUBSEQUENT EVENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies" roleURI="http://www.glad.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies">
        <link:definition>9954701 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSTables" roleURI="http://www.glad.com/role/INVESTMENTSTables">
        <link:definition>9954702 - Disclosure - INVESTMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RELATEDPARTYTRANSACTIONSTables" roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSTables">
        <link:definition>9954703 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSTables" roleURI="http://www.glad.com/role/BORROWINGSTables">
        <link:definition>9954704 - Disclosure - BORROWINGS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARETables" roleURI="http://www.glad.com/role/NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHARETables">
        <link:definition>9954705 - Disclosure - NET INCREASE IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED AVERAGE COMMON SHARE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DISTRIBUTIONSTOCOMMONSTOCKHOLDERSTables" roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSTables">
        <link:definition>9954706 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="COMMITMENTSANDCONTINGENCIESTables" roleURI="http://www.glad.com/role/COMMITMENTSANDCONTINGENCIESTables">
        <link:definition>9954707 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALHIGHLIGHTSTables" roleURI="http://www.glad.com/role/FINANCIALHIGHLIGHTSTables">
        <link:definition>9954708 - Disclosure - FINANCIAL HIGHLIGHTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUBSEQUENTEVENTSTables" roleURI="http://www.glad.com/role/SUBSEQUENTEVENTSTables">
        <link:definition>9954709 - Disclosure - SUBSEQUENT EVENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ORGANIZATIONDetails" roleURI="http://www.glad.com/role/ORGANIZATIONDetails">
        <link:definition>9954710 - Disclosure - ORGANIZATION (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" roleURI="http://www.glad.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
        <link:definition>9954711 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails" roleURI="http://www.glad.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisDetails">
        <link:definition>9954712 - Disclosure - INVESTMENTS - Fair Value, Assets Measured on Recurring Basis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails" roleURI="http://www.glad.com/role/INVESTMENTSFairValueMeasurementInputsandValuationTechniquesDetails">
        <link:definition>9954713 - Disclosure - INVESTMENTS - Fair Value Measurement Inputs and Valuation Techniques (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails" roleURI="http://www.glad.com/role/INVESTMENTSFairValueAssetsMeasuredonRecurringBasisUnobservableInputReconciliationDetails">
        <link:definition>9954714 - Disclosure - INVESTMENTS - Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSNarrativeDetails" roleURI="http://www.glad.com/role/INVESTMENTSNarrativeDetails">
        <link:definition>9954715 - Disclosure - INVESTMENTS - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSSummaryInvestmentHoldingsDetails" roleURI="http://www.glad.com/role/INVESTMENTSSummaryInvestmentHoldingsDetails">
        <link:definition>9954716 - Disclosure - INVESTMENTS - Summary Investment Holdings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails" roleURI="http://www.glad.com/role/INVESTMENTSInvestmentsClassifiedbyContractualMaturityDateDetails">
        <link:definition>9954717 - Disclosure - INVESTMENTS - Investments Classified by Contractual Maturity Date (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RELATEDPARTYTRANSACTIONSNarrativeDetails" roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails">
        <link:definition>9954718 - Disclosure - RELATED PARTY TRANSACTIONS - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails" roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails">
        <link:definition>9954719 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails" roleURI="http://www.glad.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyFeesDueDetails">
        <link:definition>9954720 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Fees Due (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSRevolvingLineofCreditNarrativeDetails" roleURI="http://www.glad.com/role/BORROWINGSRevolvingLineofCreditNarrativeDetails">
        <link:definition>9954721 - Disclosure - BORROWINGS - Revolving Line of Credit Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSScheduleofLineofCreditFacilitiesDetails" roleURI="http://www.glad.com/role/BORROWINGSScheduleofLineofCreditFacilitiesDetails">
        <link:definition>9954722 - Disclosure - BORROWINGS - Schedule of Line of Credit Facilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSFairValueNarrativeDetails" roleURI="http://www.glad.com/role/BORROWINGSFairValueNarrativeDetails">
        <link:definition>9954723 - Disclosure - BORROWINGS - Fair Value Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails" roleURI="http://www.glad.com/role/BORROWINGSFairValueLiabilitiesMeasuredonRecurringBasisUnobservableInputReconciliationDetails">
        <link:definition>9954724 - Disclosure - BORROWINGS - Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BORROWINGSNotesPayableNarrativeDetails" roleURI="http://www.glad.com/role/BORROWINGSNotesPayableNarrativeDetails">
        <link:definition>9954725 - Disclosure - BORROWINGS - Notes Payable Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CUMULATIVEREDEEMABLEPREFERREDSTOCKOFFERINGDetails" roleURI="http://www.glad.com/role/CUMULATIVEREDEEMABLEPREFERREDSTOCKOFFERINGDetails">
        <link:definition>9954726 - Disclosure - CUMULATIVE REDEEMABLE PREFERRED STOCK OFFERING (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails" roleURI="http://www.glad.com/role/REGISTRATIONSTATEMENTANDCOMMONEQUITYOFFERINGSDetails">
        <link:definition>9954727 - Disclosure - REGISTRATION STATEMENT AND COMMON EQUITY OFFERINGS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails" roleURI="http://www.glad.com/role/NETINCREASEINNETASSETSRESULTINGFROMOPERATIONSPERWEIGHTEDAVERAGECOMMONSHAREDetails">
        <link:definition>9954728 - Disclosure - NET INCREASE IN NET ASSETS RESULTING FROM OPERATIONS PER WEIGHTED AVERAGE COMMON SHARE (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails" roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSNarrativeDetails">
        <link:definition>9954729 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DISTRIBUTIONSTOCOMMONSTOCKHOLDERSDividendsDeclaredDetails" roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSDividendsDeclaredDetails">
        <link:definition>9954730 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS - Dividends Declared (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DISTRIBUTIONSTOCOMMONSTOCKHOLDERSAdjustmentsforBooktaxDifferencestoReflectTaxCharacterDetails" roleURI="http://www.glad.com/role/DISTRIBUTIONSTOCOMMONSTOCKHOLDERSAdjustmentsforBooktaxDifferencestoReflectTaxCharacterDetails">
        <link:definition>9954731 - Disclosure - DISTRIBUTIONS TO COMMON STOCKHOLDERS - Adjustments for Book-tax Differences to Reflect Tax Character (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="COMMITMENTSANDCONTINGENCIESNarrativeDetails" roleURI="http://www.glad.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails">
        <link:definition>9954732 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails" roleURI="http://www.glad.com/role/COMMITMENTSANDCONTINGENCIESScheduleofPrincipalBalancesofUnusedLineofCreditandDelayedDrawTermDebtCommitmentsandGuarantiesDetails">
        <link:definition>9954733 - Disclosure - COMMITMENTS AND CONTINGENCIES - Schedule of Principal Balances of Unused Line of Credit and Delayed Draw Term Debt Commitments and Guaranties (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALHIGHLIGHTSDetails" roleURI="http://www.glad.com/role/FINANCIALHIGHLIGHTSDetails">
        <link:definition>9954734 - Disclosure - FINANCIAL HIGHLIGHTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUBSEQUENTEVENTSNarrativeDetails" roleURI="http://www.glad.com/role/SUBSEQUENTEVENTSNarrativeDetails">
        <link:definition>9954735 - Disclosure - SUBSEQUENT EVENTS - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails" roleURI="http://www.glad.com/role/SUBSEQUENTEVENTSScheduleofSubsequentEventsDetails">
        <link:definition>9954736 - Disclosure - SUBSEQUENT EVENTS - Schedule of Subsequent Events (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="glad_PercentageThresholdOfQualifiedAssetsRepresentingTotalAssetsInOrderToAcquireNonQualifiedAssets" abstract="false" name="PercentageThresholdOfQualifiedAssetsRepresentingTotalAssetsInOrderToAcquireNonQualifiedAssets" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_DebtSecuritiesSecuredSecondLienDebtMember" abstract="true" name="DebtSecuritiesSecuredSecondLienDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_A375NotesDue2027Member" abstract="true" name="A375NotesDue2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_PrintingAndPublishingMember" abstract="true" name="PrintingAndPublishingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentOwnedPercentOfCostBasis" abstract="false" name="InvestmentOwnedPercentOfCostBasis" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_SaleOfStockAggregateValueOfSecuritiesAuthorized" abstract="false" name="SaleOfStockAggregateValueOfSecuritiesAuthorized" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_TelecommunicationsMember" abstract="true" name="TelecommunicationsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_AdjustmentsToReconcileNetAssetsFromOperationsToCashProvidedByUsedInOperatingActivitiesAbstract" abstract="true" name="AdjustmentsToReconcileNetAssetsFromOperationsToCashProvidedByUsedInOperatingActivitiesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_InvestmentCompanyPreIncentiveFeeNetInvestmentIncomePercentThresholdOfNetAssets" abstract="false" name="InvestmentCompanyPreIncentiveFeeNetInvestmentIncomePercentThresholdOfNetAssets" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_LeedsAcquisitionHoldingsLLCMember" abstract="true" name="LeedsAcquisitionHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DebtAndEquitySecuritiesUnrealizedGainLossMember" abstract="true" name="DebtAndEquitySecuritiesUnrealizedGainLossMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_ScheduleForFinancialSupportForNonconsolidatedEntityTableTextBlock" abstract="false" name="ScheduleForFinancialSupportForNonconsolidatedEntityTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="glad_RealizedGainLossOtherOperatingBeforeTax" abstract="false" name="RealizedGainLossOtherOperatingBeforeTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_IncreaseDecreaseInDueFromAdministrativeAgent" abstract="false" name="IncreaseDecreaseInDueFromAdministrativeAgent" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsYearOne" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsYearOne" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyPerShareDataAbstract" abstract="true" name="InvestmentCompanyPerShareDataAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_InvestmentCompanyAllowanceForUncollectibleReceivables" abstract="false" name="InvestmentCompanyAllowanceForUncollectibleReceivables" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_RevolvingLineOfCreditAmendmentNo.6Member" abstract="true" name="RevolvingLineOfCreditAmendmentNo.6Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare" abstract="false" name="InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="glad_AutomobileMember" abstract="true" name="AutomobileMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_NumberOfStatesWherePortfolioCompanyInvestmentsAreLocated" abstract="false" name="NumberOfStatesWherePortfolioCompanyInvestmentsAreLocated" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_InvestmentCompanyPercentOfPreIncentiveFeeNetInvestmentIncomeThatExceedsNetAssetsThreshold" abstract="false" name="InvestmentCompanyPercentOfPreIncentiveFeeNetInvestmentIncomeThatExceedsNetAssetsThreshold" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_DealerManagerAgreementMember" abstract="true" name="DealerManagerAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockMinusPercentOfAnyEquityOrSubordinatedDebtRedeemedOrRetired" abstract="false" name="DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockMinusPercentOfAnyEquityOrSubordinatedDebtRedeemedOrRetired" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_ALSEducationLLCMember" abstract="true" name="ALSEducationLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_SaleOfStockRemainingAuthorizedIssuanceAmount" abstract="false" name="SaleOfStockRemainingAuthorizedIssuanceAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_FiveLargestPortfolioInvestmentsMember" abstract="true" name="FiveLargestPortfolioInvestmentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock" abstract="false" name="InvestmentCompanyCashDistributionsPaidToCommonStockholdersTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaisedMinusAnyEquityOrSubordinatedDebtRedeemedOrRetired" abstract="false" name="DebtInstrumentCovenantNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaisedMinusAnyEquityOrSubordinatedDebtRedeemedOrRetired" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_CapitalGainsBasedIncentiveFee" abstract="false" name="CapitalGainsBasedIncentiveFee" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyNumberOfMonthlyDistributions" abstract="false" name="InvestmentCompanyNumberOfMonthlyDistributions" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_BRileyFinancialIncTermDebtMember" abstract="true" name="BRileyFinancialIncTermDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_UnrealizedGainLossAppreciationAndDepreciationOfOther" abstract="false" name="UnrealizedGainLossAppreciationAndDepreciationOfOther" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_GeographicRegionsConcentrationRiskMember" abstract="true" name="GeographicRegionsConcentrationRiskMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_OriginallyIssuedAtDiscountsMember" abstract="true" name="OriginallyIssuedAtDiscountsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityUnrealizedAppreciationDepreciation" abstract="false" name="FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityUnrealizedAppreciationDepreciation" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_FunkoAcquisitionHoldingsLLCMember" abstract="true" name="FunkoAcquisitionHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_PersonalAndNonDurableConsumerProductsManufacturingOnlyMember" abstract="true" name="PersonalAndNonDurableConsumerProductsManufacturingOnlyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_A5125NotesDue2026Member" abstract="true" name="A5125NotesDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_LeadpointBusinessServicesLLCMember" abstract="true" name="LeadpointBusinessServicesLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_BuildingsAndRealEstateMember" abstract="true" name="BuildingsAndRealEstateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentPortfolioBenchmarkMember" abstract="true" name="InvestmentPortfolioBenchmarkMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_StatementOfAssetsAndLiabilitiesDataAbstract" abstract="true" name="StatementOfAssetsAndLiabilitiesDataAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_InvestmentCompanyCreditsToFeesFromAdviserOther" abstract="false" name="InvestmentCompanyCreditsToFeesFromAdviserOther" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_MeasurementInputRevenueMember" abstract="true" name="MeasurementInputRevenueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_SeniorSecuritiesAssetCoverageRatio" abstract="false" name="SeniorSecuritiesAssetCoverageRatio" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:pureItemType"/>
  <xs:element id="glad_RPMFreightSystemsLLCMember" abstract="true" name="RPMFreightSystemsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_SpaceCoHoldingsLLCMember" abstract="true" name="SpaceCoHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyNetAssetValuePerShareOtherIncreaseDecreaseNet" abstract="false" name="InvestmentCompanyNetAssetValuePerShareOtherIncreaseDecreaseNet" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="glad_SaleOfStockGrossProceedsFromTransaction" abstract="false" name="SaleOfStockGrossProceedsFromTransaction" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_CommonEquityEquivalentsMember" abstract="true" name="CommonEquityEquivalentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_A5.125NotesDue2026Member" abstract="true" name="A5.125NotesDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_WeightedAverageInvestmentOwnedAtCostAmount" abstract="false" name="WeightedAverageInvestmentOwnedAtCostAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_RevolvingLineOfCreditMember" abstract="true" name="RevolvingLineOfCreditMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyAccumulatedNetRealizedGainLossInExcessOfDistributionsAdjustments" abstract="false" name="InvestmentCompanyAccumulatedNetRealizedGainLossInExcessOfDistributionsAdjustments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_HomeHealthcareLLCGivingHomeMember" abstract="true" name="HomeHealthcareLLCGivingHomeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_TemporaryEquityDividendRatePercentage" abstract="false" name="TemporaryEquityDividendRatePercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="glad_NumberOfIndustriesInvestedIn" abstract="false" name="NumberOfIndustriesInvestedIn" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_TotalEnterpriseValueMember" abstract="true" name="TotalEnterpriseValueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyPercentageOfPreIncentiveFeeNetInvestmentIncomeExceedsTheHurdleRate" abstract="false" name="InvestmentCompanyPercentageOfPreIncentiveFeeNetInvestmentIncomeExceedsTheHurdleRate" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_PersonalAndNonDurableConsumerProductsMember" abstract="true" name="PersonalAndNonDurableConsumerProductsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsYearTwo" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsYearTwo" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_TheAdministratorMember" abstract="true" name="TheAdministratorMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DealerManagerFeePercentage" abstract="false" name="DealerManagerFeePercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="glad_TrowbridgeChicagoLLCMember" abstract="true" name="TrowbridgeChicagoLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCapitalGainsBasedIncentiveFeesPercentage" abstract="false" name="InvestmentCompanyCapitalGainsBasedIncentiveFeesPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_NetLoanServicingFee" abstract="false" name="NetLoanServicingFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_YieldAnalysisMember" abstract="true" name="YieldAnalysisMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DebtAndEquitySecuritiesRealizedGainLossMember" abstract="true" name="DebtAndEquitySecuritiesRealizedGainLossMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DebtInstrumentLeverageMaturityTerm" abstract="false" name="DebtInstrumentLeverageMaturityTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="glad_TotalAccessElevatorLLCMember" abstract="true" name="TotalAccessElevatorLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentOwnedAtFairValueMember" abstract="true" name="InvestmentOwnedAtFairValueMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyIncentiveFeeCredit" abstract="false" name="InvestmentCompanyIncentiveFeeCredit" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyDelayedDrawTermLoanCommitment" abstract="false" name="InvestmentCompanyDelayedDrawTermLoanCommitment" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PreferredEquityMember" abstract="true" name="PreferredEquityMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetReversalOfPreviouslyRecordedAppreciationDepreciationUponRealization" abstract="false" name="FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetReversalOfPreviouslyRecordedAppreciationDepreciationUponRealization" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_SaleOfStockRemainingCapacityOfOfferingPriceAuthorized" abstract="false" name="SaleOfStockRemainingCapacityOfOfferingPriceAuthorized" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_SecuredOvernightFinancingRateSOFRTrancheOneMember" abstract="true" name="SecuredOvernightFinancingRateSOFRTrancheOneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_SaltStrawLLCMember" abstract="true" name="SaltStrawLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCapitalActivityIncreaseDecrease" abstract="false" name="InvestmentCompanyCapitalActivityIncreaseDecrease" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyIncentiveFeeWhenPreIncentiveFeeNetInvestmentIncomeDoesNotExceedHurdleRate" abstract="false" name="InvestmentCompanyIncentiveFeeWhenPreIncentiveFeeNetInvestmentIncomeDoesNotExceedHurdleRate" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_A7.75NotesDue202802Member" abstract="true" name="A7.75NotesDue202802Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsRemainderOfFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_OtherSectorsMember" abstract="true" name="OtherSectorsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity" abstract="false" name="ProceedsFromSaleAndRecapitalizationOfInvestmentsNetOperatingActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsAdjustmentsToCostBasisOfDebtInvestments" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsAdjustmentsToCostBasisOfDebtInvestments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_BTGroupAcquisitionInc.EdgeAdhesivesHoldingsInc.AndWBXcelHoldingsLLCMember" abstract="true" name="BTGroupAcquisitionInc.EdgeAdhesivesHoldingsInc.AndWBXcelHoldingsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCapitalGainsBasedIncentiveFeesPaidToTheAdviser" abstract="false" name="InvestmentCompanyCapitalGainsBasedIncentiveFeesPaidToTheAdviser" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity" abstract="false" name="ProceedsFromPrincipalRepaymentsOfInvestmentsOperatingActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_GladstoneSecuritiesMember" abstract="true" name="GladstoneSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_A775NotesDue2028375NotesDue2027And5125NotesDue2026Member" abstract="true" name="A775NotesDue2028375NotesDue2027And5125NotesDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_SyndicatedInvestmentsMember" abstract="true" name="SyndicatedInvestmentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_ManagementAndServiceFeesLoans" abstract="false" name="ManagementAndServiceFeesLoans" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_DiversifiedConglomerateServicesMember" abstract="true" name="DiversifiedConglomerateServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCapitalShareTransactionsPerShare" abstract="false" name="InvestmentCompanyCapitalShareTransactionsPerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="glad_MeasurementInputEBITDAMember" abstract="true" name="MeasurementInputEBITDAMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_GrayMatterSystemsLLCMember" abstract="true" name="GrayMatterSystemsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_SaleOfStockAggregateOfferingPriceAuthorized" abstract="false" name="SaleOfStockAggregateOfferingPriceAuthorized" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_DiversifiedConglomerateManufacturingMember" abstract="true" name="DiversifiedConglomerateManufacturingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_NetRealizedGainsLossesAbstract" abstract="true" name="NetRealizedGainsLossesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsYearFour" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyOtherOperatingExpensesDueToAdvisor" abstract="false" name="InvestmentCompanyOtherOperatingExpensesDueToAdvisor" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentOwnedPercentOfFairValue" abstract="false" name="InvestmentOwnedPercentOfFairValue" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_NetBaseManagementFee" abstract="false" name="NetBaseManagementFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_DueFromAdministrativeAgent" abstract="false" name="DueFromAdministrativeAgent" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_SellingCommissionsPercentage" abstract="false" name="SellingCommissionsPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="glad_BeverageFoodAndTobaccoMember" abstract="true" name="BeverageFoodAndTobaccoMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_TurnKeyHealthClinicsLLCMember" abstract="true" name="TurnKeyHealthClinicsLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_SecuredOvernightFinancingRateSOFR_90DayMember" abstract="true" name="SecuredOvernightFinancingRateSOFR_90DayMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_MachineryMember" abstract="true" name="MachineryMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_CargoTransportationMember" abstract="true" name="CargoTransportationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestments" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestments" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_DebtInvestmentsWithMaturityDatesPriorToPeriodEndAmount" abstract="false" name="DebtInvestmentsWithMaturityDatesPriorToPeriodEndAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_AdditionalPaidInCapitalAdjustments" abstract="false" name="AdditionalPaidInCapitalAdjustments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyGainLossOnOtherPerShare" abstract="false" name="InvestmentCompanyGainLossOnOtherPerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="glad_TheAdviserMember" abstract="true" name="TheAdviserMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_AerospaceAndDefenseMember" abstract="true" name="AerospaceAndDefenseMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_IndustryConcentrationRiskMember" abstract="true" name="IndustryConcentrationRiskMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyPortfolioCompanyFeeCredit" abstract="false" name="InvestmentCompanyPortfolioCompanyFeeCredit" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_QualityEnvironmentalMidcoIncMember" abstract="true" name="QualityEnvironmentalMidcoIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_IncreaseInInvestmentsDueToPIKInterestOrOther" abstract="false" name="IncreaseInInvestmentsDueToPIKInterestOrOther" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_SeniorSecuritiesDataAbstract" abstract="true" name="SeniorSecuritiesDataAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistribution" abstract="false" name="InvestmentCompanyAccumulatedNetRealizedGainInExcessOfDistribution" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFour" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PaymentsForSellingCommissionsAndDealerManagerFees" abstract="false" name="PaymentsForSellingCommissionsAndDealerManagerFees" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PrincipalRepaymentAndMaturityOfInvestmentsYearThree" abstract="false" name="PrincipalRepaymentAndMaturityOfInvestmentsYearThree" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_A3.75NotesDue2027Member" abstract="true" name="A3.75NotesDue2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_SaleOfStockRemainingCapacityOfAggregateValueOfSecuritiesAuthorized" abstract="false" name="SaleOfStockRemainingCapacityOfAggregateValueOfSecuritiesAuthorized" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_PercentageOfAcquiredNonQualifyingAssetsOfTotalAssets" abstract="false" name="PercentageOfAcquiredNonQualifyingAssetsOfTotalAssets" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_InvestmentUnaffiliatedAndAffiliatedIssuerExcludingOtherMember" abstract="true" name="InvestmentUnaffiliatedAndAffiliatedIssuerExcludingOtherMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_NetChangeInPremiumsDiscountsAndAmortization" abstract="false" name="NetChangeInPremiumsDiscountsAndAmortization" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_LineOfCreditFacilityAccordionFeatureMaximumBorrowingCapacity" abstract="false" name="LineOfCreditFacilityAccordionFeatureMaximumBorrowingCapacity" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_A775NotesDue2028Member" abstract="true" name="A775NotesDue2028Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_CommonStockAtTheMarketOfferingsMember" abstract="true" name="CommonStockAtTheMarketOfferingsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_PIC360LLCMember" abstract="true" name="PIC360LLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_HealthcareEducationAndChildcareMember" abstract="true" name="HealthcareEducationAndChildcareMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLossAdjustments" abstract="false" name="InvestmentCompanyDistributableEarningsLossAccumulatedOrdinaryIncomeLossAdjustments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_NetTotalIncentiveFee" abstract="false" name="NetTotalIncentiveFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_NumberOfInvestmentPortfolioCompany" abstract="false" name="NumberOfInvestmentPortfolioCompany" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_InvestmentCompanyCreditsToBaseManagementFeeLoanServicingFee" abstract="false" name="InvestmentCompanyCreditsToBaseManagementFeeLoanServicingFee" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantBorrowingBaseMinimumNumberOfObligors" abstract="false" name="DebtInstrumentCovenantBorrowingBaseMinimumNumberOfObligors" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_DebtSecuritiesSecuredFirstLienDebtMember" abstract="true" name="DebtSecuritiesSecuredFirstLienDebtMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent" abstract="false" name="InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromOrdinaryIncomePercent" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_PansophicLearningLtd.Member" abstract="true" name="PansophicLearningLtd.Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_NumberOfInvestment" abstract="false" name="NumberOfInvestment" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_InvestmentCompanyGrossReceivablesFromPortfolioCompanies" abstract="false" name="InvestmentCompanyGrossReceivablesFromPortfolioCompanies" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_ManagementAndServiceFeeNetOfCredit" abstract="false" name="ManagementAndServiceFeeNetOfCredit" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_TargusCaymanHoldCoLtdMember" abstract="true" name="TargusCaymanHoldCoLtdMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyNumberOfObligor" abstract="false" name="InvestmentCompanyNumberOfObligor" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_PerimeterSolutionsGroupMember" abstract="true" name="PerimeterSolutionsGroupMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_PreferredAndCommonEquityEquivalentsMember" abstract="true" name="PreferredAndCommonEquityEquivalentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare" abstract="false" name="InvestmentCompanyDistributionToShareholdersFromRealizedGainsPerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="glad_GladstoneInvestmentCorporationMember" abstract="true" name="GladstoneInvestmentCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_WorkforceQALLCMember" abstract="true" name="WorkforceQALLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyBaseManagementFeeDueToAdviser" abstract="false" name="InvestmentCompanyBaseManagementFeeDueToAdviser" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromCapitalGainsPercent" abstract="false" name="InvestmentCompanyCashDistributionsPaidToCommonStockholdersFromCapitalGainsPercent" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_SecuredOvernightFinancingRateSOFRThereafterMember" abstract="true" name="SecuredOvernightFinancingRateSOFRThereafterMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_CafeZupasMember" abstract="true" name="CafeZupasMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentOwnedAtCostMember" abstract="true" name="InvestmentOwnedAtCostMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStock" abstract="false" name="DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStock" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_RelatedPartyFeesPolicyTextBlock" abstract="false" name="RelatedPartyFeesPolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="glad_OilAndGasIndustryMember" abstract="true" name="OilAndGasIndustryMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyEarningsBeforeInterestTaxesDepreciationAndAmortization" abstract="false" name="InvestmentCompanyEarningsBeforeInterestTaxesDepreciationAndAmortization" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_NumberOfLoanReceivable" abstract="false" name="NumberOfLoanReceivable" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaised" abstract="false" name="DebtInstrumentCovenantRequiredMinimumNetWorthOfMandatoryRedeemableTermPreferredStockPlusPercentOfAllEquityAndSubordinatedDebtRaised" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_RevolvingLineOfCreditAmendmentNo5Member" abstract="true" name="RevolvingLineOfCreditAmendmentNo5Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_MarketQuoteMember" abstract="true" name="MarketQuoteMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_GladstoneSecuritiesLLCMember" abstract="true" name="GladstoneSecuritiesLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_IncentiveFeeDueToAdviserMember" abstract="true" name="IncentiveFeeDueToAdviserMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_NumberOfProprietaryInvestments" abstract="false" name="NumberOfProprietaryInvestments" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="glad_EdgeAdhesivesHoldingsIncMember" abstract="true" name="EdgeAdhesivesHoldingsIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_LoanServicingFeeDueToAdviserMember" abstract="true" name="LoanServicingFeeDueToAdviserMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageAmount" abstract="false" name="InvestmentCompanySeniorSecurityIndebtednessAssetCoverageAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_CPMHoldingsIncMember" abstract="true" name="CPMHoldingsIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_IBPMember" abstract="true" name="IBPMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_InvestmentCompanyFinancialSupportToInvesteeContractuallyRequiredAmountFunded" abstract="false" name="InvestmentCompanyFinancialSupportToInvesteeContractuallyRequiredAmountFunded" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_OneMonthTermSecuredOvernightFinancingRateSOFRMember" abstract="true" name="OneMonthTermSecuredOvernightFinancingRateSOFRMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_RevolvingLineOfCreditAmendmentNo.7Member" abstract="true" name="RevolvingLineOfCreditAmendmentNo.7Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentCompanySyndicatedLoanFeeCredit" abstract="false" name="InvestmentCompanySyndicatedLoanFeeCredit" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_DebtInstrumentCovenantSeniorSecurityIndebtednessRequiredMinimumAssetCoverageRatio" abstract="false" name="DebtInstrumentCovenantSeniorSecurityIndebtednessRequiredMinimumAssetCoverageRatio" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="glad_ManagementAndServiceFeesPercentOfFeeCreditsAgainstBaseManagementFee" abstract="false" name="ManagementAndServiceFeesPercentOfFeeCreditsAgainstBaseManagementFee" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="glad_NonCashActivitiesRelateToEstimatedTaxLiabilities" abstract="false" name="NonCashActivitiesRelateToEstimatedTaxLiabilities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_RegistrationStatementAndCommonEquityOfferingsTextBlock" abstract="false" name="RegistrationStatementAndCommonEquityOfferingsTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="glad_InvestmentCompanyPrepaymentFee" abstract="false" name="InvestmentCompanyPrepaymentFee" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock" abstract="false" name="InvestmentCompanyComponentsOfDistributableEarningsAccumulatedLossesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="glad_InvestmentTypeConcentrationRiskMember" abstract="true" name="InvestmentTypeConcentrationRiskMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="glad_TailwindSmithCooperImmediateCorporationMember" abstract="true" name="TailwindSmithCooperImmediateCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_ProceedsFromDispositionOfInvestmentPrepaymentFees" abstract="false" name="ProceedsFromDispositionOfInvestmentPrepaymentFees" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="glad_EffectOfEquityCapitalActivityAbstract" abstract="true" name="EffectOfEquityCapitalActivityAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="glad_BaseManagementFeeDueToAdviserMember" abstract="true" name="BaseManagementFeeDueToAdviserMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="glad_InvestmentOwnedPercentage" abstract="false" name="InvestmentOwnedPercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
</xs:schema>
