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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:fb7aa5ed-a22f-4f40-b066-8c4b567dce05,g:b4b58ced-44e1-4b81-9c89-bff6798af728-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.htgc.com/role/CoverPage" xlink:type="simple" xlink:href="htgc-20231231.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CoverPage" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_9dc47b14-3f4a-41eb-8c84-5a02d40650e3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentInformationTable_9dc47b14-3f4a-41eb-8c84-5a02d40650e3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6fafa0b1-0222-44ff-a331-69d579c9a59e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_9dc47b14-3f4a-41eb-8c84-5a02d40650e3" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6fafa0b1-0222-44ff-a331-69d579c9a59e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_6fafa0b1-0222-44ff-a331-69d579c9a59e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6fafa0b1-0222-44ff-a331-69d579c9a59e" xlink:to="loc_us-gaap_ClassOfStockDomain_6fafa0b1-0222-44ff-a331-69d579c9a59e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b0ca9c27-783a-492c-a61d-2ca348fb82fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6fafa0b1-0222-44ff-a331-69d579c9a59e" xlink:to="loc_us-gaap_ClassOfStockDomain_b0ca9c27-783a-492c-a61d-2ca348fb82fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember_18149d40-11b1-49a5-8592-d5fc70dc35e5" xlink:href="htgc-20231231.xsd#htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b0ca9c27-783a-492c-a61d-2ca348fb82fa" xlink:to="loc_htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember_18149d40-11b1-49a5-8592-d5fc70dc35e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember_48f67aeb-fa9a-4a8f-ab29-a9262d308896" xlink:href="htgc-20231231.xsd#htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b0ca9c27-783a-492c-a61d-2ca348fb82fa" xlink:to="loc_htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember_48f67aeb-fa9a-4a8f-ab29-a9262d308896" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_ffe97a9e-292b-4c7c-bd05-206ba7f15ab9" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentType_ffe97a9e-292b-4c7c-bd05-206ba7f15ab9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_f5643f4b-53cb-4c54-85ec-7ef90f1e0795" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentAnnualReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentAnnualReport_f5643f4b-53cb-4c54-85ec-7ef90f1e0795" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_30f33da1-cc81-4633-911f-5ba451da01e0" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentPeriodEndDate_30f33da1-cc81-4633-911f-5ba451da01e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_d638b8a1-ece5-41b3-b017-2fa6a0c5f7a8" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_CurrentFiscalYearEndDate_d638b8a1-ece5-41b3-b017-2fa6a0c5f7a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_a0eb8779-0149-4dae-aedb-b05106ec8ec3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentTransitionReport_a0eb8779-0149-4dae-aedb-b05106ec8ec3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_c4214edb-8417-45cf-a17a-cac9be2eae36" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityFileNumber_c4214edb-8417-45cf-a17a-cac9be2eae36" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_10e0d15d-a20d-406c-ab8c-9dbce040df3b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityRegistrantName_10e0d15d-a20d-406c-ab8c-9dbce040df3b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_1508d3da-e357-4d3a-b5c9-0f3ea5feaff6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityIncorporationStateCountryCode_1508d3da-e357-4d3a-b5c9-0f3ea5feaff6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_344ce6d1-462f-4aaa-927e-11b64d6649b6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityTaxIdentificationNumber_344ce6d1-462f-4aaa-927e-11b64d6649b6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_7678190b-6e0e-4700-a9df-bbc45ca7b73a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityAddressAddressLine1_7678190b-6e0e-4700-a9df-bbc45ca7b73a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_7bbba876-3b7c-4074-938a-02ad01396b12" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressAddressLine2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityAddressAddressLine2_7bbba876-3b7c-4074-938a-02ad01396b12" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_8d83d00a-5580-4b69-9ae4-1026094ad9ef" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityAddressCityOrTown_8d83d00a-5580-4b69-9ae4-1026094ad9ef" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_268fabd2-7c9f-4387-956e-ddd866bdc255" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityAddressStateOrProvince_268fabd2-7c9f-4387-956e-ddd866bdc255" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_3825d9dd-6cc0-41ba-9b02-dab8cdefa7b9" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityAddressPostalZipCode_3825d9dd-6cc0-41ba-9b02-dab8cdefa7b9" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_aa22f54d-8f73-4078-84a2-3bf6b0afc2c6" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_CityAreaCode_aa22f54d-8f73-4078-84a2-3bf6b0afc2c6" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_30712d68-9f74-4f33-876f-456df0500950" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_LocalPhoneNumber_30712d68-9f74-4f33-876f-456df0500950" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_935db93b-b9bf-4297-83b2-876ec1395e1e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_Security12bTitle_935db93b-b9bf-4297-83b2-876ec1395e1e" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_2551bd62-7615-48c4-abd8-37b6fabc68b3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_TradingSymbol_2551bd62-7615-48c4-abd8-37b6fabc68b3" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_d091c6d9-12a8-4cc3-a0e5-764176143a09" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_SecurityExchangeName_d091c6d9-12a8-4cc3-a0e5-764176143a09" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_aa95de30-5566-4a71-8c79-6c368cbdc0f1" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_aa95de30-5566-4a71-8c79-6c368cbdc0f1" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers_3c2818ce-1886-40f4-9d1a-cfa3b0b6288a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityVoluntaryFilers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityVoluntaryFilers_3c2818ce-1886-40f4-9d1a-cfa3b0b6288a" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_940fac91-2370-4201-9a81-dffa4f6426e7" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityCurrentReportingStatus_940fac91-2370-4201-9a81-dffa4f6426e7" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorFirmId_168ab7b5-5857-43e0-8f23-57eee9498b60" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorFirmId"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_AuditorFirmId_168ab7b5-5857-43e0-8f23-57eee9498b60" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorName_007a9abe-b7b0-479f-a392-4d320f18a93f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_AuditorName_007a9abe-b7b0-479f-a392-4d320f18a93f" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorLocation_ba1a0b53-f1e0-4ec7-9ce3-2b0e1d327c04" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AuditorLocation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_AuditorLocation_ba1a0b53-f1e0-4ec7-9ce3-2b0e1d327c04" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_219f8908-3412-407c-8e58-cc6da51a5844" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityInteractiveDataCurrent_219f8908-3412-407c-8e58-cc6da51a5844" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_4988b61b-3c99-4d34-85d9-c2e4848c595c" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityFilerCategory_4988b61b-3c99-4d34-85d9-c2e4848c595c" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_f3d324ba-3f13-4f9b-8ec9-9fdc36ef19e8" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntitySmallBusiness_f3d324ba-3f13-4f9b-8ec9-9fdc36ef19e8" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_2b4a347b-3939-444e-9d65-d5550de38d8e" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityEmergingGrowthCompany_2b4a347b-3939-444e-9d65-d5550de38d8e" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_813d7902-9079-4795-a641-fb119f6229c4" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_IcfrAuditorAttestationFlag_813d7902-9079-4795-a641-fb119f6229c4" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag_d78fdc6c-0527-4dfe-ba0f-a9d90b49de1b" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFinStmtErrorCorrectionFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentFinStmtErrorCorrectionFlag_d78fdc6c-0527-4dfe-ba0f-a9d90b49de1b" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_204dafa7-158d-4334-bfe8-2875d4ebfc43" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityShellCompany_204dafa7-158d-4334-bfe8-2875d4ebfc43" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat_fe3ef9ed-03f1-4e9f-9aa3-1245926bd3a8" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityPublicFloat"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityPublicFloat_fe3ef9ed-03f1-4e9f-9aa3-1245926bd3a8" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_d24d8775-8cdc-4bad-93cd-38e32f4ee7bd" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_d24d8775-8cdc-4bad-93cd-38e32f4ee7bd" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentsIncorporatedByReferenceTextBlock_b76eb9f7-6008-4871-9722-94d442eebf25" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentsIncorporatedByReferenceTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentsIncorporatedByReferenceTextBlock_b76eb9f7-6008-4871-9722-94d442eebf25" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_1484a3b3-62fe-42a1-b186-2d4bd95e4612" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_EntityCentralIndexKey_1484a3b3-62fe-42a1-b186-2d4bd95e4612" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_0bbc1c6d-a968-4003-9150-5c40eca06b49" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentFiscalYearFocus_0bbc1c6d-a968-4003-9150-5c40eca06b49" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_dc40f5ee-422d-4ced-b3f1-f4235d5c4014" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_DocumentFiscalPeriodFocus_dc40f5ee-422d-4ced-b3f1-f4235d5c4014" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_68c507fb-6d07-4cd7-89cb-235fd28d46cd" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_29f3be7f-ce90-4a9f-ae6d-a1d679a66a8e" xlink:to="loc_dei_AmendmentFlag_68c507fb-6d07-4cd7-89cb-235fd28d46cd" xlink:type="arc" order="38"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_b1cc3245-fc82-42ec-883d-de5b02440d27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_StatementTable_b1cc3245-fc82-42ec-883d-de5b02440d27" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_7a9087a9-a065-4a1e-922d-51b68f6d72c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b1cc3245-fc82-42ec-883d-de5b02440d27" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_7a9087a9-a065-4a1e-922d-51b68f6d72c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_7a9087a9-a065-4a1e-922d-51b68f6d72c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_7a9087a9-a065-4a1e-922d-51b68f6d72c9" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_7a9087a9-a065-4a1e-922d-51b68f6d72c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_93b1e2d1-cb49-48e5-a7e3-b04c2708d6d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_7a9087a9-a065-4a1e-922d-51b68f6d72c9" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_93b1e2d1-cb49-48e5-a7e3-b04c2708d6d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_cec1ebbe-a2ce-4f44-9b8d-6f4e231a5742" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentUnaffiliatedIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_93b1e2d1-cb49-48e5-a7e3-b04c2708d6d8" xlink:to="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_cec1ebbe-a2ce-4f44-9b8d-6f4e231a5742" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_dd4b29b3-f324-4b75-913c-51859a725e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_93b1e2d1-cb49-48e5-a7e3-b04c2708d6d8" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_dd4b29b3-f324-4b75-913c-51859a725e9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_69968ce7-ecd7-4c46-a529-8b00558f0e0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_69968ce7-ecd7-4c46-a529-8b00558f0e0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8566405e-f94a-4615-8679-76313706187f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_8566405e-f94a-4615-8679-76313706187f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_2ce30d0f-6105-44f5-bc71-fab4509a9351" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_RestrictedCash_2ce30d0f-6105-44f5-bc71-fab4509a9351" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_0740d089-2279-47b8-b6c5-b64990641cc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_InterestReceivable_0740d089-2279-47b8-b6c5-b64990641cc3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_7d22553a-43d0-4e41-9cfb-0da2ce5ded1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_7d22553a-43d0-4e41-9cfb-0da2ce5ded1e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_b5330a67-8f2f-4af7-92d0-8f3129bf27bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_OtherAssets_b5330a67-8f2f-4af7-92d0-8f3129bf27bb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_905e3e12-51a3-4b52-8475-2194d96734f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_2dcd6eda-4e36-47e6-926c-a39d2f7abbd5" xlink:to="loc_us-gaap_Assets_905e3e12-51a3-4b52-8475-2194d96734f8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_75fcc1a2-f4d8-4b69-8f17-f4badfc98d75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:to="loc_us-gaap_OtherLongTermDebt_75fcc1a2-f4d8-4b69-8f17-f4badfc98d75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_ba233fb8-5ec0-42cc-8e44-80dc4fd76bd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_ba233fb8-5ec0-42cc-8e44-80dc4fd76bd3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5a0f5988-70e6-439f-916a-6e04c706e9bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:to="loc_us-gaap_OperatingLeaseLiability_5a0f5988-70e6-439f-916a-6e04c706e9bd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_cb56d86f-d6aa-4c52-9f6a-e1864fae781f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_b3af9590-1385-4a97-b2ac-b542d5119b13" xlink:to="loc_us-gaap_Liabilities_cb56d86f-d6aa-4c52-9f6a-e1864fae781f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_4b675a8f-b0f2-4e2d-9688-9f505abffa91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:to="loc_us-gaap_CommonStockValue_4b675a8f-b0f2-4e2d-9688-9f505abffa91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_46ec341e-cd8e-4f89-9494-fb5254be42da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:to="loc_us-gaap_AdditionalPaidInCapital_46ec341e-cd8e-4f89-9494-fb5254be42da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_540e4840-d5a0-415f-bab4-b826be1539ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_540e4840-d5a0-415f-bab4-b826be1539ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_360a5c41-a749-4681-a22c-f9fab2d2833d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_264a843d-f8e9-4c44-9b65-c43fd4766a8d" xlink:to="loc_us-gaap_StockholdersEquity_360a5c41-a749-4681-a22c-f9fab2d2833d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_e4f18cc7-eaf4-421b-b205-e1e8e7c8cfb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_e4f18cc7-eaf4-421b-b205-e1e8e7c8cfb7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_f43cd3e7-6d71-46be-af70-44433b5cb539" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_f43cd3e7-6d71-46be-af70-44433b5cb539" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetAssetValuePerShare_6c91dec5-b091-4375-affa-7a15cd007131" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetAssetValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_256b8331-6d25-485a-8470-5a85a5681c71" xlink:to="loc_us-gaap_NetAssetValuePerShare_6c91dec5-b091-4375-affa-7a15cd007131" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_140ea524-b03b-4119-b3bb-46ecce91a35b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_StatementTable_140ea524-b03b-4119-b3bb-46ecce91a35b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_cfbea329-5f56-4ec5-824d-d4e738048585" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_140ea524-b03b-4119-b3bb-46ecce91a35b" xlink:to="loc_srt_ConsolidatedEntitiesAxis_cfbea329-5f56-4ec5-824d-d4e738048585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_cfbea329-5f56-4ec5-824d-d4e738048585_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_cfbea329-5f56-4ec5-824d-d4e738048585" xlink:to="loc_srt_ConsolidatedEntitiesDomain_cfbea329-5f56-4ec5-824d-d4e738048585_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ba5255c3-348b-44dd-a488-a8fd30e6f7c2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_cfbea329-5f56-4ec5-824d-d4e738048585" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ba5255c3-348b-44dd-a488-a8fd30e6f7c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_1ba14f81-2ca7-4de6-ba62-ec73a3c1ad8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ba5255c3-348b-44dd-a488-a8fd30e6f7c2" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_1ba14f81-2ca7-4de6-ba62-ec73a3c1ad8d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_10f9c075-eb24-4e91-a0de-7079ec4d3cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_140ea524-b03b-4119-b3bb-46ecce91a35b" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_10f9c075-eb24-4e91-a0de-7079ec4d3cf8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_10f9c075-eb24-4e91-a0de-7079ec4d3cf8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_10f9c075-eb24-4e91-a0de-7079ec4d3cf8" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_10f9c075-eb24-4e91-a0de-7079ec4d3cf8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_4794641b-41bc-4473-87fb-61184b398923" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_10f9c075-eb24-4e91-a0de-7079ec4d3cf8" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_4794641b-41bc-4473-87fb-61184b398923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_8f5e8ab3-c8cf-46e9-90e1-44a5f025ecf5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentUnaffiliatedIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_4794641b-41bc-4473-87fb-61184b398923" xlink:to="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_8f5e8ab3-c8cf-46e9-90e1-44a5f025ecf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_9b1e14bc-8674-47f1-a1b5-9d191aaf5f0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_4794641b-41bc-4473-87fb-61184b398923" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_9b1e14bc-8674-47f1-a1b5-9d191aaf5f0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_0584499f-384c-4d28-83cf-252401998f84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_0584499f-384c-4d28-83cf-252401998f84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_b565452b-ef84-4492-9f7d-65402f5fb131" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_RestrictedCash_b565452b-ef84-4492-9f7d-65402f5fb131" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_68805a45-6fcb-4cd2-9fa3-18dfbcdfbf8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_OtherLongTermDebt_68805a45-6fcb-4cd2-9fa3-18dfbcdfbf8b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_d4573386-8d46-4506-9cf6-ecc6652dcc90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_d4573386-8d46-4506-9cf6-ecc6652dcc90" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_919df115-516a-4ecd-a740-baa6d86e8822" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3bd963c4-0ded-4a17-a5ac-270675110d4b" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_919df115-516a-4ecd-a740-baa6d86e8822" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_ebe8f93f-aa6d-4ab1-81c4-bf7210ee5448" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_us-gaap_StatementTable_ebe8f93f-aa6d-4ab1-81c4-bf7210ee5448" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_d9a728ac-ee34-42e5-b01a-57985f022910" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_ebe8f93f-aa6d-4ab1-81c4-bf7210ee5448" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_d9a728ac-ee34-42e5-b01a-57985f022910" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_d9a728ac-ee34-42e5-b01a-57985f022910_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_d9a728ac-ee34-42e5-b01a-57985f022910" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_d9a728ac-ee34-42e5-b01a-57985f022910_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_74c3d482-8871-423a-9ab9-17af945a619f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_d9a728ac-ee34-42e5-b01a-57985f022910" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_74c3d482-8871-423a-9ab9-17af945a619f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_8d6038ef-31af-4ffa-a9c7-caf329adb5fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentUnaffiliatedIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_74c3d482-8871-423a-9ab9-17af945a619f" xlink:to="loc_us-gaap_InvestmentUnaffiliatedIssuerMember_8d6038ef-31af-4ffa-a9c7-caf329adb5fd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_29145187-a541-49cd-a70d-5b69540a0f48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_74c3d482-8871-423a-9ab9-17af945a619f" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_29145187-a541-49cd-a70d-5b69540a0f48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_92e2450c-06fd-4b41-ba82-73ab2a89a086" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_74c3d482-8871-423a-9ab9-17af945a619f" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_92e2450c-06fd-4b41-ba82-73ab2a89a086" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncomeAbstract_2321cfe4-12e6-4281-8186-7c977507c16c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncomeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_us-gaap_NetInvestmentIncomeAbstract_2321cfe4-12e6-4281-8186-7c977507c16c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_a5cc0805-5496-42d5-86d7-489965b23f77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetInvestmentIncomeAbstract_2321cfe4-12e6-4281-8186-7c977507c16c" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_a5cc0805-5496-42d5-86d7-489965b23f77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_15f3e33b-a951-406d-9356-77743d688c48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FeeIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetInvestmentIncomeAbstract_2321cfe4-12e6-4281-8186-7c977507c16c" xlink:to="loc_us-gaap_FeeIncome_15f3e33b-a951-406d-9356-77743d688c48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_2962cb1d-b55a-43c9-8507-8b62a4fc43b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetInvestmentIncomeAbstract_2321cfe4-12e6-4281-8186-7c977507c16c" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_2962cb1d-b55a-43c9-8507-8b62a4fc43b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_9e9a77db-dd32-4876-8914-18f65afd1578" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_InterestExpenseDebt_9e9a77db-dd32-4876-8914-18f65afd1578" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_9bd7cb25-cf7e-41aa-b1b3-dd031d574722" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_9bd7cb25-cf7e-41aa-b1b3-dd031d574722" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_2c20347f-243f-4614-95b2-e9fc853f46d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_2c20347f-243f-4614-95b2-e9fc853f46d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_6702f270-17fa-4c29-a097-37edb4e19622" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_6702f270-17fa-4c29-a097-37edb4e19622" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementCompensationItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_d8988828-74b9-47d0-b0f2-f2a5490d9eff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:to="loc_us-gaap_LaborAndRelatedExpense_d8988828-74b9-47d0-b0f2-f2a5490d9eff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_164d5f63-6c84-4e17-b201-01d2c002906a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_164d5f63-6c84-4e17-b201-01d2c002906a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_b8a9a14a-e268-4edd-860c-5c318ca7696e" xlink:href="htgc-20231231.xsd#htgc_EmployeeCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:to="loc_htgc_EmployeeCompensation_b8a9a14a-e268-4edd-860c-5c318ca7696e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_2d981f7c-7d27-49e9-943a-f5b52b82d9c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:to="loc_us-gaap_OperatingExpenses_2d981f7c-7d27-49e9-943a-f5b52b82d9c6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_aa0be7aa-f0ba-4b0a-b7d9-44f10a84eb34" xlink:href="htgc-20231231.xsd#htgc_ExpensesAllocatedToAdviserSubsidiary1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementCompensationItemsAbstract_18978fc0-5a09-4b8b-82d2-266885094452" xlink:to="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_aa0be7aa-f0ba-4b0a-b7d9-44f10a84eb34" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_51228458-f8f0-49ed-8e9a-83ff18734469" xlink:href="htgc-20231231.xsd#htgc_OperatingExpensesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_htgc_OperatingExpensesNet_51228458-f8f0-49ed-8e9a-83ff18734469" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_980ac841-1b50-463b-8bee-e1b347c7de4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_2cde34cc-d448-4e86-a59c-867be15f1e07" xlink:to="loc_us-gaap_NetInvestmentIncome_980ac841-1b50-463b-8bee-e1b347c7de4f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract_e767eed4-2876-4fa6-a961-2bd1a055f967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrencyAbstract_e767eed4-2876-4fa6-a961-2bd1a055f967" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NetRealizedGainLossAbstract_2485a156-6987-40e4-9ce2-5106c753334a" xlink:href="htgc-20231231.xsd#htgc_NetRealizedGainLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_htgc_NetRealizedGainLossAbstract_2485a156-6987-40e4-9ce2-5106c753334a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_56bb0c22-3d29-45a1-bf43-fe1c64138531" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetRealizedGainLossAbstract_2485a156-6987-40e4-9ce2-5106c753334a" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_56bb0c22-3d29-45a1-bf43-fe1c64138531" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_302afe93-a23c-4d6c-acbb-df48ba6b318f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetRealizedGainLossAbstract_2485a156-6987-40e4-9ce2-5106c753334a" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_302afe93-a23c-4d6c-acbb-df48ba6b318f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_f4cbfe83-4e83-4859-ae77-f414c511b855" xlink:href="htgc-20231231.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetRealizedGainLossAbstract_2485a156-6987-40e4-9ce2-5106c753334a" xlink:to="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_f4cbfe83-4e83-4859-ae77-f414c511b855" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract_bf23761e-ac2d-466e-a778-b75ba041619e" xlink:href="htgc-20231231.xsd#htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract_bf23761e-ac2d-466e-a778-b75ba041619e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_0768f92b-5131-487a-8879-46a4dba18cd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract_bf23761e-ac2d-466e-a778-b75ba041619e" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_0768f92b-5131-487a-8879-46a4dba18cd3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_297d0eef-8cc4-41cd-bed8-f72ccf219a75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract_bf23761e-ac2d-466e-a778-b75ba041619e" xlink:to="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_297d0eef-8cc4-41cd-bed8-f72ccf219a75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0c6ad05a-85c5-4f9a-9fe4-d40759ee47c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NetChangeInUnrealizedAppreciationDepreciationAbstract_bf23761e-ac2d-466e-a778-b75ba041619e" xlink:to="loc_us-gaap_NetIncomeLoss_0c6ad05a-85c5-4f9a-9fe4-d40759ee47c9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_fb42b10d-8d6f-4c81-8911-a5eea4ff31c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_fb42b10d-8d6f-4c81-8911-a5eea4ff31c3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_694129b7-5e88-443c-853d-fc9190769f8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_fb42b10d-8d6f-4c81-8911-a5eea4ff31c3" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossPerShare_694129b7-5e88-443c-853d-fc9190769f8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EarningPerShareBasicAndDilutedAbstract_e0b96f8e-2128-49d0-ade9-55684bd7779c" xlink:href="htgc-20231231.xsd#htgc_EarningPerShareBasicAndDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_htgc_EarningPerShareBasicAndDilutedAbstract_e0b96f8e-2128-49d0-ade9-55684bd7779c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_1308b344-33d8-459e-913f-cf7e5e3820f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_EarningPerShareBasicAndDilutedAbstract_e0b96f8e-2128-49d0-ade9-55684bd7779c" xlink:to="loc_us-gaap_EarningsPerShareBasic_1308b344-33d8-459e-913f-cf7e5e3820f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_cd6cb4ce-8ad8-4847-95c8-ac4a4cc440ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_EarningPerShareBasicAndDilutedAbstract_e0b96f8e-2128-49d0-ade9-55684bd7779c" xlink:to="loc_us-gaap_EarningsPerShareDiluted_cd6cb4ce-8ad8-4847-95c8-ac4a4cc440ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedAbstract_dd561265-504c-480b-9280-32138d3c1ada" xlink:href="htgc-20231231.xsd#htgc_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_htgc_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedAbstract_dd561265-504c-480b-9280-32138d3c1ada" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_030a78b3-a804-4075-bb84-ed9961c88245" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedAbstract_dd561265-504c-480b-9280-32138d3c1ada" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_030a78b3-a804-4075-bb84-ed9961c88245" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7973e164-ca0f-4111-9fef-b4c9988a64ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedAbstract_dd561265-504c-480b-9280-32138d3c1ada" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_7973e164-ca0f-4111-9fef-b4c9988a64ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DistributionsPaidPerCommonShareAbstract_8f1cb06d-b855-4b85-a221-e46448d72351" xlink:href="htgc-20231231.xsd#htgc_DistributionsPaidPerCommonShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7ecc300d-9d55-4a8b-8253-16a7f449d0b2" xlink:to="loc_htgc_DistributionsPaidPerCommonShareAbstract_8f1cb06d-b855-4b85-a221-e46448d72351" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_aed2f8fd-0e36-4673-a81a-63a78e146b7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDistributionToShareholdersPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_DistributionsPaidPerCommonShareAbstract_8f1cb06d-b855-4b85-a221-e46448d72351" xlink:to="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_aed2f8fd-0e36-4673-a81a-63a78e146b7c" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_21d24b11-9fc5-4992-8e36-89daa28ac04f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_dbb5f3b1-6b4e-4dff-a7b6-a46cf80ea265" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_21d24b11-9fc5-4992-8e36-89daa28ac04f" xlink:to="loc_us-gaap_StatementTable_dbb5f3b1-6b4e-4dff-a7b6-a46cf80ea265" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_11970a2e-ace3-4610-99b3-da8a462a070a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_dbb5f3b1-6b4e-4dff-a7b6-a46cf80ea265" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_11970a2e-ace3-4610-99b3-da8a462a070a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_11970a2e-ace3-4610-99b3-da8a462a070a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_11970a2e-ace3-4610-99b3-da8a462a070a" xlink:to="loc_us-gaap_EquityComponentDomain_11970a2e-ace3-4610-99b3-da8a462a070a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_5152a274-21b3-401d-a72e-0b8c0d445462" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_11970a2e-ace3-4610-99b3-da8a462a070a" xlink:to="loc_us-gaap_EquityComponentDomain_5152a274-21b3-401d-a72e-0b8c0d445462" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_23a23a38-e20e-4820-a552-3741ad3fd7a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5152a274-21b3-401d-a72e-0b8c0d445462" xlink:to="loc_us-gaap_CommonStockMember_23a23a38-e20e-4820-a552-3741ad3fd7a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CapitalInExcessOfParValueMember_47c8312a-b3df-4932-9b8d-e90def17036f" xlink:href="htgc-20231231.xsd#htgc_CapitalInExcessOfParValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5152a274-21b3-401d-a72e-0b8c0d445462" xlink:to="loc_htgc_CapitalInExcessOfParValueMember_47c8312a-b3df-4932-9b8d-e90def17036f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DistributableEarningsLossMember_88b223ac-5857-4b31-9f6e-c3d58599bf2f" xlink:href="htgc-20231231.xsd#htgc_DistributableEarningsLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5152a274-21b3-401d-a72e-0b8c0d445462" xlink:to="loc_htgc_DistributableEarningsLossMember_88b223ac-5857-4b31-9f6e-c3d58599bf2f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_21d24b11-9fc5-4992-8e36-89daa28ac04f" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_6d1e5c4e-93ac-4254-ba00-2e126e4bb4d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_6d1e5c4e-93ac-4254-ba00-2e126e4bb4d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_74dd99b2-938e-49dd-988d-74414b361d69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockholdersEquity_74dd99b2-938e-49dd-988d-74414b361d69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_539ec359-5e8b-4d17-bb07-8dec0ae4f689" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_NetIncomeLoss_539ec359-5e8b-4d17-bb07-8dec0ae4f689" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_99910937-582a-415c-b180-7db6ae5fe290" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_99910937-582a-415c-b180-7db6ae5fe290" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_264cd10c-bacf-4cf2-868c-524d36206bbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_264cd10c-bacf-4cf2-868c-524d36206bbe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_3553ad6e-4ae7-49be-9371-173d10b71d10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_3553ad6e-4ae7-49be-9371-173d10b71d10" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_40187fd1-fe8b-4857-b9fb-73b71b9285c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_40187fd1-fe8b-4857-b9fb-73b71b9285c6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_daec7d6a-93d2-44e4-844b-527faa2ede30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_daec7d6a-93d2-44e4-844b-527faa2ede30" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9e88b2e6-e962-4c3b-9829-7a153c8bd409" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_9e88b2e6-e962-4c3b-9829-7a153c8bd409" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_52146440-8ede-4de2-a7b7-f76644de111e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_52146440-8ede-4de2-a7b7-f76644de111e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan_3d1fd0d6-1fb3-4974-951e-a1f12eaeb1fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueDividendReinvestmentPlan_3d1fd0d6-1fb3-4974-951e-a1f12eaeb1fe" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_73984d81-9792-416b-80d8-0140d6f87fc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_73984d81-9792-416b-80d8-0140d6f87fc3" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_1de4d7bd-ab8b-4394-bf7d-6a5be20c9bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_1de4d7bd-ab8b-4394-bf7d-6a5be20c9bdc" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_9d9422c0-917e-4e48-874b-7981ced39f65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_9d9422c0-917e-4e48-874b-7981ced39f65" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_6cc821e6-c1ac-4d2e-b1d2-d1c0749ff630" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_6cc821e6-c1ac-4d2e-b1d2-d1c0749ff630" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease_d57c27b8-70cd-4d28-b67c-2f1e8e3ef514" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d2286127-8bee-431a-8147-a80c1e5f6a99" xlink:to="loc_us-gaap_InvestmentCompanyTaxReclassificationIncreaseDecrease_d57c27b8-70cd-4d28-b67c-2f1e8e3ef514" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_ee421ff6-d6aa-4761-b0c9-79c40ef2f2f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2cba626c-83d8-42cd-8648-af0929f5ffaa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTS"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIdentifierAxis_8e29ed63-5821-4a1a-a966-31efe18d6f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIdentifierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:to="loc_us-gaap_InvestmentIdentifierAxis_8e29ed63-5821-4a1a-a966-31efe18d6f7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:to="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7fe814cb-fe7b-43fb-a7c3-2662402fb8de_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:to="loc_srt_RangeMember_7fe814cb-fe7b-43fb-a7c3-2662402fb8de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:to="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_566d1c40-be5a-4f41-86da-b6bbded79c10" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:to="loc_srt_MinimumMember_566d1c40-be5a-4f41-86da-b6bbded79c10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsMaturityMonthAndYear_bb0efc31-b5a5-4f15-a402-f1e743083b3e" xlink:href="htgc-20231231.xsd#htgc_InvestmentsMaturityMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentsMaturityMonthAndYear_bb0efc31-b5a5-4f15-a402-f1e743083b3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_d801e9bc-9755-4541-9526-10d8c8eb82fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_d801e9bc-9755-4541-9526-10d8c8eb82fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBasisSpreadVariableRate_ab785d12-127d-49df-b736-d49c5e5d49c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentBasisSpreadVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentBasisSpreadVariableRate_ab785d12-127d-49df-b736-d49c5e5d49c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRateFloor_3212f699-379d-42c2-a854-7e7e66ea4e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRateFloor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRateFloor_3212f699-379d-42c2-a854-7e7e66ea4e1d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentInterestRateCap_4876a610-c744-48f6-8c73-cfab1c3c804b" xlink:href="htgc-20231231.xsd#htgc_InvestmentInterestRateCap"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentInterestRateCap_4876a610-c744-48f6-8c73-cfab1c3c804b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInKind_c64c5223-2530-4d0e-ac93-f41983691d18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInKind_c64c5223-2530-4d0e-ac93-f41983691d18" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInCash_0ef3557a-ad08-49ca-b21e-f10388ff25aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInCash_0ef3557a-ad08-49ca-b21e-f10388ff25aa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentExitFee_ff00482a-8d89-4a36-b71a-0beb5e1d3534" xlink:href="htgc-20231231.xsd#htgc_InvestmentExitFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentExitFee_ff00482a-8d89-4a36-b71a-0beb5e1d3534" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_e5cd6e51-27dc-4ec2-afdd-842f0849f56c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalancePrincipalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_e5cd6e51-27dc-4ec2-afdd-842f0849f56c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_153e233c-18e5-4c88-9c20-1e81f3d13f8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_153e233c-18e5-4c88-9c20-1e81f3d13f8b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_9097a112-1bd4-4510-a70a-63a5fee1b663" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_9097a112-1bd4-4510-a70a-63a5fee1b663" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsOwnedAcquisitionDate_42ee3992-b360-4ee1-a25b-4b6ae614f3ae" xlink:href="htgc-20231231.xsd#htgc_InvestmentsOwnedAcquisitionDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentsOwnedAcquisitionDate_42ee3992-b360-4ee1-a25b-4b6ae614f3ae" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalanceShares_9363ff22-11c2-4f35-b465-27672f300fac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalanceShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedBalanceShares_9363ff22-11c2-4f35-b465-27672f300fac" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS_1" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTS_1"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_91048584-2d0a-4d3a-aab0-4dfadb47fb24" xlink:to="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7fe814cb-fe7b-43fb-a7c3-2662402fb8de_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:to="loc_srt_RangeMember_7fe814cb-fe7b-43fb-a7c3-2662402fb8de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_7fe814cb-fe7b-43fb-a7c3-2662402fb8de" xlink:to="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_566d1c40-be5a-4f41-86da-b6bbded79c10" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_1b80bb60-d9f4-4282-a161-e7d0b6a60f11" xlink:to="loc_srt_MinimumMember_566d1c40-be5a-4f41-86da-b6bbded79c10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsMaturityMonthAndYear_bb0efc31-b5a5-4f15-a402-f1e743083b3e" xlink:href="htgc-20231231.xsd#htgc_InvestmentsMaturityMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentsMaturityMonthAndYear_bb0efc31-b5a5-4f15-a402-f1e743083b3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_d801e9bc-9755-4541-9526-10d8c8eb82fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_d801e9bc-9755-4541-9526-10d8c8eb82fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBasisSpreadVariableRate_ab785d12-127d-49df-b736-d49c5e5d49c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentBasisSpreadVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentBasisSpreadVariableRate_ab785d12-127d-49df-b736-d49c5e5d49c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRateFloor_3212f699-379d-42c2-a854-7e7e66ea4e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRateFloor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRateFloor_3212f699-379d-42c2-a854-7e7e66ea4e1d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentInterestRateCap_4876a610-c744-48f6-8c73-cfab1c3c804b" xlink:href="htgc-20231231.xsd#htgc_InvestmentInterestRateCap"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentInterestRateCap_4876a610-c744-48f6-8c73-cfab1c3c804b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInKind_c64c5223-2530-4d0e-ac93-f41983691d18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInKind_c64c5223-2530-4d0e-ac93-f41983691d18" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInCash_0ef3557a-ad08-49ca-b21e-f10388ff25aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInCash_0ef3557a-ad08-49ca-b21e-f10388ff25aa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentExitFee_ff00482a-8d89-4a36-b71a-0beb5e1d3534" xlink:href="htgc-20231231.xsd#htgc_InvestmentExitFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentExitFee_ff00482a-8d89-4a36-b71a-0beb5e1d3534" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_e5cd6e51-27dc-4ec2-afdd-842f0849f56c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalancePrincipalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_e5cd6e51-27dc-4ec2-afdd-842f0849f56c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_153e233c-18e5-4c88-9c20-1e81f3d13f8b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_153e233c-18e5-4c88-9c20-1e81f3d13f8b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_9097a112-1bd4-4510-a70a-63a5fee1b663" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_9097a112-1bd4-4510-a70a-63a5fee1b663" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsOwnedAcquisitionDate_42ee3992-b360-4ee1-a25b-4b6ae614f3ae" xlink:href="htgc-20231231.xsd#htgc_InvestmentsOwnedAcquisitionDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_htgc_InvestmentsOwnedAcquisitionDate_42ee3992-b360-4ee1-a25b-4b6ae614f3ae" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalanceShares_9363ff22-11c2-4f35-b465-27672f300fac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalanceShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_3d825a30-0480-4e31-b14c-7080622dedcc" xlink:to="loc_us-gaap_InvestmentOwnedBalanceShares_9363ff22-11c2-4f35-b465-27672f300fac" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_3066c227-d0a1-4c4a-964d-88041dc13fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_3066c227-d0a1-4c4a-964d-88041dc13fe9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OpenForwardForeignCurrencyContractIdentifierAxis_6b79b2da-8985-41fa-90dc-552c8d3dff93" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OpenForwardForeignCurrencyContractIdentifierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_3066c227-d0a1-4c4a-964d-88041dc13fe9" xlink:to="loc_us-gaap_OpenForwardForeignCurrencyContractIdentifierAxis_6b79b2da-8985-41fa-90dc-552c8d3dff93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeMaturityDates_e0fe92b0-522b-4e44-a45b-aaaca0ae8a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeMaturityDates"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeMaturityDates_e0fe92b0-522b-4e44-a45b-aaaca0ae8a9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_88a61312-4bb8-4378-8d43-7b662d03d525" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_88a61312-4bb8-4378-8d43-7b662d03d525" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_4ae132de-953d-4db3-95f3-edf8f8102fbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeLiabilities_4ae132de-953d-4db3-95f3-edf8f8102fbe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CumulativeUnrealizedGainLossOnDerivatives_fd69126a-56d0-4c72-9066-233e2d625824" xlink:href="htgc-20231231.xsd#htgc_CumulativeUnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_htgc_CumulativeUnrealizedGainLossOnDerivatives_fd69126a-56d0-4c72-9066-233e2d625824" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_6e64c4f1-8f22-4185-a659-6ac379c37cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_6e64c4f1-8f22-4185-a659-6ac379c37cc8" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts_1" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts_1"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSForwardForeignCurrencyExchangeContracts_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_3066c227-d0a1-4c4a-964d-88041dc13fe9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_3066c227-d0a1-4c4a-964d-88041dc13fe9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeMaturityDates_e0fe92b0-522b-4e44-a45b-aaaca0ae8a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeMaturityDates"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeMaturityDates_e0fe92b0-522b-4e44-a45b-aaaca0ae8a9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_88a61312-4bb8-4378-8d43-7b662d03d525" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_88a61312-4bb8-4378-8d43-7b662d03d525" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_4ae132de-953d-4db3-95f3-edf8f8102fbe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_DerivativeLiabilities_4ae132de-953d-4db3-95f3-edf8f8102fbe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CumulativeUnrealizedGainLossOnDerivatives_fd69126a-56d0-4c72-9066-233e2d625824" xlink:href="htgc-20231231.xsd#htgc_CumulativeUnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_htgc_CumulativeUnrealizedGainLossOnDerivatives_fd69126a-56d0-4c72-9066-233e2d625824" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_6e64c4f1-8f22-4185-a659-6ac379c37cc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7eba8350-cb54-4367-95b7-30c724b8ee49" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_6e64c4f1-8f22-4185-a659-6ac379c37cc8" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:to="loc_us-gaap_FinancialInstrumentAxis_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cb1ab8a7-fc29-4888-8fdb-4c08807aeb46" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PRIMEInterestRateMember_3875f6f5-358b-4887-8e20-6d5655a6aa98" xlink:href="htgc-20231231.xsd#htgc_PRIMEInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_PRIMEInterestRateMember_3875f6f5-358b-4887-8e20-6d5655a6aa98" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_a4e91d62-b115-42d7-94e0-0e77b8c4f54a" xlink:href="htgc-20231231.xsd#htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_a4e91d62-b115-42d7-94e0-0e77b8c4f54a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThreeMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_b22e7a21-5134-4acf-95f6-8a5f57278eee" xlink:href="htgc-20231231.xsd#htgc_ThreeMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_ThreeMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_b22e7a21-5134-4acf-95f6-8a5f57278eee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SixMonthSecuredOvernightFinancingRateSOFROvernightIndexSwapRateMember_79b467d0-7410-489b-abfe-45f904a5f4a8" xlink:href="htgc-20231231.xsd#htgc_SixMonthSecuredOvernightFinancingRateSOFROvernightIndexSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_SixMonthSecuredOvernightFinancingRateSOFROvernightIndexSwapRateMember_79b467d0-7410-489b-abfe-45f904a5f4a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OneMonthLIBORMember_0cc04936-db15-4aa3-8e6c-5b9c02c509b3" xlink:href="htgc-20231231.xsd#htgc_OneMonthLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_OneMonthLIBORMember_0cc04936-db15-4aa3-8e6c-5b9c02c509b3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThreeMonthLIBORMember_e5156bdd-f905-4863-b690-3f42d42af143" xlink:href="htgc-20231231.xsd#htgc_ThreeMonthLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_ThreeMonthLIBORMember_e5156bdd-f905-4863-b690-3f42d42af143" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SixMonthLIBORMember_3f5fb273-33c2-4a28-8f17-8e19f05de96b" xlink:href="htgc-20231231.xsd#htgc_SixMonthLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b74ef46b-fafe-4bfd-8a27-72e6cdab795d" xlink:to="loc_htgc_SixMonthLIBORMember_3f5fb273-33c2-4a28-8f17-8e19f05de96b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b0813177-0880-45b8-9f66-e8e2e9af936d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b0813177-0880-45b8-9f66-e8e2e9af936d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b0813177-0880-45b8-9f66-e8e2e9af936d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b0813177-0880-45b8-9f66-e8e2e9af936d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b0813177-0880-45b8-9f66-e8e2e9af936d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_472ec623-2734-4236-a0c3-a64e6f2bc175" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_b0813177-0880-45b8-9f66-e8e2e9af936d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_472ec623-2734-4236-a0c3-a64e6f2bc175" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_86a6f134-b4ef-4441-ad9d-eca6b9b68165" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_472ec623-2734-4236-a0c3-a64e6f2bc175" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_86a6f134-b4ef-4441-ad9d-eca6b9b68165" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_b9dfe074-0f56-4cde-8a7c-6219e3c83592" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_b9dfe074-0f56-4cde-8a7c-6219e3c83592" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b9dfe074-0f56-4cde-8a7c-6219e3c83592_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b9dfe074-0f56-4cde-8a7c-6219e3c83592" xlink:to="loc_us-gaap_EquityComponentDomain_b9dfe074-0f56-4cde-8a7c-6219e3c83592_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6f7e3450-2b9c-46eb-a0b3-f012f73df68e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b9dfe074-0f56-4cde-8a7c-6219e3c83592" xlink:to="loc_us-gaap_EquityComponentDomain_6f7e3450-2b9c-46eb-a0b3-f012f73df68e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_e8dd7072-ed4e-47cb-b9d4-8e40065daeda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6f7e3450-2b9c-46eb-a0b3-f012f73df68e" xlink:to="loc_us-gaap_WarrantMember_e8dd7072-ed4e-47cb-b9d4-8e40065daeda" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_b34872cf-8cba-4bf4-a03b-254b79ef1d99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6f7e3450-2b9c-46eb-a0b3-f012f73df68e" xlink:to="loc_us-gaap_CommonStockMember_b34872cf-8cba-4bf4-a03b-254b79ef1d99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_64bc444e-2050-42e1-8977-944469826d18" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_64bc444e-2050-42e1-8977-944469826d18" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_64bc444e-2050-42e1-8977-944469826d18_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_64bc444e-2050-42e1-8977-944469826d18" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_64bc444e-2050-42e1-8977-944469826d18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_6b8c9706-624f-4842-9dca-b9c9422d8918" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_64bc444e-2050-42e1-8977-944469826d18" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_6b8c9706-624f-4842-9dca-b9c9422d8918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BlackCrowAIIncMember_fbefa08c-e6cc-41c8-8e35-be5968208a31" xlink:href="htgc-20231231.xsd#htgc_BlackCrowAIIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_6b8c9706-624f-4842-9dca-b9c9422d8918" xlink:to="loc_htgc_BlackCrowAIIncMember_fbefa08c-e6cc-41c8-8e35-be5968208a31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PhathomPharmaceuticalsIncMember_bde64aae-b6d5-43b3-b0e1-db1296a2c36b" xlink:href="htgc-20231231.xsd#htgc_PhathomPharmaceuticalsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_6b8c9706-624f-4842-9dca-b9c9422d8918" xlink:to="loc_htgc_PhathomPharmaceuticalsIncMember_bde64aae-b6d5-43b3-b0e1-db1296a2c36b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_b224fab1-8180-45bc-ac50-2ea558c083c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_13a263a4-41b3-41e8-81ed-84e2c94700b5" xlink:to="loc_us-gaap_DebtInstrumentAxis_b224fab1-8180-45bc-ac50-2ea558c083c9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b224fab1-8180-45bc-ac50-2ea558c083c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_b224fab1-8180-45bc-ac50-2ea558c083c9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b224fab1-8180-45bc-ac50-2ea558c083c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d42d4529-8a95-45e7-9422-34b5509ee862" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_b224fab1-8180-45bc-ac50-2ea558c083c9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d42d4529-8a95-45e7-9422-34b5509ee862" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PromissoryNotesMember_cf4293d8-b87d-49ac-9b18-efab181e4ea5" xlink:href="htgc-20231231.xsd#htgc_PromissoryNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d42d4529-8a95-45e7-9422-34b5509ee862" xlink:to="loc_htgc_PromissoryNotesMember_cf4293d8-b87d-49ac-9b18-efab181e4ea5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RoyaltyContractMember_a60f7da7-cb40-45ca-afbb-1e65aaa754d5" xlink:href="htgc-20231231.xsd#htgc_RoyaltyContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d42d4529-8a95-45e7-9422-34b5509ee862" xlink:to="loc_htgc_RoyaltyContractMember_a60f7da7-cb40-45ca-afbb-1e65aaa754d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentBasisSpreadVariableRate_55ebe336-a304-478d-b53c-0018e3197e74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentBasisSpreadVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_InvestmentBasisSpreadVariableRate_55ebe336-a304-478d-b53c-0018e3197e74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRate_b849e915-de71-4ff2-9122-f61ce860876c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_InvestmentInterestRate_b849e915-de71-4ff2-9122-f61ce860876c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_4b19557d-5602-41e7-89af-d10b0b137c41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedAppreciation_4b19557d-5602-41e7-89af-d10b0b137c41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_def66125-e438-4b2f-9063-9079800b58dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsGrossUnrealizedDepreciation_def66125-e438-4b2f-9063-9079800b58dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_9815111f-6931-4247-adb2-863c48d6c9e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsUnrealizedAppreciationDepreciationNet_9815111f-6931-4247-adb2-863c48d6c9e6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_cca61074-d9f9-4044-9754-3bd80b9bfb6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_TaxBasisOfInvestmentsCostForIncomeTaxPurposes_cca61074-d9f9-4044-9754-3bd80b9bfb6f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NumberOfPubliclyTradedCompanies_32ac2249-911d-4b40-a397-a735e8f05466" xlink:href="htgc-20231231.xsd#htgc_NumberOfPubliclyTradedCompanies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_htgc_NumberOfPubliclyTradedCompanies_32ac2249-911d-4b40-a397-a735e8f05466" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_fb0c8497-9743-4bec-ada0-7fc4961e96fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalancePrincipalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_fb0c8497-9743-4bec-ada0-7fc4961e96fb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_4366c433-3304-4f23-98c4-815b9c2087d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_4366c433-3304-4f23-98c4-815b9c2087d5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_1660cf52-2ae2-4209-8679-74b1aea6f740" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_ede64075-a2c7-44b8-9708-da2198a48fe7" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_1660cf52-2ae2-4209-8679-74b1aea6f740" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofInvestmentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsScheduleofInvestmentsMeasuredatFairValueonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofInvestmentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_128d56c7-c02f-4f6d-8f66-a32f21b57547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_128d56c7-c02f-4f6d-8f66-a32f21b57547" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c8590cfe-fa88-49db-bb04-edf3b05e88e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c8590cfe-fa88-49db-bb04-edf3b05e88e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_c8590cfe-fa88-49db-bb04-edf3b05e88e5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c8590cfe-fa88-49db-bb04-edf3b05e88e5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_c8590cfe-fa88-49db-bb04-edf3b05e88e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0e9fd481-8c2b-40c3-9ecc-bb9bd3369940" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_c8590cfe-fa88-49db-bb04-edf3b05e88e5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0e9fd481-8c2b-40c3-9ecc-bb9bd3369940" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_37909635-6230-4299-918d-0e2fde59a353" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_0e9fd481-8c2b-40c3-9ecc-bb9bd3369940" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_37909635-6230-4299-918d-0e2fde59a353" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_16daf6a4-3b33-4dc5-a7a5-7064cd64b87e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_c4ab0424-db4b-4494-a8b7-eb6e25b6ddeb" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_16daf6a4-3b33-4dc5-a7a5-7064cd64b87e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_b75ceb94-6753-4ce8-9bc4-b65c3bfd58b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_16daf6a4-3b33-4dc5-a7a5-7064cd64b87e" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_b75ceb94-6753-4ce8-9bc4-b65c3bfd58b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_64d0a5f8-a638-4e52-afdd-0fbe5a818653" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_16daf6a4-3b33-4dc5-a7a5-7064cd64b87e" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_64d0a5f8-a638-4e52-afdd-0fbe5a818653" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_55405695-544e-471a-a37e-3722114d7233" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_16daf6a4-3b33-4dc5-a7a5-7064cd64b87e" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_55405695-544e-471a-a37e-3722114d7233" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d" xlink:to="loc_us-gaap_EquityComponentDomain_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_5d583dd4-84af-49ed-b44c-e8bce611a3eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_393e1a6b-8e5b-4da3-9c1d-707e2cf35f4d" xlink:to="loc_us-gaap_EquityComponentDomain_5d583dd4-84af-49ed-b44c-e8bce611a3eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_a43daa61-f749-4ef8-a2e7-46fc9d05ad9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5d583dd4-84af-49ed-b44c-e8bce611a3eb" xlink:to="loc_us-gaap_PreferredStockMember_a43daa61-f749-4ef8-a2e7-46fc9d05ad9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_1092f86a-f92f-464f-9232-b4265beda9e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5d583dd4-84af-49ed-b44c-e8bce611a3eb" xlink:to="loc_us-gaap_CommonStockMember_1092f86a-f92f-464f-9232-b4265beda9e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_c8114902-e8cb-4584-b6dd-1cb1933b60de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_5d583dd4-84af-49ed-b44c-e8bce611a3eb" xlink:to="loc_us-gaap_WarrantMember_c8114902-e8cb-4584-b6dd-1cb1933b60de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7da5b6ea-ede1-4e40-b641-d3fca5a2a317" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7da5b6ea-ede1-4e40-b641-d3fca5a2a317" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7da5b6ea-ede1-4e40-b641-d3fca5a2a317_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7da5b6ea-ede1-4e40-b641-d3fca5a2a317" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7da5b6ea-ede1-4e40-b641-d3fca5a2a317_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_cea29620-9e0b-490e-a745-cac9f7028635" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_7da5b6ea-ede1-4e40-b641-d3fca5a2a317" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_cea29620-9e0b-490e-a745-cac9f7028635" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_9479e83c-29cf-46b8-a07b-2f157ee07aca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_cea29620-9e0b-490e-a745-cac9f7028635" xlink:to="loc_us-gaap_UnsecuredDebtMember_9479e83c-29cf-46b8-a07b-2f157ee07aca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_InvestmentTypeAxis_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_b6a01cd9-1d4a-4e4f-a2aa-931bbcd827cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_3ba2f3b1-4f1e-48bc-8b80-b8ad65832f8e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_b6a01cd9-1d4a-4e4f-a2aa-931bbcd827cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_8c5d8f77-978c-4924-9f90-bbc4ddc6ce33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_b6a01cd9-1d4a-4e4f-a2aa-931bbcd827cc" xlink:to="loc_us-gaap_UnsecuredDebtMember_8c5d8f77-978c-4924-9f90-bbc4ddc6ce33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_9e20d7f0-a1ab-4ffd-920a-9bbe9c293732" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_b6a01cd9-1d4a-4e4f-a2aa-931bbcd827cc" xlink:to="loc_htgc_SeniorSecuredDebtMember_9e20d7f0-a1ab-4ffd-920a-9bbe9c293732" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_a2ad60cb-bc94-4ed4-ae40-824e465ee28f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_a2ad60cb-bc94-4ed4-ae40-824e465ee28f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_a2ad60cb-bc94-4ed4-ae40-824e465ee28f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_a2ad60cb-bc94-4ed4-ae40-824e465ee28f" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_a2ad60cb-bc94-4ed4-ae40-824e465ee28f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_58a191bc-d445-40a8-8eec-d4a88ed7a50c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_a2ad60cb-bc94-4ed4-ae40-824e465ee28f" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_58a191bc-d445-40a8-8eec-d4a88ed7a50c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_9b38b157-8cd1-48bf-afaa-be5767af1909" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_58a191bc-d445-40a8-8eec-d4a88ed7a50c" xlink:to="loc_us-gaap_MoneyMarketFundsMember_9b38b157-8cd1-48bf-afaa-be5767af1909" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EscrowAndOtherInvestmentReceivableMember_63ccc465-d9c8-4960-98af-dfb255f6ff14" xlink:href="htgc-20231231.xsd#htgc_EscrowAndOtherInvestmentReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_58a191bc-d445-40a8-8eec-d4a88ed7a50c" xlink:to="loc_htgc_EscrowAndOtherInvestmentReceivableMember_63ccc465-d9c8-4960-98af-dfb255f6ff14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EscrowReceivableMember_704c873c-cefa-47b9-82c8-05ee856edcb9" xlink:href="htgc-20231231.xsd#htgc_EscrowReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_58a191bc-d445-40a8-8eec-d4a88ed7a50c" xlink:to="loc_htgc_EscrowReceivableMember_704c873c-cefa-47b9-82c8-05ee856edcb9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_09e7f037-8713-4869-a1f3-cf1bb9577ac3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_be0abdc8-5ffe-45d3-a65a-4f73d5c46709" xlink:to="loc_us-gaap_FinancialInstrumentAxis_09e7f037-8713-4869-a1f3-cf1bb9577ac3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_09e7f037-8713-4869-a1f3-cf1bb9577ac3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_09e7f037-8713-4869-a1f3-cf1bb9577ac3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_09e7f037-8713-4869-a1f3-cf1bb9577ac3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_09e7f037-8713-4869-a1f3-cf1bb9577ac3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_215e5715-386e-4c5c-80a8-deba87fc8136" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_htgc_SeniorSecuredDebtMember_215e5715-386e-4c5c-80a8-deba87fc8136" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_556d3976-1815-4b84-b7a0-69063e9e8065" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_us-gaap_UnsecuredDebtMember_556d3976-1815-4b84-b7a0-69063e9e8065" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_58ff4297-615b-4bbc-885c-b45cb67dcd17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_us-gaap_PreferredStockMember_58ff4297-615b-4bbc-885c-b45cb67dcd17" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_893b4d4f-9f01-47f3-bfa1-65ceee6ed5d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_us-gaap_CommonStockMember_893b4d4f-9f01-47f3-bfa1-65ceee6ed5d9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_17c46b9f-1bd7-4002-b07e-1f8f2e531082" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_us-gaap_WarrantMember_17c46b9f-1bd7-4002-b07e-1f8f2e531082" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrivateEquityFundsForeignMember_6aa57eef-af85-4a04-86b4-037b2ffc6ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrivateEquityFundsForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_us-gaap_PrivateEquityFundsForeignMember_6aa57eef-af85-4a04-86b4-037b2ffc6ebf" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExcludingCashAndCashEquivalentMember_c8080ef7-9f39-4a06-bf5e-eb6719ab7663" xlink:href="htgc-20231231.xsd#htgc_ExcludingCashAndCashEquivalentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_htgc_ExcludingCashAndCashEquivalentMember_c8080ef7-9f39-4a06-bf5e-eb6719ab7663" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DerivativeInstrumentMember_bfc81863-ce89-43fe-8aac-7c08df72d857" xlink:href="htgc-20231231.xsd#htgc_DerivativeInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_htgc_DerivativeInstrumentMember_bfc81863-ce89-43fe-8aac-7c08df72d857" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IncludingCashAndCashEquivalentsAndDerivativeInstrumentsMember_5142a180-a974-4b16-9814-caf45aa595ab" xlink:href="htgc-20231231.xsd#htgc_IncludingCashAndCashEquivalentsAndDerivativeInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e720ac11-44df-4437-96ce-efafa2f4e5b1" xlink:to="loc_htgc_IncludingCashAndCashEquivalentsAndDerivativeInstrumentsMember_5142a180-a974-4b16-9814-caf45aa595ab" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_ef570394-74e6-48da-81fb-0ab92b1851ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_128d56c7-c02f-4f6d-8f66-a32f21b57547" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_ef570394-74e6-48da-81fb-0ab92b1851ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_b62d7fdc-a1c6-442b-af35-2eb1b2e29f29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_128d56c7-c02f-4f6d-8f66-a32f21b57547" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_b62d7fdc-a1c6-442b-af35-2eb1b2e29f29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_e0b5e587-62b0-4894-885f-76f172cae510" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_128d56c7-c02f-4f6d-8f66-a32f21b57547" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_e0b5e587-62b0-4894-885f-76f172cae510" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofReconciliationofChangesforAllFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsScheduleofReconciliationofChangesforAllFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofReconciliationofChangesforAllFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_fdde07b1-93de-4ac0-8e1a-863cabdf2d62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_fdde07b1-93de-4ac0-8e1a-863cabdf2d62" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5865b2e0-9fec-4d27-bfca-2a0a805cf08b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5865b2e0-9fec-4d27-bfca-2a0a805cf08b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_5865b2e0-9fec-4d27-bfca-2a0a805cf08b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5865b2e0-9fec-4d27-bfca-2a0a805cf08b" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_5865b2e0-9fec-4d27-bfca-2a0a805cf08b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_00ca66c2-c361-4a97-847d-5afc26ed0d14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5865b2e0-9fec-4d27-bfca-2a0a805cf08b" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_00ca66c2-c361-4a97-847d-5afc26ed0d14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_f6a2bddb-7742-49c4-b11f-fbb1198f2c21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_00ca66c2-c361-4a97-847d-5afc26ed0d14" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_f6a2bddb-7742-49c4-b11f-fbb1198f2c21" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_1721bd82-e891-4b19-877a-9fba946f3bc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_1721bd82-e891-4b19-877a-9fba946f3bc9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_1721bd82-e891-4b19-877a-9fba946f3bc9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1721bd82-e891-4b19-877a-9fba946f3bc9" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_1721bd82-e891-4b19-877a-9fba946f3bc9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_45a35f80-5302-49ed-ad28-41b2b53d67fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_1721bd82-e891-4b19-877a-9fba946f3bc9" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_45a35f80-5302-49ed-ad28-41b2b53d67fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HtgcDebtAndEquitySecuritiesRealizedGainLossMember_0eb66494-e8c0-4cbf-aa98-293ec975065c" xlink:href="htgc-20231231.xsd#htgc_HtgcDebtAndEquitySecuritiesRealizedGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_45a35f80-5302-49ed-ad28-41b2b53d67fd" xlink:to="loc_htgc_HtgcDebtAndEquitySecuritiesRealizedGainLossMember_0eb66494-e8c0-4cbf-aa98-293ec975065c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0fdd28d6-990c-4130-869a-aa9b2f207cab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0fdd28d6-990c-4130-869a-aa9b2f207cab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0fdd28d6-990c-4130-869a-aa9b2f207cab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0fdd28d6-990c-4130-869a-aa9b2f207cab" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0fdd28d6-990c-4130-869a-aa9b2f207cab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4133cb3e-6b0a-4e73-8022-3dee9327159c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0fdd28d6-990c-4130-869a-aa9b2f207cab" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4133cb3e-6b0a-4e73-8022-3dee9327159c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_cb52a88d-d5e2-4072-9e75-eaa1db64cb2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4133cb3e-6b0a-4e73-8022-3dee9327159c" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_cb52a88d-d5e2-4072-9e75-eaa1db64cb2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_b20d9c75-cd68-4bd4-bc8d-e78489208fe3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_b20d9c75-cd68-4bd4-bc8d-e78489208fe3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b20d9c75-cd68-4bd4-bc8d-e78489208fe3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b20d9c75-cd68-4bd4-bc8d-e78489208fe3" xlink:to="loc_us-gaap_EquityComponentDomain_b20d9c75-cd68-4bd4-bc8d-e78489208fe3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_b0eb3eee-b253-4055-bcbb-ebe2bf3d5dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_b20d9c75-cd68-4bd4-bc8d-e78489208fe3" xlink:to="loc_us-gaap_EquityComponentDomain_b0eb3eee-b253-4055-bcbb-ebe2bf3d5dcc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_a9db68f5-4783-40b3-bd64-063c8ae6a101" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b0eb3eee-b253-4055-bcbb-ebe2bf3d5dcc" xlink:to="loc_us-gaap_PreferredStockMember_a9db68f5-4783-40b3-bd64-063c8ae6a101" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_c763bbab-246d-4e0c-961b-da93abfe2f45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b0eb3eee-b253-4055-bcbb-ebe2bf3d5dcc" xlink:to="loc_us-gaap_CommonStockMember_c763bbab-246d-4e0c-961b-da93abfe2f45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_aa526bba-18e8-44a6-8015-f6c0fbdcca3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_b0eb3eee-b253-4055-bcbb-ebe2bf3d5dcc" xlink:to="loc_us-gaap_WarrantMember_aa526bba-18e8-44a6-8015-f6c0fbdcca3c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_f6967473-177c-4b1c-889d-b495534f7dbc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_f6967473-177c-4b1c-889d-b495534f7dbc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f6967473-177c-4b1c-889d-b495534f7dbc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_f6967473-177c-4b1c-889d-b495534f7dbc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f6967473-177c-4b1c-889d-b495534f7dbc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3b04374c-34d4-45cb-9612-1bd7ec21f169" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_f6967473-177c-4b1c-889d-b495534f7dbc" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3b04374c-34d4-45cb-9612-1bd7ec21f169" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_955db9d8-35c4-4f17-a791-fd378e7b0113" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3b04374c-34d4-45cb-9612-1bd7ec21f169" xlink:to="loc_us-gaap_UnsecuredDebtMember_955db9d8-35c4-4f17-a791-fd378e7b0113" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_InvestmentTypeAxis_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_2a11ec5c-706f-49cb-97f3-3dc750dcf1cf" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_76b80120-07e7-4069-a6e8-f6720b65c80b" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:to="loc_htgc_SeniorSecuredDebtMember_76b80120-07e7-4069-a6e8-f6720b65c80b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_f74681a2-6e84-4c81-92fc-d169689f001c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:to="loc_us-gaap_UnsecuredDebtMember_f74681a2-6e84-4c81-92fc-d169689f001c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EscrowAndOtherInvestmentReceivableMember_30be3de8-0188-40c6-a6ce-380e24061f5a" xlink:href="htgc-20231231.xsd#htgc_EscrowAndOtherInvestmentReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:to="loc_htgc_EscrowAndOtherInvestmentReceivableMember_30be3de8-0188-40c6-a6ce-380e24061f5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EscrowReceivableMember_c511a52f-5c2a-4aa2-85f6-311634b80f41" xlink:href="htgc-20231231.xsd#htgc_EscrowReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_2383d327-21ef-48de-837d-ccc9a55ae160" xlink:to="loc_htgc_EscrowReceivableMember_c511a52f-5c2a-4aa2-85f6-311634b80f41" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_69f7b4b6-52f5-42f1-8013-fb223ac75ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_a03c19d8-e96a-4453-a531-fe62bb247618" xlink:to="loc_us-gaap_FinancialInstrumentAxis_69f7b4b6-52f5-42f1-8013-fb223ac75ce3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_69f7b4b6-52f5-42f1-8013-fb223ac75ce3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_69f7b4b6-52f5-42f1-8013-fb223ac75ce3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_69f7b4b6-52f5-42f1-8013-fb223ac75ce3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f4cb27d9-58db-4227-90c3-eb3c0062f902" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_69f7b4b6-52f5-42f1-8013-fb223ac75ce3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f4cb27d9-58db-4227-90c3-eb3c0062f902" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_66647ca9-12ed-4b5d-b8c9-b2c9723f782b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f4cb27d9-58db-4227-90c3-eb3c0062f902" xlink:to="loc_us-gaap_PreferredStockMember_66647ca9-12ed-4b5d-b8c9-b2c9723f782b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_b38f41cb-62fa-475a-86cb-6030cf30bfef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f4cb27d9-58db-4227-90c3-eb3c0062f902" xlink:to="loc_us-gaap_CommonStockMember_b38f41cb-62fa-475a-86cb-6030cf30bfef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_ac7c5e3a-34a2-4eb3-90e4-f5f31c22c971" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f4cb27d9-58db-4227-90c3-eb3c0062f902" xlink:to="loc_us-gaap_WarrantMember_ac7c5e3a-34a2-4eb3-90e4-f5f31c22c971" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:href="htgc-20231231.xsd#htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_fdde07b1-93de-4ac0-8e1a-863cabdf2d62" xlink:to="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_5ba5356b-70c5-4906-a277-0b202c9440c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_5ba5356b-70c5-4906-a277-0b202c9440c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_77a7dcf7-1073-47a7-8022-3619c34db6d9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_77a7dcf7-1073-47a7-8022-3619c34db6d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList_b3b6b678-4293-4bbf-abfa-86552735b71d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList_b3b6b678-4293-4bbf-abfa-86552735b71d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPeriodIncreaseDecrease_387b6300-d57f-4917-b925-2472d1db4d00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPeriodIncreaseDecrease_387b6300-d57f-4917-b925-2472d1db4d00" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_60451298-6ecc-442c-9af4-9dbd9ce01954" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_60451298-6ecc-442c-9af4-9dbd9ce01954" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_431e70a4-c9a7-4a5c-9f66-55de06c7d020" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_431e70a4-c9a7-4a5c-9f66-55de06c7d020" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_978c2b99-c454-41a5-b3ae-b5afc651990d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_978c2b99-c454-41a5-b3ae-b5afc651990d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_3a8a228a-2cf4-47e3-a62f-829bb1c5d26b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3_3a8a228a-2cf4-47e3-a62f-829bb1c5d26b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_9e030480-8e58-4349-9035-5f15f13a8d84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisRollForward_651613ab-e410-48c2-a148-29540e6ddcb2" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_9e030480-8e58-4349-9035-5f15f13a8d84" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_262b2a9d-5cd1-4a70-a0c6-56d33c93c666" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofEquityInvestmentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsScheduleofEquityInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_af1819e4-ab03-4866-9390-0062dc34bbb3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_f362554d-699a-420e-b45c-5d3e54e6758e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_af1819e4-ab03-4866-9390-0062dc34bbb3" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_f362554d-699a-420e-b45c-5d3e54e6758e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_fbc87538-db21-4e19-a15c-4ddc5055fa88" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_f362554d-699a-420e-b45c-5d3e54e6758e" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_fbc87538-db21-4e19-a15c-4ddc5055fa88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_fbc87538-db21-4e19-a15c-4ddc5055fa88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_fbc87538-db21-4e19-a15c-4ddc5055fa88" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_fbc87538-db21-4e19-a15c-4ddc5055fa88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d120f85c-76d2-4304-a97c-9a40f504c872" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_fbc87538-db21-4e19-a15c-4ddc5055fa88" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d120f85c-76d2-4304-a97c-9a40f504c872" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_77d72f93-6d72-4aa0-8215-915afc5981c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d120f85c-76d2-4304-a97c-9a40f504c872" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_77d72f93-6d72-4aa0-8215-915afc5981c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5d7808a2-85b3-42d7-94fb-f6ecee9b0157" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_f362554d-699a-420e-b45c-5d3e54e6758e" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5d7808a2-85b3-42d7-94fb-f6ecee9b0157" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5d7808a2-85b3-42d7-94fb-f6ecee9b0157_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5d7808a2-85b3-42d7-94fb-f6ecee9b0157" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5d7808a2-85b3-42d7-94fb-f6ecee9b0157_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5d7808a2-85b3-42d7-94fb-f6ecee9b0157" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsMember_f4cc96ca-235e-473f-a6a2-e57b96df720e" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:to="loc_htgc_DebtInvestmentsMember_f4cc96ca-235e-473f-a6a2-e57b96df720e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PreferredStockInvestmentMember_37a2f0f3-eda5-4761-a01f-cb875ff03365" xlink:href="htgc-20231231.xsd#htgc_PreferredStockInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:to="loc_htgc_PreferredStockInvestmentMember_37a2f0f3-eda5-4761-a01f-cb875ff03365" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonStockInvestmentMember_c2e0bdb2-0158-4f02-b4ba-34adc5baf277" xlink:href="htgc-20231231.xsd#htgc_CommonStockInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:to="loc_htgc_CommonStockInvestmentMember_c2e0bdb2-0158-4f02-b4ba-34adc5baf277" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WarrantInvestmentMember_f4fc3968-3883-48cc-a1a4-ca5266d542c7" xlink:href="htgc-20231231.xsd#htgc_WarrantInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b35178ab-5e59-48b0-8a5e-35bdc0f7f450" xlink:to="loc_htgc_WarrantInvestmentMember_f4fc3968-3883-48cc-a1a4-ca5266d542c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_9b83853e-0fe0-4b35-ba4e-f161de086021" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_af1819e4-ab03-4866-9390-0062dc34bbb3" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_9b83853e-0fe0-4b35-ba4e-f161de086021" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofQuantitativeInformationofFairValueMeasurementsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsScheduleofQuantitativeInformationofFairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofQuantitativeInformationofFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_7f78283e-806c-4c32-8ae8-d9a3fac455be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_7f78283e-806c-4c32-8ae8-d9a3fac455be" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d0657c06-5291-4c5b-aa5e-ba64f99555ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d0657c06-5291-4c5b-aa5e-ba64f99555ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d0657c06-5291-4c5b-aa5e-ba64f99555ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d0657c06-5291-4c5b-aa5e-ba64f99555ab" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d0657c06-5291-4c5b-aa5e-ba64f99555ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b5147451-2aac-43ba-9e8b-f4ab7b61c74b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d0657c06-5291-4c5b-aa5e-ba64f99555ab" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b5147451-2aac-43ba-9e8b-f4ab7b61c74b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_8c2c3f79-6a85-474f-8d08-d70c85981da1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_b5147451-2aac-43ba-9e8b-f4ab7b61c74b" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_8c2c3f79-6a85-474f-8d08-d70c85981da1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_us-gaap_ValuationTechniqueAxis_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b" xlink:to="loc_us-gaap_ValuationTechniqueDomain_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_9c0d1004-5f4b-4fca-8ab4-6ff654664c0b" xlink:to="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ValuationTechniqueMarketComparableCompaniesMember_cbffc913-ac15-471c-b72f-f9cda4112df6" xlink:href="htgc-20231231.xsd#htgc_ValuationTechniqueMarketComparableCompaniesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_htgc_ValuationTechniqueMarketComparableCompaniesMember_cbffc913-ac15-471c-b72f-f9cda4112df6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeApproachValuationTechniqueMember_1676981a-ce5a-4acb-9856-8be13ca8cc1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_us-gaap_IncomeApproachValuationTechniqueMember_1676981a-ce5a-4acb-9856-8be13ca8cc1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ValuationTechniqueLiquidationMember_856361fd-e5a9-4b72-8f50-22fd4afd849e" xlink:href="htgc-20231231.xsd#htgc_ValuationTechniqueLiquidationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_htgc_ValuationTechniqueLiquidationMember_856361fd-e5a9-4b72-8f50-22fd4afd849e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostApproachValuationTechniqueMember_ffc3828e-a688-41f8-a6ee-6a5eaa104b57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostApproachValuationTechniqueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_us-gaap_CostApproachValuationTechniqueMember_ffc3828e-a688-41f8-a6ee-6a5eaa104b57" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsImminentPayoffsMember_2925d6e9-d68b-46ce-9b3e-f69ca1dc0283" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsImminentPayoffsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_htgc_DebtInvestmentsImminentPayoffsMember_2925d6e9-d68b-46ce-9b3e-f69ca1dc0283" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtMaturingWithinOneYearMember_a3d25c57-892d-46aa-8230-5d80345e0f06" xlink:href="htgc-20231231.xsd#htgc_DebtMaturingWithinOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_htgc_DebtMaturingWithinOneYearMember_a3d25c57-892d-46aa-8230-5d80345e0f06" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueOptionPricingModelMember_34756ff7-5445-444e-8641-16adad052a9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationTechniqueOptionPricingModelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_us-gaap_ValuationTechniqueOptionPricingModelMember_34756ff7-5445-444e-8641-16adad052a9b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_af5e3e11-f595-4093-90cf-e34af8df3126" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ValuationTechniqueDiscountedCashFlowMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_us-gaap_ValuationTechniqueDiscountedCashFlowMember_af5e3e11-f595-4093-90cf-e34af8df3126" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ValuationTechniqueOtherMember_5cc7f85b-c006-44eb-a44e-32e62cb251bd" xlink:href="htgc-20231231.xsd#htgc_ValuationTechniqueOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_8b3766d0-a1b1-4722-bfa1-23b9d387042b" xlink:to="loc_htgc_ValuationTechniqueOtherMember_5cc7f85b-c006-44eb-a44e-32e62cb251bd" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ac4b4a54-ed94-4a34-b373-f8fce03220a6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_srt_RangeAxis_ac4b4a54-ed94-4a34-b373-f8fce03220a6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ac4b4a54-ed94-4a34-b373-f8fce03220a6_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_ac4b4a54-ed94-4a34-b373-f8fce03220a6" xlink:to="loc_srt_RangeMember_ac4b4a54-ed94-4a34-b373-f8fce03220a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_56830b65-2846-47ef-8a97-b363d7fc049c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_ac4b4a54-ed94-4a34-b373-f8fce03220a6" xlink:to="loc_srt_RangeMember_56830b65-2846-47ef-8a97-b363d7fc049c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_9554edba-fb46-4721-b612-ead496c6942e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_56830b65-2846-47ef-8a97-b363d7fc049c" xlink:to="loc_srt_MinimumMember_9554edba-fb46-4721-b612-ead496c6942e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_c3ddba7f-9ab0-4c22-bfa6-ffd601b8b0f2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_56830b65-2846-47ef-8a97-b363d7fc049c" xlink:to="loc_srt_MaximumMember_c3ddba7f-9ab0-4c22-bfa6-ffd601b8b0f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_80065602-5064-49f2-b2d3-0ac2b8bb0572" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_56830b65-2846-47ef-8a97-b363d7fc049c" xlink:to="loc_srt_WeightedAverageMember_80065602-5064-49f2-b2d3-0ac2b8bb0572" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_ecad15e7-b2d7-4b1a-80c3-c789de85dbd7" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MeasurementInputHypotheticalMarketYieldMember_f6ade3b9-25f7-437c-b9db-492ddfab0534" xlink:href="htgc-20231231.xsd#htgc_MeasurementInputHypotheticalMarketYieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_htgc_MeasurementInputHypotheticalMarketYieldMember_f6ade3b9-25f7-437c-b9db-492ddfab0534" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MeasurementInputPremiumDiscountNettingMember_cf4d6d69-db77-4bd1-bfeb-9a2a03566684" xlink:href="htgc-20231231.xsd#htgc_MeasurementInputPremiumDiscountNettingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_htgc_MeasurementInputPremiumDiscountNettingMember_cf4d6d69-db77-4bd1-bfeb-9a2a03566684" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MeasurementInputsProbabilityWeightingOfAlternativeOutcomesMember_786a6bcb-a4b7-4eef-8a3b-80951fbe47c0" xlink:href="htgc-20231231.xsd#htgc_MeasurementInputsProbabilityWeightingOfAlternativeOutcomesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_htgc_MeasurementInputsProbabilityWeightingOfAlternativeOutcomesMember_786a6bcb-a4b7-4eef-8a3b-80951fbe47c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputEbitdaMultipleMember_7b98144b-af98-4cd6-9940-65e389b0d309" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputEbitdaMultipleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_us-gaap_MeasurementInputEbitdaMultipleMember_7b98144b-af98-4cd6-9940-65e389b0d309" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputRevenueMultipleMember_9c9e144d-9c8e-4496-8979-8fc5dab22271" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputRevenueMultipleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_us-gaap_MeasurementInputRevenueMultipleMember_9c9e144d-9c8e-4496-8979-8fc5dab22271" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MeasurementInputTangibleBookValueMultipleMember_53595875-4e01-4773-936f-ec0af527ebf4" xlink:href="htgc-20231231.xsd#htgc_MeasurementInputTangibleBookValueMultipleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_htgc_MeasurementInputTangibleBookValueMultipleMember_53595875-4e01-4773-936f-ec0af527ebf4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDiscountForLackOfMarketabilityMember_c00a1e4c-0d53-42e6-a56b-4f0846d1f39a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputDiscountForLackOfMarketabilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_us-gaap_MeasurementInputDiscountForLackOfMarketabilityMember_c00a1e4c-0d53-42e6-a56b-4f0846d1f39a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MeasurementInputMarketEquityAdjustmentMember_045fb2b0-b8fe-4f38-a16b-d13170c31343" xlink:href="htgc-20231231.xsd#htgc_MeasurementInputMarketEquityAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_htgc_MeasurementInputMarketEquityAdjustmentMember_045fb2b0-b8fe-4f38-a16b-d13170c31343" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDiscountRateMember_9ded0309-fa28-4195-b7aa-fa693e059abe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MeasurementInputDiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_dd4efd77-5fb4-46f8-a81b-cf70ca58f3f0" xlink:to="loc_us-gaap_MeasurementInputDiscountRateMember_9ded0309-fa28-4195-b7aa-fa693e059abe" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_a340aaea-6749-4e31-b333-057bfe0f8bf2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_a340aaea-6749-4e31-b333-057bfe0f8bf2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_a340aaea-6749-4e31-b333-057bfe0f8bf2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_a340aaea-6749-4e31-b333-057bfe0f8bf2" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_a340aaea-6749-4e31-b333-057bfe0f8bf2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_a340aaea-6749-4e31-b333-057bfe0f8bf2" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PharmaceuticalsMember_a760d100-d6ee-43bf-bf42-7769761c3b8c" xlink:href="htgc-20231231.xsd#htgc_PharmaceuticalsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:to="loc_htgc_PharmaceuticalsMember_a760d100-d6ee-43bf-bf42-7769761c3b8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TechnologyMember_42b1e72a-d571-4e7a-96bd-944592676a0e" xlink:href="htgc-20231231.xsd#htgc_TechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:to="loc_htgc_TechnologyMember_42b1e72a-d571-4e7a-96bd-944592676a0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SustainableAndRenewableTechnologyMember_c2baf70e-a8fc-45a7-bcb9-a7f0a801b0db" xlink:href="htgc-20231231.xsd#htgc_SustainableAndRenewableTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:to="loc_htgc_SustainableAndRenewableTechnologyMember_c2baf70e-a8fc-45a7-bcb9-a7f0a801b0db" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LowerMiddleMarketMember_38193828-703d-4af2-b979-01afce2491f7" xlink:href="htgc-20231231.xsd#htgc_LowerMiddleMarketMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:to="loc_htgc_LowerMiddleMarketMember_38193828-703d-4af2-b979-01afce2491f7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherInvestmentReceivableMember_01522742-83c2-4dce-b9ba-fe47d5874295" xlink:href="htgc-20231231.xsd#htgc_OtherInvestmentReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_4d0e75cd-00fc-4a30-93c6-b1b9e84963df" xlink:to="loc_htgc_OtherInvestmentReceivableMember_01522742-83c2-4dce-b9ba-fe47d5874295" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ead1aeac-d025-4c8a-99d1-e64e07e68711" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5bc04e27-16fd-4fca-b881-3f36fb957889" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ead1aeac-d025-4c8a-99d1-e64e07e68711" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ead1aeac-d025-4c8a-99d1-e64e07e68711_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ead1aeac-d025-4c8a-99d1-e64e07e68711" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ead1aeac-d025-4c8a-99d1-e64e07e68711_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ead1aeac-d025-4c8a-99d1-e64e07e68711" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsMember_01240be4-8bc1-409c-b36b-189d40d6c375" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_htgc_DebtInvestmentsMember_01240be4-8bc1-409c-b36b-189d40d6c375" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesMember_f9707009-736b-4c3f-89a9-dcc5710a4dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_us-gaap_EquitySecuritiesMember_f9707009-736b-4c3f-89a9-dcc5710a4dc7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_e9631209-6be2-45c6-a737-5c5ddb274e34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_us-gaap_WarrantMember_e9631209-6be2-45c6-a737-5c5ddb274e34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EquityAndWarrantInvestmentsMember_12a84a0d-6c6c-48fb-abf2-38869b252434" xlink:href="htgc-20231231.xsd#htgc_EquityAndWarrantInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_htgc_EquityAndWarrantInvestmentsMember_12a84a0d-6c6c-48fb-abf2-38869b252434" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherInvestmentReceivablesMember_ac5ca79a-6d8f-4b6b-85fa-5f3d8077554a" xlink:href="htgc-20231231.xsd#htgc_OtherInvestmentReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_htgc_OtherInvestmentReceivablesMember_ac5ca79a-6d8f-4b6b-85fa-5f3d8077554a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsAndOtherInvestmentReceivablesMember_3dcf0b27-b1e2-460f-bc6c-1eacc913c2db" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsAndOtherInvestmentReceivablesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_00ae3fc6-8203-4036-a3e6-ecd2ad6cfd2b" xlink:to="loc_htgc_DebtInvestmentsAndOtherInvestmentReceivablesMember_3dcf0b27-b1e2-460f-bc6c-1eacc913c2db" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_632d36be-1c19-467a-9016-a4e9607b5159" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_7f78283e-806c-4c32-8ae8-d9a3fac455be" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_632d36be-1c19-467a-9016-a4e9607b5159" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentOwnedFairValueMeasurementInput_374f777c-1829-4032-b86e-7f28a2fb3f73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentOwnedFairValueMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_7f78283e-806c-4c32-8ae8-d9a3fac455be" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentOwnedFairValueMeasurementInput_374f777c-1829-4032-b86e-7f28a2fb3f73" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_47ff9db0-d9ca-41a1-965a-2bc94700c327" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_088f4017-9fab-43c1-a2ce-868d99cfb9b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_47ff9db0-d9ca-41a1-965a-2bc94700c327" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_088f4017-9fab-43c1-a2ce-868d99cfb9b7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_e3a744f0-e3b0-48f9-a98e-127ed621c9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_088f4017-9fab-43c1-a2ce-868d99cfb9b7" xlink:to="loc_us-gaap_FinancialInstrumentAxis_e3a744f0-e3b0-48f9-a98e-127ed621c9eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e3a744f0-e3b0-48f9-a98e-127ed621c9eb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e3a744f0-e3b0-48f9-a98e-127ed621c9eb" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e3a744f0-e3b0-48f9-a98e-127ed621c9eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_574fdc8a-4712-4d2f-b4c9-63295e5f788b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e3a744f0-e3b0-48f9-a98e-127ed621c9eb" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_574fdc8a-4712-4d2f-b4c9-63295e5f788b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnderwritingMember_1bd43f38-f5ca-4fde-84f3-b96d349303f7" xlink:href="htgc-20231231.xsd#htgc_UnderwritingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_574fdc8a-4712-4d2f-b4c9-63295e5f788b" xlink:to="loc_htgc_UnderwritingMember_1bd43f38-f5ca-4fde-84f3-b96d349303f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_9cc22925-38e0-4fd9-b33e-3627ec759d58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_088f4017-9fab-43c1-a2ce-868d99cfb9b7" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_9cc22925-38e0-4fd9-b33e-3627ec759d58" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9cc22925-38e0-4fd9-b33e-3627ec759d58_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9cc22925-38e0-4fd9-b33e-3627ec759d58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9cc22925-38e0-4fd9-b33e-3627ec759d58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3a63cfa2-8f60-42fa-ac0c-8cb70664932c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_9cc22925-38e0-4fd9-b33e-3627ec759d58" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3a63cfa2-8f60-42fa-ac0c-8cb70664932c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_e02589cc-3346-44e9-9e4a-e99bc221680c" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3a63cfa2-8f60-42fa-ac0c-8cb70664932c" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_e02589cc-3346-44e9-9e4a-e99bc221680c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_6da6a4e5-91c4-4729-a03a-de0758288bff" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3a63cfa2-8f60-42fa-ac0c-8cb70664932c" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_6da6a4e5-91c4-4729-a03a-de0758288bff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_de2fe862-ec5c-4962-a444-8e89f6a67c46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_47ff9db0-d9ca-41a1-965a-2bc94700c327" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_de2fe862-ec5c-4962-a444-8e89f6a67c46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CurrentPricePerParValue_c8cff72f-8882-4bb8-a28f-edf882f68cf8" xlink:href="htgc-20231231.xsd#htgc_CurrentPricePerParValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_47ff9db0-d9ca-41a1-965a-2bc94700c327" xlink:to="loc_htgc_CurrentPricePerParValue_c8cff72f-8882-4bb8-a28f-edf882f68cf8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofFairValueHierarchyOfOutstandingBorrowingsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FairValueofFinancialInstrumentsScheduleofFairValueHierarchyOfOutstandingBorrowingsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FairValueofFinancialInstrumentsScheduleofFairValueHierarchyOfOutstandingBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_9db523ca-e01d-49b9-acc3-46afd5fc1eed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_67bf8230-10b9-4e12-be39-c50f1d1832d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_9db523ca-e01d-49b9-acc3-46afd5fc1eed" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_67bf8230-10b9-4e12-be39-c50f1d1832d4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f17293b6-f797-4408-8f49-0a115080141e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_67bf8230-10b9-4e12-be39-c50f1d1832d4" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f17293b6-f797-4408-8f49-0a115080141e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f17293b6-f797-4408-8f49-0a115080141e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f17293b6-f797-4408-8f49-0a115080141e" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f17293b6-f797-4408-8f49-0a115080141e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e53e913-04d6-4e3e-a62c-71b60bb4e8c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f17293b6-f797-4408-8f49-0a115080141e" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e53e913-04d6-4e3e-a62c-71b60bb4e8c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_9a96db90-aa7b-43c2-afbd-30a612e51072" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e53e913-04d6-4e3e-a62c-71b60bb4e8c0" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_9a96db90-aa7b-43c2-afbd-30a612e51072" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_3ee4ef9f-8851-4b98-ab27-bfda81c2d637" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e53e913-04d6-4e3e-a62c-71b60bb4e8c0" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_3ee4ef9f-8851-4b98-ab27-bfda81c2d637" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_9f3e635a-4a38-45e1-96fe-88cffa19d234" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6e53e913-04d6-4e3e-a62c-71b60bb4e8c0" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_9f3e635a-4a38-45e1-96fe-88cffa19d234" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_436e91e0-6b63-446b-bed0-68d7a6a929eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_67bf8230-10b9-4e12-be39-c50f1d1832d4" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_436e91e0-6b63-446b-bed0-68d7a6a929eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_436e91e0-6b63-446b-bed0-68d7a6a929eb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_436e91e0-6b63-446b-bed0-68d7a6a929eb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_436e91e0-6b63-446b-bed0-68d7a6a929eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_436e91e0-6b63-446b-bed0-68d7a6a929eb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_a2f1b15f-4207-4bce-ac9f-e07a15d37ac1" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_SBADebenturesMember_a2f1b15f-4207-4bce-ac9f-e07a15d37ac1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_55e4817a-efdc-457d-8cd4-b785a4d288b0" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_55e4817a-efdc-457d-8cd4-b785a4d288b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_37e5fa2e-de86-45f8-8cad-7f79a877e864" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_37e5fa2e-de86-45f8-8cad-7f79a877e864" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_79227bc5-be1b-4d11-970f-be494c9ac041" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_79227bc5-be1b-4d11-970f-be494c9ac041" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_a8cbad30-2100-4e1f-8c60-de5a7c7dd222" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_a8cbad30-2100-4e1f-8c60-de5a7c7dd222" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_c9e6d57b-05de-4e1e-b344-92d871a73ef6" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_c9e6d57b-05de-4e1e-b344-92d871a73ef6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_6ea9c992-e552-45e0-8e5d-63d7c12347ca" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_6ea9c992-e552-45e0-8e5d-63d7c12347ca" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_9f3ab4a0-1223-41c8-9cc4-dd36699cf87d" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_9f3ab4a0-1223-41c8-9cc4-dd36699cf87d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_1006c46e-cb24-4e25-a407-da3384e6a26d" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_1006c46e-cb24-4e25-a407-da3384e6a26d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_908ddf67-1d82-437d-9bc1-5e137e951435" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_908ddf67-1d82-437d-9bc1-5e137e951435" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_db563120-39c7-4a8f-9b7d-3381c161b71f" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_db563120-39c7-4a8f-9b7d-3381c161b71f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_7aa546d2-f044-4fab-a816-be9efee91c43" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_MUFGBankFacilityMember_7aa546d2-f044-4fab-a816-be9efee91c43" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_b6120678-ab17-466f-ae33-feed8fb378c0" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_381c8b0f-ce38-4839-aff8-efbed0fc479c" xlink:to="loc_htgc_SMBCFacilityMember_b6120678-ab17-466f-ae33-feed8fb378c0" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_4b5d387a-84ac-492e-8816-9de28453d48d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_67bf8230-10b9-4e12-be39-c50f1d1832d4" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_4b5d387a-84ac-492e-8816-9de28453d48d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4b5d387a-84ac-492e-8816-9de28453d48d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_4b5d387a-84ac-492e-8816-9de28453d48d" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_4b5d387a-84ac-492e-8816-9de28453d48d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8afa1f8b-f5f0-466a-914e-e420b00d0e69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_4b5d387a-84ac-492e-8816-9de28453d48d" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8afa1f8b-f5f0-466a-914e-e420b00d0e69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1ef3b3de-2a8b-46c4-a544-0c9a7a449120" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_8afa1f8b-f5f0-466a-914e-e420b00d0e69" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1ef3b3de-2a8b-46c4-a544-0c9a7a449120" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_317670f7-364f-4202-b90f-c89715a6cccd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1ef3b3de-2a8b-46c4-a544-0c9a7a449120" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_317670f7-364f-4202-b90f-c89715a6cccd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_f8e7f00a-4154-48b0-8fd6-efab7e946dc5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1ef3b3de-2a8b-46c4-a544-0c9a7a449120" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_f8e7f00a-4154-48b0-8fd6-efab7e946dc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_95de3fe3-129b-468c-9f99-55f0b3d6ebcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_9db523ca-e01d-49b9-acc3-46afd5fc1eed" xlink:to="loc_us-gaap_LongTermDebt_95de3fe3-129b-468c-9f99-55f0b3d6ebcd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_7bd24ee4-2562-47d5-9ae5-d555e2d127cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_9db523ca-e01d-49b9-acc3-46afd5fc1eed" xlink:to="loc_us-gaap_LongTermDebtFairValue_7bd24ee4-2562-47d5-9ae5-d555e2d127cf" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofRealizedGainsandLossesandChangesinUnrealizedAppreciationandDepreciationonControlandAffiliateinvestmentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofRealizedGainsandLossesandChangesinUnrealizedAppreciationandDepreciationonControlandAffiliateinvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofRealizedGainsandLossesandChangesinUnrealizedAppreciationandDepreciationonControlandAffiliateinvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_c8111141-e074-4797-9402-6d552229458b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_c8111141-e074-4797-9402-6d552229458b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_57562c59-4bfe-4d5a-80f9-2c9732584552" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_c8111141-e074-4797-9402-6d552229458b" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_57562c59-4bfe-4d5a-80f9-2c9732584552" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_57562c59-4bfe-4d5a-80f9-2c9732584552_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_57562c59-4bfe-4d5a-80f9-2c9732584552" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_57562c59-4bfe-4d5a-80f9-2c9732584552_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_57562c59-4bfe-4d5a-80f9-2c9732584552" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_dd7230f1-6d4f-4aa9-8931-fc47dbf3179b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_dd7230f1-6d4f-4aa9-8931-fc47dbf3179b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_bf81cda0-e562-46f4-a0a4-5f4aac9c161d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_bf81cda0-e562-46f4-a0a4-5f4aac9c161d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerMember_1d92e082-0932-43c9-a25a-193907daf9b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerMember_1d92e082-0932-43c9-a25a-193907daf9b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ControlAndAffiliateIssuerInvestmentsMemberMember_00593442-534a-4cd5-93b8-c37f0eaea37f" xlink:href="htgc-20231231.xsd#htgc_ControlAndAffiliateIssuerInvestmentsMemberMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_873bc9bb-46d9-4421-b3f9-66c36bfa320a" xlink:to="loc_htgc_ControlAndAffiliateIssuerInvestmentsMemberMember_00593442-534a-4cd5-93b8-c37f0eaea37f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_add183bb-8fee-4940-ba38-cc12624f75ff" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_c8111141-e074-4797-9402-6d552229458b" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_add183bb-8fee-4940-ba38-cc12624f75ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_add183bb-8fee-4940-ba38-cc12624f75ff_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_add183bb-8fee-4940-ba38-cc12624f75ff" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_add183bb-8fee-4940-ba38-cc12624f75ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_add183bb-8fee-4940-ba38-cc12624f75ff" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CoronadoAestheticsLLCMember_0eef16db-9fc7-4d86-b940-0854123fb4b9" xlink:href="htgc-20231231.xsd#htgc_CoronadoAestheticsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_CoronadoAestheticsLLCMember_0eef16db-9fc7-4d86-b940-0854123fb4b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarAcquisitionLLCMember_de181155-4540-40db-8d06-5f8a7efe08cf" xlink:href="htgc-20231231.xsd#htgc_GibraltarAcquisitionLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_GibraltarAcquisitionLLCMember_de181155-4540-40db-8d06-5f8a7efe08cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarBusinessCapitalLLCMember_a95fc87b-bace-406d-8cd2-521b9a098cde" xlink:href="htgc-20231231.xsd#htgc_GibraltarBusinessCapitalLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_GibraltarBusinessCapitalLLCMember_a95fc87b-bace-406d-8cd2-521b9a098cde" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HerculesAdviserLLCMember_24cf6ec3-e054-4891-92a3-22ca13d187ef" xlink:href="htgc-20231231.xsd#htgc_HerculesAdviserLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_HerculesAdviserLLCMember_24cf6ec3-e054-4891-92a3-22ca13d187ef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TecturaCorporationMember_5b9f2013-414c-4cb9-ae03-1e94aa87ca54" xlink:href="htgc-20231231.xsd#htgc_TecturaCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_TecturaCorporationMember_5b9f2013-414c-4cb9-ae03-1e94aa87ca54" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BlackCrowAIIncMember_2b3ade7a-305a-4368-b280-f1e9c40e4f59" xlink:href="htgc-20231231.xsd#htgc_BlackCrowAIIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_BlackCrowAIIncMember_2b3ade7a-305a-4368-b280-f1e9c40e4f59" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PineappleEnergyLLCMember_29da95a0-c6fd-4ca5-a857-77d6125b0117" xlink:href="htgc-20231231.xsd#htgc_PineappleEnergyLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_PineappleEnergyLLCMember_29da95a0-c6fd-4ca5-a857-77d6125b0117" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SolarSpectrumHoldingsLLCMember_03fffefe-9600-483b-bdf4-d3643f928e80" xlink:href="htgc-20231231.xsd#htgc_SolarSpectrumHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_89a2d9ac-863a-4815-b142-8d263727c274" xlink:to="loc_htgc_SolarSpectrumHoldingsLLCMember_03fffefe-9600-483b-bdf4-d3643f928e80" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_b697751f-54ff-4ac6-8940-2960d4190d3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_b697751f-54ff-4ac6-8940-2960d4190d3a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperating_3ea56a85-b899-494a-8e17-e966b6438c41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_InterestIncomeOperating_3ea56a85-b899-494a-8e17-e966b6438c41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_d97f1df7-a79f-4e6e-9c3d-0c53f07f7cf8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FeeIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_FeeIncome_d97f1df7-a79f-4e6e-9c3d-0c53f07f7cf8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_17dd1561-e935-4c70-80c1-e0c17fb2d24e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_17dd1561-e935-4c70-80c1-e0c17fb2d24e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_4459fb4e-7d8e-4668-83d5-62e87f4aa9b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_143413bb-969d-4e6a-8e57-6565e43613fc" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_4459fb4e-7d8e-4668-83d5-62e87f4aa9b7" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioofInvestmentsbyAssetClassDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofFairValuePortfolioofInvestmentsbyAssetClassDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioofInvestmentsbyAssetClassDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_eb430704-03ed-4c91-b3a3-a31232e07302" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_6aebb6e9-8f48-4bdd-a2c2-59cb8b645ccc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_eb430704-03ed-4c91-b3a3-a31232e07302" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_6aebb6e9-8f48-4bdd-a2c2-59cb8b645ccc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_3f2861ce-6990-4202-8a56-8fe922d88890" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_6aebb6e9-8f48-4bdd-a2c2-59cb8b645ccc" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_3f2861ce-6990-4202-8a56-8fe922d88890" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3f2861ce-6990-4202-8a56-8fe922d88890_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_3f2861ce-6990-4202-8a56-8fe922d88890" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3f2861ce-6990-4202-8a56-8fe922d88890_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_477c3bdd-ef98-4f8d-b2ed-fcdb07c15e58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_3f2861ce-6990-4202-8a56-8fe922d88890" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_477c3bdd-ef98-4f8d-b2ed-fcdb07c15e58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentTypeConcentrationRiskMember_295769ed-fde9-445d-8716-3d808fe2b33c" xlink:href="htgc-20231231.xsd#htgc_InvestmentTypeConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_477c3bdd-ef98-4f8d-b2ed-fcdb07c15e58" xlink:to="loc_htgc_InvestmentTypeConcentrationRiskMember_295769ed-fde9-445d-8716-3d808fe2b33c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d370230-9c65-4a82-92fe-4fd6f0ff241c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_6aebb6e9-8f48-4bdd-a2c2-59cb8b645ccc" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d370230-9c65-4a82-92fe-4fd6f0ff241c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9d370230-9c65-4a82-92fe-4fd6f0ff241c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d370230-9c65-4a82-92fe-4fd6f0ff241c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_9d370230-9c65-4a82-92fe-4fd6f0ff241c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e6c67d14-8117-435b-b762-9304d5473b28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_9d370230-9c65-4a82-92fe-4fd6f0ff241c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e6c67d14-8117-435b-b762-9304d5473b28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TotalInvestmentsBenchmarkMember_9805afa6-0677-41a9-b1e2-618960024ca4" xlink:href="htgc-20231231.xsd#htgc_TotalInvestmentsBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e6c67d14-8117-435b-b762-9304d5473b28" xlink:to="loc_htgc_TotalInvestmentsBenchmarkMember_9805afa6-0677-41a9-b1e2-618960024ca4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_d6e01e7b-8a4f-440f-8ef5-04473ac8306d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_6aebb6e9-8f48-4bdd-a2c2-59cb8b645ccc" xlink:to="loc_us-gaap_InvestmentTypeAxis_d6e01e7b-8a4f-440f-8ef5-04473ac8306d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_d6e01e7b-8a4f-440f-8ef5-04473ac8306d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_d6e01e7b-8a4f-440f-8ef5-04473ac8306d" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_d6e01e7b-8a4f-440f-8ef5-04473ac8306d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_d6e01e7b-8a4f-440f-8ef5-04473ac8306d" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_8ce3fd3a-578d-47d0-92c2-306d463d3cba" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_htgc_SeniorSecuredDebtMember_8ce3fd3a-578d-47d0-92c2-306d463d3cba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnsecuredMember_ad5d3ffd-af11-402c-bc22-157f4e1772fe" xlink:href="htgc-20231231.xsd#htgc_UnsecuredMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_htgc_UnsecuredMember_ad5d3ffd-af11-402c-bc22-157f4e1772fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_4608f006-254f-40bc-a206-854269f53ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_us-gaap_PreferredStockMember_4608f006-254f-40bc-a206-854269f53ff0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_65b1010b-3098-4fb3-a875-d679daee6af2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_us-gaap_CommonStockMember_65b1010b-3098-4fb3-a875-d679daee6af2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_abcd0dbd-380a-4dfc-9105-495ffa39d8b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_us-gaap_WarrantMember_abcd0dbd-380a-4dfc-9105-495ffa39d8b4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentFundsVehiclesMember_a19b8188-7781-44c3-b6fe-4cfd3fdb93a7" xlink:href="htgc-20231231.xsd#htgc_InvestmentFundsVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_e880d6b8-8a11-489f-b098-ec6fe3d6629f" xlink:to="loc_htgc_InvestmentFundsVehiclesMember_a19b8188-7781-44c3-b6fe-4cfd3fdb93a7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_27a3d517-0822-425e-975e-0630cfa0d5e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_eb430704-03ed-4c91-b3a3-a31232e07302" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_27a3d517-0822-425e-975e-0630cfa0d5e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_a19c6ab8-d212-41dd-8021-a5ef411b404a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_eb430704-03ed-4c91-b3a3-a31232e07302" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_a19c6ab8-d212-41dd-8021-a5ef411b404a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioofInvestmentsbyGeographicLocationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofFairValuePortfolioofInvestmentsbyGeographicLocationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioofInvestmentsbyGeographicLocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_b29a9bf5-b0d5-4038-834f-10dc3d09aa21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_47d00c96-4556-42ae-8fd1-a351b1e4f61c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_b29a9bf5-b0d5-4038-834f-10dc3d09aa21" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_47d00c96-4556-42ae-8fd1-a351b1e4f61c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_6e95ef65-cfff-467e-9421-cff4144e35f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_47d00c96-4556-42ae-8fd1-a351b1e4f61c" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_6e95ef65-cfff-467e-9421-cff4144e35f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_6e95ef65-cfff-467e-9421-cff4144e35f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_6e95ef65-cfff-467e-9421-cff4144e35f5" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_6e95ef65-cfff-467e-9421-cff4144e35f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_8fa4fd0c-1093-488e-ac36-7e3c531fe7ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_6e95ef65-cfff-467e-9421-cff4144e35f5" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_8fa4fd0c-1093-488e-ac36-7e3c531fe7ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_bda9ff24-a794-4a09-979c-d37164a3d94f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_8fa4fd0c-1093-488e-ac36-7e3c531fe7ca" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_bda9ff24-a794-4a09-979c-d37164a3d94f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e92b2f36-0c51-44c4-9d0d-ebb6da293f30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_47d00c96-4556-42ae-8fd1-a351b1e4f61c" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e92b2f36-0c51-44c4-9d0d-ebb6da293f30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e92b2f36-0c51-44c4-9d0d-ebb6da293f30_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e92b2f36-0c51-44c4-9d0d-ebb6da293f30" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e92b2f36-0c51-44c4-9d0d-ebb6da293f30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c83f3b9a-20ff-4e75-b116-62a5c06b5a67" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_e92b2f36-0c51-44c4-9d0d-ebb6da293f30" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c83f3b9a-20ff-4e75-b116-62a5c06b5a67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TotalInvestmentsBenchmarkGeographicalMember_51ad9fed-e47b-48cf-be40-ba65998cf572" xlink:href="htgc-20231231.xsd#htgc_TotalInvestmentsBenchmarkGeographicalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c83f3b9a-20ff-4e75-b116-62a5c06b5a67" xlink:to="loc_htgc_TotalInvestmentsBenchmarkGeographicalMember_51ad9fed-e47b-48cf-be40-ba65998cf572" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_377423da-c98c-4a33-8cb5-57d737603e09" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_47d00c96-4556-42ae-8fd1-a351b1e4f61c" xlink:to="loc_srt_StatementGeographicalAxis_377423da-c98c-4a33-8cb5-57d737603e09" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_377423da-c98c-4a33-8cb5-57d737603e09_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_377423da-c98c-4a33-8cb5-57d737603e09" xlink:to="loc_srt_SegmentGeographicalDomain_377423da-c98c-4a33-8cb5-57d737603e09_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_377423da-c98c-4a33-8cb5-57d737603e09" xlink:to="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_818c6abf-befb-4636-8b65-0338e7ba7de3" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_US_818c6abf-befb-4636-8b65-0338e7ba7de3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_27f9bd30-d79b-4a51-abf1-5669025093cf" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_GB_27f9bd30-d79b-4a51-abf1-5669025093cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_NL_6b921a99-44bb-4329-a6e3-ba7a82c965cf" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_NL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_NL_6b921a99-44bb-4329-a6e3-ba7a82c965cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IL_d3156594-079e-4656-9b99-306e9badc164" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_IL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_IL_d3156594-079e-4656-9b99-306e9badc164" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_ec80bc45-0862-47c2-a96c-609b8858794a" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_CA_ec80bc45-0862-47c2-a96c-609b8858794a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_DK_410c4ee9-674f-4e03-8d8e-3358a59fc7b2" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_DK"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_DK_410c4ee9-674f-4e03-8d8e-3358a59fc7b2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_DE_fcf179ab-b818-417b-a664-4193df49e62e" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_DE"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_DE_fcf179ab-b818-417b-a664-4193df49e62e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherMember_f3b99bea-0d9a-45d0-9863-c690e07db3d6" xlink:href="htgc-20231231.xsd#htgc_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_htgc_OtherMember_f3b99bea-0d9a-45d0-9863-c690e07db3d6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IE_87b61fc7-98a4-47cc-aa3f-800d4b312f14" xlink:href="https://xbrl.sec.gov/country/2023/country-2023.xsd#country_IE"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_3719f82b-0ec5-450d-8fe0-81f80fcb123e" xlink:to="loc_country_IE_87b61fc7-98a4-47cc-aa3f-800d4b312f14" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_0742ac15-09b1-4a97-9b74-69ced454aa11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_b29a9bf5-b0d5-4038-834f-10dc3d09aa21" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_0742ac15-09b1-4a97-9b74-69ced454aa11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_366b79c8-4c1d-40ea-bc40-f14653882b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_b29a9bf5-b0d5-4038-834f-10dc3d09aa21" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_366b79c8-4c1d-40ea-bc40-f14653882b7d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioByIndustrySectorDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofFairValuePortfolioByIndustrySectorDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofFairValuePortfolioByIndustrySectorDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_90d554bc-39f1-459c-8fcb-5083db1b1041" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_23467f38-c53a-498c-bc43-6863bcab368b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_90d554bc-39f1-459c-8fcb-5083db1b1041" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_23467f38-c53a-498c-bc43-6863bcab368b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_8eb1024b-3ed5-4ef6-8a77-5644123f65bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_23467f38-c53a-498c-bc43-6863bcab368b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_8eb1024b-3ed5-4ef6-8a77-5644123f65bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_8eb1024b-3ed5-4ef6-8a77-5644123f65bb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_8eb1024b-3ed5-4ef6-8a77-5644123f65bb" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_8eb1024b-3ed5-4ef6-8a77-5644123f65bb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_0508758a-bc56-4fb5-ae6f-aa144b0f8f22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_8eb1024b-3ed5-4ef6-8a77-5644123f65bb" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_0508758a-bc56-4fb5-ae6f-aa144b0f8f22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IndustrySubSectorConcentrationRiskMember_c7727536-156e-43c4-b922-4e1b469d32e0" xlink:href="htgc-20231231.xsd#htgc_IndustrySubSectorConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_0508758a-bc56-4fb5-ae6f-aa144b0f8f22" xlink:to="loc_htgc_IndustrySubSectorConcentrationRiskMember_c7727536-156e-43c4-b922-4e1b469d32e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_dc2d6418-f849-454f-825a-ba319386bf73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_23467f38-c53a-498c-bc43-6863bcab368b" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_dc2d6418-f849-454f-825a-ba319386bf73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_dc2d6418-f849-454f-825a-ba319386bf73_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_dc2d6418-f849-454f-825a-ba319386bf73" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_dc2d6418-f849-454f-825a-ba319386bf73_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e8439c69-f444-4617-af5e-3cff70ba9bba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_dc2d6418-f849-454f-825a-ba319386bf73" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e8439c69-f444-4617-af5e-3cff70ba9bba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IndustrySubSectorInvestmentsBenchmarkMember_ac11de22-9378-4505-b05a-4f4042d7e521" xlink:href="htgc-20231231.xsd#htgc_IndustrySubSectorInvestmentsBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_e8439c69-f444-4617-af5e-3cff70ba9bba" xlink:to="loc_htgc_IndustrySubSectorInvestmentsBenchmarkMember_ac11de22-9378-4505-b05a-4f4042d7e521" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_6704736f-a5dd-430b-bb7c-3cfaf571b899" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_23467f38-c53a-498c-bc43-6863bcab368b" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_6704736f-a5dd-430b-bb7c-3cfaf571b899" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_6704736f-a5dd-430b-bb7c-3cfaf571b899_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_6704736f-a5dd-430b-bb7c-3cfaf571b899" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_6704736f-a5dd-430b-bb7c-3cfaf571b899_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_e6074ad8-6c37-4fb1-9894-8b66246301e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_6704736f-a5dd-430b-bb7c-3cfaf571b899" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_e6074ad8-6c37-4fb1-9894-8b66246301e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:href="htgc-20231231.xsd#htgc_TotalIndustrySectorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_e6074ad8-6c37-4fb1-9894-8b66246301e9" xlink:to="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DrugDiscoveryAndDevelopmentMember_7ec7063e-8153-4a10-87d0-bba6aa83c7bd" xlink:href="htgc-20231231.xsd#htgc_DrugDiscoveryAndDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_DrugDiscoveryAndDevelopmentMember_7ec7063e-8153-4a10-87d0-bba6aa83c7bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SoftwareMember_6ffda2d1-ee88-42f5-a1de-48eff553ca82" xlink:href="htgc-20231231.xsd#htgc_SoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_SoftwareMember_6ffda2d1-ee88-42f5-a1de-48eff553ca82" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConsumerAndBusinessServicesMember_cc6afaac-a9c9-418c-b44f-ce23b12ea229" xlink:href="htgc-20231231.xsd#htgc_ConsumerAndBusinessServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_ConsumerAndBusinessServicesMember_cc6afaac-a9c9-418c-b44f-ce23b12ea229" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HealthcareServicesOtherMember_1cdbe8c6-563e-4f4b-a057-c912e5dbbc7a" xlink:href="htgc-20231231.xsd#htgc_HealthcareServicesOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_HealthcareServicesOtherMember_1cdbe8c6-563e-4f4b-a057-c912e5dbbc7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommunicationsAndNetworkingMember_5bed4e13-5e40-46fa-98c6-7ca5abe8a8a9" xlink:href="htgc-20231231.xsd#htgc_CommunicationsAndNetworkingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_CommunicationsAndNetworkingMember_5bed4e13-5e40-46fa-98c6-7ca5abe8a8a9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DiversifiedFinancialServicesMember_927e9249-c9bd-4417-a83f-ad0d3c7e8f42" xlink:href="htgc-20231231.xsd#htgc_DiversifiedFinancialServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_DiversifiedFinancialServicesMember_927e9249-c9bd-4417-a83f-ad0d3c7e8f42" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InformationServicesMember_bd5d55fd-ffb4-44c8-b69c-60a30898e2a1" xlink:href="htgc-20231231.xsd#htgc_InformationServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_InformationServicesMember_bd5d55fd-ffb4-44c8-b69c-60a30898e2a1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BiotechnologyToolsMember_aa86e9b8-1ee6-4821-ae7f-764b0b84d521" xlink:href="htgc-20231231.xsd#htgc_BiotechnologyToolsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_BiotechnologyToolsMember_aa86e9b8-1ee6-4821-ae7f-764b0b84d521" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ManufacturingTechnologyMember_a7bbe0eb-6045-4805-9019-acb9f5ce561e" xlink:href="htgc-20231231.xsd#htgc_ManufacturingTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_ManufacturingTechnologyMember_a7bbe0eb-6045-4805-9019-acb9f5ce561e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MedicalDevicesAndEquipmentMember_1157f867-e70c-482f-ac9f-d770756efcf4" xlink:href="htgc-20231231.xsd#htgc_MedicalDevicesAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_MedicalDevicesAndEquipmentMember_1157f867-e70c-482f-ac9f-d770756efcf4" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ElectronicsComputerHardwareMember_aaadfc7c-4a22-4906-aaee-40a97bb93329" xlink:href="htgc-20231231.xsd#htgc_ElectronicsComputerHardwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_ElectronicsComputerHardwareMember_aaadfc7c-4a22-4906-aaee-40a97bb93329" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MediaContentInfoMember_dc6328f5-c4ad-4d06-903e-d08acf175ef1" xlink:href="htgc-20231231.xsd#htgc_MediaContentInfoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_MediaContentInfoMember_dc6328f5-c4ad-4d06-903e-d08acf175ef1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SustainableAndRenewableTechnologyMember_293d6fcd-7877-4ca5-9118-8f79ede6bd53" xlink:href="htgc-20231231.xsd#htgc_SustainableAndRenewableTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_SustainableAndRenewableTechnologyMember_293d6fcd-7877-4ca5-9118-8f79ede6bd53" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConsumerAndBusinessProductsMember_a0463fb4-3e80-4fdf-b682-3534d08864d6" xlink:href="htgc-20231231.xsd#htgc_ConsumerAndBusinessProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_ConsumerAndBusinessProductsMember_a0463fb4-3e80-4fdf-b682-3534d08864d6" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SemiconductorsMember_3ce641d0-f39c-4804-9967-42c48e818c78" xlink:href="htgc-20231231.xsd#htgc_SemiconductorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_SemiconductorsMember_3ce641d0-f39c-4804-9967-42c48e818c78" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SurgicalDevicesMember_b16cd2ca-7ac1-4e68-bb63-e12b2d5e6469" xlink:href="htgc-20231231.xsd#htgc_SurgicalDevicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_SurgicalDevicesMember_b16cd2ca-7ac1-4e68-bb63-e12b2d5e6469" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DrugDeliveryMember_4a35ce3d-3cb3-49b5-9964-56d5b8909114" xlink:href="htgc-20231231.xsd#htgc_DrugDeliveryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_TotalIndustrySectorsMember_de6b528a-7ce5-49e1-a992-bfe687cd2bc7" xlink:to="loc_htgc_DrugDeliveryMember_4a35ce3d-3cb3-49b5-9964-56d5b8909114" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_389fa203-4e6c-41d5-a066-75d8db5aca75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_90d554bc-39f1-459c-8fcb-5083db1b1041" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_389fa203-4e6c-41d5-a066-75d8db5aca75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_1ecd924f-106d-4bfd-88fc-dc9c6c0854ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_90d554bc-39f1-459c-8fcb-5083db1b1041" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_1ecd924f-106d-4bfd-88fc-dc9c6c0854ba" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsAdditionalInformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_b2e7b936-874b-4e5a-9386-520dea46d65b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_b2e7b936-874b-4e5a-9386-520dea46d65b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_4093256d-34cf-49ca-b6c7-85767008ccfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_b2e7b936-874b-4e5a-9386-520dea46d65b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_4093256d-34cf-49ca-b6c7-85767008ccfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_4093256d-34cf-49ca-b6c7-85767008ccfc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_4093256d-34cf-49ca-b6c7-85767008ccfc" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_4093256d-34cf-49ca-b6c7-85767008ccfc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_adf6144e-f6ff-4015-bc8e-b46a740e5ff8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_4093256d-34cf-49ca-b6c7-85767008ccfc" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_adf6144e-f6ff-4015-bc8e-b46a740e5ff8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditConcentrationRiskMember_89041b43-7c0f-498e-aee0-9af31f7083d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_adf6144e-f6ff-4015-bc8e-b46a740e5ff8" xlink:to="loc_us-gaap_CreditConcentrationRiskMember_89041b43-7c0f-498e-aee0-9af31f7083d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TopTenInvestmentPercentOfFairValue_9dd1bfe5-6d3e-40ad-9986-410345e2f891" xlink:href="htgc-20231231.xsd#htgc_TopTenInvestmentPercentOfFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:to="loc_htgc_TopTenInvestmentPercentOfFairValue_9dd1bfe5-6d3e-40ad-9986-410345e2f891" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CountPortfolioCompaniesGreaterThanFivePercent_0e01c43d-3875-4358-beaf-57c36742ed59" xlink:href="htgc-20231231.xsd#htgc_CountPortfolioCompaniesGreaterThanFivePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:to="loc_htgc_CountPortfolioCompaniesGreaterThanFivePercent_0e01c43d-3875-4358-beaf-57c36742ed59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CountGreaterFivePercentFairValueEquity_5cfb2155-0798-4a30-862a-e07cb9106c97" xlink:href="htgc-20231231.xsd#htgc_CountGreaterFivePercentFairValueEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:to="loc_htgc_CountGreaterFivePercentFairValueEquity_5cfb2155-0798-4a30-862a-e07cb9106c97" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PercentGreaterFivePercentFairValueEquity_b766d0a4-f3eb-462f-b23c-e34e552cd67c" xlink:href="htgc-20231231.xsd#htgc_PercentGreaterFivePercentFairValueEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_7c2a22dc-9df6-41ba-8f04-21144ffa3c61" xlink:to="loc_htgc_PercentGreaterFivePercentFairValueEquity_b766d0a4-f3eb-462f-b23c-e34e552cd67c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofInvestmentCollateralDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofInvestmentCollateralDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofInvestmentCollateralDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_f3acd841-61a5-4d7d-900f-56ad75a0fd96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_f3acd841-61a5-4d7d-900f-56ad75a0fd96" xlink:to="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_37e5918d-749d-4971-8c38-d7ada098ccfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:to="loc_us-gaap_InvestmentTypeAxis_37e5918d-749d-4971-8c38-d7ada098ccfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_37e5918d-749d-4971-8c38-d7ada098ccfa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_37e5918d-749d-4971-8c38-d7ada098ccfa" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_37e5918d-749d-4971-8c38-d7ada098ccfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_9f5eca72-a4ea-4be4-aee0-5bc929e2660f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_37e5918d-749d-4971-8c38-d7ada098ccfa" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_9f5eca72-a4ea-4be4-aee0-5bc929e2660f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredFirstLienMember_0e8d1ff8-a212-4ab3-9158-2ef8be00decb" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredFirstLienMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_9f5eca72-a4ea-4be4-aee0-5bc929e2660f" xlink:to="loc_htgc_SeniorSecuredFirstLienMember_0e8d1ff8-a212-4ab3-9158-2ef8be00decb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SecondLienMember_1262c67b-e8d9-4714-9e29-8b8387355e5d" xlink:href="htgc-20231231.xsd#htgc_SecondLienMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_9f5eca72-a4ea-4be4-aee0-5bc929e2660f" xlink:to="loc_htgc_SecondLienMember_1262c67b-e8d9-4714-9e29-8b8387355e5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnsecuredMember_282a9755-38ae-47ea-9874-7b94176d86a4" xlink:href="htgc-20231231.xsd#htgc_UnsecuredMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_9f5eca72-a4ea-4be4-aee0-5bc929e2660f" xlink:to="loc_htgc_UnsecuredMember_282a9755-38ae-47ea-9874-7b94176d86a4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_d126c61c-4389-4944-beca-0838e4944fd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_d126c61c-4389-4944-beca-0838e4944fd3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d126c61c-4389-4944-beca-0838e4944fd3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_d126c61c-4389-4944-beca-0838e4944fd3" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d126c61c-4389-4944-beca-0838e4944fd3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_778828e7-b603-4385-8db1-1a49f3e5feb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_d126c61c-4389-4944-beca-0838e4944fd3" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_778828e7-b603-4385-8db1-1a49f3e5feb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TotalDebtInvestmentsBenchmarkMember_f620eb5c-b2c0-4781-981f-1daf776f4ad0" xlink:href="htgc-20231231.xsd#htgc_TotalDebtInvestmentsBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_778828e7-b603-4385-8db1-1a49f3e5feb0" xlink:to="loc_htgc_TotalDebtInvestmentsBenchmarkMember_f620eb5c-b2c0-4781-981f-1daf776f4ad0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_9afdebb9-850e-4c06-893c-9e0b03bdef81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_9afdebb9-850e-4c06-893c-9e0b03bdef81" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_9afdebb9-850e-4c06-893c-9e0b03bdef81_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_9afdebb9-850e-4c06-893c-9e0b03bdef81" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_9afdebb9-850e-4c06-893c-9e0b03bdef81_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_3d291d3b-6410-452c-814b-f2f40e0b1067" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_9afdebb9-850e-4c06-893c-9e0b03bdef81" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_3d291d3b-6410-452c-814b-f2f40e0b1067" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CollateralTypeConcentrationRiskMember_03149ca1-9191-4842-bdfc-83143a06fbd4" xlink:href="htgc-20231231.xsd#htgc_CollateralTypeConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_3d291d3b-6410-452c-814b-f2f40e0b1067" xlink:to="loc_htgc_CollateralTypeConcentrationRiskMember_03149ca1-9191-4842-bdfc-83143a06fbd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAxis_42a54da1-18fd-4d1a-a87d-ea9a05fc5100" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollateralAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsTable_6a3ecc51-1698-45c4-8643-5216e4501c97" xlink:to="loc_us-gaap_CollateralAxis_42a54da1-18fd-4d1a-a87d-ea9a05fc5100" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_42a54da1-18fd-4d1a-a87d-ea9a05fc5100_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_42a54da1-18fd-4d1a-a87d-ea9a05fc5100" xlink:to="loc_us-gaap_CollateralDomain_42a54da1-18fd-4d1a-a87d-ea9a05fc5100_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_e919e39a-7d0c-47a5-8daf-2f87192b0130" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_42a54da1-18fd-4d1a-a87d-ea9a05fc5100" xlink:to="loc_us-gaap_CollateralDomain_e919e39a-7d0c-47a5-8daf-2f87192b0130" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AllAssetsIncludingIntellectualPropertyMember_a491c495-dfe7-4191-a9c5-de9fda2d68ca" xlink:href="htgc-20231231.xsd#htgc_AllAssetsIncludingIntellectualPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_e919e39a-7d0c-47a5-8daf-2f87192b0130" xlink:to="loc_htgc_AllAssetsIncludingIntellectualPropertyMember_a491c495-dfe7-4191-a9c5-de9fda2d68ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AllAssetsWithNegativePledgeOnIntellectualPropertyMember_801b510c-447c-4a1b-b3ac-46882c66e469" xlink:href="htgc-20231231.xsd#htgc_AllAssetsWithNegativePledgeOnIntellectualPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_e919e39a-7d0c-47a5-8daf-2f87192b0130" xlink:to="loc_htgc_AllAssetsWithNegativePledgeOnIntellectualPropertyMember_801b510c-447c-4a1b-b3ac-46882c66e469" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LastOutWithSecurityInterestInAllOfTheAssetsMember_54d6f4ed-2e5c-4b5e-9f6a-8117ed0874e0" xlink:href="htgc-20231231.xsd#htgc_LastOutWithSecurityInterestInAllOfTheAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_e919e39a-7d0c-47a5-8daf-2f87192b0130" xlink:to="loc_htgc_LastOutWithSecurityInterestInAllOfTheAssetsMember_54d6f4ed-2e5c-4b5e-9f6a-8117ed0874e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_869bbf02-d19a-4919-bce7-3387b87810a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_f3acd841-61a5-4d7d-900f-56ad75a0fd96" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_869bbf02-d19a-4919-bce7-3387b87810a2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofDerivativeInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SummaryOfInvestmentHoldingsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentHoldingTable_6b801dd5-9fa8-4161-ac90-67d6964ebe42" xlink:href="htgc-20231231.xsd#htgc_InvestmentHoldingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_htgc_InvestmentHoldingTable_6b801dd5-9fa8-4161-ac90-67d6964ebe42" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2be8ebf1-8cc6-4a3a-b91c-8379ede02356" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_InvestmentHoldingTable_6b801dd5-9fa8-4161-ac90-67d6964ebe42" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2be8ebf1-8cc6-4a3a-b91c-8379ede02356" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2be8ebf1-8cc6-4a3a-b91c-8379ede02356_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2be8ebf1-8cc6-4a3a-b91c-8379ede02356" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2be8ebf1-8cc6-4a3a-b91c-8379ede02356_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_d5d549ea-96ec-41a7-8ab0-7feb08e3534f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2be8ebf1-8cc6-4a3a-b91c-8379ede02356" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_d5d549ea-96ec-41a7-8ab0-7feb08e3534f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_529cfbdd-91e9-4592-90de-616536cefe82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_d5d549ea-96ec-41a7-8ab0-7feb08e3534f" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_529cfbdd-91e9-4592-90de-616536cefe82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_35cfa32c-8b50-4cda-8832-b36c96904ff7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_InvestmentHoldingTable_6b801dd5-9fa8-4161-ac90-67d6964ebe42" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_35cfa32c-8b50-4cda-8832-b36c96904ff7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_35cfa32c-8b50-4cda-8832-b36c96904ff7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_35cfa32c-8b50-4cda-8832-b36c96904ff7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_35cfa32c-8b50-4cda-8832-b36c96904ff7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_edcd99b9-50a6-4bca-af5e-022aec31cdfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_35cfa32c-8b50-4cda-8832-b36c96904ff7" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_edcd99b9-50a6-4bca-af5e-022aec31cdfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesMember_7a1d063b-eb26-4ac3-9124-f737162c288e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_edcd99b9-50a6-4bca-af5e-022aec31cdfd" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesMember_7a1d063b-eb26-4ac3-9124-f737162c288e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_985a1d7b-3155-457f-ba46-7fc2d118f41c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_985a1d7b-3155-457f-ba46-7fc2d118f41c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_ffa2475e-2cd3-4fb2-a0b8-9be75fa2e888" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_ffa2475e-2cd3-4fb2-a0b8-9be75fa2e888" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_06cea3db-7361-475d-9fdd-6887c935e3c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_06cea3db-7361-475d-9fdd-6887c935e3c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_8d1cbf4e-1103-4883-9b55-5d3123f8dd47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_8d1cbf4e-1103-4883-9b55-5d3123f8dd47" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration_ff606786-2940-45ad-821b-bfa09afceb7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfInvestmentHoldingsLineItems_7adf7733-7baa-4093-858b-774fd9275aa3" xlink:to="loc_us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration_ff606786-2940-45ad-821b-bfa09afceb7d" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofInvestmentInterestIncomeandFeeIncomeDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofInvestmentInterestIncomeandFeeIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofInvestmentInterestIncomeandFeeIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_19b0e207-a03b-4e98-a44f-7fb9fa15a107" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_35fc1232-2560-4e7f-82be-aee0b432990e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_19b0e207-a03b-4e98-a44f-7fb9fa15a107" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_35fc1232-2560-4e7f-82be-aee0b432990e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_e4a22652-3217-43ab-9907-29eed3fadb7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_35fc1232-2560-4e7f-82be-aee0b432990e" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_e4a22652-3217-43ab-9907-29eed3fadb7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_e4a22652-3217-43ab-9907-29eed3fadb7c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e4a22652-3217-43ab-9907-29eed3fadb7c" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_e4a22652-3217-43ab-9907-29eed3fadb7c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_e4a22652-3217-43ab-9907-29eed3fadb7c" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ContractualInterestIncomeMember_f2d21e3a-32fb-479a-a56e-e4b883e5411b" xlink:href="htgc-20231231.xsd#htgc_ContractualInterestIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_ContractualInterestIncomeMember_f2d21e3a-32fb-479a-a56e-e4b883e5411b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExitFeeMember_9da74853-b308-441f-ba88-f7acdc02279b" xlink:href="htgc-20231231.xsd#htgc_ExitFeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_ExitFeeMember_9da74853-b308-441f-ba88-f7acdc02279b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PIKInterestMember_cadcdf0c-e324-4297-874e-e8be4d6bce5f" xlink:href="htgc-20231231.xsd#htgc_PIKInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_PIKInterestMember_cadcdf0c-e324-4297-874e-e8be4d6bce5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendIncomeMember_b47410df-a1af-452e-a1bf-50ffb2175558" xlink:href="htgc-20231231.xsd#htgc_DividendIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_DividendIncomeMember_b47410df-a1af-452e-a1bf-50ffb2175558" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherInterestIncomeMember_84794166-81fe-4893-8838-a73f4b1c084f" xlink:href="htgc-20231231.xsd#htgc_OtherInterestIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_OtherInterestIncomeMember_84794166-81fe-4893-8838-a73f4b1c084f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RecurringFeeIncomeMember_a7211c43-ffc0-4853-8076-80f99632f9c2" xlink:href="htgc-20231231.xsd#htgc_RecurringFeeIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_RecurringFeeIncomeMember_a7211c43-ffc0-4853-8076-80f99632f9c2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AcceleratedFeeIncomeExpiredCommitmentsMember_ae8b600c-e20b-4379-90ae-8e0f94d85d0c" xlink:href="htgc-20231231.xsd#htgc_AcceleratedFeeIncomeExpiredCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_AcceleratedFeeIncomeExpiredCommitmentsMember_ae8b600c-e20b-4379-90ae-8e0f94d85d0c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AcceleratedFeeIncomeEarlyRepaymentsMember_5745e6e5-485b-4038-8d82-a9cf8feb27f3" xlink:href="htgc-20231231.xsd#htgc_AcceleratedFeeIncomeEarlyRepaymentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_427591ac-c0d8-4923-901e-44bb16b672dc" xlink:to="loc_htgc_AcceleratedFeeIncomeEarlyRepaymentsMember_5745e6e5-485b-4038-8d82-a9cf8feb27f3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_29112269-5b62-476e-9fba-e146283102c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_19b0e207-a03b-4e98-a44f-7fb9fa15a107" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_29112269-5b62-476e-9fba-e146283102c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_f54ab791-921e-4e3f-b0da-b6903427682d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FeeIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_19b0e207-a03b-4e98-a44f-7fb9fa15a107" xlink:to="loc_us-gaap_FeeIncome_f54ab791-921e-4e3f-b0da-b6903427682d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofUnamortizedCapitalizedFeeIncomeDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofUnamortizedCapitalizedFeeIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofUnamortizedCapitalizedFeeIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_77b24057-f0ea-4684-854f-b380fb0907aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_9f14f74a-4b75-4306-b271-356100bc83d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_77b24057-f0ea-4684-854f-b380fb0907aa" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_9f14f74a-4b75-4306-b271-356100bc83d8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc18941d-2e3c-4ac0-885d-274da771bb14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_9f14f74a-4b75-4306-b271-356100bc83d8" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc18941d-2e3c-4ac0-885d-274da771bb14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_fc18941d-2e3c-4ac0-885d-274da771bb14_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc18941d-2e3c-4ac0-885d-274da771bb14" xlink:to="loc_us-gaap_ReceivableTypeDomain_fc18941d-2e3c-4ac0-885d-274da771bb14_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_8b5f2df6-27a0-48fd-a1cd-1b499e5a08a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_fc18941d-2e3c-4ac0-885d-274da771bb14" xlink:to="loc_us-gaap_ReceivableTypeDomain_8b5f2df6-27a0-48fd-a1cd-1b499e5a08a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IncludedInCostMember_b6285fc7-4bd2-4ee0-9dce-d8db23085bc9" xlink:href="htgc-20231231.xsd#htgc_IncludedInCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_8b5f2df6-27a0-48fd-a1cd-1b499e5a08a3" xlink:to="loc_htgc_IncludedInCostMember_b6285fc7-4bd2-4ee0-9dce-d8db23085bc9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DeferredFeesMember_6843125a-78d4-4ba1-ac44-3af666b81dc6" xlink:href="htgc-20231231.xsd#htgc_DeferredFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_8b5f2df6-27a0-48fd-a1cd-1b499e5a08a3" xlink:to="loc_htgc_DeferredFeesMember_6843125a-78d4-4ba1-ac44-3af666b81dc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnamortizedFeeIncome_d17b5e22-981a-4fec-9bc0-0b8ddf3e9f39" xlink:href="htgc-20231231.xsd#htgc_UnamortizedFeeIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_77b24057-f0ea-4684-854f-b380fb0907aa" xlink:to="loc_htgc_UnamortizedFeeIncome_d17b5e22-981a-4fec-9bc0-0b8ddf3e9f39" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofLoanExitFeesReceivableDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofLoanExitFeesReceivableDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofLoanExitFeesReceivableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_57c951b3-0ec3-49c9-b81c-db18298de215" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3d15db52-0f2c-4004-a1a6-ab8204134bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_57c951b3-0ec3-49c9-b81c-db18298de215" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3d15db52-0f2c-4004-a1a6-ab8204134bc2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_76b37a5a-aba1-42c8-b125-2011b496a866" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3d15db52-0f2c-4004-a1a6-ab8204134bc2" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_76b37a5a-aba1-42c8-b125-2011b496a866" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_76b37a5a-aba1-42c8-b125-2011b496a866_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_76b37a5a-aba1-42c8-b125-2011b496a866" xlink:to="loc_us-gaap_ReceivableTypeDomain_76b37a5a-aba1-42c8-b125-2011b496a866_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_0a8d402d-2a54-4947-a909-28c0de8ad429" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_76b37a5a-aba1-42c8-b125-2011b496a866" xlink:to="loc_us-gaap_ReceivableTypeDomain_0a8d402d-2a54-4947-a909-28c0de8ad429" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IncludedInCostMember_b05f00d1-c92c-441c-a208-adf4bca61142" xlink:href="htgc-20231231.xsd#htgc_IncludedInCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_0a8d402d-2a54-4947-a909-28c0de8ad429" xlink:to="loc_htgc_IncludedInCostMember_b05f00d1-c92c-441c-a208-adf4bca61142" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DeferredFeesMember_2b690224-f963-4749-b990-670c4846e0c4" xlink:href="htgc-20231231.xsd#htgc_DeferredFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_0a8d402d-2a54-4947-a909-28c0de8ad429" xlink:to="loc_htgc_DeferredFeesMember_2b690224-f963-4749-b990-670c4846e0c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExitFeesReceivables_c82328d8-739e-463f-bf12-f4e3774b3147" xlink:href="htgc-20231231.xsd#htgc_ExitFeesReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_57c951b3-0ec3-49c9-b81c-db18298de215" xlink:to="loc_htgc_ExitFeesReceivables_c82328d8-739e-463f-bf12-f4e3774b3147" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/DebtScheduleofAvailableandOutstandingDebtDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#DebtScheduleofAvailableandOutstandingDebtDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/DebtScheduleofAvailableandOutstandingDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_2da16565-5cee-4df3-987e-ea3896b4e536" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_13abc7f9-1a79-4f95-99eb-d601a196421a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2da16565-5cee-4df3-987e-ea3896b4e536" xlink:to="loc_us-gaap_DebtInstrumentTable_13abc7f9-1a79-4f95-99eb-d601a196421a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_f536fde6-c709-41f5-9752-affea610ed26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_13abc7f9-1a79-4f95-99eb-d601a196421a" xlink:to="loc_us-gaap_DebtInstrumentAxis_f536fde6-c709-41f5-9752-affea610ed26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f536fde6-c709-41f5-9752-affea610ed26_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_f536fde6-c709-41f5-9752-affea610ed26" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f536fde6-c709-41f5-9752-affea610ed26_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_f536fde6-c709-41f5-9752-affea610ed26" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_03e11e7d-d701-48fb-a7d5-7466b1b34f66" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_SBADebenturesMember_03e11e7d-d701-48fb-a7d5-7466b1b34f66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_399f8d87-583c-4c35-a8ed-c680159f9095" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_399f8d87-583c-4c35-a8ed-c680159f9095" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_dc25a259-f0c8-46ae-abd1-1a993f533e5a" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_dc25a259-f0c8-46ae-abd1-1a993f533e5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_6c851899-5edf-4416-9640-db78ea1d39d4" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_6c851899-5edf-4416-9640-db78ea1d39d4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_5aac799c-eeef-44fc-bbf4-377ac4e6cfe1" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_5aac799c-eeef-44fc-bbf4-377ac4e6cfe1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_d0b04a4c-cbb4-4be5-bec0-63b6964a4714" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_d0b04a4c-cbb4-4be5-bec0-63b6964a4714" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_e1d35a6e-6832-4397-bb5d-3c5e554bc2af" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_e1d35a6e-6832-4397-bb5d-3c5e554bc2af" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_2e91f255-8faa-412a-b344-3505d880ff09" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_2e91f255-8faa-412a-b344-3505d880ff09" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_30bc97ba-f0e2-4304-a7d8-78fbcba2aa40" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_30bc97ba-f0e2-4304-a7d8-78fbcba2aa40" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_cd11c545-ef49-4847-96f2-4bb3c307bd01" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_cd11c545-ef49-4847-96f2-4bb3c307bd01" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_17ab3247-f609-457f-9ed8-26fe8130cf9e" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_17ab3247-f609-457f-9ed8-26fe8130cf9e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_0a812a20-ef5f-4181-9dec-78c8627e3a9a" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_MUFGBankFacilityMember_0a812a20-ef5f-4181-9dec-78c8627e3a9a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_aaef4378-7e1d-4f93-875a-555d9eb97640" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0fb300d4-59e3-4e30-8188-257a0415c60a" xlink:to="loc_htgc_SMBCFacilityMember_aaef4378-7e1d-4f93-875a-555d9eb97640" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6d3be34f-5c8d-4a0b-8aeb-9ef40208ad28" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2da16565-5cee-4df3-987e-ea3896b4e536" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6d3be34f-5c8d-4a0b-8aeb-9ef40208ad28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_30bfcd69-8bc0-4b88-b1ed-c40aa79854b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2da16565-5cee-4df3-987e-ea3896b4e536" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_30bfcd69-8bc0-4b88-b1ed-c40aa79854b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_b1914838-7292-4913-8742-cc3624d7a6f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2da16565-5cee-4df3-987e-ea3896b4e536" xlink:to="loc_us-gaap_LongTermDebt_b1914838-7292-4913-8742-cc3624d7a6f8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/DebtScheduleofDebtIssuanceCostsNetofaccumulatedAmortizationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#DebtScheduleofDebtIssuanceCostsNetofaccumulatedAmortizationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/DebtScheduleofDebtIssuanceCostsNetofaccumulatedAmortizationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_1b922b0f-8678-4fd1-b56a-572cf25e48e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_24edcec6-f180-485b-b694-d544d8acf739" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1b922b0f-8678-4fd1-b56a-572cf25e48e5" xlink:to="loc_us-gaap_DebtInstrumentTable_24edcec6-f180-485b-b694-d544d8acf739" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_24edcec6-f180-485b-b694-d544d8acf739" xlink:to="loc_us-gaap_DebtInstrumentAxis_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_ea4da4d5-3dd6-4317-a2f7-8ebc3f2e30f2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_cc4ec9e9-baeb-4d77-8bc8-cc7ed1302cfb" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_SBADebenturesMember_cc4ec9e9-baeb-4d77-8bc8-cc7ed1302cfb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoNotesMember_49d67271-3e3d-41ab-afa3-cd3d8c1895b3" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_TwoThousandTwentyTwoNotesMember_49d67271-3e3d-41ab-afa3-cd3d8c1895b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_eac18625-664c-40d6-ad71-fde5c6a77cd5" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_eac18625-664c-40d6-ad71-fde5c6a77cd5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_42417796-5a6b-46c6-97b2-3f6a5635bfc0" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_42417796-5a6b-46c6-97b2-3f6a5635bfc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_2813a4d1-a502-40d8-8ad0-01a7e9efc0ae" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_2813a4d1-a502-40d8-8ad0-01a7e9efc0ae" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_beb7574d-aec6-4ef1-a1b0-f5d611b9292e" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_beb7574d-aec6-4ef1-a1b0-f5d611b9292e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_39748028-925b-4dda-a5b3-e4f8a8fb83b4" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_39748028-925b-4dda-a5b3-e4f8a8fb83b4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_d82b6f08-4d37-4606-80bd-57efd33532d9" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_d82b6f08-4d37-4606-80bd-57efd33532d9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_1797b121-0229-492d-9c91-261058ff6688" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_1797b121-0229-492d-9c91-261058ff6688" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_ad2040e8-9837-4435-9b5d-0341c400808d" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_ad2040e8-9837-4435-9b5d-0341c400808d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_52c74827-37ee-4dc8-80ed-012909d40831" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_52c74827-37ee-4dc8-80ed-012909d40831" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_2b626fe6-9f13-4910-88df-62b5d40349a9" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_2b626fe6-9f13-4910-88df-62b5d40349a9" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_0d6721ff-52d7-4d4f-b910-528eee58047d" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_0d6721ff-52d7-4d4f-b910-528eee58047d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_c722eaa3-6619-41e3-986c-2aaae030eda2" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_MUFGBankFacilityMember_c722eaa3-6619-41e3-986c-2aaae030eda2" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_77bcf9ec-a791-4be7-a7ac-7a39c3575703" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_e623a452-743e-4583-87cd-e314f8b77e74" xlink:to="loc_htgc_SMBCFacilityMember_77bcf9ec-a791-4be7-a7ac-7a39c3575703" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_4935fb28-b8de-466f-8c5c-f5d895e1b4dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1b922b0f-8678-4fd1-b56a-572cf25e48e5" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_4935fb28-b8de-466f-8c5c-f5d895e1b4dc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/DebtScheduleofComponentsofInterestExpenseRelatedFeesLossesonDebtExtinguishmentandCashPaidforInterestExpenseforDebtDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#DebtScheduleofComponentsofInterestExpenseRelatedFeesLossesonDebtExtinguishmentandCashPaidforInterestExpenseforDebtDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/DebtScheduleofComponentsofInterestExpenseRelatedFeesLossesonDebtExtinguishmentandCashPaidforInterestExpenseforDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_50c47208-e266-4224-a3ea-ebcc3437638a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_DebtInstrumentTable_50c47208-e266-4224-a3ea-ebcc3437638a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_be966d1e-1308-4bad-8cec-cf9c502be91e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_50c47208-e266-4224-a3ea-ebcc3437638a" xlink:to="loc_us-gaap_DebtInstrumentAxis_be966d1e-1308-4bad-8cec-cf9c502be91e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_be966d1e-1308-4bad-8cec-cf9c502be91e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_be966d1e-1308-4bad-8cec-cf9c502be91e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_be966d1e-1308-4bad-8cec-cf9c502be91e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_be966d1e-1308-4bad-8cec-cf9c502be91e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_0f2436f5-f992-4055-bd9c-b303edc8e7c1" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_SBADebenturesMember_0f2436f5-f992-4055-bd9c-b303edc8e7c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoNotesMember_b566a12f-3fb4-42d5-a91d-9af7634bb5ff" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandTwentyTwoNotesMember_b566a12f-3fb4-42d5-a91d-9af7634bb5ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_6258b210-99d2-4d69-a9a2-272daf023b80" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_6258b210-99d2-4d69-a9a2-272daf023b80" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_091bfeea-f928-4353-96ec-ee17983edee2" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_091bfeea-f928-4353-96ec-ee17983edee2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AprilTwoThousandTwentyFiveNotesMember_19855256-f7b3-451c-9239-4c0fc1f10a17" xlink:href="htgc-20231231.xsd#htgc_AprilTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_AprilTwoThousandTwentyFiveNotesMember_19855256-f7b3-451c-9239-4c0fc1f10a17" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_3e7ac85d-467f-4dc6-a6f5-fdd45def1ff6" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_3e7ac85d-467f-4dc6-a6f5-fdd45def1ff6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_fea961ec-c432-442d-bda4-65327e66da74" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_fea961ec-c432-442d-bda4-65327e66da74" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_1ae34d67-1586-4cd0-8b32-096bb7e782e7" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_1ae34d67-1586-4cd0-8b32-096bb7e782e7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_c006e6d0-3606-45f8-80e1-b0dfeedbf639" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_c006e6d0-3606-45f8-80e1-b0dfeedbf639" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_5b6a53e1-7a63-40f4-a5f8-35ee9802ab98" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_5b6a53e1-7a63-40f4-a5f8-35ee9802ab98" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_493a84d7-fbcb-4592-b319-9d579bbd7228" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_493a84d7-fbcb-4592-b319-9d579bbd7228" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_1758abb8-aefc-4266-9795-6b508c23a8a2" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_1758abb8-aefc-4266-9795-6b508c23a8a2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_89045f25-8724-46db-b2f4-264c58a90b43" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_89045f25-8724-46db-b2f4-264c58a90b43" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentySevenAssetBackedNotesMember_23698279-b08f-4180-9b77-623223bd3659" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentySevenAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandTwentySevenAssetBackedNotesMember_23698279-b08f-4180-9b77-623223bd3659" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyEightAssetBackedNotesMember_cede9023-9943-466f-ad76-1531dadabdf6" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyEightAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandTwentyEightAssetBackedNotesMember_cede9023-9943-466f-ad76-1531dadabdf6" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_1e94c2ff-4d69-47a7-b3c8-f79240a38462" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_1e94c2ff-4d69-47a7-b3c8-f79240a38462" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WellsFacilityMember_4bf438aa-69c4-4639-92fa-cef1128a3e67" xlink:href="htgc-20231231.xsd#htgc_WellsFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_WellsFacilityMember_4bf438aa-69c4-4639-92fa-cef1128a3e67" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_ea9069a3-1269-4688-9182-689d9d182e75" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_MUFGBankFacilityMember_ea9069a3-1269-4688-9182-689d9d182e75" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_44c1a96f-2b43-4ec5-bb50-76658886db9b" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9b90e06f-0884-419c-8b16-a53f6d352c1b" xlink:to="loc_htgc_SMBCFacilityMember_44c1a96f-2b43-4ec5-bb50-76658886db9b" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_e6443b5b-53ae-4894-980e-8389c71de7ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_InterestExpenseDebt_e6443b5b-53ae-4894-980e-8389c71de7ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_cc97b7f8-039b-4c6e-ad43-087f521d82d1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_cc97b7f8-039b-4c6e-ad43-087f521d82d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanPortfolioExpense_7826006f-c36d-482b-8835-f039ef0d5d74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LoanPortfolioExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_LoanPortfolioExpense_7826006f-c36d-482b-8835-f039ef0d5d74" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_e0e16304-765e-4c05-b122-a7c7da13f15e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_InterestExpense_e0e16304-765e-4c05-b122-a7c7da13f15e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_76eb3cf7-208a-4b17-876b-1f4a034708a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_InterestPaidNet_76eb3cf7-208a-4b17-876b-1f4a034708a5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_0a99e19f-8061-4a1f-b755-628e06bcd16e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_0a99e19f-8061-4a1f-b755-628e06bcd16e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_2270e73d-ec85-40c0-9348-96f6d24738e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ExtinguishmentOfDebtAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c9f7c667-762a-491c-96fd-76d747a87f19" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_2270e73d-ec85-40c0-9348-96f6d24738e8" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/DebtScheduleofSBADebenturesOutstandingPrincipalBalancesDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#DebtScheduleofSBADebenturesOutstandingPrincipalBalancesDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/DebtScheduleofSBADebenturesOutstandingPrincipalBalancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_cadf1f46-d0a4-43c4-b5f2-a85b9029d04d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:to="loc_us-gaap_DebtInstrumentTable_cadf1f46-d0a4-43c4-b5f2-a85b9029d04d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cadf1f46-d0a4-43c4-b5f2-a85b9029d04d" xlink:to="loc_us-gaap_DebtInstrumentAxis_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5ae41baa-faa3-4c2b-9fed-a5a9b66a0267" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember_f823e601-d2ad-4959-b9bb-1ec79af57f92" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember_f823e601-d2ad-4959-b9bb-1ec79af57f92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember_4623e859-68ac-48ec-90b3-03289e4dc9a8" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember_4623e859-68ac-48ec-90b3-03289e4dc9a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember_b5cb6cc7-4d39-4eb1-b1ec-c00b83bbfd4f" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember_b5cb6cc7-4d39-4eb1-b1ec-c00b83bbfd4f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember_8d357633-a26b-4fed-8a96-b6c265fa5e3a" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember_8d357633-a26b-4fed-8a96-b6c265fa5e3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember_7f850927-0553-4e86-91d3-0ff26e012ca9" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember_7f850927-0553-4e86-91d3-0ff26e012ca9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember_bbfdad50-d0ac-453f-a856-6b439e1d64dc" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember_bbfdad50-d0ac-453f-a856-6b439e1d64dc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember_99512726-e4e9-45e7-8093-1f64607d9d33" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember_99512726-e4e9-45e7-8093-1f64607d9d33" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember_ff68a12d-d53d-49ac-9eb8-cb9c15120d35" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember_ff68a12d-d53d-49ac-9eb8-cb9c15120d35" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember_2f8f36d1-ac28-495c-a4c3-75b428b51109" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember_2f8f36d1-ac28-495c-a4c3-75b428b51109" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember_9853c920-4a4f-48c7-89bd-90b14d95e9a4" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember_9853c920-4a4f-48c7-89bd-90b14d95e9a4" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember_18896994-f350-4dc6-8973-1b9ddf6c61f0" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember_18896994-f350-4dc6-8973-1b9ddf6c61f0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember_fd92f5e3-e180-4339-9a2e-0cd52b15589d" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember_fd92f5e3-e180-4339-9a2e-0cd52b15589d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember_8881be07-d2f7-4f1d-9f13-1fdd17db1e2b" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember_8881be07-d2f7-4f1d-9f13-1fdd17db1e2b" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_6962a160-f79b-498d-91ef-ff69f963defe" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3b78d6-a8ed-4efd-85aa-4eb5586142a5" xlink:to="loc_htgc_SBADebenturesMember_6962a160-f79b-498d-91ef-ff69f963defe" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentIssuanceDate1_eac8ddac-15bc-4037-8414-0f0c3d610e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentIssuanceDate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:to="loc_us-gaap_DebtInstrumentIssuanceDate1_eac8ddac-15bc-4037-8414-0f0c3d610e8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_13cef81f-d2f7-4492-a977-aea32b1d7947" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_13cef81f-d2f7-4492-a977-aea32b1d7947" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_6f8c6e76-8f10-410b-8842-fd009aa97bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_6f8c6e76-8f10-410b-8842-fd009aa97bbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_d1b99b73-80fd-439d-8ded-9b3e871a3862" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_b220d36c-a882-4d0a-82d3-e71ca11a9357" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_d1b99b73-80fd-439d-8ded-9b3e871a3862" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/DebtAdditionalInformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#DebtAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/DebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_09990a2d-de31-4436-b027-36316b72c998" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_dei_LegalEntityAxis_09990a2d-de31-4436-b027-36316b72c998" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_09990a2d-de31-4436-b027-36316b72c998_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_09990a2d-de31-4436-b027-36316b72c998" xlink:to="loc_dei_EntityDomain_09990a2d-de31-4436-b027-36316b72c998_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_f342843d-517c-4951-98e2-147737a89d45" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_09990a2d-de31-4436-b027-36316b72c998" xlink:to="loc_dei_EntityDomain_f342843d-517c-4951-98e2-147737a89d45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HerculesCapitalFourLPMember_d09b7762-c3b0-464e-8203-691aee2eb967" xlink:href="htgc-20231231.xsd#htgc_HerculesCapitalFourLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f342843d-517c-4951-98e2-147737a89d45" xlink:to="loc_htgc_HerculesCapitalFourLPMember_d09b7762-c3b0-464e-8203-691aee2eb967" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_e2de66fe-9381-4633-a465-c52ac760867d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_us-gaap_DebtInstrumentAxis_e2de66fe-9381-4633-a465-c52ac760867d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e2de66fe-9381-4633-a465-c52ac760867d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_e2de66fe-9381-4633-a465-c52ac760867d" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e2de66fe-9381-4633-a465-c52ac760867d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_e2de66fe-9381-4633-a465-c52ac760867d" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_43ccb105-2ab3-4122-baa3-91ab7c28250a" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_SBADebenturesMember_43ccb105-2ab3-4122-baa3-91ab7c28250a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoNotesMember_5bb74ac2-6137-41d5-928d-92e73058236d" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_TwoThousandTwentyTwoNotesMember_5bb74ac2-6137-41d5-928d-92e73058236d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_0fb2bec6-1ce5-4ce3-8158-6b72de35c27e" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_0fb2bec6-1ce5-4ce3-8158-6b72de35c27e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_8ee57669-13d8-4c39-ba02-5b3df01e4f52" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_8ee57669-13d8-4c39-ba02-5b3df01e4f52" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_994e3a71-7017-4f8d-af8f-11d93baf5c39" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_994e3a71-7017-4f8d-af8f-11d93baf5c39" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_190081c3-ab88-489d-bbcb-9ac0a0661377" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_190081c3-ab88-489d-bbcb-9ac0a0661377" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_4fdd1101-2c53-4436-b2a5-1c4e8565711f" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_4fdd1101-2c53-4436-b2a5-1c4e8565711f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_44f1cf05-b3ce-410a-9214-fd3cfc3f131f" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_44f1cf05-b3ce-410a-9214-fd3cfc3f131f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_c18c83ba-cb2e-42b8-8e56-4a6a393b70b8" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_c18c83ba-cb2e-42b8-8e56-4a6a393b70b8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_d194329d-a051-4aea-9afc-adefdefd8c89" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_d194329d-a051-4aea-9afc-adefdefd8c89" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_4d91b9ee-7ec7-4b45-bfdc-9348cb4bb38e" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_4d91b9ee-7ec7-4b45-bfdc-9348cb4bb38e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_4b5245d0-29f5-45ec-961f-5ae02c868ade" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_4b5245d0-29f5-45ec-961f-5ae02c868ade" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_28729c3a-bc88-4508-8cd0-26af7b090ce1" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_28729c3a-bc88-4508-8cd0-26af7b090ce1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_12fece9f-e78a-4b42-833f-4fc1ec021bfd" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_SMBCFacilityMember_12fece9f-e78a-4b42-833f-4fc1ec021bfd" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_ca961bec-5d4f-4c8d-9e88-4fcaa53eaa0a" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b1b72a63-7589-45a8-b889-d4a8ecee837e" xlink:to="loc_htgc_MUFGBankFacilityMember_ca961bec-5d4f-4c8d-9e88-4fcaa53eaa0a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_dda8d9b7-ef8c-4cd2-991c-c21054f55359" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_us-gaap_CreditFacilityAxis_dda8d9b7-ef8c-4cd2-991c-c21054f55359" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_dda8d9b7-ef8c-4cd2-991c-c21054f55359_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_dda8d9b7-ef8c-4cd2-991c-c21054f55359" xlink:to="loc_us-gaap_CreditFacilityDomain_dda8d9b7-ef8c-4cd2-991c-c21054f55359_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8da33244-0d24-4d43-98e2-de753099c87f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_dda8d9b7-ef8c-4cd2-991c-c21054f55359" xlink:to="loc_us-gaap_CreditFacilityDomain_8da33244-0d24-4d43-98e2-de753099c87f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_be8a98ad-fe93-41f8-a4bf-13d0575751ca" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_8da33244-0d24-4d43-98e2-de753099c87f" xlink:to="loc_htgc_MUFGBankFacilityMember_be8a98ad-fe93-41f8-a4bf-13d0575751ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_62b5b09e-cfe7-4a72-b6b4-91eaed8407d1" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_8da33244-0d24-4d43-98e2-de753099c87f" xlink:to="loc_htgc_SMBCFacilityMember_62b5b09e-cfe7-4a72-b6b4-91eaed8407d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_7e043707-9407-4815-ae8f-d37ab4256121" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_8da33244-0d24-4d43-98e2-de753099c87f" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_7e043707-9407-4815-ae8f-d37ab4256121" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_87c10db1-01d3-494f-a392-c06230d17d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_us-gaap_VariableRateAxis_87c10db1-01d3-494f-a392-c06230d17d6b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_87c10db1-01d3-494f-a392-c06230d17d6b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_87c10db1-01d3-494f-a392-c06230d17d6b" xlink:to="loc_us-gaap_VariableRateDomain_87c10db1-01d3-494f-a392-c06230d17d6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_7de5af53-d58a-4d10-b91b-0533f68eb2aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_87c10db1-01d3-494f-a392-c06230d17d6b" xlink:to="loc_us-gaap_VariableRateDomain_7de5af53-d58a-4d10-b91b-0533f68eb2aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_5f0cf809-503f-40b0-b8fd-d34d3a56c407" xlink:href="htgc-20231231.xsd#htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_7de5af53-d58a-4d10-b91b-0533f68eb2aa" xlink:to="loc_htgc_OneMonthSecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember_5f0cf809-503f-40b0-b8fd-d34d3a56c407" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e274ab51-1efb-4bb6-bcee-4ef92f7f420a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_srt_RangeAxis_e274ab51-1efb-4bb6-bcee-4ef92f7f420a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e274ab51-1efb-4bb6-bcee-4ef92f7f420a_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e274ab51-1efb-4bb6-bcee-4ef92f7f420a" xlink:to="loc_srt_RangeMember_e274ab51-1efb-4bb6-bcee-4ef92f7f420a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_373fe62c-4251-4ce9-a56f-4d3187d40025" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e274ab51-1efb-4bb6-bcee-4ef92f7f420a" xlink:to="loc_srt_RangeMember_373fe62c-4251-4ce9-a56f-4d3187d40025" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_202a19b6-5b2f-4403-a273-67ab1f4bca03" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_373fe62c-4251-4ce9-a56f-4d3187d40025" xlink:to="loc_srt_MinimumMember_202a19b6-5b2f-4403-a273-67ab1f4bca03" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_683bdf86-f6b8-4a37-a2cc-061515dec0bb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_373fe62c-4251-4ce9-a56f-4d3187d40025" xlink:to="loc_srt_MaximumMember_683bdf86-f6b8-4a37-a2cc-061515dec0bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_dc803857-aa80-4cc0-8e35-c6279a93f281" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_10b63837-68f1-450e-87e3-92d29d427840" xlink:to="loc_srt_ConsolidatedEntitiesAxis_dc803857-aa80-4cc0-8e35-c6279a93f281" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_dc803857-aa80-4cc0-8e35-c6279a93f281_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_dc803857-aa80-4cc0-8e35-c6279a93f281" xlink:to="loc_srt_ConsolidatedEntitiesDomain_dc803857-aa80-4cc0-8e35-c6279a93f281_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_f0281eb4-072b-4b38-9255-0bba3e655961" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_dc803857-aa80-4cc0-8e35-c6279a93f281" xlink:to="loc_srt_ConsolidatedEntitiesDomain_f0281eb4-072b-4b38-9255-0bba3e655961" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_094c4a8e-93a4-48e5-8699-ed1e6b128549" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_f0281eb4-072b-4b38-9255-0bba3e655961" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_094c4a8e-93a4-48e5-8699-ed1e6b128549" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInstrumentLicenseDescription_3a474593-c3bd-44e6-92bd-3553eb4e79eb" xlink:href="htgc-20231231.xsd#htgc_DebtInstrumentLicenseDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_DebtInstrumentLicenseDescription_3a474593-c3bd-44e6-92bd-3553eb4e79eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LicenseTerm_bd02a939-6da9-4680-86ea-7f065909e0cd" xlink:href="htgc-20231231.xsd#htgc_LicenseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_LicenseTerm_bd02a939-6da9-4680-86ea-7f065909e0cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_dcb31fe1-b98f-4103-9bb4-4237e8000e1a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_dcb31fe1-b98f-4103-9bb4-4237e8000e1a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RegulatoryCapitalCommitmentAmount_a165948d-bbfc-4bd3-85f7-c4318da83e85" xlink:href="htgc-20231231.xsd#htgc_RegulatoryCapitalCommitmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_RegulatoryCapitalCommitmentAmount_a165948d-bbfc-4bd3-85f7-c4318da83e85" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_64071fdb-3ced-49d6-9c90-f41f947589bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_64071fdb-3ced-49d6-9c90-f41f947589bf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsHeldByNumberOfCompanies_5cc70060-23c2-494c-ac41-2098434d9269" xlink:href="htgc-20231231.xsd#htgc_InvestmentsHeldByNumberOfCompanies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_InvestmentsHeldByNumberOfCompanies_5cc70060-23c2-494c-ac41-2098434d9269" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_3e7397ef-3df2-4b35-b879-bc56f7561461" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_3e7397ef-3df2-4b35-b879-bc56f7561461" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PercentageOfInvestmentPortfolio_95f1b445-fe5d-4fb2-968f-a223075cf0c6" xlink:href="htgc-20231231.xsd#htgc_PercentageOfInvestmentPortfolio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_PercentageOfInvestmentPortfolio_95f1b445-fe5d-4fb2-968f-a223075cf0c6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TangibleAssets_d8fee347-8cac-4c08-8b41-94d1934a29d1" xlink:href="htgc-20231231.xsd#htgc_TangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_TangibleAssets_d8fee347-8cac-4c08-8b41-94d1934a29d1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PercentageOfAssetsHeld_79b87b4d-28c4-44ed-8950-18e453ae202a" xlink:href="htgc-20231231.xsd#htgc_PercentageOfAssetsHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_PercentageOfAssetsHeld_79b87b4d-28c4-44ed-8950-18e453ae202a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionDescription_f5b31db0-2f0e-4c2e-a614-b3246945317c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentRedemptionDescription_f5b31db0-2f0e-4c2e-a614-b3246945317c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0c3b865d-d6a1-4619-b2ea-517f96c9569b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0c3b865d-d6a1-4619-b2ea-517f96c9569b" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_dec8437c-08dd-4bde-8792-c3bf29ffedd6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_dec8437c-08dd-4bde-8792-c3bf29ffedd6" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentPaymentTerms_c7385fb2-e692-499d-83f6-cf349f38f8f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentPaymentTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentPaymentTerms_c7385fb2-e692-499d-83f6-cf349f38f8f9" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_8395c4b6-a53d-4085-8a83-61d8a824c04f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_RestrictedCash_8395c4b6-a53d-4085-8a83-61d8a824c04f" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NumberOfAvailableCreditFacilities_22c00be2-f4c1-49b3-b5e5-c3fde8a62177" xlink:href="htgc-20231231.xsd#htgc_NumberOfAvailableCreditFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_htgc_NumberOfAvailableCreditFacilities_22c00be2-f4c1-49b3-b5e5-c3fde8a62177" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_70ee5966-34a0-4c6a-80e1-65090b2920d3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityInterestRateDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_70ee5966-34a0-4c6a-80e1-65090b2920d3" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAverageOutstandingAmount_4a29d998-b8bd-4eaa-bdbb-234aff73a288" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityAverageOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityAverageOutstandingAmount_4a29d998-b8bd-4eaa-bdbb-234aff73a288" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_d35d2607-a6c6-49bc-9038-41fddc8184a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_d35d2607-a6c6-49bc-9038-41fddc8184a1" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCovenantTerms_2d1e7de3-b940-45d3-b6f0-6b812c438e96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCovenantTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityCovenantTerms_2d1e7de3-b940-45d3-b6f0-6b812c438e96" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationDate1_1cdd9879-4ecf-4e30-a8f0-f289f97d6b62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityExpirationDate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationDate1_1cdd9879-4ecf-4e30-a8f0-f289f97d6b62" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityDescription_4391e6b1-b76a-494e-8fe8-81e09ad5f65e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityDescription_4391e6b1-b76a-494e-8fe8-81e09ad5f65e" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_af95ae4c-56e8-44d8-9a61-a3f0510145f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_af95ae4c-56e8-44d8-9a61-a3f0510145f4" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCollateral_d2e4bfb4-254d-48b8-ab3d-a6b6f2376d46" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d99ad894-1a0d-44dd-8dbf-c0ba5575740e" xlink:to="loc_us-gaap_DebtInstrumentCollateral_d2e4bfb4-254d-48b8-ab3d-a6b6f2376d46" xlink:type="arc" order="23"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/IncomeTaxesScheduleofAccumulatedNetRealizedGainLossofPaidinCapitalDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#IncomeTaxesScheduleofAccumulatedNetRealizedGainLossofPaidinCapitalDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/IncomeTaxesScheduleofAccumulatedNetRealizedGainLossofPaidinCapitalDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_fb546dd2-3e56-494d-af9b-e74166d17aaf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_2bb4eab1-f83b-4098-91b0-318137d240b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fb546dd2-3e56-494d-af9b-e74166d17aaf" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_2bb4eab1-f83b-4098-91b0-318137d240b8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_98902659-7e69-4e66-a193-1a3d89e6547e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_2bb4eab1-f83b-4098-91b0-318137d240b8" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_98902659-7e69-4e66-a193-1a3d89e6547e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_98902659-7e69-4e66-a193-1a3d89e6547e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_98902659-7e69-4e66-a193-1a3d89e6547e" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_98902659-7e69-4e66-a193-1a3d89e6547e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_f60ef2e1-5f6b-4359-b2b6-9f5e7bdbfcdd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis_98902659-7e69-4e66-a193-1a3d89e6547e" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_f60ef2e1-5f6b-4359-b2b6-9f5e7bdbfcdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember_f54f7266-f762-4751-ae81-f000730aac49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain_f60ef2e1-5f6b-4359-b2b6-9f5e7bdbfcdd" xlink:to="loc_us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember_f54f7266-f762-4751-ae81-f000730aac49" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_eae0e238-4ed4-4597-a3e0-747a68b8884b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_fb546dd2-3e56-494d-af9b-e74166d17aaf" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_eae0e238-4ed4-4597-a3e0-747a68b8884b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/IncomeTaxesScheduleofUndistributedOrdinaryIncomeorAccumulatedRealizedGainsLossesDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#IncomeTaxesScheduleofUndistributedOrdinaryIncomeorAccumulatedRealizedGainsLossesDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/IncomeTaxesScheduleofUndistributedOrdinaryIncomeorAccumulatedRealizedGainsLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c8531d7d-443c-4e26-9350-8a4876bbd9bb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_98aa0bee-c260-4215-bcc3-f57a31876b8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_c8531d7d-443c-4e26-9350-8a4876bbd9bb" xlink:to="loc_us-gaap_StatementTable_98aa0bee-c260-4215-bcc3-f57a31876b8d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_355c0ee9-db62-4548-b8e0-7edb099f04f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_98aa0bee-c260-4215-bcc3-f57a31876b8d" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_355c0ee9-db62-4548-b8e0-7edb099f04f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_355c0ee9-db62-4548-b8e0-7edb099f04f6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_355c0ee9-db62-4548-b8e0-7edb099f04f6" xlink:to="loc_us-gaap_EquityComponentDomain_355c0ee9-db62-4548-b8e0-7edb099f04f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_798e9db9-39a0-47d3-8ab0-7f4d564594b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_355c0ee9-db62-4548-b8e0-7edb099f04f6" xlink:to="loc_us-gaap_EquityComponentDomain_798e9db9-39a0-47d3-8ab0-7f4d564594b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DistributableEarningsLossMember_fc431f81-0f48-4748-bf7b-22dd2fbb00c1" xlink:href="htgc-20231231.xsd#htgc_DistributableEarningsLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_798e9db9-39a0-47d3-8ab0-7f4d564594b7" xlink:to="loc_htgc_DistributableEarningsLossMember_fc431f81-0f48-4748-bf7b-22dd2fbb00c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CapitalInExcessOfParValueMember_6437a049-3642-4e41-8d30-701c297d1802" xlink:href="htgc-20231231.xsd#htgc_CapitalInExcessOfParValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_798e9db9-39a0-47d3-8ab0-7f4d564594b7" xlink:to="loc_htgc_CapitalInExcessOfParValueMember_6437a049-3642-4e41-8d30-701c297d1802" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_dd00fa45-fd32-4786-a127-99667fc8bb53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_98aa0bee-c260-4215-bcc3-f57a31876b8d" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_dd00fa45-fd32-4786-a127-99667fc8bb53" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_dd00fa45-fd32-4786-a127-99667fc8bb53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_dd00fa45-fd32-4786-a127-99667fc8bb53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_dd00fa45-fd32-4786-a127-99667fc8bb53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_bb5881ef-0748-4743-96ce-61e8d9049043" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_dd00fa45-fd32-4786-a127-99667fc8bb53" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_bb5881ef-0748-4743-96ce-61e8d9049043" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NetInvestmentIncomeMember_cd2fc867-d77a-4a1b-8305-2f131fd8d0bc" xlink:href="htgc-20231231.xsd#htgc_NetInvestmentIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_bb5881ef-0748-4743-96ce-61e8d9049043" xlink:to="loc_htgc_NetInvestmentIncomeMember_cd2fc867-d77a-4a1b-8305-2f131fd8d0bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedGainLossMember_9e98a8ad-3fd1-428d-9981-28d8b37ac208" xlink:href="htgc-20231231.xsd#htgc_RealizedGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_bb5881ef-0748-4743-96ce-61e8d9049043" xlink:to="loc_htgc_RealizedGainLossMember_9e98a8ad-3fd1-428d-9981-28d8b37ac208" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_2a8218f3-293b-4d8f-9a28-986adf882921" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c8531d7d-443c-4e26-9350-8a4876bbd9bb" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_2a8218f3-293b-4d8f-9a28-986adf882921" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/IncometaxScheduleofComponentsofDistributableEarningsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#IncometaxScheduleofComponentsofDistributableEarningsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/IncometaxScheduleofComponentsofDistributableEarningsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_d7f526da-7e15-454a-86c9-09f7b8bef026" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_41e64fd6-62fc-4753-9f91-b8fb30b1fd0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_d7f526da-7e15-454a-86c9-09f7b8bef026" xlink:to="loc_us-gaap_StatementTable_41e64fd6-62fc-4753-9f91-b8fb30b1fd0e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e1266021-d6e1-48db-8997-94e943ac3f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_41e64fd6-62fc-4753-9f91-b8fb30b1fd0e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e1266021-d6e1-48db-8997-94e943ac3f7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e1266021-d6e1-48db-8997-94e943ac3f7e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e1266021-d6e1-48db-8997-94e943ac3f7e" xlink:to="loc_us-gaap_EquityComponentDomain_e1266021-d6e1-48db-8997-94e943ac3f7e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c0eb2cca-2d0b-4052-b05f-76fc5f323fc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e1266021-d6e1-48db-8997-94e943ac3f7e" xlink:to="loc_us-gaap_EquityComponentDomain_c0eb2cca-2d0b-4052-b05f-76fc5f323fc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherTemporaryDifferencesMember_619106ab-0319-4c0c-a100-fbf1eb2e2512" xlink:href="htgc-20231231.xsd#htgc_OtherTemporaryDifferencesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c0eb2cca-2d0b-4052-b05f-76fc5f323fc3" xlink:to="loc_htgc_OtherTemporaryDifferencesMember_619106ab-0319-4c0c-a100-fbf1eb2e2512" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UndistributedOrdinaryIncomeMember_40dd1680-f2f1-4b8f-b0d1-639317caae44" xlink:href="htgc-20231231.xsd#htgc_UndistributedOrdinaryIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c0eb2cca-2d0b-4052-b05f-76fc5f323fc3" xlink:to="loc_htgc_UndistributedOrdinaryIncomeMember_40dd1680-f2f1-4b8f-b0d1-639317caae44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss_608699be-e8e8-4707-96f7-165c5aebc2b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d7f526da-7e15-454a-86c9-09f7b8bef026" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedLongTermCapitalGainLoss_608699be-e8e8-4707-96f7-165c5aebc2b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_3da26c3d-1824-4edf-98b2-70fbf5978f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d7f526da-7e15-454a-86c9-09f7b8bef026" xlink:to="loc_us-gaap_InvestmentCompanyDistributableEarningsLossAccumulatedAppreciationDepreciation_3da26c3d-1824-4edf-98b2-70fbf5978f6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_ed37bc5c-8cf7-4775-b43a-858a365a78a9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_d7f526da-7e15-454a-86c9-09f7b8bef026" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_ed37bc5c-8cf7-4775-b43a-858a365a78a9" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/StockholdersEquityandDistributionsAdditionalInformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#StockholdersEquityandDistributionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/StockholdersEquityandDistributionsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_6c6b7800-f997-48c6-9c4e-91eb7c170cc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_6c6b7800-f997-48c6-9c4e-91eb7c170cc9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_6c6b7800-f997-48c6-9c4e-91eb7c170cc9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf" xlink:to="loc_us-gaap_EquityComponentDomain_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_405b2bc6-86ba-457b-ae67-22719ae11f6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_4c61943c-9e9f-4d84-a0d8-abf7575ca8bf" xlink:to="loc_us-gaap_EquityComponentDomain_405b2bc6-86ba-457b-ae67-22719ae11f6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_eaa4c091-6ed1-464d-9649-5de0ab669be7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_405b2bc6-86ba-457b-ae67-22719ae11f6e" xlink:to="loc_us-gaap_CommonStockMember_eaa4c091-6ed1-464d-9649-5de0ab669be7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_0637543a-7452-4de0-98a5-59b847c53d91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_6c6b7800-f997-48c6-9c4e-91eb7c170cc9" xlink:to="loc_us-gaap_TypeOfArrangementAxis_0637543a-7452-4de0-98a5-59b847c53d91" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_0637543a-7452-4de0-98a5-59b847c53d91_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_0637543a-7452-4de0-98a5-59b847c53d91" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_0637543a-7452-4de0-98a5-59b847c53d91_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_67c6cdbf-b3a1-47b2-af8a-77c03847b368" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_0637543a-7452-4de0-98a5-59b847c53d91" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_67c6cdbf-b3a1-47b2-af8a-77c03847b368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoEquityDistributionAgreementMember_c817211b-70d9-435b-b743-49f9e5483f7b" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoEquityDistributionAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_67c6cdbf-b3a1-47b2-af8a-77c03847b368" xlink:to="loc_htgc_TwoThousandTwentyTwoEquityDistributionAgreementMember_c817211b-70d9-435b-b743-49f9e5483f7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_bcce27e2-b989-4e34-90e0-08480f3a949c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_6c6b7800-f997-48c6-9c4e-91eb7c170cc9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_bcce27e2-b989-4e34-90e0-08480f3a949c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bcce27e2-b989-4e34-90e0-08480f3a949c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bcce27e2-b989-4e34-90e0-08480f3a949c" xlink:to="loc_us-gaap_ClassOfStockDomain_bcce27e2-b989-4e34-90e0-08480f3a949c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f3022c09-e33e-461b-8a56-0f060d44798d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bcce27e2-b989-4e34-90e0-08480f3a949c" xlink:to="loc_us-gaap_ClassOfStockDomain_f3022c09-e33e-461b-8a56-0f060d44798d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SpilloveramountpershareMember_8451945c-4c69-4528-891e-e499e5c1dccd" xlink:href="htgc-20231231.xsd#htgc_SpilloveramountpershareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_f3022c09-e33e-461b-8a56-0f060d44798d" xlink:to="loc_htgc_SpilloveramountpershareMember_8451945c-4c69-4528-891e-e499e5c1dccd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_50ee9ab6-b2c7-483e-828f-ae0dcb42d768" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_us-gaap_CommonStockSharesIssued_50ee9ab6-b2c7-483e-828f-ae0dcb42d768" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_857f6688-34dc-4622-96b0-283b3aa53dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_857f6688-34dc-4622-96b0-283b3aa53dd5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EquityDistributionsAgreementAvailableShares_1237fed5-58da-4eb3-8512-07d2fc872642" xlink:href="htgc-20231231.xsd#htgc_EquityDistributionsAgreementAvailableShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_htgc_EquityDistributionsAgreementAvailableShares_1237fed5-58da-4eb3-8512-07d2fc872642" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EquityDistributionsAgreementSharesSold_5b3ff6e2-7a21-4100-b44b-13c2564cca16" xlink:href="htgc-20231231.xsd#htgc_EquityDistributionsAgreementSharesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_htgc_EquityDistributionsAgreementSharesSold_5b3ff6e2-7a21-4100-b44b-13c2564cca16" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EquityDistributionAgreementRemainingAvailableShares_611b3329-84ac-47bf-a2a3-60027f9fe0de" xlink:href="htgc-20231231.xsd#htgc_EquityDistributionAgreementRemainingAvailableShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_htgc_EquityDistributionAgreementRemainingAvailableShares_611b3329-84ac-47bf-a2a3-60027f9fe0de" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_71a230f4-4d5a-4878-b1bd-ac2140543d36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDistributionToShareholdersPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_71a230f4-4d5a-4878-b1bd-ac2140543d36" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UndistributedTaxableEarnings_3056beb9-4e3c-481d-b0da-5a387c4a026f" xlink:href="htgc-20231231.xsd#htgc_UndistributedTaxableEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_htgc_UndistributedTaxableEarnings_3056beb9-4e3c-481d-b0da-5a387c4a026f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_578f2709-9a58-43d4-8c56-1d388cd00791" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_3dc2997e-0a9f-49d1-9361-e91c057e4b12" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesDividendReinvestmentPlan_578f2709-9a58-43d4-8c56-1d388cd00791" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/StockholdersEquityandDistributionsScheduleofCommonStockSharesIssuedandSoldDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#StockholdersEquityandDistributionsScheduleofCommonStockSharesIssuedandSoldDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/StockholdersEquityandDistributionsScheduleofCommonStockSharesIssuedandSoldDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_b7e86219-e6f5-4eb3-8ce1-9b03a50d66b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_e2dec1c5-d491-474c-baf6-57486fe20a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_b7e86219-e6f5-4eb3-8ce1-9b03a50d66b6" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_e2dec1c5-d491-474c-baf6-57486fe20a1d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_eb14dc3f-029f-4b7c-888f-3650c9d86ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_e2dec1c5-d491-474c-baf6-57486fe20a1d" xlink:to="loc_us-gaap_StatementClassOfStockAxis_eb14dc3f-029f-4b7c-888f-3650c9d86ae0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_eb14dc3f-029f-4b7c-888f-3650c9d86ae0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_eb14dc3f-029f-4b7c-888f-3650c9d86ae0" xlink:to="loc_us-gaap_ClassOfStockDomain_eb14dc3f-029f-4b7c-888f-3650c9d86ae0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ef09093b-fd17-4e1c-a89e-6b764cd3d26f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_eb14dc3f-029f-4b7c-888f-3650c9d86ae0" xlink:to="loc_us-gaap_ClassOfStockDomain_ef09093b-fd17-4e1c-a89e-6b764cd3d26f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonGrossProceedsMember_a07bed93-f15b-4de9-b5d4-d9ba96d4910a" xlink:href="htgc-20231231.xsd#htgc_CommonGrossProceedsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ef09093b-fd17-4e1c-a89e-6b764cd3d26f" xlink:to="loc_htgc_CommonGrossProceedsMember_a07bed93-f15b-4de9-b5d4-d9ba96d4910a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonOfferingExpensesMember_aa169d91-1f96-4d80-acdc-0b0cc0e95ae3" xlink:href="htgc-20231231.xsd#htgc_CommonOfferingExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ef09093b-fd17-4e1c-a89e-6b764cd3d26f" xlink:to="loc_htgc_CommonOfferingExpensesMember_aa169d91-1f96-4d80-acdc-0b0cc0e95ae3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_b0299012-5573-403e-99df-7c982116cce0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_b7e86219-e6f5-4eb3-8ce1-9b03a50d66b6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_b0299012-5573-403e-99df-7c982116cce0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_7a80e181-52ec-495b-b350-39d491315ac7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_b7e86219-e6f5-4eb3-8ce1-9b03a50d66b6" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_7a80e181-52ec-495b-b350-39d491315ac7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssuedPricePerShare_52668050-2493-4dc5-b8ee-1829af2cbe50" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_b7e86219-e6f5-4eb3-8ce1-9b03a50d66b6" xlink:to="loc_us-gaap_SharesIssuedPricePerShare_52668050-2493-4dc5-b8ee-1829af2cbe50" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/StockholdersEquityandDistributionsScheduleofDividendsDeclaredDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#StockholdersEquityandDistributionsScheduleofDividendsDeclaredDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/StockholdersEquityandDistributionsScheduleofDividendsDeclaredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableTable_620bbb0b-501c-45d7-a879-4efb81662143" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_DividendsPayableTable_620bbb0b-501c-45d7-a879-4efb81662143" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsAxis_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_620bbb0b-501c-45d7-a879-4efb81662143" xlink:to="loc_us-gaap_DividendsAxis_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e" xlink:to="loc_us-gaap_DividendsDomain_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_f5f585d9-5cc7-4a5d-b7ac-ddf39aeea04e" xlink:to="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredOneMember_4c2f5545-162e-4c37-bbce-0310502f7e46" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredOneMember_4c2f5545-162e-4c37-bbce-0310502f7e46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredTwoMember_ce0fd67e-1e20-4e90-9328-fe7dad3218f2" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredTwoMember_ce0fd67e-1e20-4e90-9328-fe7dad3218f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredThreeMember_83534f2d-5f52-4ad5-bcd0-6d85d344b45d" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredThreeMember_83534f2d-5f52-4ad5-bcd0-6d85d344b45d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredFourMember_dbcbc8ec-f6ef-4e6a-ae04-588edc644083" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredFourMember_dbcbc8ec-f6ef-4e6a-ae04-588edc644083" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredFiveMember_07d3b536-9d35-43d3-89c4-4cb5580ed9d3" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredFiveMember_07d3b536-9d35-43d3-89c4-4cb5580ed9d3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredSixMember_8362ab76-a8ae-48c8-bd38-9afdb33a693a" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredSixMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredSixMember_8362ab76-a8ae-48c8-bd38-9afdb33a693a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredSevenMember_fd8d334d-98f2-47da-8993-2517ac354621" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredSevenMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredSevenMember_fd8d334d-98f2-47da-8993-2517ac354621" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DividendDeclaredEightMember_ae24b6d3-6d87-474e-8f2c-d104fdd9ada5" xlink:href="htgc-20231231.xsd#htgc_DividendDeclaredEightMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_0dc53bfd-1e2e-40a2-bd13-4fb6125d0047" xlink:to="loc_htgc_DividendDeclaredEightMember_ae24b6d3-6d87-474e-8f2c-d104fdd9ada5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableNature_727a2736-171f-4368-912c-e7ff92e7c036" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableNature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_DividendsPayableNature_727a2736-171f-4368-912c-e7ff92e7c036" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_34a0f5fc-7b43-418a-bcc2-3a4dfec92eac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableDateDeclaredDayMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_DividendsPayableDateDeclaredDayMonthAndYear_34a0f5fc-7b43-418a-bcc2-3a4dfec92eac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_55310283-25db-45cf-8235-ceb2dfe3dda0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_55310283-25db-45cf-8235-ceb2dfe3dda0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_fef754a9-697e-4001-b8f3-c680cc63ec3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_fef754a9-697e-4001-b8f3-c680cc63ec3e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_765d4c51-4810-4c4c-9f0a-f717dc346168" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDistributionToShareholdersPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_InvestmentCompanyDistributionToShareholdersPerShare_765d4c51-4810-4c4c-9f0a-f717dc346168" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_64e52d18-bf33-498f-9983-68b1495f586c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_6b44b97e-daab-40ce-b8b6-724facdd2abc" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_64e52d18-bf33-498f-9983-68b1495f586c" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EquityIncentivePlansAdditionalinformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#EquityIncentivePlansAdditionalinformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/EquityIncentivePlansAdditionalinformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_27f8b0ed-4820-42ae-a6ec-e89096d55d02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:to="loc_us-gaap_PlanNameAxis_27f8b0ed-4820-42ae-a6ec-e89096d55d02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_27f8b0ed-4820-42ae-a6ec-e89096d55d02_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_27f8b0ed-4820-42ae-a6ec-e89096d55d02" xlink:to="loc_us-gaap_PlanNameDomain_27f8b0ed-4820-42ae-a6ec-e89096d55d02_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_26f9c6fb-a347-448a-a4cc-b9ee8548be7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_27f8b0ed-4820-42ae-a6ec-e89096d55d02" xlink:to="loc_us-gaap_PlanNameDomain_26f9c6fb-a347-448a-a4cc-b9ee8548be7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandEighteenPlanMember_edad55f6-af98-40da-890a-9ec7a1400c33" xlink:href="htgc-20231231.xsd#htgc_TwoThousandEighteenPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_26f9c6fb-a347-448a-a4cc-b9ee8548be7a" xlink:to="loc_htgc_TwoThousandEighteenPlanMember_edad55f6-af98-40da-890a-9ec7a1400c33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DirectorPlanMember_3f71c101-d9fb-443b-b278-c338fc434c2a" xlink:href="htgc-20231231.xsd#htgc_DirectorPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_26f9c6fb-a347-448a-a4cc-b9ee8548be7a" xlink:to="loc_htgc_DirectorPlanMember_3f71c101-d9fb-443b-b278-c338fc434c2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_0948d915-bb60-4fd1-8073-e1a4d392bbac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:to="loc_us-gaap_AwardTypeAxis_0948d915-bb60-4fd1-8073-e1a4d392bbac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0948d915-bb60-4fd1-8073-e1a4d392bbac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0948d915-bb60-4fd1-8073-e1a4d392bbac" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0948d915-bb60-4fd1-8073-e1a4d392bbac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0948d915-bb60-4fd1-8073-e1a4d392bbac" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_47a0ece4-0c20-4a3e-a000-96b8e63266e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_us-gaap_CommonStockMember_47a0ece4-0c20-4a3e-a000-96b8e63266e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ServiceVestingAwardsMember_a2d008bf-18f8-4963-ab1c-bfb3cfae749a" xlink:href="htgc-20231231.xsd#htgc_ServiceVestingAwardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_htgc_ServiceVestingAwardsMember_a2d008bf-18f8-4963-ab1c-bfb3cfae749a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_73867d66-f8e9-4f3b-894d-db24d9ddd431" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_us-gaap_EmployeeStockOptionMember_73867d66-f8e9-4f3b-894d-db24d9ddd431" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PerformanceVestingAwardMember_cf4dd8ea-52a7-4da8-b9d5-596dbbf3cd48" xlink:href="htgc-20231231.xsd#htgc_PerformanceVestingAwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_htgc_PerformanceVestingAwardMember_cf4dd8ea-52a7-4da8-b9d5-596dbbf3cd48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PerformanceDEUsMember_e40bface-7a4f-42a8-b0a5-3ccbcce7393e" xlink:href="htgc-20231231.xsd#htgc_PerformanceDEUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_htgc_PerformanceDEUsMember_e40bface-7a4f-42a8-b0a5-3ccbcce7393e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LiabilityClassifiedAwardsMember_15db8ed0-d636-46ea-980a-40cb2cc19a8f" xlink:href="htgc-20231231.xsd#htgc_LiabilityClassifiedAwardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_htgc_LiabilityClassifiedAwardsMember_15db8ed0-d636-46ea-980a-40cb2cc19a8f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherLiabilityClassifiedAwardsMember_58427b2a-1928-470e-91e0-d244a1d64345" xlink:href="htgc-20231231.xsd#htgc_OtherLiabilityClassifiedAwardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b28db534-88d1-4d48-a0fb-92352b482127" xlink:to="loc_htgc_OtherLiabilityClassifiedAwardsMember_58427b2a-1928-470e-91e0-d244a1d64345" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_758d4d49-af25-4b78-abe2-4e127aacac0d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:to="loc_srt_RangeAxis_758d4d49-af25-4b78-abe2-4e127aacac0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_758d4d49-af25-4b78-abe2-4e127aacac0d_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_758d4d49-af25-4b78-abe2-4e127aacac0d" xlink:to="loc_srt_RangeMember_758d4d49-af25-4b78-abe2-4e127aacac0d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d66d897b-1c74-4c69-bc86-17e08f8ae871" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_758d4d49-af25-4b78-abe2-4e127aacac0d" xlink:to="loc_srt_RangeMember_d66d897b-1c74-4c69-bc86-17e08f8ae871" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0be26bca-7359-4b51-880f-73bdf684b34b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d66d897b-1c74-4c69-bc86-17e08f8ae871" xlink:to="loc_srt_MinimumMember_0be26bca-7359-4b51-880f-73bdf684b34b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_517266a6-e5f6-4764-a2c6-d8e81c1075c8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d66d897b-1c74-4c69-bc86-17e08f8ae871" xlink:to="loc_srt_MaximumMember_517266a6-e5f6-4764-a2c6-d8e81c1075c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_6d5a8306-598e-41a9-bf36-f6375e287e45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_dae87911-986c-4863-a2c7-22f1c6d1a795" xlink:to="loc_us-gaap_VestingAxis_6d5a8306-598e-41a9-bf36-f6375e287e45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_6d5a8306-598e-41a9-bf36-f6375e287e45_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_6d5a8306-598e-41a9-bf36-f6375e287e45" xlink:to="loc_us-gaap_VestingDomain_6d5a8306-598e-41a9-bf36-f6375e287e45_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_432ee066-5cd6-4c2d-bf99-857d2a032cec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_6d5a8306-598e-41a9-bf36-f6375e287e45" xlink:to="loc_us-gaap_VestingDomain_432ee066-5cd6-4c2d-bf99-857d2a032cec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_29a82d1a-8f01-44e9-a4d6-b2157336d3de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_432ee066-5cd6-4c2d-bf99-857d2a032cec" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_29a82d1a-8f01-44e9-a4d6-b2157336d3de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ShareBasedPaymentArrangementTranchesTwoAndThreeMember_1c773784-0789-4a6e-99e5-680e7b47c4bb" xlink:href="htgc-20231231.xsd#htgc_ShareBasedPaymentArrangementTranchesTwoAndThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_432ee066-5cd6-4c2d-bf99-857d2a032cec" xlink:to="loc_htgc_ShareBasedPaymentArrangementTranchesTwoAndThreeMember_1c773784-0789-4a6e-99e5-680e7b47c4bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_827afff8-31f7-4972-85e7-3de9a6c9bc10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_ShareBasedPaymentArrangementTranchesTwoAndThreeMember_1c773784-0789-4a6e-99e5-680e7b47c4bb" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_827afff8-31f7-4972-85e7-3de9a6c9bc10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_d30281f3-3e0a-4711-9712-64c576f3bdb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_ShareBasedPaymentArrangementTranchesTwoAndThreeMember_1c773784-0789-4a6e-99e5-680e7b47c4bb" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_d30281f3-3e0a-4711-9712-64c576f3bdb1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualSharesAuthorizedForIssuance_e79c5864-14bb-4dd0-bcb2-e802ba06cb07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCompensationArrangementWithIndividualSharesAuthorizedForIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualSharesAuthorizedForIssuance_e79c5864-14bb-4dd0-bcb2-e802ba06cb07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_64ebce94-a996-4d4a-abb9-812844d5105a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_64ebce94-a996-4d4a-abb9-812844d5105a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_1fbc6498-effd-4eff-8ea7-ad9383a0608e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_1fbc6498-effd-4eff-8ea7-ad9383a0608e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1d89f1c4-b1d0-4b54-af38-7693b6fdf261" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_1d89f1c4-b1d0-4b54-af38-7693b6fdf261" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward_c5dd84df-a743-4618-8012-e7b41fb3ac10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward_c5dd84df-a743-4618-8012-e7b41fb3ac10" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_c503f505-c1b4-4ea7-bcb4-7beb4dbd58e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_c503f505-c1b4-4ea7-bcb4-7beb4dbd58e3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ShareBasedCompensationAggregateIntrinsicValueGranted_28fdc836-2993-4891-b42c-d8fd47960530" xlink:href="htgc-20231231.xsd#htgc_ShareBasedCompensationAggregateIntrinsicValueGranted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_htgc_ShareBasedCompensationAggregateIntrinsicValueGranted_28fdc836-2993-4891-b42c-d8fd47960530" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_5b49e6ec-37a5-49a6-9b6d-73f58ae82e49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_5b49e6ec-37a5-49a6-9b6d-73f58ae82e49" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDisposalPeriodAfterVesting_33176947-c0c9-4816-9138-7fe8636ed8be" xlink:href="htgc-20231231.xsd#htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDisposalPeriodAfterVesting"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDisposalPeriodAfterVesting_33176947-c0c9-4816-9138-7fe8636ed8be" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_c8cc8008-4ca4-4ecb-a8ea-23fc088c4319" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_c8cc8008-4ca4-4ecb-a8ea-23fc088c4319" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDistributionEquivalentUnitGrantDateFairValue_8da99dda-58bf-42d4-a4a9-06e40c82e2f4" xlink:href="htgc-20231231.xsd#htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDistributionEquivalentUnitGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_htgc_ShareBasedCompensationArrangementByShareBasedPaymentAwardDistributionEquivalentUnitGrantDateFairValue_8da99dda-58bf-42d4-a4a9-06e40c82e2f4" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_763d63de-f511-4732-9ea7-c73e9c5d8f51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_763d63de-f511-4732-9ea7-c73e9c5d8f51" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RemainingMaxAwardValue_5d5bc5b5-58c1-4c73-883c-cb02551f686f" xlink:href="htgc-20231231.xsd#htgc_RemainingMaxAwardValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_htgc_RemainingMaxAwardValue_5d5bc5b5-58c1-4c73-883c-cb02551f686f" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeightedAveragePerformanceConditionsInLiability_67fbbdfe-a59e-4371-a5df-cdbc4fddd86a" xlink:href="htgc-20231231.xsd#htgc_WeightedAveragePerformanceConditionsInLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_htgc_WeightedAveragePerformanceConditionsInLiability_67fbbdfe-a59e-4371-a5df-cdbc4fddd86a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent_7c8363c8-6171-43f5-99ce-497ca3e2fc0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_DeferredCompensationSharebasedArrangementsLiabilityCurrentAndNoncurrent_7c8363c8-6171-43f5-99ce-497ca3e2fc0a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_ae3086c1-7bba-48dc-961a-551f67d55d8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_ae3086c1-7bba-48dc-961a-551f67d55d8d" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_13ec1e30-7161-4314-a151-804e39c8e343" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_eca283db-a37c-4321-8b2a-baff4dd103e7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_13ec1e30-7161-4314-a151-804e39c8e343" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_1c4fca93-d2fd-48c9-b3b1-bfff8e5e174a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_01202150-fd8d-4992-a2fc-611891181e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_1c4fca93-d2fd-48c9-b3b1-bfff8e5e174a" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_01202150-fd8d-4992-a2fc-611891181e6f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_01202150-fd8d-4992-a2fc-611891181e6f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1" xlink:to="loc_us-gaap_EquityComponentDomain_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e8551c71-2277-4162-b6a8-dc8ec1fa3457" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1d9a6a48-ef48-413b-b6c9-fbdbcc5715c1" xlink:to="loc_us-gaap_EquityComponentDomain_e8551c71-2277-4162-b6a8-dc8ec1fa3457" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_79db1d00-4faa-41ce-b3f8-6c52cb64e340" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e8551c71-2277-4162-b6a8-dc8ec1fa3457" xlink:to="loc_us-gaap_CommonStockMember_79db1d00-4faa-41ce-b3f8-6c52cb64e340" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:href="htgc-20231231.xsd#htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_1c4fca93-d2fd-48c9-b3b1-bfff8e5e174a" xlink:to="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d11a5c56-5584-4169-b896-b44b866ef858" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_NetIncomeLoss_d11a5c56-5584-4169-b896-b44b866ef858" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_303cc47a-3c79-47f7-ad54-2569d3056e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_303cc47a-3c79-47f7-ad54-2569d3056e7d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_cb50177e-13d6-42b4-8a0e-a504e00abbdb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_e5957c7c-19c3-436d-a534-96fed6b7b76b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_e5957c7c-19c3-436d-a534-96fed6b7b76b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_f427e86a-a75a-4c1c-b2cc-56454c16f0b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_f427e86a-a75a-4c1c-b2cc-56454c16f0b3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_56619448-e4d5-439c-a73b-92f946adfbb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_56619448-e4d5-439c-a73b-92f946adfbb9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_0837fef1-070a-4d0f-953a-da1de6a68c35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_NumeratorForBasicAndDilutedChangeInNetAssetsPerCommonShareAbstract_80650b87-5ca4-472c-970e-16be9bfbe6c2" xlink:to="loc_us-gaap_UndistributedEarnings_0837fef1-070a-4d0f-953a-da1de6a68c35" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_1c4fca93-d2fd-48c9-b3b1-bfff8e5e174a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_84070ee3-f278-4bad-aa84-9668427e989c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_84070ee3-f278-4bad-aa84-9668427e989c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_95a3da2e-35d7-47e7-9c76-f3bafe9cda40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_95a3da2e-35d7-47e7-9c76-f3bafe9cda40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_6893bad8-b8f5-4cb4-a942-322940ccc7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_6893bad8-b8f5-4cb4-a942-322940ccc7e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30db7f25-1956-42e4-bc07-26d30f60ecec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_30db7f25-1956-42e4-bc07-26d30f60ecec" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ChangeInNetAssetsPerCommonShareAbstract_127d9d5a-5770-49e0-9837-fe1d5236d218" xlink:href="htgc-20231231.xsd#htgc_ChangeInNetAssetsPerCommonShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d7fe6a6c-8e09-45de-8df5-5c84b23b120f" xlink:to="loc_htgc_ChangeInNetAssetsPerCommonShareAbstract_127d9d5a-5770-49e0-9837-fe1d5236d218" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_dd37e59c-e00f-41c5-97b0-30dabd785934" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_ChangeInNetAssetsPerCommonShareAbstract_127d9d5a-5770-49e0-9837-fe1d5236d218" xlink:to="loc_us-gaap_EarningsPerShareBasic_dd37e59c-e00f-41c5-97b0-30dabd785934" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_d69fce6d-514e-4cbd-903c-92e2b353973a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_ChangeInNetAssetsPerCommonShareAbstract_127d9d5a-5770-49e0-9837-fe1d5236d218" xlink:to="loc_us-gaap_EarningsPerShareDiluted_d69fce6d-514e-4cbd-903c-92e2b353973a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EarningsPerShareScheduleofNumberofAntidilutedSharesAsCalculatedBasedonWeightedAverageClosingPriceofCommonStockDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#EarningsPerShareScheduleofNumberofAntidilutedSharesAsCalculatedBasedonWeightedAverageClosingPriceofCommonStockDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/EarningsPerShareScheduleofNumberofAntidilutedSharesAsCalculatedBasedonWeightedAverageClosingPriceofCommonStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9204e923-8d4b-4eea-a4ee-04a625746085" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1ce20c20-c5fc-4576-a06d-760cbfbc3ffe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9204e923-8d4b-4eea-a4ee-04a625746085" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1ce20c20-c5fc-4576-a06d-760cbfbc3ffe" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_19b20564-9321-4268-ab4e-d386eb8bcade" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1ce20c20-c5fc-4576-a06d-760cbfbc3ffe" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_19b20564-9321-4268-ab4e-d386eb8bcade" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_19b20564-9321-4268-ab4e-d386eb8bcade_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_19b20564-9321-4268-ab4e-d386eb8bcade" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_19b20564-9321-4268-ab4e-d386eb8bcade_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20a6eac0-5a61-463f-98e4-9a81754df2f9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_19b20564-9321-4268-ab4e-d386eb8bcade" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20a6eac0-5a61-463f-98e4-9a81754df2f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4dd71aa7-4e2d-4c29-8fbb-76e658285b08" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20a6eac0-5a61-463f-98e4-9a81754df2f9" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4dd71aa7-4e2d-4c29-8fbb-76e658285b08" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6b5aeb0b-0d8a-473e-a5ea-a6771ef283db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20a6eac0-5a61-463f-98e4-9a81754df2f9" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6b5aeb0b-0d8a-473e-a5ea-a6771ef283db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnvestedRestrictedStockAwardsMember_9730790b-1a03-4aac-b8d5-5553426e9171" xlink:href="htgc-20231231.xsd#htgc_UnvestedRestrictedStockAwardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_20a6eac0-5a61-463f-98e4-9a81754df2f9" xlink:to="loc_htgc_UnvestedRestrictedStockAwardsMember_9730790b-1a03-4aac-b8d5-5553426e9171" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3de589b2-b1e2-4a76-ad27-1d8485985bac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9204e923-8d4b-4eea-a4ee-04a625746085" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3de589b2-b1e2-4a76-ad27-1d8485985bac" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FinancialHighlightsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialHighlightsLineItems_42748876-1038-4fb3-83a9-12bae544c178" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialHighlightsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialHighlightsTable_4a36a687-ffe9-4ec1-b0f8-7909b1147da3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialHighlightsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InvestmentCompanyFinancialHighlightsLineItems_42748876-1038-4fb3-83a9-12bae544c178" xlink:to="loc_us-gaap_InvestmentCompanyFinancialHighlightsTable_4a36a687-ffe9-4ec1-b0f8-7909b1147da3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_ae369871-62a8-47b0-8a9c-fabf03efb873" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentCompanyFinancialHighlightsTable_4a36a687-ffe9-4ec1-b0f8-7909b1147da3" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_ae369871-62a8-47b0-8a9c-fabf03efb873" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_ae369871-62a8-47b0-8a9c-fabf03efb873_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_ae369871-62a8-47b0-8a9c-fabf03efb873" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_ae369871-62a8-47b0-8a9c-fabf03efb873_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_7bba658f-05cd-456b-8e54-fa15bb08e9c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_ae369871-62a8-47b0-8a9c-fabf03efb873" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_7bba658f-05cd-456b-8e54-fa15bb08e9c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NetInvestmentIncomeMember_92689ef2-b3fe-470d-b5b9-866865cc409b" xlink:href="htgc-20231231.xsd#htgc_NetInvestmentIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7bba658f-05cd-456b-8e54-fa15bb08e9c2" xlink:to="loc_htgc_NetInvestmentIncomeMember_92689ef2-b3fe-470d-b5b9-866865cc409b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedGainLossMember_e15cc10f-f5fd-4c06-a034-5bb85e1909d5" xlink:href="htgc-20231231.xsd#htgc_RealizedGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7bba658f-05cd-456b-8e54-fa15bb08e9c2" xlink:to="loc_htgc_RealizedGainLossMember_e15cc10f-f5fd-4c06-a034-5bb85e1909d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnrealizedGainLossMember_ea9bc77a-2938-4e80-a3e8-4d8ab78bbc6f" xlink:href="htgc-20231231.xsd#htgc_UnrealizedGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_7bba658f-05cd-456b-8e54-fa15bb08e9c2" xlink:to="loc_htgc_UnrealizedGainLossMember_ea9bc77a-2938-4e80-a3e8-4d8ab78bbc6f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialHighlightsRollForward_8aaf46bc-515a-4d5f-9ebb-24d932af6530" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialHighlightsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialHighlightsLineItems_42748876-1038-4fb3-83a9-12bae544c178" xlink:to="loc_us-gaap_InvestmentCompanyFinancialHighlightsRollForward_8aaf46bc-515a-4d5f-9ebb-24d932af6530" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialHighlightsRollForward_8aaf46bc-515a-4d5f-9ebb-24d932af6530" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetAssetValuePerShare_f334ccec-5220-491a-842c-a52b83f69512" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetAssetValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_us-gaap_NetAssetValuePerShare_f334ccec-5220-491a-842c-a52b83f69512" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_113e2c4a-5b0b-49c2-b425-d522edd6ab42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_113e2c4a-5b0b-49c2-b425-d522edd6ab42" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_9d9404ee-1f80-4fa9-9e75-515c841cc89b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_9d9404ee-1f80-4fa9-9e75-515c841cc89b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentCompanyCapitalShareTransactionIncreaseDecreasePerShare_982422a1-f25f-4280-903f-acb51e8cfea3" xlink:href="htgc-20231231.xsd#htgc_InvestmentCompanyCapitalShareTransactionIncreaseDecreasePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_htgc_InvestmentCompanyCapitalShareTransactionIncreaseDecreasePerShare_982422a1-f25f-4280-903f-acb51e8cfea3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentCompanyDistributionToShareholdersPerShareExcludingCapitalShareTransactions_553536e3-8418-4a3d-a38b-2ef589d5f452" xlink:href="htgc-20231231.xsd#htgc_InvestmentCompanyDistributionToShareholdersPerShareExcludingCapitalShareTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_htgc_InvestmentCompanyDistributionToShareholdersPerShareExcludingCapitalShareTransactions_553536e3-8418-4a3d-a38b-2ef589d5f452" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentCompanyDividendDistributionPerShare_809ac59b-3ada-4d75-bbbc-1be51163ca70" xlink:href="htgc-20231231.xsd#htgc_InvestmentCompanyDividendDistributionPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_htgc_InvestmentCompanyDividendDistributionPerShare_809ac59b-3ada-4d75-bbbc-1be51163ca70" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentCompanyStockBasedCompensationExpenseIncludedInInvestmentIncome_631cc450-4355-4b44-8eef-5b1f645a3a63" xlink:href="htgc-20231231.xsd#htgc_InvestmentCompanyStockBasedCompensationExpenseIncludedInInvestmentIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShareAbstract_1e5dcc20-7a82-4d0b-a512-430880c88a3b" xlink:to="loc_htgc_InvestmentCompanyStockBasedCompensationExpenseIncludedInInvestmentIncome_631cc450-4355-4b44-8eef-5b1f645a3a63" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetAssetValuePerShare_2eb221c5-3238-4d42-813d-ec54c401dbc4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetAssetValuePerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialRatiosAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialHighlightsRollForward_8aaf46bc-515a-4d5f-9ebb-24d932af6530" xlink:to="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharePrice_2bd0299e-c4c5-4641-9339-572953aa1057" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_SharePrice_2bd0299e-c4c5-4641-9339-572953aa1057" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyTotalReturn_fca61fee-b632-446e-9ce6-d5e9d63d9f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyTotalReturn"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_InvestmentCompanyTotalReturn_fca61fee-b632-446e-9ce6-d5e9d63d9f9b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_d1a88835-170b-435f-ab3f-01fd0e6835a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_SharesOutstanding_d1a88835-170b-435f-ab3f-01fd0e6835a0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_40a277a0-e493-468e-96ec-8ceee6879d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_40a277a0-e493-468e-96ec-8ceee6879d1c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_8ec0ffea-0dd7-4b84-b500-b894315195a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_StockholdersEquity_8ec0ffea-0dd7-4b84-b500-b894315195a3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyExpenseRatioIncludingIncentiveFee_8841ed37-c1f5-4356-a376-8db3dae5f956" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyExpenseRatioIncludingIncentiveFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_InvestmentCompanyExpenseRatioIncludingIncentiveFee_8841ed37-c1f5-4356-a376-8db3dae5f956" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossRatio_d0f0f5d5-5aca-4105-b843-e14ff029f7ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossRatio_d0f0f5d5-5aca-4105-b843-e14ff029f7ea" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyPortfolioTurnover_a4ee7db2-3f5f-41d5-a7db-3261c55da4ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyPortfolioTurnover"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_InvestmentCompanyPortfolioTurnover_a4ee7db2-3f5f-41d5-a7db-3261c55da4ed" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAverageAmountOutstanding_62df0e96-d55b-48f4-94af-1b64e81d0bb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtAverageAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_us-gaap_LongTermDebtAverageAmountOutstanding_62df0e96-d55b-48f4-94af-1b64e81d0bb7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeightedAverageDebtPerCommonShare_56b666d1-b2ed-417e-9a0c-58198215aa7f" xlink:href="htgc-20231231.xsd#htgc_WeightedAverageDebtPerCommonShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentCompanyFinancialRatiosAbstract_f257bdd2-9805-448e-811a-958ce967a6b4" xlink:to="loc_htgc_WeightedAverageDebtPerCommonShare_56b666d1-b2ed-417e-9a0c-58198215aa7f" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnfundedContractualCommitmentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofUnfundedContractualCommitmentsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnfundedContractualCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_64038453-7f27-4683-9583-54e8260bdab6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_79e4e8a6-37d8-4959-b0ba-84c689e1cbeb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_64038453-7f27-4683-9583-54e8260bdab6" xlink:to="loc_us-gaap_LossContingenciesTable_79e4e8a6-37d8-4959-b0ba-84c689e1cbeb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_db48a180-3c9c-4721-9e12-dc7a681ef716" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_79e4e8a6-37d8-4959-b0ba-84c689e1cbeb" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_db48a180-3c9c-4721-9e12-dc7a681ef716" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_db48a180-3c9c-4721-9e12-dc7a681ef716_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_db48a180-3c9c-4721-9e12-dc7a681ef716" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_db48a180-3c9c-4721-9e12-dc7a681ef716_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_db48a180-3c9c-4721-9e12-dc7a681ef716" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThumbtackIncMember_aee7c1aa-49ca-4477-92ad-4aa97f94eb3c" xlink:href="htgc-20231231.xsd#htgc_ThumbtackIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ThumbtackIncMember_aee7c1aa-49ca-4477-92ad-4aa97f94eb3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AutomationAnywhereIncMember_e8a643b3-8c0f-45c6-ae0b-2bdd1109ef00" xlink:href="htgc-20231231.xsd#htgc_AutomationAnywhereIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AutomationAnywhereIncMember_e8a643b3-8c0f-45c6-ae0b-2bdd1109ef00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CheckrGroupIncMember_8dc579ec-8e8b-4afd-9145-ec3c274e348c" xlink:href="htgc-20231231.xsd#htgc_CheckrGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_CheckrGroupIncMember_8dc579ec-8e8b-4afd-9145-ec3c274e348c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SkydioIncMember_7134aab2-7410-4dff-87d6-58be2aee41e5" xlink:href="htgc-20231231.xsd#htgc_SkydioIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SkydioIncMember_7134aab2-7410-4dff-87d6-58be2aee41e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TarsusPharmaceuticalsIncMember_c189c3e8-ead3-4d1f-a414-893ecdbb390c" xlink:href="htgc-20231231.xsd#htgc_TarsusPharmaceuticalsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_TarsusPharmaceuticalsIncMember_c189c3e8-ead3-4d1f-a414-893ecdbb390c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_KuraOncologyIncMember_f407f4e4-49f0-4bd6-82b4-13c51ea9d8bf" xlink:href="htgc-20231231.xsd#htgc_KuraOncologyIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_KuraOncologyIncMember_f407f4e4-49f0-4bd6-82b4-13c51ea9d8bf" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AkeroTherapeuticsIncMember_b1560680-e6da-4368-9e44-829d230f199e" xlink:href="htgc-20231231.xsd#htgc_AkeroTherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AkeroTherapeuticsIncMember_b1560680-e6da-4368-9e44-829d230f199e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DragosMember_8bb42009-5b76-4303-96e8-ad1a694b20f8" xlink:href="htgc-20231231.xsd#htgc_DragosMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_DragosMember_8bb42009-5b76-4303-96e8-ad1a694b20f8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SuzyIncMember_36a66173-5c0b-4d96-83f3-83555fe3889a" xlink:href="htgc-20231231.xsd#htgc_SuzyIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SuzyIncMember_36a66173-5c0b-4d96-83f3-83555fe3889a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TipaltiSolutionsLtdMember_3939625d-e4c8-4264-922a-f8607b14486c" xlink:href="htgc-20231231.xsd#htgc_TipaltiSolutionsLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_TipaltiSolutionsLtdMember_3939625d-e4c8-4264-922a-f8607b14486c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MainStreetRuralIncMember_f4e9c577-4e8e-4a45-ac01-f507508882b3" xlink:href="htgc-20231231.xsd#htgc_MainStreetRuralIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_MainStreetRuralIncMember_f4e9c577-4e8e-4a45-ac01-f507508882b3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NextInsuranceIncMember_b0382b84-37bb-4f55-a270-00861227970a" xlink:href="htgc-20231231.xsd#htgc_NextInsuranceIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_NextInsuranceIncMember_b0382b84-37bb-4f55-a270-00861227970a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SenseonicHoldingsIncMember_32a8f8c4-8282-4751-a077-6cde8bec2acd" xlink:href="htgc-20231231.xsd#htgc_SenseonicHoldingsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SenseonicHoldingsIncMember_32a8f8c4-8282-4751-a077-6cde8bec2acd" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ElationHealthIncMember_30be53a3-0b62-4575-aa89-104075e8d506" xlink:href="htgc-20231231.xsd#htgc_ElationHealthIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ElationHealthIncMember_30be53a3-0b62-4575-aa89-104075e8d506" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ModernLifeIncMember_7e0a8021-e633-489b-bac4-6fe67ae31604" xlink:href="htgc-20231231.xsd#htgc_ModernLifeIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ModernLifeIncMember_7e0a8021-e633-489b-bac4-6fe67ae31604" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DronedeployIncMember_330330d1-6a97-44eb-9c75-708d0bcc1f48" xlink:href="htgc-20231231.xsd#htgc_DronedeployIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_DronedeployIncMember_330330d1-6a97-44eb-9c75-708d0bcc1f48" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PhathomPharmaceuticalsIncMember_74aefa47-7ec5-4282-a882-b450d7aadef2" xlink:href="htgc-20231231.xsd#htgc_PhathomPharmaceuticalsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_PhathomPharmaceuticalsIncMember_74aefa47-7ec5-4282-a882-b450d7aadef2" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BrainCorporationMember_fb523790-16aa-4742-b54c-2662643e6642" xlink:href="htgc-20231231.xsd#htgc_BrainCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_BrainCorporationMember_fb523790-16aa-4742-b54c-2662643e6642" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HeronTherapeuticsIncMember_6f31c5cd-02f7-4dff-ae84-900ff4996430" xlink:href="htgc-20231231.xsd#htgc_HeronTherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_HeronTherapeuticsIncMember_6f31c5cd-02f7-4dff-ae84-900ff4996430" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LeapworkApSMember_e5b514ed-2901-4da7-b29d-244e6af50a01" xlink:href="htgc-20231231.xsd#htgc_LeapworkApSMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_LeapworkApSMember_e5b514ed-2901-4da7-b29d-244e6af50a01" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SaamaTechnologiesLLCMember_3fb85538-7f39-4828-ae0a-92f9a88b70d1" xlink:href="htgc-20231231.xsd#htgc_SaamaTechnologiesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SaamaTechnologiesLLCMember_3fb85538-7f39-4828-ae0a-92f9a88b70d1" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ZimperiumIncMember_f954d5cd-d5af-40d0-8c25-6307b1251535" xlink:href="htgc-20231231.xsd#htgc_ZimperiumIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ZimperiumIncMember_f954d5cd-d5af-40d0-8c25-6307b1251535" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AllvueSystemsLLCMember_a5d0a8c8-8d72-4c31-bd42-e8f507682a22" xlink:href="htgc-20231231.xsd#htgc_AllvueSystemsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AllvueSystemsLLCMember_a5d0a8c8-8d72-4c31-bd42-e8f507682a22" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BabelStreetMember_f2de1c42-9c43-4572-89d7-abead85e842e" xlink:href="htgc-20231231.xsd#htgc_BabelStreetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_BabelStreetMember_f2de1c42-9c43-4572-89d7-abead85e842e" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RivieraPartnersLLCMember_b4645ce9-df97-4bda-9e0d-e239f109e98c" xlink:href="htgc-20231231.xsd#htgc_RivieraPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_RivieraPartnersLLCMember_b4645ce9-df97-4bda-9e0d-e239f109e98c" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CutoverIncMember_f707e0e3-af44-4a37-9098-fd20cba8872a" xlink:href="htgc-20231231.xsd#htgc_CutoverIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_CutoverIncMember_f707e0e3-af44-4a37-9098-fd20cba8872a" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PlentificLtdMember_378d0a4f-72c9-40f1-ba64-9d8082ae600a" xlink:href="htgc-20231231.xsd#htgc_PlentificLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_PlentificLtdMember_378d0a4f-72c9-40f1-ba64-9d8082ae600a" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ZappiIncMember_13cc01ef-f4d5-4a15-a9e7-c6c00028b6e6" xlink:href="htgc-20231231.xsd#htgc_ZappiIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ZappiIncMember_13cc01ef-f4d5-4a15-a9e7-c6c00028b6e6" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AltumintIncMember_767e4e72-768c-400d-bbc9-5de72093305c" xlink:href="htgc-20231231.xsd#htgc_AltumintIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AltumintIncMember_767e4e72-768c-400d-bbc9-5de72093305c" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LoftwareIncMember_5cb1df1e-b57a-413d-8858-96eac6f91a38" xlink:href="htgc-20231231.xsd#htgc_LoftwareIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_LoftwareIncMember_5cb1df1e-b57a-413d-8858-96eac6f91a38" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_YipitLLCMember_eb78783c-13b9-4a8b-9187-194af2d37b99" xlink:href="htgc-20231231.xsd#htgc_YipitLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_YipitLLCMember_eb78783c-13b9-4a8b-9187-194af2d37b99" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_StreamlineHealthcareSolutionsMember_2447c6ae-c93b-4643-a20a-1ce84b5b5e7a" xlink:href="htgc-20231231.xsd#htgc_StreamlineHealthcareSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_StreamlineHealthcareSolutionsMember_2447c6ae-c93b-4643-a20a-1ce84b5b5e7a" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NewRelicIncMember_cfe459d5-291d-4043-831e-4bbdbd359b42" xlink:href="htgc-20231231.xsd#htgc_NewRelicIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_NewRelicIncMember_cfe459d5-291d-4043-831e-4bbdbd359b42" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DashlaneIncMember_961cd879-b47d-415f-9009-b6c50c798c04" xlink:href="htgc-20231231.xsd#htgc_DashlaneIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_DashlaneIncMember_961cd879-b47d-415f-9009-b6c50c798c04" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SumoLogicIncMember_c2118d46-f88f-4ab7-ab2a-9a49d357c473" xlink:href="htgc-20231231.xsd#htgc_SumoLogicIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SumoLogicIncMember_c2118d46-f88f-4ab7-ab2a-9a49d357c473" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AnnexCloudMember_b3512580-896e-49ab-aeb5-93bd130d62c3" xlink:href="htgc-20231231.xsd#htgc_AnnexCloudMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AnnexCloudMember_b3512580-896e-49ab-aeb5-93bd130d62c3" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CerosIncMember_84af1c39-3502-433c-9573-4fcc7483c987" xlink:href="htgc-20231231.xsd#htgc_CerosIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_CerosIncMember_84af1c39-3502-433c-9573-4fcc7483c987" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThreatConnectIncMember_fc3a37cf-f330-41b1-a8c6-d9f09d8c3888" xlink:href="htgc-20231231.xsd#htgc_ThreatConnectIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ThreatConnectIncMember_fc3a37cf-f330-41b1-a8c6-d9f09d8c3888" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LogicSourceMember_cd8d8896-b75a-4635-b9a9-fa2db3e476e7" xlink:href="htgc-20231231.xsd#htgc_LogicSourceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_LogicSourceMember_cd8d8896-b75a-4635-b9a9-fa2db3e476e7" xlink:type="arc" order="38"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_A3GTMSLLCMember_c5c96998-3694-429d-b1a6-b4e168097028" xlink:href="htgc-20231231.xsd#htgc_A3GTMSLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_A3GTMSLLCMember_c5c96998-3694-429d-b1a6-b4e168097028" xlink:type="arc" order="39"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IkonScienceLimitedMember_2aac65f3-b962-4954-91f7-7b7ce79c92a1" xlink:href="htgc-20231231.xsd#htgc_IkonScienceLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_IkonScienceLimitedMember_2aac65f3-b962-4954-91f7-7b7ce79c92a1" xlink:type="arc" order="40"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LinenMasterLLCMember_e47671bf-9c48-48da-8f97-d93021a56ab9" xlink:href="htgc-20231231.xsd#htgc_LinenMasterLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_LinenMasterLLCMember_e47671bf-9c48-48da-8f97-d93021a56ab9" xlink:type="arc" order="41"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FortifiedHealthSecurityMember_c539ae45-aa8c-4155-93d0-cdc017dbcfdf" xlink:href="htgc-20231231.xsd#htgc_FortifiedHealthSecurityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_FortifiedHealthSecurityMember_c539ae45-aa8c-4155-93d0-cdc017dbcfdf" xlink:type="arc" order="42"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AgilenceIncMember_f8ea94b6-afa3-44db-9ddf-aea957a2862f" xlink:href="htgc-20231231.xsd#htgc_AgilenceIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AgilenceIncMember_f8ea94b6-afa3-44db-9ddf-aea957a2862f" xlink:type="arc" order="43"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OmedaHoldingsLLCMember_dce267b0-470a-4f64-8566-52d0e0fe7ef7" xlink:href="htgc-20231231.xsd#htgc_OmedaHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_OmedaHoldingsLLCMember_dce267b0-470a-4f64-8566-52d0e0fe7ef7" xlink:type="arc" order="44"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FlightScheduleProLLCMember_014958ec-a125-447c-a696-19c88e20127c" xlink:href="htgc-20231231.xsd#htgc_FlightScheduleProLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_FlightScheduleProLLCMember_014958ec-a125-447c-a696-19c88e20127c" xlink:type="arc" order="45"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DispatchTechnologiesIncMember_9b76ece3-135e-4b6b-8438-f4a6d5ad09dd" xlink:href="htgc-20231231.xsd#htgc_DispatchTechnologiesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_DispatchTechnologiesIncMember_9b76ece3-135e-4b6b-8438-f4a6d5ad09dd" xlink:type="arc" order="46"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConstructorioCorporationMember_77ebb063-b82d-4834-afd2-68bffebf03ed" xlink:href="htgc-20231231.xsd#htgc_ConstructorioCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ConstructorioCorporationMember_77ebb063-b82d-4834-afd2-68bffebf03ed" xlink:type="arc" order="47"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EnmarkSystemsIncMember_64f06939-94a5-48a5-b52d-f0a7685dc51f" xlink:href="htgc-20231231.xsd#htgc_EnmarkSystemsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_EnmarkSystemsIncMember_64f06939-94a5-48a5-b52d-f0a7685dc51f" xlink:type="arc" order="48"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AlchemerLLCMember_b814d59f-c561-48c5-9e93-8437e9ea922f" xlink:href="htgc-20231231.xsd#htgc_AlchemerLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AlchemerLLCMember_b814d59f-c561-48c5-9e93-8437e9ea922f" xlink:type="arc" order="49"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CybermaxxIntermediateHoldingsIncMember_b262d0a6-4906-4e5f-a333-5f5e89030fbd" xlink:href="htgc-20231231.xsd#htgc_CybermaxxIntermediateHoldingsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_CybermaxxIntermediateHoldingsIncMember_b262d0a6-4906-4e5f-a333-5f5e89030fbd" xlink:type="arc" order="50"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ShadowDragonLLCMember_50da678b-151a-4dbc-b4a2-197f27f5ac5a" xlink:href="htgc-20231231.xsd#htgc_ShadowDragonLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ShadowDragonLLCMember_50da678b-151a-4dbc-b4a2-197f27f5ac5a" xlink:type="arc" order="51"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CytracomHoldingsLLCMember_3d110150-0b45-4a63-9cd0-8688f7c05b5f" xlink:href="htgc-20231231.xsd#htgc_CytracomHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_CytracomHoldingsLLCMember_3d110150-0b45-4a63-9cd0-8688f7c05b5f" xlink:type="arc" order="52"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProventionBioIncMember_30c1833b-2c60-4b1c-b980-7d0a7e838e55" xlink:href="htgc-20231231.xsd#htgc_ProventionBioIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ProventionBioIncMember_30c1833b-2c60-4b1c-b980-7d0a7e838e55" xlink:type="arc" order="53"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_VidaHealthIncMember_b446a21d-02c0-4aaa-ae1d-02f3e66e2156" xlink:href="htgc-20231231.xsd#htgc_VidaHealthIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_VidaHealthIncMember_b446a21d-02c0-4aaa-ae1d-02f3e66e2156" xlink:type="arc" order="54"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MadrigalPharmaceuticalIncMember_97a8a65a-6af0-4794-a3b6-eba9aa61099c" xlink:href="htgc-20231231.xsd#htgc_MadrigalPharmaceuticalIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_MadrigalPharmaceuticalIncMember_97a8a65a-6af0-4794-a3b6-eba9aa61099c" xlink:type="arc" order="55"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OakStreetHealthIncMember_82104ec4-1f42-46cf-bbe3-7a12487f6c32" xlink:href="htgc-20231231.xsd#htgc_OakStreetHealthIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_OakStreetHealthIncMember_82104ec4-1f42-46cf-bbe3-7a12487f6c32" xlink:type="arc" order="56"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HilleVaxIncMember_2c85892c-7e25-4067-9994-c3260bc9937f" xlink:href="htgc-20231231.xsd#htgc_HilleVaxIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_HilleVaxIncMember_2c85892c-7e25-4067-9994-c3260bc9937f" xlink:type="arc" order="57"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AxsomeTherapeuticsIncMember_51924dff-e665-4cf2-ae22-c25374048971" xlink:href="htgc-20231231.xsd#htgc_AxsomeTherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AxsomeTherapeuticsIncMember_51924dff-e665-4cf2-ae22-c25374048971" xlink:type="arc" order="58"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ReplimuneGroupIncMember_51272562-432a-4673-9710-d286814fed91" xlink:href="htgc-20231231.xsd#htgc_ReplimuneGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ReplimuneGroupIncMember_51272562-432a-4673-9710-d286814fed91" xlink:type="arc" order="59"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AryakaNetworksIncMember_0170c513-b0d9-4720-b5a4-c76792e1a622" xlink:href="htgc-20231231.xsd#htgc_AryakaNetworksIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AryakaNetworksIncMember_0170c513-b0d9-4720-b5a4-c76792e1a622" xlink:type="arc" order="60"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_G1TherapeuticsIncMember_67152fb7-f372-4a07-bcf8-eba31d1b2cab" xlink:href="htgc-20231231.xsd#htgc_G1TherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_G1TherapeuticsIncMember_67152fb7-f372-4a07-bcf8-eba31d1b2cab" xlink:type="arc" order="61"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AppDirectIncMember_9726a36b-f817-4cdc-a7c4-2a2919802938" xlink:href="htgc-20231231.xsd#htgc_AppDirectIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AppDirectIncMember_9726a36b-f817-4cdc-a7c4-2a2919802938" xlink:type="arc" order="62"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AlladaptImmunotherapeuticsIncMember_5ad2bc56-496e-49d8-b4cf-88dea9927331" xlink:href="htgc-20231231.xsd#htgc_AlladaptImmunotherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AlladaptImmunotherapeuticsIncMember_5ad2bc56-496e-49d8-b4cf-88dea9927331" xlink:type="arc" order="63"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PathAIIncMember_f2067a72-d3a4-48bf-bc96-ff6600def8cb" xlink:href="htgc-20231231.xsd#htgc_PathAIIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_PathAIIncMember_f2067a72-d3a4-48bf-bc96-ff6600def8cb" xlink:type="arc" order="64"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ViridianTherapeuticsIncMember_622b9861-d0f3-4472-acad-3e621e7958bd" xlink:href="htgc-20231231.xsd#htgc_ViridianTherapeuticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ViridianTherapeuticsIncMember_622b9861-d0f3-4472-acad-3e621e7958bd" xlink:type="arc" order="65"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AlamarBiosciencesIncMember_f2f256cb-b31a-4b9e-b5df-a77e2bc6c956" xlink:href="htgc-20231231.xsd#htgc_AlamarBiosciencesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_AlamarBiosciencesIncMember_f2f256cb-b31a-4b9e-b5df-a77e2bc6c956" xlink:type="arc" order="66"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FeverLabsIncMember_8d4aabe8-ad8e-499b-bb79-e493d674a6de" xlink:href="htgc-20231231.xsd#htgc_FeverLabsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_FeverLabsIncMember_8d4aabe8-ad8e-499b-bb79-e493d674a6de" xlink:type="arc" order="67"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GritstoneBioIncMember_50d66b37-a8b5-4671-992e-0a052ed7384b" xlink:href="htgc-20231231.xsd#htgc_GritstoneBioIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_GritstoneBioIncMember_50d66b37-a8b5-4671-992e-0a052ed7384b" xlink:type="arc" order="68"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NuvoloTechnologiesCorporationMember_de6eadbb-549d-472f-86fa-a3ac50a9797f" xlink:href="htgc-20231231.xsd#htgc_NuvoloTechnologiesCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_NuvoloTechnologiesCorporationMember_de6eadbb-549d-472f-86fa-a3ac50a9797f" xlink:type="arc" order="69"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SignalMediaLimitedMember_ad583eed-c884-483f-bc0e-df0e89c23cc1" xlink:href="htgc-20231231.xsd#htgc_SignalMediaLimitedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_SignalMediaLimitedMember_ad583eed-c884-483f-bc0e-df0e89c23cc1" xlink:type="arc" order="70"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FulfilSolutionsIncMember_5ba152f5-f8ea-4424-b42b-64275b8a9055" xlink:href="htgc-20231231.xsd#htgc_FulfilSolutionsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_FulfilSolutionsIncMember_5ba152f5-f8ea-4424-b42b-64275b8a9055" xlink:type="arc" order="71"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DemandbaseIncMember_2d5056df-fdc2-493d-a0c6-48461cda734e" xlink:href="htgc-20231231.xsd#htgc_DemandbaseIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_DemandbaseIncMember_2d5056df-fdc2-493d-a0c6-48461cda734e" xlink:type="arc" order="72"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MacroFabIncMember_6200334a-1d7e-4811-bbce-4bea56acfc29" xlink:href="htgc-20231231.xsd#htgc_MacroFabIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_MacroFabIncMember_6200334a-1d7e-4811-bbce-4bea56acfc29" xlink:type="arc" order="73"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_KhorosPkaLithiumTechnologiesMember_3462fc57-add6-44ff-967e-b7c15160e1e2" xlink:href="htgc-20231231.xsd#htgc_KhorosPkaLithiumTechnologiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_KhorosPkaLithiumTechnologiesMember_3462fc57-add6-44ff-967e-b7c15160e1e2" xlink:type="arc" order="74"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RVShareLLCMember_b728ea13-d469-44c2-ac26-37de3868a698" xlink:href="htgc-20231231.xsd#htgc_RVShareLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_RVShareLLCMember_b728ea13-d469-44c2-ac26-37de3868a698" xlink:type="arc" order="75"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MobileSolutionsServicesMember_a114ebc5-ea3f-4513-be18-8a37cb40fd59" xlink:href="htgc-20231231.xsd#htgc_MobileSolutionsServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_MobileSolutionsServicesMember_a114ebc5-ea3f-4513-be18-8a37cb40fd59" xlink:type="arc" order="76"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ForbionGrowthOpportunitiesFundIICVMember_2120a239-69e3-4c22-928a-b730efcebc4b" xlink:href="htgc-20231231.xsd#htgc_ForbionGrowthOpportunitiesFundIICVMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ForbionGrowthOpportunitiesFundIICVMember_2120a239-69e3-4c22-928a-b730efcebc4b" xlink:type="arc" order="77"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ForbionGrowthOpportunitiesFundICVMember_09bf2a0f-a3d2-4c1e-b6fa-b0e1d8270642" xlink:href="htgc-20231231.xsd#htgc_ForbionGrowthOpportunitiesFundICVMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_c673b622-a916-4953-bd4b-33f5fd77f2dd" xlink:to="loc_htgc_ForbionGrowthOpportunitiesFundICVMember_09bf2a0f-a3d2-4c1e-b6fa-b0e1d8270642" xlink:type="arc" order="78"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_c80eb51e-da95-4fb4-834f-ac04db0affe9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_79e4e8a6-37d8-4959-b0ba-84c689e1cbeb" xlink:to="loc_us-gaap_InvestmentTypeAxis_c80eb51e-da95-4fb4-834f-ac04db0affe9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_c80eb51e-da95-4fb4-834f-ac04db0affe9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_c80eb51e-da95-4fb4-834f-ac04db0affe9" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_c80eb51e-da95-4fb4-834f-ac04db0affe9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1ff65747-12fe-46c8-9f9b-abb50da7c6d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_c80eb51e-da95-4fb4-834f-ac04db0affe9" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1ff65747-12fe-46c8-9f9b-abb50da7c6d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsMember_3b9bab82-aada-4566-8e2d-3829bb81f6f7" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1ff65747-12fe-46c8-9f9b-abb50da7c6d6" xlink:to="loc_htgc_DebtInvestmentsMember_3b9bab82-aada-4566-8e2d-3829bb81f6f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AdviserFundsMember_7834915c-7c2f-42a8-be75-341a7ea9d34e" xlink:href="htgc-20231231.xsd#htgc_AdviserFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1ff65747-12fe-46c8-9f9b-abb50da7c6d6" xlink:to="loc_htgc_AdviserFundsMember_7834915c-7c2f-42a8-be75-341a7ea9d34e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_09ce3e36-d145-4fd8-91d1-0077e3fdbeea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_79e4e8a6-37d8-4959-b0ba-84c689e1cbeb" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_09ce3e36-d145-4fd8-91d1-0077e3fdbeea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_09ce3e36-d145-4fd8-91d1-0077e3fdbeea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_09ce3e36-d145-4fd8-91d1-0077e3fdbeea" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_09ce3e36-d145-4fd8-91d1-0077e3fdbeea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_8e9efab1-fb1e-44be-877f-95119e1a5ce5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_09ce3e36-d145-4fd8-91d1-0077e3fdbeea" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_8e9efab1-fb1e-44be-877f-95119e1a5ce5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentFundsAndVehiclesMember_d1c99841-557d-4cba-a087-471d1c685184" xlink:href="htgc-20231231.xsd#htgc_InvestmentFundsAndVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_8e9efab1-fb1e-44be-877f-95119e1a5ce5" xlink:to="loc_htgc_InvestmentFundsAndVehiclesMember_d1c99841-557d-4cba-a087-471d1c685184" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_6fa8f40f-8130-4200-9104-a1fb0693fda6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_64038453-7f27-4683-9583-54e8260bdab6" xlink:to="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_6fa8f40f-8130-4200-9104-a1fb0693fda6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:href="htgc-20231231.xsd#htgc_CommitmentsAndContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommitmentsAndContingenciesTable_fdbfca80-05de-481b-818f-c3410369cbb3" xlink:href="htgc-20231231.xsd#htgc_CommitmentsAndContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_CommitmentsAndContingenciesTable_fdbfca80-05de-481b-818f-c3410369cbb3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_fc09931b-3327-4fa2-9c31-443e0eb98ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_CommitmentsAndContingenciesTable_fdbfca80-05de-481b-818f-c3410369cbb3" xlink:to="loc_us-gaap_InvestmentTypeAxis_fc09931b-3327-4fa2-9c31-443e0eb98ac4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_fc09931b-3327-4fa2-9c31-443e0eb98ac4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_fc09931b-3327-4fa2-9c31-443e0eb98ac4" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_fc09931b-3327-4fa2-9c31-443e0eb98ac4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_eb03bf52-db2e-477f-ae17-1ea1867b3809" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_fc09931b-3327-4fa2-9c31-443e0eb98ac4" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_eb03bf52-db2e-477f-ae17-1ea1867b3809" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsMember_08deab43-1f44-4a36-b199-803a4a0dd145" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_eb03bf52-db2e-477f-ae17-1ea1867b3809" xlink:to="loc_htgc_DebtInvestmentsMember_08deab43-1f44-4a36-b199-803a4a0dd145" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentFundsAndVehiclesMember_c87d0563-8cd1-42b2-a576-9b006168b92d" xlink:href="htgc-20231231.xsd#htgc_InvestmentFundsAndVehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_eb03bf52-db2e-477f-ae17-1ea1867b3809" xlink:to="loc_htgc_InvestmentFundsAndVehiclesMember_c87d0563-8cd1-42b2-a576-9b006168b92d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInPriorYear_9635a9d5-4302-422f-8546-57b0c22bf4b1" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInPriorYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInPriorYear_9635a9d5-4302-422f-8546-57b0c22bf4b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInOneYear_a98a2641-bb15-4c24-a141-935d5dbec279" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInOneYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInOneYear_a98a2641-bb15-4c24-a141-935d5dbec279" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSecondYear_49bc5aed-e768-4d72-ae3c-60aef8d599a5" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSecondYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInSecondYear_49bc5aed-e768-4d72-ae3c-60aef8d599a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInThirdYear_b57081eb-3e4c-40e2-8a92-c7c2329adee9" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInThirdYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInThirdYear_b57081eb-3e4c-40e2-8a92-c7c2329adee9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFourthYear_9a0f7538-6d21-4357-9f7d-603edf3ba730" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInFourthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInFourthYear_9a0f7538-6d21-4357-9f7d-603edf3ba730" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFifthYear_25d5b72f-8af4-4e56-9658-03e65e6592fe" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInFifthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInFifthYear_25d5b72f-8af4-4e56-9658-03e65e6592fe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSixthYear_1985893d-dba0-4281-92d1-32f42dd9a62c" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSixthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInSixthYear_1985893d-dba0-4281-92d1-32f42dd9a62c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSeventhYear_26bc728a-e875-4631-80a8-88373e1e1096" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSeventhYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInSeventhYear_26bc728a-e875-4631-80a8-88373e1e1096" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInNinthYear_e07e04e5-b1be-4bf1-8448-5c9ace10357b" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInNinthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_htgc_UnfundedCommitmentsDueInNinthYear_e07e04e5-b1be-4bf1-8448-5c9ace10357b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_a90259c4-e13f-49b3-9f78-aabcc6127d86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_ade88aa8-bc43-4f96-929b-7dcf5e5c72b8" xlink:to="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_a90259c4-e13f-49b3-9f78-aabcc6127d86" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofContractualObligationsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:href="htgc-20231231.xsd#htgc_CommitmentsAndContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommitmentsAndContingenciesTable_e31b1384-b514-4f3f-8d0e-3c92b34a98fa" xlink:href="htgc-20231231.xsd#htgc_CommitmentsAndContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_htgc_CommitmentsAndContingenciesTable_e31b1384-b514-4f3f-8d0e-3c92b34a98fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_189c504c-7894-4c6f-a115-9de833aae727" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_CommitmentsAndContingenciesTable_e31b1384-b514-4f3f-8d0e-3c92b34a98fa" xlink:to="loc_us-gaap_InvestmentTypeAxis_189c504c-7894-4c6f-a115-9de833aae727" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_189c504c-7894-4c6f-a115-9de833aae727_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_189c504c-7894-4c6f-a115-9de833aae727" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_189c504c-7894-4c6f-a115-9de833aae727_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_be2151ce-3822-464d-a389-e7101f6eb2b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_189c504c-7894-4c6f-a115-9de833aae727" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_be2151ce-3822-464d-a389-e7101f6eb2b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DebtInvestmentsMember_a6195add-87a0-468b-aaf6-32675d02a93c" xlink:href="htgc-20231231.xsd#htgc_DebtInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_be2151ce-3822-464d-a389-e7101f6eb2b3" xlink:to="loc_htgc_DebtInvestmentsMember_a6195add-87a0-468b-aaf6-32675d02a93c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LeaseAndLicenseObligationsMember_a2877606-dece-4094-8669-6a7f2b84e2a9" xlink:href="htgc-20231231.xsd#htgc_LeaseAndLicenseObligationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_be2151ce-3822-464d-a389-e7101f6eb2b3" xlink:to="loc_htgc_LeaseAndLicenseObligationsMember_a2877606-dece-4094-8669-6a7f2b84e2a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_1efa31df-acf5-404d-b5a8-a959c0334738" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_CommitmentsAndContingenciesTable_e31b1384-b514-4f3f-8d0e-3c92b34a98fa" xlink:to="loc_us-gaap_DebtInstrumentAxis_1efa31df-acf5-404d-b5a8-a959c0334738" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1efa31df-acf5-404d-b5a8-a959c0334738_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1efa31df-acf5-404d-b5a8-a959c0334738" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1efa31df-acf5-404d-b5a8-a959c0334738_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1efa31df-acf5-404d-b5a8-a959c0334738" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_fbf32605-a5c3-4f18-b6ae-127e61ad08a2" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_SBADebenturesMember_fbf32605-a5c3-4f18-b6ae-127e61ad08a2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_0e9cec3e-053a-4adc-8a7c-dfc9b679a96a" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_0e9cec3e-053a-4adc-8a7c-dfc9b679a96a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_4bd939e4-d49c-493f-a002-0dcdf3c67514" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_4bd939e4-d49c-493f-a002-0dcdf3c67514" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_e49440ac-71f2-4ad3-b529-6b2038aab315" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_e49440ac-71f2-4ad3-b529-6b2038aab315" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_8f1e8019-2bac-43d6-829f-824f6866db91" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_8f1e8019-2bac-43d6-829f-824f6866db91" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_329b5000-0a83-4e6a-afdf-ea12fc4c8875" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_329b5000-0a83-4e6a-afdf-ea12fc4c8875" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_0a4dce2b-5d0d-4ea2-bff1-f821ac2870f6" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_0a4dce2b-5d0d-4ea2-bff1-f821ac2870f6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_f16ff247-57d0-420b-96e0-44a18f0cfa33" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_f16ff247-57d0-420b-96e0-44a18f0cfa33" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_cb57498c-0da3-423f-ae76-2fc597eed699" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_cb57498c-0da3-423f-ae76-2fc597eed699" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_0e3484cf-0cf4-4a07-a7e6-ded6e376c62d" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_0e3484cf-0cf4-4a07-a7e6-ded6e376c62d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_b34c5e03-6fb6-4463-b833-44eccbe90679" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_5e11d8e0-77a9-4e42-894c-373796be6616" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_b34c5e03-6fb6-4463-b833-44eccbe90679" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_accf99cd-b109-4458-bb5e-044cc1f40a9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_htgc_CommitmentsAndContingenciesTable_e31b1384-b514-4f3f-8d0e-3c92b34a98fa" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_accf99cd-b109-4458-bb5e-044cc1f40a9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_accf99cd-b109-4458-bb5e-044cc1f40a9f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_accf99cd-b109-4458-bb5e-044cc1f40a9f" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_accf99cd-b109-4458-bb5e-044cc1f40a9f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_e06dda20-d090-4735-9133-5f727b4f8d21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_accf99cd-b109-4458-bb5e-044cc1f40a9f" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_e06dda20-d090-4735-9133-5f727b4f8d21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_2d5e0359-ffca-4284-af79-e997e1cf3478" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_e06dda20-d090-4735-9133-5f727b4f8d21" xlink:to="loc_htgc_SMBCFacilityMember_2d5e0359-ffca-4284-af79-e997e1cf3478" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_7a591c40-f099-4006-973a-f964d6c85058" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_e06dda20-d090-4735-9133-5f727b4f8d21" xlink:to="loc_htgc_MUFGBankFacilityMember_7a591c40-f099-4006-973a-f964d6c85058" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_81e65562-7ab9-425d-a3f2-458d1dfad241" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LongTermDebt_81e65562-7ab9-425d-a3f2-458d1dfad241" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_41421748-be95-41ab-8608-9f832dc7b728" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_41421748-be95-41ab-8608-9f832dc7b728" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_6167329c-fb25-4371-9331-579a0ebbb866" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturingInYearsTwoAndThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_6167329c-fb25-4371-9331-579a0ebbb866" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_106c9039-6560-4a93-9d1c-1b0108232162" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturingInYearsFourAndFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_106c9039-6560-4a93-9d1c-1b0108232162" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_bdb1ca1b-0174-4c5e-9e0d-d231b6703ce3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_bdb1ca1b-0174-4c5e-9e0d-d231b6703ce3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2d720658-b49f-44d1-886e-20b757b83948" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_2d720658-b49f-44d1-886e-20b757b83948" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6d79e5e9-1f3d-4096-8826-05c770319c65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_6d79e5e9-1f3d-4096-8826-05c770319c65" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_04087126-164c-469d-a7b8-b6606ec5f191" xlink:href="htgc-20231231.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_04087126-164c-469d-a7b8-b6606ec5f191" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_da228c93-6f7b-44ad-9997-9d3533a74af3" xlink:href="htgc-20231231.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_da228c93-6f7b-44ad-9997-9d3533a74af3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e5fd5112-efa1-44cd-8e64-bbc11c6f4c07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e5fd5112-efa1-44cd-8e64-bbc11c6f4c07" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_62a0fe56-b280-46d9-965a-e3a434677dc3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_ContractualObligation_62a0fe56-b280-46d9-965a-e3a434677dc3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_dc2dcce0-9ce9-4608-8dd4-54c6abc906b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_dc2dcce0-9ce9-4608-8dd4-54c6abc906b5" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_68507f8e-e943-46c3-bde4-91094e76d226" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInSecondAndThirdYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_68507f8e-e943-46c3-bde4-91094e76d226" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_8587c3f0-6283-4837-bc5d-44f7d84a33c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInFourthAndFifthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_8587c3f0-6283-4837-bc5d-44f7d84a33c7" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_90392dac-d679-4d73-9dbf-71bb25e7d188" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueAfterFifthYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_90392dac-d679-4d73-9dbf-71bb25e7d188" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_89997434-74f3-43d5-8988-84cbb0d0bea6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_htgc_CommitmentsAndContingenciesLineItems_5b853625-0382-4710-b06b-7a44ef11cdbf" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_89997434-74f3-43d5-8988-84cbb0d0bea6" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#RelatedPartyTransactionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_47c04559-8209-4b0c-868a-e161ba5832cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_47c04559-8209-4b0c-868a-e161ba5832cb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0af068d6-cd32-4e84-898a-98e42cc81376" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_47c04559-8209-4b0c-868a-e161ba5832cb" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0af068d6-cd32-4e84-898a-98e42cc81376" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0af068d6-cd32-4e84-898a-98e42cc81376_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0af068d6-cd32-4e84-898a-98e42cc81376" xlink:to="loc_us-gaap_RelatedPartyDomain_0af068d6-cd32-4e84-898a-98e42cc81376_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_fdbc3f25-37a6-437e-a737-6bb4625f20a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0af068d6-cd32-4e84-898a-98e42cc81376" xlink:to="loc_us-gaap_RelatedPartyDomain_fdbc3f25-37a6-437e-a737-6bb4625f20a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AdviserSubsidiaryMember_a59e35dc-d4a7-439c-8164-c88e729162d4" xlink:href="htgc-20231231.xsd#htgc_AdviserSubsidiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_fdbc3f25-37a6-437e-a737-6bb4625f20a5" xlink:to="loc_htgc_AdviserSubsidiaryMember_a59e35dc-d4a7-439c-8164-c88e729162d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AdviserFundsMember_cd6b0dc7-1266-4bd7-8666-14b5a700406e" xlink:href="htgc-20231231.xsd#htgc_AdviserFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_fdbc3f25-37a6-437e-a737-6bb4625f20a5" xlink:to="loc_htgc_AdviserFundsMember_cd6b0dc7-1266-4bd7-8666-14b5a700406e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_f74063f8-e67a-434c-8bce-1a198124ed65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_us-gaap_PaymentsOfDividends_f74063f8-e67a-434c-8bce-1a198124ed65" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_2c67dddb-d776-434a-9522-fcbda831e35b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_2c67dddb-d776-434a-9522-fcbda831e35b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ReceivableFromRelatedParty_0ba09171-46a7-46bb-b4b1-a196b97c738c" xlink:href="htgc-20231231.xsd#htgc_ReceivableFromRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_htgc_ReceivableFromRelatedParty_0ba09171-46a7-46bb-b4b1-a196b97c738c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AdviserSubsidiaryInvestmentCommitments_bfe3400d-e1b9-495f-aec9-7a2b3e7a048e" xlink:href="htgc-20231231.xsd#htgc_AdviserSubsidiaryInvestmentCommitments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_htgc_AdviserSubsidiaryInvestmentCommitments_bfe3400d-e1b9-495f-aec9-7a2b3e7a048e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AdviserSubsidiaryInvestmentFunding_c4a8f2e1-4360-4c98-bf65-1132b6b8d5c8" xlink:href="htgc-20231231.xsd#htgc_AdviserSubsidiaryInvestmentFunding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_htgc_AdviserSubsidiaryInvestmentFunding_c4a8f2e1-4360-4c98-bf65-1132b6b8d5c8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RelatedPartyTransactionSalesToRelatedParty_a0300800-fd4c-464d-8f13-d61a213f84bc" xlink:href="htgc-20231231.xsd#htgc_RelatedPartyTransactionSalesToRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_htgc_RelatedPartyTransactionSalesToRelatedParty_a0300800-fd4c-464d-8f13-d61a213f84bc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RelatedPartyTransactionGainLossOnSalesToRelatedParty_46a50fc9-211f-47d8-9ae3-ebf345d0e87e" xlink:href="htgc-20231231.xsd#htgc_RelatedPartyTransactionGainLossOnSalesToRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_53605405-0e56-4b6b-a5fb-16821e904f96" xlink:to="loc_htgc_RelatedPartyTransactionGainLossOnSalesToRelatedParty_46a50fc9-211f-47d8-9ae3-ebf345d0e87e" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_db1a1730-7f11-4012-8b52-c28ba87a516e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_fd1214da-b967-4cb4-8ebb-cb4a94fcba66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_db1a1730-7f11-4012-8b52-c28ba87a516e" xlink:to="loc_us-gaap_SubsequentEventTable_fd1214da-b967-4cb4-8ebb-cb4a94fcba66" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_b3448a27-b95b-4180-bfc6-10ef68a57c21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_fd1214da-b967-4cb4-8ebb-cb4a94fcba66" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_b3448a27-b95b-4180-bfc6-10ef68a57c21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_b3448a27-b95b-4180-bfc6-10ef68a57c21_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_b3448a27-b95b-4180-bfc6-10ef68a57c21" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_b3448a27-b95b-4180-bfc6-10ef68a57c21_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0054cd62-147a-45fa-a212-b3eb5af4ed7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_b3448a27-b95b-4180-bfc6-10ef68a57c21" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0054cd62-147a-45fa-a212-b3eb5af4ed7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_0d488d1e-9e55-47d9-85a0-35c59ed3925c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_0054cd62-147a-45fa-a212-b3eb5af4ed7b" xlink:to="loc_us-gaap_SubsequentEventMember_0d488d1e-9e55-47d9-85a0-35c59ed3925c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsAxis_1e650059-e40e-4e8c-b565-43859df01fe8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_fd1214da-b967-4cb4-8ebb-cb4a94fcba66" xlink:to="loc_us-gaap_DividendsAxis_1e650059-e40e-4e8c-b565-43859df01fe8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_1e650059-e40e-4e8c-b565-43859df01fe8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_1e650059-e40e-4e8c-b565-43859df01fe8" xlink:to="loc_us-gaap_DividendsDomain_1e650059-e40e-4e8c-b565-43859df01fe8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_036c2622-e730-4fbc-b71b-87001d656572" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_1e650059-e40e-4e8c-b565-43859df01fe8" xlink:to="loc_us-gaap_DividendsDomain_036c2622-e730-4fbc-b71b-87001d656572" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BaseAndSupplementalDividendMember_bb9d6278-fd1f-48ce-94fa-0a72826ae9fc" xlink:href="htgc-20231231.xsd#htgc_BaseAndSupplementalDividendMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_036c2622-e730-4fbc-b71b-87001d656572" xlink:to="loc_htgc_BaseAndSupplementalDividendMember_bb9d6278-fd1f-48ce-94fa-0a72826ae9fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BaseDividendMember_8567ffa1-247e-4337-941a-ea35fea54676" xlink:href="htgc-20231231.xsd#htgc_BaseDividendMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_036c2622-e730-4fbc-b71b-87001d656572" xlink:to="loc_htgc_BaseDividendMember_8567ffa1-247e-4337-941a-ea35fea54676" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SupplementalDividendMember_3eaf983f-0790-47cd-bf2d-e836aa98d9a6" xlink:href="htgc-20231231.xsd#htgc_SupplementalDividendMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_036c2622-e730-4fbc-b71b-87001d656572" xlink:to="loc_htgc_SupplementalDividendMember_3eaf983f-0790-47cd-bf2d-e836aa98d9a6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableAmountPerShare_3d6c3b0a-ce2d-44cd-b4da-92e8636fe919" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableAmountPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db1a1730-7f11-4012-8b52-c28ba87a516e" xlink:to="loc_us-gaap_DividendsPayableAmountPerShare_3d6c3b0a-ce2d-44cd-b4da-92e8636fe919" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TotalSupplementalDividendsAmountToBePaidPerShare_64721a97-a0b5-4353-b213-a797eaaed765" xlink:href="htgc-20231231.xsd#htgc_TotalSupplementalDividendsAmountToBePaidPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db1a1730-7f11-4012-8b52-c28ba87a516e" xlink:to="loc_htgc_TotalSupplementalDividendsAmountToBePaidPerShare_64721a97-a0b5-4353-b213-a797eaaed765" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SupplementalDividendsAmountToBePaidEachQuarterPerShare_123b9d62-2cb1-491a-b22e-e77e1a4e81b5" xlink:href="htgc-20231231.xsd#htgc_SupplementalDividendsAmountToBePaidEachQuarterPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db1a1730-7f11-4012-8b52-c28ba87a516e" xlink:to="loc_htgc_SupplementalDividendsAmountToBePaidEachQuarterPerShare_123b9d62-2cb1-491a-b22e-e77e1a4e81b5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_77532ea8-70bd-40f6-bb74-d35de3a97965" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:to="loc_us-gaap_InvestmentTypeAxis_77532ea8-70bd-40f6-bb74-d35de3a97965" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_77532ea8-70bd-40f6-bb74-d35de3a97965_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_77532ea8-70bd-40f6-bb74-d35de3a97965" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_77532ea8-70bd-40f6-bb74-d35de3a97965_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_b3ede724-11d5-485b-bb76-c998324abb32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_77532ea8-70bd-40f6-bb74-d35de3a97965" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_b3ede724-11d5-485b-bb76-c998324abb32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_339d923d-56ff-4908-867e-5a5bb578f678" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_b3ede724-11d5-485b-bb76-c998324abb32" xlink:to="loc_us-gaap_UnsecuredDebtMember_339d923d-56ff-4908-867e-5a5bb578f678" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_62ec0e89-2ebf-4db9-bbb8-c67c0c122f57" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_b3ede724-11d5-485b-bb76-c998324abb32" xlink:to="loc_htgc_SeniorSecuredDebtMember_62ec0e89-2ebf-4db9-bbb8-c67c0c122f57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_5f9dfb2b-17d0-424b-8f47-ab3b246e1111" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_5f9dfb2b-17d0-424b-8f47-ab3b246e1111" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_5f9dfb2b-17d0-424b-8f47-ab3b246e1111_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_5f9dfb2b-17d0-424b-8f47-ab3b246e1111" xlink:to="loc_us-gaap_EquityComponentDomain_5f9dfb2b-17d0-424b-8f47-ab3b246e1111_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ea02d306-4a96-487f-85b3-48bb9a503ef1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_5f9dfb2b-17d0-424b-8f47-ab3b246e1111" xlink:to="loc_us-gaap_EquityComponentDomain_ea02d306-4a96-487f-85b3-48bb9a503ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_27807886-3e6d-4c59-82e8-ea7520902385" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea02d306-4a96-487f-85b3-48bb9a503ef1" xlink:to="loc_us-gaap_PreferredStockMember_27807886-3e6d-4c59-82e8-ea7520902385" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_68eaf084-d2c6-4d41-b987-e99a779c1096" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea02d306-4a96-487f-85b3-48bb9a503ef1" xlink:to="loc_us-gaap_CommonStockMember_68eaf084-d2c6-4d41-b987-e99a779c1096" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MemberUnitsMember_c39977d7-3c28-4897-8fcc-7a8e54187354" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MemberUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea02d306-4a96-487f-85b3-48bb9a503ef1" xlink:to="loc_us-gaap_MemberUnitsMember_c39977d7-3c28-4897-8fcc-7a8e54187354" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_05c2d06c-29f9-4a1d-9f0a-51c0ebf3b9f7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CoronadoAestheticsLLCMember_ab3580d1-c714-4bbb-98c4-a5f9a1cbf0fc" xlink:href="htgc-20231231.xsd#htgc_CoronadoAestheticsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_CoronadoAestheticsLLCMember_ab3580d1-c714-4bbb-98c4-a5f9a1cbf0fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarAcquisitionLLCMember_4afd703f-ed9d-47e0-b297-8d0cb5e656c5" xlink:href="htgc-20231231.xsd#htgc_GibraltarAcquisitionLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_GibraltarAcquisitionLLCMember_4afd703f-ed9d-47e0-b297-8d0cb5e656c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HerculesAdviserLLCMember_00495ee4-0b81-4af9-b080-152da42c4df6" xlink:href="htgc-20231231.xsd#htgc_HerculesAdviserLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_HerculesAdviserLLCMember_00495ee4-0b81-4af9-b080-152da42c4df6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TecturaCorporationMember_0dab8163-eb96-4e1c-a5aa-922627d84f96" xlink:href="htgc-20231231.xsd#htgc_TecturaCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_TecturaCorporationMember_0dab8163-eb96-4e1c-a5aa-922627d84f96" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarBusinessCapitalLLCMember_964c7601-4942-469c-9984-e6402f8ed002" xlink:href="htgc-20231231.xsd#htgc_GibraltarBusinessCapitalLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_GibraltarBusinessCapitalLLCMember_964c7601-4942-469c-9984-e6402f8ed002" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BlackCrowAIIncMember_1529c564-2e70-4481-884c-c1908c80fa9f" xlink:href="htgc-20231231.xsd#htgc_BlackCrowAIIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_BlackCrowAIIncMember_1529c564-2e70-4481-884c-c1908c80fa9f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PineappleEnergyLLCMember_7f5e29e0-d31b-48f6-91ed-34c3baf42ba0" xlink:href="htgc-20231231.xsd#htgc_PineappleEnergyLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_1c2f9aa5-9300-4b2a-be18-3e191eb30c26" xlink:to="loc_htgc_PineappleEnergyLLCMember_7f5e29e0-d31b-48f6-91ed-34c3baf42ba0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_096aee22-e0eb-4144-a578-2ba20e2bae3d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_096aee22-e0eb-4144-a578-2ba20e2bae3d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_096aee22-e0eb-4144-a578-2ba20e2bae3d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_096aee22-e0eb-4144-a578-2ba20e2bae3d" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_096aee22-e0eb-4144-a578-2ba20e2bae3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_101625bf-c6ae-49a7-8ec5-3342808d455e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_096aee22-e0eb-4144-a578-2ba20e2bae3d" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_101625bf-c6ae-49a7-8ec5-3342808d455e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_f8b63337-e0b4-4b95-b686-5c65f9a49a10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_101625bf-c6ae-49a7-8ec5-3342808d455e" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_f8b63337-e0b4-4b95-b686-5c65f9a49a10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_30c5a393-d2cb-49b9-a3eb-40831a05f7cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_101625bf-c6ae-49a7-8ec5-3342808d455e" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerNoncontrolledMember_30c5a393-d2cb-49b9-a3eb-40831a05f7cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentAffiliatedIssuersAndControlledIssuersMember_4115fae1-279e-414d-a04a-8667b97e5925" xlink:href="htgc-20231231.xsd#htgc_InvestmentAffiliatedIssuersAndControlledIssuersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_101625bf-c6ae-49a7-8ec5-3342808d455e" xlink:to="loc_htgc_InvestmentAffiliatedIssuersAndControlledIssuersMember_4115fae1-279e-414d-a04a-8667b97e5925" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_24a4aa10-6ea0-4b4c-9275-d72ca51712c5" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_df71e45d-fae8-41bd-bdf6-e9bdd738358a" xlink:to="loc_srt_StatementGeographicalAxis_24a4aa10-6ea0-4b4c-9275-d72ca51712c5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_24a4aa10-6ea0-4b4c-9275-d72ca51712c5_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_24a4aa10-6ea0-4b4c-9275-d72ca51712c5" xlink:to="loc_srt_SegmentGeographicalDomain_24a4aa10-6ea0-4b4c-9275-d72ca51712c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_99725059-4e4e-4a0c-91ca-4a5781b0674d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_24a4aa10-6ea0-4b4c-9275-d72ca51712c5" xlink:to="loc_srt_SegmentGeographicalDomain_99725059-4e4e-4a0c-91ca-4a5781b0674d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MajorityOwnedControlInvestmentsMember_d859c568-1757-44e7-8a66-85acbf925049" xlink:href="htgc-20231231.xsd#htgc_MajorityOwnedControlInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_99725059-4e4e-4a0c-91ca-4a5781b0674d" xlink:to="loc_htgc_MajorityOwnedControlInvestmentsMember_d859c568-1757-44e7-8a66-85acbf925049" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherControlInvestmentsMember_81fec429-d627-4c54-a4ea-64495d3adc68" xlink:href="htgc-20231231.xsd#htgc_OtherControlInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_99725059-4e4e-4a0c-91ca-4a5781b0674d" xlink:to="loc_htgc_OtherControlInvestmentsMember_81fec429-d627-4c54-a4ea-64495d3adc68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_cc81e75a-9d0b-4719-89ea-6910519f0d1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_cc81e75a-9d0b-4719-89ea-6910519f0d1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_abbd3418-0bf9-4ca7-aa36-317c8ad07c94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_abbd3418-0bf9-4ca7-aa36-317c8ad07c94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_2f0455ca-57be-4547-b45f-535d82e1aa03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_2f0455ca-57be-4547-b45f-535d82e1aa03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GrossCAAdditions_cfb5869d-8dc4-4292-8a2d-86acf18cc2ac" xlink:href="htgc-20231231.xsd#htgc_GrossCAAdditions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_htgc_GrossCAAdditions_cfb5869d-8dc4-4292-8a2d-86acf18cc2ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GrossCaReduction_015f6874-fa43-48fa-95ab-e68309b62a96" xlink:href="htgc-20231231.xsd#htgc_GrossCaReduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_htgc_GrossCaReduction_015f6874-fa43-48fa-95ab-e68309b62a96" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_8b1e6ebd-dfdc-4aac-8003-7d79b41573ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_0748a79d-90de-4a89-a221-703a5605f380" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_8b1e6ebd-dfdc-4aac-8003-7d79b41573ba" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_8d6594b8-2e61-4d32-a7ba-922e2d41f949" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.htgc.com/role/Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESParentheticalDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESParentheticalDetails"/>
  <link:definitionLink xlink:role="http://www.htgc.com/role/Schedule1214sCONSOLIDATEDSCHEDULEOFINVESTMENTSINANDADVANCESTOAFFILIATESParentheticalDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAndAdvancesToAffiliatesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationAxis_4f44010e-3535-46c4-8428-31019e85e13f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationAxis_4f44010e-3535-46c4-8428-31019e85e13f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_4f44010e-3535-46c4-8428-31019e85e13f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_4f44010e-3535-46c4-8428-31019e85e13f" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_4f44010e-3535-46c4-8428-31019e85e13f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIssuerAffiliationDomain_eabb5b5a-0286-4608-8557-a41adb0d61d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIssuerAffiliationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationAxis_4f44010e-3535-46c4-8428-31019e85e13f" xlink:to="loc_us-gaap_InvestmentIssuerAffiliationDomain_eabb5b5a-0286-4608-8557-a41adb0d61d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_04e43e7b-d07a-4d4c-b9db-d63ebcde0df0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentAffiliatedIssuerControlledMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentIssuerAffiliationDomain_eabb5b5a-0286-4608-8557-a41adb0d61d2" xlink:to="loc_us-gaap_InvestmentAffiliatedIssuerControlledMember_04e43e7b-d07a-4d4c-b9db-d63ebcde0df0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a59528f9-0389-4fa7-bc95-9de04413edc5" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a59528f9-0389-4fa7-bc95-9de04413edc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_a59528f9-0389-4fa7-bc95-9de04413edc5_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a59528f9-0389-4fa7-bc95-9de04413edc5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_a59528f9-0389-4fa7-bc95-9de04413edc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a59528f9-0389-4fa7-bc95-9de04413edc5" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CoronadoAestheticsLLCMember_2335338b-c326-43ff-ae18-fb863ac41562" xlink:href="htgc-20231231.xsd#htgc_CoronadoAestheticsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:to="loc_htgc_CoronadoAestheticsLLCMember_2335338b-c326-43ff-ae18-fb863ac41562" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarAcquisitionLLCMember_83f4a304-299f-404e-9064-45bd941e1e92" xlink:href="htgc-20231231.xsd#htgc_GibraltarAcquisitionLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:to="loc_htgc_GibraltarAcquisitionLLCMember_83f4a304-299f-404e-9064-45bd941e1e92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_HerculesAdviserLLCMember_8d37e845-cc76-423d-b561-f1414c455404" xlink:href="htgc-20231231.xsd#htgc_HerculesAdviserLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:to="loc_htgc_HerculesAdviserLLCMember_8d37e845-cc76-423d-b561-f1414c455404" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TecturaCorporationMember_4cabfb90-fd1e-4cef-9f7c-ed0fbdc6c805" xlink:href="htgc-20231231.xsd#htgc_TecturaCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:to="loc_htgc_TecturaCorporationMember_4cabfb90-fd1e-4cef-9f7c-ed0fbdc6c805" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_GibraltarBusinessCapitalLLCMember_b0bee1f8-f7fb-4165-ab1f-697162860a03" xlink:href="htgc-20231231.xsd#htgc_GibraltarBusinessCapitalLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_0379fcd2-d198-4d23-851b-32264ba4675a" xlink:to="loc_htgc_GibraltarBusinessCapitalLLCMember_b0bee1f8-f7fb-4165-ab1f-697162860a03" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesByIndustryAxis_3f0f3675-b848-4c78-9b45-0383f29f0d3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesByIndustryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_us-gaap_EquitySecuritiesByIndustryAxis_3f0f3675-b848-4c78-9b45-0383f29f0d3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_3f0f3675-b848-4c78-9b45-0383f29f0d3a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_3f0f3675-b848-4c78-9b45-0383f29f0d3a" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_3f0f3675-b848-4c78-9b45-0383f29f0d3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesIndustryMember_0ad9df3e-3b1e-4bc9-aa0d-bdeaf490fd94" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_EquitySecuritiesByIndustryAxis_3f0f3675-b848-4c78-9b45-0383f29f0d3a" xlink:to="loc_us-gaap_EquitySecuritiesIndustryMember_0ad9df3e-3b1e-4bc9-aa0d-bdeaf490fd94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MedicalDevicesAndEquipmentMember_e6b33f15-c91a-427e-83b1-cef9f161a6df" xlink:href="htgc-20231231.xsd#htgc_MedicalDevicesAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_0ad9df3e-3b1e-4bc9-aa0d-bdeaf490fd94" xlink:to="loc_htgc_MedicalDevicesAndEquipmentMember_e6b33f15-c91a-427e-83b1-cef9f161a6df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DiversifiedFinancialServicesMember_ee3c9d5b-bfae-41cf-800d-6207bc54e7a7" xlink:href="htgc-20231231.xsd#htgc_DiversifiedFinancialServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_0ad9df3e-3b1e-4bc9-aa0d-bdeaf490fd94" xlink:to="loc_htgc_DiversifiedFinancialServicesMember_ee3c9d5b-bfae-41cf-800d-6207bc54e7a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConsumerAndBusinessServicesMember_2a409efc-4c35-4f5d-8050-ba7c9c5bb1b1" xlink:href="htgc-20231231.xsd#htgc_ConsumerAndBusinessServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquitySecuritiesIndustryMember_0ad9df3e-3b1e-4bc9-aa0d-bdeaf490fd94" xlink:to="loc_htgc_ConsumerAndBusinessServicesMember_2a409efc-4c35-4f5d-8050-ba7c9c5bb1b1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d" xlink:to="loc_us-gaap_ClassOfStockDomain_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_57632c51-98ba-4308-9d6e-51f34178f0c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_c50bbe6c-eb8e-44dd-9c87-d2151fc33e2d" xlink:to="loc_us-gaap_ClassOfStockDomain_57632c51-98ba-4308-9d6e-51f34178f0c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_f6dd8291-78af-4fa5-a8c2-e47ae6232ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_57632c51-98ba-4308-9d6e-51f34178f0c8" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_f6dd8291-78af-4fa5-a8c2-e47ae6232ac6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PreferredSeriesBBMember_cb3821d5-e731-466a-9f6e-dd9c7fb3b4c9" xlink:href="htgc-20231231.xsd#htgc_PreferredSeriesBBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_57632c51-98ba-4308-9d6e-51f34178f0c8" xlink:to="loc_htgc_PreferredSeriesBBMember_cb3821d5-e731-466a-9f6e-dd9c7fb3b4c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_2eeb3d08-bbda-4480-9546-dbd8eebbf7f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesCPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_57632c51-98ba-4308-9d6e-51f34178f0c8" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_2eeb3d08-bbda-4480-9546-dbd8eebbf7f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_8dd83b7a-706f-4774-914e-dc39442626ce" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_srt_StatementGeographicalAxis_8dd83b7a-706f-4774-914e-dc39442626ce" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_8dd83b7a-706f-4774-914e-dc39442626ce_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_8dd83b7a-706f-4774-914e-dc39442626ce" xlink:to="loc_srt_SegmentGeographicalDomain_8dd83b7a-706f-4774-914e-dc39442626ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_481e0323-f157-4dc5-9b6e-584cc67a8027" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_8dd83b7a-706f-4774-914e-dc39442626ce" xlink:to="loc_srt_SegmentGeographicalDomain_481e0323-f157-4dc5-9b6e-584cc67a8027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MajorityOwnedControlInvestmentsMember_69cd41b6-cd52-4975-baa5-c837a8ac1c5a" xlink:href="htgc-20231231.xsd#htgc_MajorityOwnedControlInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_481e0323-f157-4dc5-9b6e-584cc67a8027" xlink:to="loc_htgc_MajorityOwnedControlInvestmentsMember_69cd41b6-cd52-4975-baa5-c837a8ac1c5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OtherControlInvestmentsMember_a4004f10-13ba-4254-a1c7-883c147763d6" xlink:href="htgc-20231231.xsd#htgc_OtherControlInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_481e0323-f157-4dc5-9b6e-584cc67a8027" xlink:to="loc_htgc_OtherControlInvestmentsMember_a4004f10-13ba-4254-a1c7-883c147763d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_da7bcad9-459b-4a65-aabc-d51684588b69" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_da7bcad9-459b-4a65-aabc-d51684588b69" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_da7bcad9-459b-4a65-aabc-d51684588b69_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_da7bcad9-459b-4a65-aabc-d51684588b69" xlink:to="loc_us-gaap_EquityComponentDomain_da7bcad9-459b-4a65-aabc-d51684588b69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_9ebe7251-7afa-4344-8aab-0eebe1dbaced" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_da7bcad9-459b-4a65-aabc-d51684588b69" xlink:to="loc_us-gaap_EquityComponentDomain_9ebe7251-7afa-4344-8aab-0eebe1dbaced" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_8cb1dc2c-b6f9-41a3-ba5f-04c1e9926473" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9ebe7251-7afa-4344-8aab-0eebe1dbaced" xlink:to="loc_us-gaap_PreferredStockMember_8cb1dc2c-b6f9-41a3-ba5f-04c1e9926473" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_fb5ec7e8-76f0-4cd8-b3be-c375dede6f0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9ebe7251-7afa-4344-8aab-0eebe1dbaced" xlink:to="loc_us-gaap_CommonStockMember_fb5ec7e8-76f0-4cd8-b3be-c375dede6f0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MemberUnitsMember_9905fe1e-4e7a-4895-812e-2d5ae72719f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MemberUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9ebe7251-7afa-4344-8aab-0eebe1dbaced" xlink:to="loc_us-gaap_MemberUnitsMember_9905fe1e-4e7a-4895-812e-2d5ae72719f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_d8c64046-712a-4e5c-97de-728c6bb45e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesTable_44df8229-6623-401b-8070-1a116f931781" xlink:to="loc_us-gaap_InvestmentTypeAxis_d8c64046-712a-4e5c-97de-728c6bb45e5b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_d8c64046-712a-4e5c-97de-728c6bb45e5b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_d8c64046-712a-4e5c-97de-728c6bb45e5b" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_d8c64046-712a-4e5c-97de-728c6bb45e5b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_d8c64046-712a-4e5c-97de-728c6bb45e5b" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_57b1abbb-6df8-4d85-8638-d114c222aadd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_us-gaap_UnsecuredDebtMember_57b1abbb-6df8-4d85-8638-d114c222aadd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnsecuredDebtOneMember_77a8b871-d2ee-475b-8c9b-6d020f3c868e" xlink:href="htgc-20231231.xsd#htgc_UnsecuredDebtOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_htgc_UnsecuredDebtOneMember_77a8b871-d2ee-475b-8c9b-6d020f3c868e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnsecuredDebtTwoMember_1855d3b5-d926-417b-b5f5-0fe5522afa0b" xlink:href="htgc-20231231.xsd#htgc_UnsecuredDebtTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_htgc_UnsecuredDebtTwoMember_1855d3b5-d926-417b-b5f5-0fe5522afa0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtMember_9567cb16-14ba-419c-9e30-69ae5419b1d8" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_htgc_SeniorSecuredDebtMember_9567cb16-14ba-419c-9e30-69ae5419b1d8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtOneMember_0ea5e707-bd9a-44ea-937e-b8839f417e5f" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_htgc_SeniorSecuredDebtOneMember_0ea5e707-bd9a-44ea-937e-b8839f417e5f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuredDebtTwoMember_a5090280-d4d5-4f8c-85b7-ff1cc2c730f9" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuredDebtTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_23bc91e0-b58d-4120-9841-1675a60a2109" xlink:to="loc_htgc_SeniorSecuredDebtTwoMember_a5090280-d4d5-4f8c-85b7-ff1cc2c730f9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_a9ed23ea-79c8-40fd-a308-42650579396b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedPercentOfNetAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentOwnedPercentOfNetAssets_a9ed23ea-79c8-40fd-a308-42650579396b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsMaturityMonthAndYear_aab103e8-e624-418f-9b29-9c3931d42ad2" xlink:href="htgc-20231231.xsd#htgc_InvestmentsMaturityMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_htgc_InvestmentsMaturityMonthAndYear_aab103e8-e624-418f-9b29-9c3931d42ad2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInCash_3f8f06d8-03ff-49ec-9ecb-8d1c646a1e14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInCash_3f8f06d8-03ff-49ec-9ecb-8d1c646a1e14" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentInterestRatePaidInKind_467a1e60-a9db-46e1-ae49-ecf8c690929a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentInterestRatePaidInKind_467a1e60-a9db-46e1-ae49-ecf8c690929a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalanceShares_d8065d10-d824-4b46-bddb-bc9b9984078b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalanceShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentOwnedBalanceShares_d8065d10-d824-4b46-bddb-bc9b9984078b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_c19d87b0-e606-4387-b033-984b823e7d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedBalancePrincipalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentOwnedBalancePrincipalAmount_c19d87b0-e606-4387-b033-984b823e7d7a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtCost_b0e69e9b-0822-4496-8356-6c382577e97a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentOwnedAtCost_b0e69e9b-0822-4496-8356-6c382577e97a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_ebbf5dea-3092-44c6-92ff-f99e103d6626" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentsInAndAdvancesToAffiliatesLineItems_f081d4aa-455b-4c2d-86f8-70092711633a" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_ebbf5dea-3092-44c6-92ff-f99e103d6626" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/cef/role/SecurityOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/cef/2023/cef-2023.xsd#SecurityOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/cef/role/SecurityOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember_42224e06-0dd9-49ea-b03d-6c46597f59b7" xlink:href="htgc-20231231.xsd#htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_CommonStockParValueZeroPointZeroZeroOnePerShareMember_42224e06-0dd9-49ea-b03d-6c46597f59b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember_2e1503a5-b715-4182-88bc-a955e3f1ce22" xlink:href="htgc-20231231.xsd#htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_SixPointTwoFiveNotesDueTwoThousandThirtyThreeMember_2e1503a5-b715-4182-88bc-a955e3f1ce22" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonGrossProceedsMember_91a2cb1a-38e5-488d-8ead-8be78fa8ae3a" xlink:href="htgc-20231231.xsd#htgc_CommonGrossProceedsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_CommonGrossProceedsMember_91a2cb1a-38e5-488d-8ead-8be78fa8ae3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CommonOfferingExpensesMember_bae3a26c-c2d4-40e5-b93f-bae551e6575b" xlink:href="htgc-20231231.xsd#htgc_CommonOfferingExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_CommonOfferingExpensesMember_bae3a26c-c2d4-40e5-b93f-bae551e6575b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SpilloveramountpershareMember_2c9cd4b4-11e9-4db1-aee5-d2e81f8b06e8" xlink:href="htgc-20231231.xsd#htgc_SpilloveramountpershareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_SpilloveramountpershareMember_2c9cd4b4-11e9-4db1-aee5-d2e81f8b06e8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_us-gaap_SeriesAPreferredStockMember" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PreferredSeriesBBMember_7735eed3-cc78-4b22-a924-c97c054746a9" xlink:href="htgc-20231231.xsd#htgc_PreferredSeriesBBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_htgc_PreferredSeriesBBMember_7735eed3-cc78-4b22-a924-c97c054746a9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesCPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesCPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="loc_us-gaap_SeriesCPreferredStockMember" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PromissoryNotesMember_6ad29fbb-6406-4ef0-aef6-fdd37e0b3a07" xlink:href="htgc-20231231.xsd#htgc_PromissoryNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_PromissoryNotesMember_6ad29fbb-6406-4ef0-aef6-fdd37e0b3a07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RoyaltyContractMember_3a02a06e-a901-42da-b93c-94af7d0e155c" xlink:href="htgc-20231231.xsd#htgc_RoyaltyContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_RoyaltyContractMember_3a02a06e-a901-42da-b93c-94af7d0e155c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesMember_02b41afe-a443-434a-bbf8-275b8bd4290e" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesMember_02b41afe-a443-434a-bbf8-275b8bd4290e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JulyTwoThousandTwentyFourNotesMember_ed9a16f7-651a-4043-9eea-b33fb6e7cb5b" xlink:href="htgc-20231231.xsd#htgc_JulyTwoThousandTwentyFourNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_JulyTwoThousandTwentyFourNotesMember_ed9a16f7-651a-4043-9eea-b33fb6e7cb5b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_890de80c-b28b-4c10-a0d9-74eac67a5721" xlink:href="htgc-20231231.xsd#htgc_FebruaryTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_FebruaryTwoThousandTwentyFiveNotesMember_890de80c-b28b-4c10-a0d9-74eac67a5721" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_9fd9a062-d4f1-443b-9512-a212f17d5cce" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveNotesMember_9fd9a062-d4f1-443b-9512-a212f17d5cce" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_c28469b5-2224-460c-8c04-8ce7c9bac3d9" xlink:href="htgc-20231231.xsd#htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_JuneTwoThousandTwentyFiveThreeYearNotesMember_c28469b5-2224-460c-8c04-8ce7c9bac3d9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixANotesMember_2c777038-1fd5-4fe6-bce8-f552a94c2338" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_MarchTwoThousandTwentySixANotesMember_2c777038-1fd5-4fe6-bce8-f552a94c2338" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MarchTwoThousandTwentySixBNotesMember_fb24e83d-0303-4b84-9fa9-58f461002236" xlink:href="htgc-20231231.xsd#htgc_MarchTwoThousandTwentySixBNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_MarchTwoThousandTwentySixBNotesMember_fb24e83d-0303-4b84-9fa9-58f461002236" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_299d884e-1217-4988-9ef5-c4e457cbfeab" xlink:href="htgc-20231231.xsd#htgc_SeptemberTwoThousandTwentySixNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SeptemberTwoThousandTwentySixNotesMember_299d884e-1217-4988-9ef5-c4e457cbfeab" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_b4536ca8-7496-47d2-a281-1271a3609d5f" xlink:href="htgc-20231231.xsd#htgc_JanuaryTwoThousandTwentySevenNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_JanuaryTwoThousandTwentySevenNotesMember_b4536ca8-7496-47d2-a281-1271a3609d5f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_102c987d-7282-474e-85cc-5876a7b1b15d" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyOneAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandThirtyOneAssetBackedNotesMember_102c987d-7282-474e-85cc-5876a7b1b15d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandThirtyThreeNotesMember_fb7afb75-07eb-4bb8-91e2-180e3dd9be89" xlink:href="htgc-20231231.xsd#htgc_TwoThousandThirtyThreeNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandThirtyThreeNotesMember_fb7afb75-07eb-4bb8-91e2-180e3dd9be89" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_MUFGBankFacilityMember_5124f707-e272-4985-9544-0083bee440f9" xlink:href="htgc-20231231.xsd#htgc_MUFGBankFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_MUFGBankFacilityMember_5124f707-e272-4985-9544-0083bee440f9" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SMBCFacilityMember_831aeec5-4d02-4206-adf6-0dc290d6dbb6" xlink:href="htgc-20231231.xsd#htgc_SMBCFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SMBCFacilityMember_831aeec5-4d02-4206-adf6-0dc290d6dbb6" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoNotesMember_96d5b9b8-6889-4623-b0fd-2d6811b284bd" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandTwentyTwoNotesMember_96d5b9b8-6889-4623-b0fd-2d6811b284bd" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_85db5fc1-448e-4172-8a25-d72acced0aaf" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyTwoConvertibleNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandTwentyTwoConvertibleNotesMember_85db5fc1-448e-4172-8a25-d72acced0aaf" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AprilTwoThousandTwentyFiveNotesMember_02c5ad38-9f57-4892-87d9-2a319a1d1514" xlink:href="htgc-20231231.xsd#htgc_AprilTwoThousandTwentyFiveNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AprilTwoThousandTwentyFiveNotesMember_02c5ad38-9f57-4892-87d9-2a319a1d1514" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentySevenAssetBackedNotesMember_8c5281c1-c8ca-4994-a17a-7f9ec363949b" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentySevenAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandTwentySevenAssetBackedNotesMember_8c5281c1-c8ca-4994-a17a-7f9ec363949b" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TwoThousandTwentyEightAssetBackedNotesMember_7c8f07ef-80a7-4f14-b447-adcad39005fd" xlink:href="htgc-20231231.xsd#htgc_TwoThousandTwentyEightAssetBackedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_TwoThousandTwentyEightAssetBackedNotesMember_7c8f07ef-80a7-4f14-b447-adcad39005fd" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WellsFacilityMember_8f33ea96-cea1-49cf-862a-4bbbfebe3009" xlink:href="htgc-20231231.xsd#htgc_WellsFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_WellsFacilityMember_8f33ea96-cea1-49cf-862a-4bbbfebe3009" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember_f0d838e1-c046-4bba-a9cf-f5393ef70bab" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnMarchTwentySixTwoThousandAndTwentyOneMember_f0d838e1-c046-4bba-a9cf-f5393ef70bab" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember_d465e0e7-ab24-4c80-b9de-8b5d9c82aaf3" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnJuneTwentyFiveTwoThousandAndTwentyOneMember_d465e0e7-ab24-4c80-b9de-8b5d9c82aaf3" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember_402c30c0-8462-42ed-95a4-46d0a6a71bc5" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnJulyTwentyEightTwoThousandAndTwentyOneMember_402c30c0-8462-42ed-95a4-46d0a6a71bc5" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember_dd3854d1-8f71-4da5-abf9-94d2a4bd20c1" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnAugustTwentyTwoThousandAndTwentyOneMember_dd3854d1-8f71-4da5-abf9-94d2a4bd20c1" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember_4f04dca4-f0b6-4bc9-94f2-17f4c8e9433b" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnOctoberTwentyOneTwoThousandAndTwentyOneMember_4f04dca4-f0b6-4bc9-94f2-17f4c8e9433b" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember_9ff20bba-8cb5-43ac-bd20-12b3417febb1" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberOneTwoThousandAndTwentyOneMember_9ff20bba-8cb5-43ac-bd20-12b3417febb1" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember_8782bd54-3d0e-4d54-9cd4-609f8d883c8f" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberFifteenTwoThousandAndTwentyOneMember_8782bd54-3d0e-4d54-9cd4-609f8d883c8f" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember_9e364f6b-37cd-452c-8b82-c0e3f80f11b9" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnNovemberThirtyTwoThousandAndTwentyOneMember_9e364f6b-37cd-452c-8b82-c0e3f80f11b9" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember_eb48548d-fa88-4d86-9c99-28ddbb9a38f5" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyTwoThousandAndTwentyOneMember_eb48548d-fa88-4d86-9c99-28ddbb9a38f5" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember_9af87d4b-1a23-4720-bc60-dab5053e5ed6" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyThreeTwoThousandAndTwentyOneMember_9af87d4b-1a23-4720-bc60-dab5053e5ed6" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember_ed9d40e9-f254-4d97-862c-974c75e7a10b" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnDecemberTwentyEightTwoThousandAndTwentyOneMember_ed9d40e9-f254-4d97-862c-974c75e7a10b" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember_e3e542d3-ac4c-4255-82bb-83755852717e" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnJanuaryFourteenTwoThousandAndTwentyTwoMember_e3e542d3-ac4c-4255-82bb-83755852717e" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember_4a7d0843-366f-4a2b-b55a-6f6cf41e77b0" xlink:href="htgc-20231231.xsd#htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SBADebenturesIssuedOnJanuaryTwentyOneTwoThousandAndTwentyTwoMember_4a7d0843-366f-4a2b-b55a-6f6cf41e77b0" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SecuritizedCreditFacilityWithWellsFargoCapitalFinanceMember_6607cbd5-7956-49de-beb7-74892ce0ef5b" xlink:href="htgc-20231231.xsd#htgc_SecuritizedCreditFacilityWithWellsFargoCapitalFinanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SecuritizedCreditFacilityWithWellsFargoCapitalFinanceMember_6607cbd5-7956-49de-beb7-74892ce0ef5b" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SecuredCreditFacilityWithMUFGBankLtdMUFGMember_dc9757dc-319c-4fef-97f5-24206f2766f2" xlink:href="htgc-20231231.xsd#htgc_SecuredCreditFacilityWithMUFGBankLtdMUFGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SecuredCreditFacilityWithMUFGBankLtdMUFGMember_dc9757dc-319c-4fef-97f5-24206f2766f2" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SecuredCreditFacilityWithSumitomoMitsuiBankingCorporationSMBCMember_02890c61-06e6-480c-ab7f-0137ee6a3b81" xlink:href="htgc-20231231.xsd#htgc_SecuredCreditFacilityWithSumitomoMitsuiBankingCorporationSMBCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SecuredCreditFacilityWithSumitomoMitsuiBankingCorporationSMBCMember_02890c61-06e6-480c-ab7f-0137ee6a3b81" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SmallBusinessAdministrationDebenturesHtIiMember_b2053aa9-3f38-4a02-80b0-5c66c66ce7f3" xlink:href="htgc-20231231.xsd#htgc_SmallBusinessAdministrationDebenturesHtIiMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SmallBusinessAdministrationDebenturesHtIiMember_b2053aa9-3f38-4a02-80b0-5c66c66ce7f3" xlink:type="arc" order="38"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SmallBusinessAdministrationDebenturesHtIiiMember_dfdb80b3-4f97-40f2-ad38-07ef1baf1f07" xlink:href="htgc-20231231.xsd#htgc_SmallBusinessAdministrationDebenturesHtIiiMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SmallBusinessAdministrationDebenturesHtIiiMember_dfdb80b3-4f97-40f2-ad38-07ef1baf1f07" xlink:type="arc" order="39"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SmallBusinessAdministrationDebenturesHcIvMember_44902400-cc3c-409c-a719-dbf5085de087" xlink:href="htgc-20231231.xsd#htgc_SmallBusinessAdministrationDebenturesHcIvMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SmallBusinessAdministrationDebenturesHcIvMember_44902400-cc3c-409c-a719-dbf5085de087" xlink:type="arc" order="40"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConvertibleNotes2016Member_f4517376-b8a4-47d3-ad9a-c076c6964250" xlink:href="htgc-20231231.xsd#htgc_ConvertibleNotes2016Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_ConvertibleNotes2016Member_f4517376-b8a4-47d3-ad9a-c076c6964250" xlink:type="arc" order="41"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_April2019NotesMember_f2de53ee-8217-4592-9661-260f8fb118e7" xlink:href="htgc-20231231.xsd#htgc_April2019NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_April2019NotesMember_f2de53ee-8217-4592-9661-260f8fb118e7" xlink:type="arc" order="42"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_September2019NotesMember_79167422-4bc7-43bb-9059-38e92c94e164" xlink:href="htgc-20231231.xsd#htgc_September2019NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_September2019NotesMember_79167422-4bc7-43bb-9059-38e92c94e164" xlink:type="arc" order="43"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_Notes2022Member_26e92f6f-5740-4710-a101-933a41c183be" xlink:href="htgc-20231231.xsd#htgc_Notes2022Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_Notes2022Member_26e92f6f-5740-4710-a101-933a41c183be" xlink:type="arc" order="44"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_Notes2024Member_9ed6f4c4-d731-4dc0-ab55-b623beb9cb5d" xlink:href="htgc-20231231.xsd#htgc_Notes2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_Notes2024Member_9ed6f4c4-d731-4dc0-ab55-b623beb9cb5d" xlink:type="arc" order="45"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_Notes2025Member_f953ab19-d0ac-44e2-9150-b820be727368" xlink:href="htgc-20231231.xsd#htgc_Notes2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_Notes2025Member_f953ab19-d0ac-44e2-9150-b820be727368" xlink:type="arc" order="46"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_Notes2033Member_f7969569-3212-4996-bda7-e1dd8469ac8e" xlink:href="htgc-20231231.xsd#htgc_Notes2033Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_Notes2033Member_f7969569-3212-4996-bda7-e1dd8469ac8e" xlink:type="arc" order="47"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_July2024NotesMember_031265e2-0054-40c0-83c7-b6d53cec0ac4" xlink:href="htgc-20231231.xsd#htgc_July2024NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_July2024NotesMember_031265e2-0054-40c0-83c7-b6d53cec0ac4" xlink:type="arc" order="48"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_February2025NotesMember_8a266b18-7ea9-4122-99a5-e4bf2556106c" xlink:href="htgc-20231231.xsd#htgc_February2025NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_February2025NotesMember_8a266b18-7ea9-4122-99a5-e4bf2556106c" xlink:type="arc" order="49"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_June2025NotesMember_a99b88e9-b673-4c32-ba62-46cc39ddd0e1" xlink:href="htgc-20231231.xsd#htgc_June2025NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_June2025NotesMember_a99b88e9-b673-4c32-ba62-46cc39ddd0e1" xlink:type="arc" order="50"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_June20253YearNotesMember_df404503-669f-460d-828f-5420dfb2d787" xlink:href="htgc-20231231.xsd#htgc_June20253YearNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_June20253YearNotesMember_df404503-669f-460d-828f-5420dfb2d787" xlink:type="arc" order="51"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_March2026ANotesMember_276d6a77-3bed-44e1-a206-02fe4bf73a2c" xlink:href="htgc-20231231.xsd#htgc_March2026ANotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_March2026ANotesMember_276d6a77-3bed-44e1-a206-02fe4bf73a2c" xlink:type="arc" order="52"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_March2026BNotesMember_1a545820-7bf7-423f-90c9-2ab3b92e892f" xlink:href="htgc-20231231.xsd#htgc_March2026BNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_March2026BNotesMember_1a545820-7bf7-423f-90c9-2ab3b92e892f" xlink:type="arc" order="53"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_September2026NotesMember_8e251041-f68c-41ce-a478-e0ed6b1c04e7" xlink:href="htgc-20231231.xsd#htgc_September2026NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_September2026NotesMember_8e251041-f68c-41ce-a478-e0ed6b1c04e7" xlink:type="arc" order="54"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_January2027NotesMember_cc91bd08-3bb8-44a3-a782-891e5916f34b" xlink:href="htgc-20231231.xsd#htgc_January2027NotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_January2027NotesMember_cc91bd08-3bb8-44a3-a782-891e5916f34b" xlink:type="arc" order="55"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AssetBackedNotes2017Member_dfc1a8a5-7197-48e6-a0cc-4c9dbbf6431f" xlink:href="htgc-20231231.xsd#htgc_AssetBackedNotes2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AssetBackedNotes2017Member_dfc1a8a5-7197-48e6-a0cc-4c9dbbf6431f" xlink:type="arc" order="56"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AssetBackedNotes2021Member_9fcfdd5e-2f97-49d4-b460-188a4fcd31fb" xlink:href="htgc-20231231.xsd#htgc_AssetBackedNotes2021Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AssetBackedNotes2021Member_9fcfdd5e-2f97-49d4-b460-188a4fcd31fb" xlink:type="arc" order="57"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AssetBackedNotes2027Member_b6185407-fec4-4d3e-8820-f6a61c68d6d2" xlink:href="htgc-20231231.xsd#htgc_AssetBackedNotes2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AssetBackedNotes2027Member_b6185407-fec4-4d3e-8820-f6a61c68d6d2" xlink:type="arc" order="58"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AssetBackedNotes2028Member_70b651e6-d597-4406-aaad-edbbd5b0c998" xlink:href="htgc-20231231.xsd#htgc_AssetBackedNotes2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AssetBackedNotes2028Member_70b651e6-d597-4406-aaad-edbbd5b0c998" xlink:type="arc" order="59"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AssetBackedNotes2031Member_40f6e712-da14-4094-8a23-a277436eb21b" xlink:href="htgc-20231231.xsd#htgc_AssetBackedNotes2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_AssetBackedNotes2031Member_40f6e712-da14-4094-8a23-a277436eb21b" xlink:type="arc" order="60"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ConvertibleNotes2022Member_fe8d7d01-8c72-4417-afcf-e9b913869a55" xlink:href="htgc-20231231.xsd#htgc_ConvertibleNotes2022Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_ConvertibleNotes2022Member_fe8d7d01-8c72-4417-afcf-e9b913869a55" xlink:type="arc" order="61"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SeniorSecuritiesMember_0d66c6a1-3114-43fa-bec7-eb7e7778bff9" xlink:href="htgc-20231231.xsd#htgc_SeniorSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain" xlink:to="loc_htgc_SeniorSecuritiesMember_0d66c6a1-3114-43fa-bec7-eb7e7778bff9" xlink:type="arc" order="62"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/cef/role/RiskOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/cef/2023/cef-2023.xsd#RiskOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/cef/role/RiskOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_cef_AllRisksMember" xlink:href="https://xbrl.sec.gov/cef/2023/cef-2023.xsd#cef_AllRisksMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeOperateInAHighlyCompetitiveMarketForInvestmentOpportunitiesMember_af345f1a-f8c8-475e-bca5-b383c2edc4ad" xlink:href="htgc-20231231.xsd#htgc_WeOperateInAHighlyCompetitiveMarketForInvestmentOpportunitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeOperateInAHighlyCompetitiveMarketForInvestmentOpportunitiesMember_af345f1a-f8c8-475e-bca5-b383c2edc4ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreDependentUponSeniorManagementPersonnelForOurFutureSuccessParticularlyScottBluesteinMember_3b8befe2-4dac-456e-9088-d5a678f86d23" xlink:href="htgc-20231231.xsd#htgc_WeAreDependentUponSeniorManagementPersonnelForOurFutureSuccessParticularlyScottBluesteinMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreDependentUponSeniorManagementPersonnelForOurFutureSuccessParticularlyScottBluesteinMember_3b8befe2-4dac-456e-9088-d5a678f86d23" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurSuccessDependsOnAttractingAndRetainingQualifiedPersonnelInACompetitiveEnvironmentMember_0110ea9d-e3dc-4a82-8f2f-ca1656dfed71" xlink:href="htgc-20231231.xsd#htgc_OurSuccessDependsOnAttractingAndRetainingQualifiedPersonnelInACompetitiveEnvironmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurSuccessDependsOnAttractingAndRetainingQualifiedPersonnelInACompetitiveEnvironmentMember_0110ea9d-e3dc-4a82-8f2f-ca1656dfed71" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AsAnInternallyManagedBdcWeAreSubjectToCertainRestrictionsThatMayAdverselyAffectOurBusinessMember_331ca61e-2199-4612-8a34-d950fefcf303" xlink:href="htgc-20231231.xsd#htgc_AsAnInternallyManagedBdcWeAreSubjectToCertainRestrictionsThatMayAdverselyAffectOurBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_AsAnInternallyManagedBdcWeAreSubjectToCertainRestrictionsThatMayAdverselyAffectOurBusinessMember_331ca61e-2199-4612-8a34-d950fefcf303" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurBusinessModelDependsToASignificantExtentUponStrongReferralRelationshipsMember_a85d0191-8cba-4b19-932a-8c259bb4d783" xlink:href="htgc-20231231.xsd#htgc_OurBusinessModelDependsToASignificantExtentUponStrongReferralRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurBusinessModelDependsToASignificantExtentUponStrongReferralRelationshipsMember_a85d0191-8cba-4b19-932a-8c259bb4d783" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurBoardMayChangeOurOperatingPoliciesAndStrategiesWithoutPriorNoticeOrStockholderApprovalTheEffectsOfWhichMayBeAdverseMember_872970d9-be4a-4f66-b8f2-60cd266a39c5" xlink:href="htgc-20231231.xsd#htgc_OurBoardMayChangeOurOperatingPoliciesAndStrategiesWithoutPriorNoticeOrStockholderApprovalTheEffectsOfWhichMayBeAdverseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurBoardMayChangeOurOperatingPoliciesAndStrategiesWithoutPriorNoticeOrStockholderApprovalTheEffectsOfWhichMayBeAdverseMember_872970d9-be4a-4f66-b8f2-60cd266a39c5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayNotBeAbleToPayDistributionsToStockholdersDistributionsMayNotGrowOverTimeAndAPortionOfDistributionsPaidToStockholdersMayBeAReturnOfCapitalWhichIsADistributionOfTheStockholdersInvestedCapitalMember_2fbfbdb1-06c7-41ef-bc5b-e95b36795941" xlink:href="htgc-20231231.xsd#htgc_WeMayNotBeAbleToPayDistributionsToStockholdersDistributionsMayNotGrowOverTimeAndAPortionOfDistributionsPaidToStockholdersMayBeAReturnOfCapitalWhichIsADistributionOfTheStockholdersInvestedCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayNotBeAbleToPayDistributionsToStockholdersDistributionsMayNotGrowOverTimeAndAPortionOfDistributionsPaidToStockholdersMayBeAReturnOfCapitalWhichIsADistributionOfTheStockholdersInvestedCapitalMember_2fbfbdb1-06c7-41ef-bc5b-e95b36795941" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreSubjectToRisksRelatedToCorporateSocialResponsibilityMember_4d5347b7-ae71-44f7-91eb-91f49386a549" xlink:href="htgc-20231231.xsd#htgc_WeAreSubjectToRisksRelatedToCorporateSocialResponsibilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreSubjectToRisksRelatedToCorporateSocialResponsibilityMember_4d5347b7-ae71-44f7-91eb-91f49386a549" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurInvestmentsInPortfolioCompaniesInvolveHigherLevelsOfRiskAndWeCouldLoseAllOrPartOfOurInvestmentMember_8cd88ed5-7a6d-45a7-be11-faaf454f7a94" xlink:href="htgc-20231231.xsd#htgc_OurInvestmentsInPortfolioCompaniesInvolveHigherLevelsOfRiskAndWeCouldLoseAllOrPartOfOurInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurInvestmentsInPortfolioCompaniesInvolveHigherLevelsOfRiskAndWeCouldLoseAllOrPartOfOurInvestmentMember_8cd88ed5-7a6d-45a7-be11-faaf454f7a94" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ALackOfIpoOrMergerAndAcquisitionOpportunitiesMayCauseCompaniesToStayInOurPortfolioLongerLeadingToLowerReturnsUnrealizedDepreciationOrRealizedLossesMember_3f7d8fe2-57e6-4a00-84fe-92e46f9ac100" xlink:href="htgc-20231231.xsd#htgc_ALackOfIpoOrMergerAndAcquisitionOpportunitiesMayCauseCompaniesToStayInOurPortfolioLongerLeadingToLowerReturnsUnrealizedDepreciationOrRealizedLossesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_ALackOfIpoOrMergerAndAcquisitionOpportunitiesMayCauseCompaniesToStayInOurPortfolioLongerLeadingToLowerReturnsUnrealizedDepreciationOrRealizedLossesMember_3f7d8fe2-57e6-4a00-84fe-92e46f9ac100" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestingInPubliclyTradedCompaniesCanInvolveAHighDegreeOfRiskAndCanBeSpeculativeMember_bd07c2f3-eab7-4b4c-838f-b6834b21dc44" xlink:href="htgc-20231231.xsd#htgc_InvestingInPubliclyTradedCompaniesCanInvolveAHighDegreeOfRiskAndCanBeSpeculativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_InvestingInPubliclyTradedCompaniesCanInvolveAHighDegreeOfRiskAndCanBeSpeculativeMember_bd07c2f3-eab7-4b4c-838f-b6834b21dc44" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurInvestmentsAreConcentratedInCertainTechnologyRelatedIndustriesWhichSubjectsUsToTheRiskOfSignificantLossIfAnyOneOrMoreOfSuchIndustriesExperiencesADownturnMember_2afe731d-a1af-4db6-a781-2bff0b3222cc" xlink:href="htgc-20231231.xsd#htgc_OurInvestmentsAreConcentratedInCertainTechnologyRelatedIndustriesWhichSubjectsUsToTheRiskOfSignificantLossIfAnyOneOrMoreOfSuchIndustriesExperiencesADownturnMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurInvestmentsAreConcentratedInCertainTechnologyRelatedIndustriesWhichSubjectsUsToTheRiskOfSignificantLossIfAnyOneOrMoreOfSuchIndustriesExperiencesADownturnMember_2afe731d-a1af-4db6-a781-2bff0b3222cc" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurFinancialResultsCouldBeNegativelyAffectedIfASignificantPortfolioInvestmentFailsToPerformAsExpectedMember_8b7d743e-4c24-4ca2-aab9-554bce43fd3f" xlink:href="htgc-20231231.xsd#htgc_OurFinancialResultsCouldBeNegativelyAffectedIfASignificantPortfolioInvestmentFailsToPerformAsExpectedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurFinancialResultsCouldBeNegativelyAffectedIfASignificantPortfolioInvestmentFailsToPerformAsExpectedMember_8b7d743e-4c24-4ca2-aab9-554bce43fd3f" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayBeExposedToHigherRisksWithRespectToOurInvestmentsThatIncludePikInterestOrExitFeesMember_f6f1572c-818c-4eaf-9b68-b27ba91c9657" xlink:href="htgc-20231231.xsd#htgc_WeMayBeExposedToHigherRisksWithRespectToOurInvestmentsThatIncludePikInterestOrExitFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayBeExposedToHigherRisksWithRespectToOurInvestmentsThatIncludePikInterestOrExitFeesMember_f6f1572c-818c-4eaf-9b68-b27ba91c9657" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheLackOfLiquidityInOurInvestmentsMayAdverselyAffectOurBusinessMember_07ed41e2-86e0-4b19-8bb0-2d4380c1aaea" xlink:href="htgc-20231231.xsd#htgc_TheLackOfLiquidityInOurInvestmentsMayAdverselyAffectOurBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheLackOfLiquidityInOurInvestmentsMayAdverselyAffectOurBusinessMember_07ed41e2-86e0-4b19-8bb0-2d4380c1aaea" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayNotHaveTheFundsOrAbilityToMakeAdditionalInvestmentsInOurPortfolioCompaniesMember_806974ab-05f1-4340-b25e-c8fa88f2dd46" xlink:href="htgc-20231231.xsd#htgc_WeMayNotHaveTheFundsOrAbilityToMakeAdditionalInvestmentsInOurPortfolioCompaniesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayNotHaveTheFundsOrAbilityToMakeAdditionalInvestmentsInOurPortfolioCompaniesMember_806974ab-05f1-4340-b25e-c8fa88f2dd46" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThereMayBeCircumstancesWhereOurDebtInvestmentsCouldBeSubordinatedToClaimsOfOtherCreditorsOrWeCouldBeSubjectToLenderLiabilityClaimsMember_3033fe5b-e2d8-4e78-8536-1cee53da5450" xlink:href="htgc-20231231.xsd#htgc_ThereMayBeCircumstancesWhereOurDebtInvestmentsCouldBeSubordinatedToClaimsOfOtherCreditorsOrWeCouldBeSubjectToLenderLiabilityClaimsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_ThereMayBeCircumstancesWhereOurDebtInvestmentsCouldBeSubordinatedToClaimsOfOtherCreditorsOrWeCouldBeSubjectToLenderLiabilityClaimsMember_3033fe5b-e2d8-4e78-8536-1cee53da5450" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreANonDiversifiedInvestmentCompanyWithinTheMeaningOfThe1940ActAndThereforeWeAreNotLimitedWithRespectToTheProportionOfOurAssetsThatMayBeInvestedInSecuritiesOfASingleIssuerMember_1726300e-0391-4d3a-8f6e-f79fe95a4dc3" xlink:href="htgc-20231231.xsd#htgc_WeAreANonDiversifiedInvestmentCompanyWithinTheMeaningOfThe1940ActAndThereforeWeAreNotLimitedWithRespectToTheProportionOfOurAssetsThatMayBeInvestedInSecuritiesOfASingleIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreANonDiversifiedInvestmentCompanyWithinTheMeaningOfThe1940ActAndThereforeWeAreNotLimitedWithRespectToTheProportionOfOurAssetsThatMayBeInvestedInSecuritiesOfASingleIssuerMember_1726300e-0391-4d3a-8f6e-f79fe95a4dc3" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeGenerallyWillNotControlOurPortfolioCompaniesMember_d493dce2-d549-4eb2-bb4e-dfe2dd4f7d3c" xlink:href="htgc-20231231.xsd#htgc_WeGenerallyWillNotControlOurPortfolioCompaniesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeGenerallyWillNotControlOurPortfolioCompaniesMember_d493dce2-d549-4eb2-bb4e-dfe2dd4f7d3c" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DefaultsByOurPortfolioCompaniesWillHarmOurOperatingResultsMember_2c789c48-51c5-4bd2-a5e3-2f2eb3e3e616" xlink:href="htgc-20231231.xsd#htgc_DefaultsByOurPortfolioCompaniesWillHarmOurOperatingResultsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_DefaultsByOurPortfolioCompaniesWillHarmOurOperatingResultsMember_2c789c48-51c5-4bd2-a5e3-2f2eb3e3e616" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SubstantiallyAllOfOurPortfolioInvestmentsAreRecordedAtFairValueAsDeterminedInAccordanceWithOurValuationGuidelinesAndAsAResultThereMayBeUncertaintyAsToTheValueOfOurPortfolioInvestmentsMember_51be2f9a-43e5-4b15-aa19-a68de162f3ca" xlink:href="htgc-20231231.xsd#htgc_SubstantiallyAllOfOurPortfolioInvestmentsAreRecordedAtFairValueAsDeterminedInAccordanceWithOurValuationGuidelinesAndAsAResultThereMayBeUncertaintyAsToTheValueOfOurPortfolioInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_SubstantiallyAllOfOurPortfolioInvestmentsAreRecordedAtFairValueAsDeterminedInAccordanceWithOurValuationGuidelinesAndAsAResultThereMayBeUncertaintyAsToTheValueOfOurPortfolioInvestmentsMember_51be2f9a-43e5-4b15-aa19-a68de162f3ca" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AnyUnrealizedDepreciationWeExperienceOnInvestmentPortfolioMayBeAnIndicationOfFutureRealizedLossesWhichCouldReduceOurIncomeAvailableForDistributionAndCouldImpairOurAbilityToServiceOurBorrowingsMember_da7b1963-813e-42da-8e5e-a24647a00842" xlink:href="htgc-20231231.xsd#htgc_AnyUnrealizedDepreciationWeExperienceOnInvestmentPortfolioMayBeAnIndicationOfFutureRealizedLossesWhichCouldReduceOurIncomeAvailableForDistributionAndCouldImpairOurAbilityToServiceOurBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_AnyUnrealizedDepreciationWeExperienceOnInvestmentPortfolioMayBeAnIndicationOfFutureRealizedLossesWhichCouldReduceOurIncomeAvailableForDistributionAndCouldImpairOurAbilityToServiceOurBorrowingsMember_da7b1963-813e-42da-8e5e-a24647a00842" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PrepaymentsOfOurDebtInvestmentsByOurPortfolioCompaniesCouldAdverselyImpactOurResultsOfOperationsAndReduceOurReturnOnEquityMember_6741c9bc-b988-47da-929c-81f96ee864ff" xlink:href="htgc-20231231.xsd#htgc_PrepaymentsOfOurDebtInvestmentsByOurPortfolioCompaniesCouldAdverselyImpactOurResultsOfOperationsAndReduceOurReturnOnEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_PrepaymentsOfOurDebtInvestmentsByOurPortfolioCompaniesCouldAdverselyImpactOurResultsOfOperationsAndReduceOurReturnOnEquityMember_6741c9bc-b988-47da-929c-81f96ee864ff" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ThePhaseOutAndReplacementOfLIBORMayAdverselyAffectTheValueOfOurPortfolioSecuritiesMember_0b681d5c-47da-4a5d-bcfb-d8c1f5f69b02" xlink:href="htgc-20231231.xsd#htgc_ThePhaseOutAndReplacementOfLIBORMayAdverselyAffectTheValueOfOurPortfolioSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_ThePhaseOutAndReplacementOfLIBORMayAdverselyAffectTheValueOfOurPortfolioSecuritiesMember_0b681d5c-47da-4a5d-bcfb-d8c1f5f69b02" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreSubjectToRisksAssociatedWithTheCurrentInterestRateEnvironmentAndChangesInInterestRatesWillAffectOurCostOfCapitalNetInvestmentIncomeAndTheValueOfOurInvestmentsMember_6cd07645-e08f-4c60-8c95-d5790f080c00" xlink:href="htgc-20231231.xsd#htgc_WeAreSubjectToRisksAssociatedWithTheCurrentInterestRateEnvironmentAndChangesInInterestRatesWillAffectOurCostOfCapitalNetInvestmentIncomeAndTheValueOfOurInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreSubjectToRisksAssociatedWithTheCurrentInterestRateEnvironmentAndChangesInInterestRatesWillAffectOurCostOfCapitalNetInvestmentIncomeAndTheValueOfOurInvestmentsMember_6cd07645-e08f-4c60-8c95-d5790f080c00" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayNotRealizeGainsFromOurEquityOrWarrantInvestmentsMember_ed1dc507-035e-45e8-822c-bede277d4e35" xlink:href="htgc-20231231.xsd#htgc_WeMayNotRealizeGainsFromOurEquityOrWarrantInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayNotRealizeGainsFromOurEquityOrWarrantInvestmentsMember_ed1dc507-035e-45e8-822c-bede277d4e35" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayExposeOurselvesToRisksIfWeEngageInHedgingTransactionsMember_ded17fb9-4e3d-416f-8758-07d4fcd690e5" xlink:href="htgc-20231231.xsd#htgc_WeMayExposeOurselvesToRisksIfWeEngageInHedgingTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayExposeOurselvesToRisksIfWeEngageInHedgingTransactionsMember_ded17fb9-4e3d-416f-8758-07d4fcd690e5" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurInvestmentsInForeignSecuritiesOrInvestmentsDenominatedInForeignCurrenciesMayInvolveSignificantRisksInAdditionToTheRisksInherentInUSAndUSDenominatedInvestmentsMember_86eda7da-255b-43cc-8f4d-5eb540bca152" xlink:href="htgc-20231231.xsd#htgc_OurInvestmentsInForeignSecuritiesOrInvestmentsDenominatedInForeignCurrenciesMayInvolveSignificantRisksInAdditionToTheRisksInherentInUSAndUSDenominatedInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurInvestmentsInForeignSecuritiesOrInvestmentsDenominatedInForeignCurrenciesMayInvolveSignificantRisksInAdditionToTheRisksInherentInUSAndUSDenominatedInvestmentsMember_86eda7da-255b-43cc-8f4d-5eb540bca152" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheDispositionOfOurInvestmentsMayResultInContingentLiabilitiesMember_063ee2c8-6d7c-4aec-a606-f2c63544e8c3" xlink:href="htgc-20231231.xsd#htgc_TheDispositionOfOurInvestmentsMayResultInContingentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheDispositionOfOurInvestmentsMayResultInContingentLiabilitiesMember_063ee2c8-6d7c-4aec-a606-f2c63544e8c3" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DependingOnFundingRequirementsWeMayNeedToRaiseAdditionalCapitalToMeetOurUnfundedCommitmentsThroughAdditionalBorrowingsMember_ffc66e5e-c94b-46dd-bea3-587bc4973c9b" xlink:href="htgc-20231231.xsd#htgc_DependingOnFundingRequirementsWeMayNeedToRaiseAdditionalCapitalToMeetOurUnfundedCommitmentsThroughAdditionalBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_DependingOnFundingRequirementsWeMayNeedToRaiseAdditionalCapitalToMeetOurUnfundedCommitmentsThroughAdditionalBorrowingsMember_ffc66e5e-c94b-46dd-bea3-587bc4973c9b" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_BecauseWeHaveSubstantialBorrowingsThePotentialForGainOrLossOnAmountsInvestedInUsIsMagnifiedAndMayIncreaseTheRiskOfInvestingInUsMember_ab9d2ca3-7430-4b8f-8c74-32122082745a" xlink:href="htgc-20231231.xsd#htgc_BecauseWeHaveSubstantialBorrowingsThePotentialForGainOrLossOnAmountsInvestedInUsIsMagnifiedAndMayIncreaseTheRiskOfInvestingInUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_BecauseWeHaveSubstantialBorrowingsThePotentialForGainOrLossOnAmountsInvestedInUsIsMagnifiedAndMayIncreaseTheRiskOfInvestingInUsMember_ab9d2ca3-7430-4b8f-8c74-32122082745a" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_CertainOfOurAssetsAreSubjectToSecurityInterestsUnderOurSeniorSecuritiesAndIfWeDefaultOnOurObligationsUnderOurSeniorSecuritiesWeMaySufferAdverseConsequencesIncludingForeclosureOnThoseAssetsMember_01304adf-090b-4fd9-b394-529a0daa5b0f" xlink:href="htgc-20231231.xsd#htgc_CertainOfOurAssetsAreSubjectToSecurityInterestsUnderOurSeniorSecuritiesAndIfWeDefaultOnOurObligationsUnderOurSeniorSecuritiesWeMaySufferAdverseConsequencesIncludingForeclosureOnThoseAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_CertainOfOurAssetsAreSubjectToSecurityInterestsUnderOurSeniorSecuritiesAndIfWeDefaultOnOurObligationsUnderOurSeniorSecuritiesWeMaySufferAdverseConsequencesIncludingForeclosureOnThoseAssetsMember_01304adf-090b-4fd9-b394-529a0daa5b0f" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurExecutiveOfficersAndEmployeesThroughTheAdviserSubsidiaryAreExpectedToManageTheAdviserFundsOrSeparatelyManagedAccountsMember_e01938b7-f770-43aa-94d2-fda1e2ed9922" xlink:href="htgc-20231231.xsd#htgc_OurExecutiveOfficersAndEmployeesThroughTheAdviserSubsidiaryAreExpectedToManageTheAdviserFundsOrSeparatelyManagedAccountsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurExecutiveOfficersAndEmployeesThroughTheAdviserSubsidiaryAreExpectedToManageTheAdviserFundsOrSeparatelyManagedAccountsMember_e01938b7-f770-43aa-94d2-fda1e2ed9922" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentsInTheAdviserFundsManagedByOurAdviserSubsidiaryMayCreateConflictsOfInterestsMember_3b37ec60-e2ec-4fb7-ba0d-05d8cfffc9e8" xlink:href="htgc-20231231.xsd#htgc_InvestmentsInTheAdviserFundsManagedByOurAdviserSubsidiaryMayCreateConflictsOfInterestsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_InvestmentsInTheAdviserFundsManagedByOurAdviserSubsidiaryMayCreateConflictsOfInterestsMember_3b37ec60-e2ec-4fb7-ba0d-05d8cfffc9e8" xlink:type="arc" order="35"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeThroughTheAdviserSubsidiaryDeriveRevenuesFromManagingThirdPartyFundsPursuantToManagementAgreementsThatMayBeTerminatedMember_7d0f4637-4f30-482c-b90c-7f01cf3732ce" xlink:href="htgc-20231231.xsd#htgc_WeThroughTheAdviserSubsidiaryDeriveRevenuesFromManagingThirdPartyFundsPursuantToManagementAgreementsThatMayBeTerminatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeThroughTheAdviserSubsidiaryDeriveRevenuesFromManagingThirdPartyFundsPursuantToManagementAgreementsThatMayBeTerminatedMember_7d0f4637-4f30-482c-b90c-7f01cf3732ce" xlink:type="arc" order="36"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FailureToComplyWithApplicableLawsOrRegulationsAndChangesInLawsOrRegulationsGoverningOurOperationsMayAdverselyAffectOurBusinessOrCauseUsToAlterOurBusinessStrategyMember_f2f18df5-dbee-4d67-bc71-73cb602aa1c5" xlink:href="htgc-20231231.xsd#htgc_FailureToComplyWithApplicableLawsOrRegulationsAndChangesInLawsOrRegulationsGoverningOurOperationsMayAdverselyAffectOurBusinessOrCauseUsToAlterOurBusinessStrategyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_FailureToComplyWithApplicableLawsOrRegulationsAndChangesInLawsOrRegulationsGoverningOurOperationsMayAdverselyAffectOurBusinessOrCauseUsToAlterOurBusinessStrategyMember_f2f18df5-dbee-4d67-bc71-73cb602aa1c5" xlink:type="arc" order="37"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FailureToMaintainOurStatusAsABdcWouldReduceOurOperatingFlexibilityMember_afb02a02-3385-4a98-b6ec-d1b91a599abd" xlink:href="htgc-20231231.xsd#htgc_FailureToMaintainOurStatusAsABdcWouldReduceOurOperatingFlexibilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_FailureToMaintainOurStatusAsABdcWouldReduceOurOperatingFlexibilityMember_afb02a02-3385-4a98-b6ec-d1b91a599abd" xlink:type="arc" order="38"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingUnderTheConstraintsImposedOnUsAsABdcAndRicMayHinderTheAchievementOfOurInvestmentObjectivesMember_3792ba8c-b1e5-4247-96a6-5c1907e2f083" xlink:href="htgc-20231231.xsd#htgc_OperatingUnderTheConstraintsImposedOnUsAsABdcAndRicMayHinderTheAchievementOfOurInvestmentObjectivesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OperatingUnderTheConstraintsImposedOnUsAsABdcAndRicMayHinderTheAchievementOfOurInvestmentObjectivesMember_3792ba8c-b1e5-4247-96a6-5c1907e2f083" xlink:type="arc" order="39"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RegulationsGoverningOurOperationAsABdcWillAffectOurAbilityToAndTheWayInWhichWeRaiseAdditionalCapitalMember_fd142313-c136-4a0b-899a-e5b75caea70a" xlink:href="htgc-20231231.xsd#htgc_RegulationsGoverningOurOperationAsABdcWillAffectOurAbilityToAndTheWayInWhichWeRaiseAdditionalCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_RegulationsGoverningOurOperationAsABdcWillAffectOurAbilityToAndTheWayInWhichWeRaiseAdditionalCapitalMember_fd142313-c136-4a0b-899a-e5b75caea70a" xlink:type="arc" order="40"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestingInOurSecuritiesMayInvolveAHighDegreeOfRiskMember_b71d0757-cc84-4bcf-a1de-4c15f7b1c3a8" xlink:href="htgc-20231231.xsd#htgc_InvestingInOurSecuritiesMayInvolveAHighDegreeOfRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_InvestingInOurSecuritiesMayInvolveAHighDegreeOfRiskMember_b71d0757-cc84-4bcf-a1de-4c15f7b1c3a8" xlink:type="arc" order="41"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_SharesOfClosedEndInvestmentCompaniesIncludingBdcsMayTradeAtADiscountToTheirNavMember_881b0392-f278-4adf-857e-1c2ba65f6d98" xlink:href="htgc-20231231.xsd#htgc_SharesOfClosedEndInvestmentCompaniesIncludingBdcsMayTradeAtADiscountToTheirNavMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_SharesOfClosedEndInvestmentCompaniesIncludingBdcsMayTradeAtADiscountToTheirNavMember_881b0392-f278-4adf-857e-1c2ba65f6d98" xlink:type="arc" order="42"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheMarketPriceOfOurSecuritiesMayBeVolatileAndFluctuateSignificantlyMember_4c532667-24f9-4d6b-bbc6-d8f721159c69" xlink:href="htgc-20231231.xsd#htgc_TheMarketPriceOfOurSecuritiesMayBeVolatileAndFluctuateSignificantlyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheMarketPriceOfOurSecuritiesMayBeVolatileAndFluctuateSignificantlyMember_4c532667-24f9-4d6b-bbc6-d8f721159c69" xlink:type="arc" order="43"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_StockholdersMayIncurDilutionIfWeSellSharesOfCommonStockInOneOrMoreOfferingsAtPricesBelowThenCurrentNavPerShareOfCommonStockOrIssueSecuritiesToSubscribeToConvertToOrPurchaseSharesOfOurCommonStockMember_9c7324f6-4bbc-4724-8264-3c7e0c43b2f2" xlink:href="htgc-20231231.xsd#htgc_StockholdersMayIncurDilutionIfWeSellSharesOfCommonStockInOneOrMoreOfferingsAtPricesBelowThenCurrentNavPerShareOfCommonStockOrIssueSecuritiesToSubscribeToConvertToOrPurchaseSharesOfOurCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_StockholdersMayIncurDilutionIfWeSellSharesOfCommonStockInOneOrMoreOfferingsAtPricesBelowThenCurrentNavPerShareOfCommonStockOrIssueSecuritiesToSubscribeToConvertToOrPurchaseSharesOfOurCommonStockMember_9c7324f6-4bbc-4724-8264-3c7e0c43b2f2" xlink:type="arc" order="44"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProvisionsOfTheMarylandGeneralCorporationLawAndOfOurCharterAndBylawsCouldDeterTakeoverAttemptsAndHaveAnAdverseImpactOnThePriceOfOurCommonStockMember_7f60f2d4-2b16-4f7b-ac04-abb1239dee78" xlink:href="htgc-20231231.xsd#htgc_ProvisionsOfTheMarylandGeneralCorporationLawAndOfOurCharterAndBylawsCouldDeterTakeoverAttemptsAndHaveAnAdverseImpactOnThePriceOfOurCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_ProvisionsOfTheMarylandGeneralCorporationLawAndOfOurCharterAndBylawsCouldDeterTakeoverAttemptsAndHaveAnAdverseImpactOnThePriceOfOurCommonStockMember_7f60f2d4-2b16-4f7b-ac04-abb1239dee78" xlink:type="arc" order="45"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayInTheFutureDetermineToIssuePreferredStockWhichCouldAdverselyAffectTheMarketValueOfOurCommonStockMember_63d6e550-287a-4f67-bbea-532bf515c484" xlink:href="htgc-20231231.xsd#htgc_WeMayInTheFutureDetermineToIssuePreferredStockWhichCouldAdverselyAffectTheMarketValueOfOurCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayInTheFutureDetermineToIssuePreferredStockWhichCouldAdverselyAffectTheMarketValueOfOurCommonStockMember_63d6e550-287a-4f67-bbea-532bf515c484" xlink:type="arc" order="46"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheNotesAreUnsecuredAndThereforeEffectivelySubordinatedToAnyCurrentOrFutureSecuredIndebtednessMember_b0554117-60d8-4f5f-afd7-c8718b59a344" xlink:href="htgc-20231231.xsd#htgc_TheNotesAreUnsecuredAndThereforeEffectivelySubordinatedToAnyCurrentOrFutureSecuredIndebtednessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheNotesAreUnsecuredAndThereforeEffectivelySubordinatedToAnyCurrentOrFutureSecuredIndebtednessMember_b0554117-60d8-4f5f-afd7-c8718b59a344" xlink:type="arc" order="47"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheNotesAreStructurallySubordinatedToTheIndebtednessAndOtherLiabilitiesOfOurSubsidiariesMember_e1fba39b-7319-4fa9-b3d1-7998aaabc080" xlink:href="htgc-20231231.xsd#htgc_TheNotesAreStructurallySubordinatedToTheIndebtednessAndOtherLiabilitiesOfOurSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheNotesAreStructurallySubordinatedToTheIndebtednessAndOtherLiabilitiesOfOurSubsidiariesMember_e1fba39b-7319-4fa9-b3d1-7998aaabc080" xlink:type="arc" order="48"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheNotesMayOrMayNotHaveAnEstablishedTradingMarketIfATradingMarketInTheNotesIsDevelopedItMayNotBeMaintainedMember_738e8c4b-87b7-4488-90bf-afd7236930ae" xlink:href="htgc-20231231.xsd#htgc_TheNotesMayOrMayNotHaveAnEstablishedTradingMarketIfATradingMarketInTheNotesIsDevelopedItMayNotBeMaintainedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheNotesMayOrMayNotHaveAnEstablishedTradingMarketIfATradingMarketInTheNotesIsDevelopedItMayNotBeMaintainedMember_738e8c4b-87b7-4488-90bf-afd7236930ae" xlink:type="arc" order="49"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ADowngradeSuspensionOrWithdrawalOfTheCreditRatingAssignedByARatingAgencyToUsOrOurDebtSecuritiesMember_7cf39493-b8d5-4ed5-ab54-aa0bdbffc9e5" xlink:href="htgc-20231231.xsd#htgc_ADowngradeSuspensionOrWithdrawalOfTheCreditRatingAssignedByARatingAgencyToUsOrOurDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_ADowngradeSuspensionOrWithdrawalOfTheCreditRatingAssignedByARatingAgencyToUsOrOurDebtSecuritiesMember_7cf39493-b8d5-4ed5-ab54-aa0bdbffc9e5" xlink:type="arc" order="50"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TheRespectiveIndenturesUnderWhichTheNotesWereIssuedContainLimitedProtectionsForTheHoldersOfTheNotesMember_72d38bea-7143-4b88-a91e-12ba40f85372" xlink:href="htgc-20231231.xsd#htgc_TheRespectiveIndenturesUnderWhichTheNotesWereIssuedContainLimitedProtectionsForTheHoldersOfTheNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TheRespectiveIndenturesUnderWhichTheNotesWereIssuedContainLimitedProtectionsForTheHoldersOfTheNotesMember_72d38bea-7143-4b88-a91e-12ba40f85372" xlink:type="arc" order="51"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TermsRelatingToRedemptionMayMateriallyAdverselyAffectYourReturnOnAnyDebtSecuritiesThatWeMayIssueMember_4e8299cc-5b55-42fc-82b6-360372207dbf" xlink:href="htgc-20231231.xsd#htgc_TermsRelatingToRedemptionMayMateriallyAdverselyAffectYourReturnOnAnyDebtSecuritiesThatWeMayIssueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TermsRelatingToRedemptionMayMateriallyAdverselyAffectYourReturnOnAnyDebtSecuritiesThatWeMayIssueMember_4e8299cc-5b55-42fc-82b6-360372207dbf" xlink:type="arc" order="52"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_IfWeDefaultOnOurObligationsImposedUponUsByOurIndebtednessWeMayNotBeAbleToMakePaymentsOnOurOutstandingNotesAndCreditFacilitiesMember_c39ce1df-aa98-43a3-be65-7cd1138dfceb" xlink:href="htgc-20231231.xsd#htgc_IfWeDefaultOnOurObligationsImposedUponUsByOurIndebtednessWeMayNotBeAbleToMakePaymentsOnOurOutstandingNotesAndCreditFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_IfWeDefaultOnOurObligationsImposedUponUsByOurIndebtednessWeMayNotBeAbleToMakePaymentsOnOurOutstandingNotesAndCreditFacilitiesMember_c39ce1df-aa98-43a3-be65-7cd1138dfceb" xlink:type="arc" order="53"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayNotBeAbleToPrepayTheNotesOrCreditFacilitiesUponAChangeInControlMember_ab523c1f-980a-4002-8eab-24c7d1853998" xlink:href="htgc-20231231.xsd#htgc_WeMayNotBeAbleToPrepayTheNotesOrCreditFacilitiesUponAChangeInControlMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayNotBeAbleToPrepayTheNotesOrCreditFacilitiesUponAChangeInControlMember_ab523c1f-980a-4002-8eab-24c7d1853998" xlink:type="arc" order="54"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AnyInabilityToRenewExtendOrReplaceOurCreditFacilitiesCouldAdverselyImpactOurLiquidityAndAbilityToFindNewInvestmentsOrMaintainDistributionsToOurStockholdersMember_99ab3e6d-a705-4307-bc27-c0434e71a34c" xlink:href="htgc-20231231.xsd#htgc_AnyInabilityToRenewExtendOrReplaceOurCreditFacilitiesCouldAdverselyImpactOurLiquidityAndAbilityToFindNewInvestmentsOrMaintainDistributionsToOurStockholdersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_AnyInabilityToRenewExtendOrReplaceOurCreditFacilitiesCouldAdverselyImpactOurLiquidityAndAbilityToFindNewInvestmentsOrMaintainDistributionsToOurStockholdersMember_99ab3e6d-a705-4307-bc27-c0434e71a34c" xlink:type="arc" order="55"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeThroughOurWhollyOwnedSubsidiaryIssueDebtSecuritiesGuaranteedByTheSbaAndSoldInTheCapitalMarketsMember_eb62f070-3f2f-4842-9d09-978f22e80fe2" xlink:href="htgc-20231231.xsd#htgc_WeThroughOurWhollyOwnedSubsidiaryIssueDebtSecuritiesGuaranteedByTheSbaAndSoldInTheCapitalMarketsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeThroughOurWhollyOwnedSubsidiaryIssueDebtSecuritiesGuaranteedByTheSbaAndSoldInTheCapitalMarketsMember_eb62f070-3f2f-4842-9d09-978f22e80fe2" xlink:type="arc" order="56"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurWhollyOwnedSubsidiaryIsLicensedByTheSbaAndThereforeSubjectToSbicRegulationsMember_7dc36402-0fee-412c-975d-81af3eb55837" xlink:href="htgc-20231231.xsd#htgc_OurWhollyOwnedSubsidiaryIsLicensedByTheSbaAndThereforeSubjectToSbicRegulationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurWhollyOwnedSubsidiaryIsLicensedByTheSbaAndThereforeSubjectToSbicRegulationsMember_7dc36402-0fee-412c-975d-81af3eb55837" xlink:type="arc" order="57"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OurSbicSubsidiaryMayBeUnableToMakeDistributionsToUsThatWillEnableUsToMeetOrMaintainRicStatusWhichCouldResultInTheImpositionOfAnEntityLevelTaxMember_7986cf9c-cdf3-4e00-a40e-fe63b2afca2f" xlink:href="htgc-20231231.xsd#htgc_OurSbicSubsidiaryMayBeUnableToMakeDistributionsToUsThatWillEnableUsToMeetOrMaintainRicStatusWhichCouldResultInTheImpositionOfAnEntityLevelTaxMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_OurSbicSubsidiaryMayBeUnableToMakeDistributionsToUsThatWillEnableUsToMeetOrMaintainRicStatusWhichCouldResultInTheImpositionOfAnEntityLevelTaxMember_7986cf9c-cdf3-4e00-a40e-fe63b2afca2f" xlink:type="arc" order="58"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeWillBeSubjectToUSFederalIncomeTaxIfWeAreUnableToQualifyAsARicUnderSubchapterMOfTheCodeMember_51bb717e-0b4e-40bd-b9ba-9d5cd1c25a3d" xlink:href="htgc-20231231.xsd#htgc_WeWillBeSubjectToUSFederalIncomeTaxIfWeAreUnableToQualifyAsARicUnderSubchapterMOfTheCodeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeWillBeSubjectToUSFederalIncomeTaxIfWeAreUnableToQualifyAsARicUnderSubchapterMOfTheCodeMember_51bb717e-0b4e-40bd-b9ba-9d5cd1c25a3d" xlink:type="arc" order="59"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayHaveDifficultyPayingTheDistributionsRequiredToMaintainRicStatusUnderTheCodeIfWeRecognizeIncomeBeforeOrWithoutReceivingCashRepresentingSuchIncomeMember_7728bc84-ea25-4c68-8667-f819ce888830" xlink:href="htgc-20231231.xsd#htgc_WeMayHaveDifficultyPayingTheDistributionsRequiredToMaintainRicStatusUnderTheCodeIfWeRecognizeIncomeBeforeOrWithoutReceivingCashRepresentingSuchIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayHaveDifficultyPayingTheDistributionsRequiredToMaintainRicStatusUnderTheCodeIfWeRecognizeIncomeBeforeOrWithoutReceivingCashRepresentingSuchIncomeMember_7728bc84-ea25-4c68-8667-f819ce888830" xlink:type="arc" order="60"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayInTheFutureChooseToPayDistributionsInOurOwnStockInWhichCaseYouMayBeRequiredToPayTaxInExcessOfTheCashYouReceiveMember_0d11b37d-113b-4bf6-a95a-8cb8da70f8b3" xlink:href="htgc-20231231.xsd#htgc_WeMayInTheFutureChooseToPayDistributionsInOurOwnStockInWhichCaseYouMayBeRequiredToPayTaxInExcessOfTheCashYouReceiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayInTheFutureChooseToPayDistributionsInOurOwnStockInWhichCaseYouMayBeRequiredToPayTaxInExcessOfTheCashYouReceiveMember_0d11b37d-113b-4bf6-a95a-8cb8da70f8b3" xlink:type="arc" order="61"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_StockholdersMayHaveCurrentTaxLiabilityOnDividendsTheyElectToReinvestInOurCommonStockButWouldNotReceiveCashFromSuchDividendsToPaySuchTaxLiabilityMember_8693da2c-70e5-481b-b88d-1908a5145bc5" xlink:href="htgc-20231231.xsd#htgc_StockholdersMayHaveCurrentTaxLiabilityOnDividendsTheyElectToReinvestInOurCommonStockButWouldNotReceiveCashFromSuchDividendsToPaySuchTaxLiabilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_StockholdersMayHaveCurrentTaxLiabilityOnDividendsTheyElectToReinvestInOurCommonStockButWouldNotReceiveCashFromSuchDividendsToPaySuchTaxLiabilityMember_8693da2c-70e5-481b-b88d-1908a5145bc5" xlink:type="arc" order="62"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LegislativeOrRegulatoryTaxChangesCouldAdverselyAffectOurStockholdersMember_bbf3ccca-11ea-4518-a53b-03f8fd181fe2" xlink:href="htgc-20231231.xsd#htgc_LegislativeOrRegulatoryTaxChangesCouldAdverselyAffectOurStockholdersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_LegislativeOrRegulatoryTaxChangesCouldAdverselyAffectOurStockholdersMember_bbf3ccca-11ea-4518-a53b-03f8fd181fe2" xlink:type="arc" order="63"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FatcaWithholdingMayApplyToPaymentsMadeToCertainForeignEntitiesMember_252710d3-bbde-4f62-8182-b02ecf897759" xlink:href="htgc-20231231.xsd#htgc_FatcaWithholdingMayApplyToPaymentsMadeToCertainForeignEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_FatcaWithholdingMayApplyToPaymentsMadeToCertainForeignEntitiesMember_252710d3-bbde-4f62-8182-b02ecf897759" xlink:type="arc" order="64"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreCurrentlyOperatingInAPeriodOfCapitalMarketsDisruptionAndEconomicUncertaintyAndCapitalMarketsMayExperiencePeriodsOfDisruptionAndInstabilityInTheFutureMember_b2023b75-dcae-41db-b8ae-f442f532c2ac" xlink:href="htgc-20231231.xsd#htgc_WeAreCurrentlyOperatingInAPeriodOfCapitalMarketsDisruptionAndEconomicUncertaintyAndCapitalMarketsMayExperiencePeriodsOfDisruptionAndInstabilityInTheFutureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreCurrentlyOperatingInAPeriodOfCapitalMarketsDisruptionAndEconomicUncertaintyAndCapitalMarketsMayExperiencePeriodsOfDisruptionAndInstabilityInTheFutureMember_b2023b75-dcae-41db-b8ae-f442f532c2ac" xlink:type="arc" order="65"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DeteriorationInTheEconomyAndFinancialMarketsCouldImpairOurPortfolioCompaniesFinancialPositionsAndOperatingResultsAndAffectTheIndustriesInWhichWeInvestWhichCouldInTurnHarmOurOperatingResultsMember_9dfc9a68-a0e5-48c6-bdda-fc90e5025262" xlink:href="htgc-20231231.xsd#htgc_DeteriorationInTheEconomyAndFinancialMarketsCouldImpairOurPortfolioCompaniesFinancialPositionsAndOperatingResultsAndAffectTheIndustriesInWhichWeInvestWhichCouldInTurnHarmOurOperatingResultsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_DeteriorationInTheEconomyAndFinancialMarketsCouldImpairOurPortfolioCompaniesFinancialPositionsAndOperatingResultsAndAffectTheIndustriesInWhichWeInvestWhichCouldInTurnHarmOurOperatingResultsMember_9dfc9a68-a0e5-48c6-bdda-fc90e5025262" xlink:type="arc" order="66"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayExperienceFluctuationsInOurOperatingResultsMember_a067b1fc-ac14-4a75-afd1-27308e199b91" xlink:href="htgc-20231231.xsd#htgc_WeMayExperienceFluctuationsInOurOperatingResultsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayExperienceFluctuationsInOurOperatingResultsMember_a067b1fc-ac14-4a75-afd1-27308e199b91" xlink:type="arc" order="67"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TerroristAttacksActsOfWarPublicHealthCrisesClimateChangeOrNaturalDisastersMayAffectAnyMarketForOurSecuritiesImpactTheBusinessesInWhichWeInvestAndHarmOurBusinessMember_66997651-0915-483e-8adb-055b644e41d6" xlink:href="htgc-20231231.xsd#htgc_TerroristAttacksActsOfWarPublicHealthCrisesClimateChangeOrNaturalDisastersMayAffectAnyMarketForOurSecuritiesImpactTheBusinessesInWhichWeInvestAndHarmOurBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TerroristAttacksActsOfWarPublicHealthCrisesClimateChangeOrNaturalDisastersMayAffectAnyMarketForOurSecuritiesImpactTheBusinessesInWhichWeInvestAndHarmOurBusinessMember_66997651-0915-483e-8adb-055b644e41d6" xlink:type="arc" order="68"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_TechnologicalInnovationsAndIndustryDisruptionsIncludingThoseRelatedToArtificialIntelligenceAndMachineLearningMayNegativelyImpactUsMember_e74322f5-bd3c-4702-9b03-8f9387325f58" xlink:href="htgc-20231231.xsd#htgc_TechnologicalInnovationsAndIndustryDisruptionsIncludingThoseRelatedToArtificialIntelligenceAndMachineLearningMayNegativelyImpactUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_TechnologicalInnovationsAndIndustryDisruptionsIncludingThoseRelatedToArtificialIntelligenceAndMachineLearningMayNegativelyImpactUsMember_e74322f5-bd3c-4702-9b03-8f9387325f58" xlink:type="arc" order="69"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeAreHighlyDependentOnInformationSystemsAndSystemsFailuresCouldSignificantlyDisruptOurBusinessWhichMayInTurnNegativelyAffectTheMarketPriceOfOurCommonStockAndOurAbilityToPayDividendsMember_7c073277-dfc6-42f4-a5a1-108da1533730" xlink:href="htgc-20231231.xsd#htgc_WeAreHighlyDependentOnInformationSystemsAndSystemsFailuresCouldSignificantlyDisruptOurBusinessWhichMayInTurnNegativelyAffectTheMarketPriceOfOurCommonStockAndOurAbilityToPayDividendsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeAreHighlyDependentOnInformationSystemsAndSystemsFailuresCouldSignificantlyDisruptOurBusinessWhichMayInTurnNegativelyAffectTheMarketPriceOfOurCommonStockAndOurAbilityToPayDividendsMember_7c073277-dfc6-42f4-a5a1-108da1533730" xlink:type="arc" order="70"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FailureInCyberSecuritySystemsAsWellAsTheOccurrenceOfEventsUnanticipatedInOurDisasterRecoverySystemsAndBusinessContinuityPlanningCouldImpairOurAbilityToConductBusinessMember_bb8f1c0b-5cf3-4139-9e30-091dfefe8a47" xlink:href="htgc-20231231.xsd#htgc_FailureInCyberSecuritySystemsAsWellAsTheOccurrenceOfEventsUnanticipatedInOurDisasterRecoverySystemsAndBusinessContinuityPlanningCouldImpairOurAbilityToConductBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_FailureInCyberSecuritySystemsAsWellAsTheOccurrenceOfEventsUnanticipatedInOurDisasterRecoverySystemsAndBusinessContinuityPlanningCouldImpairOurAbilityToConductBusinessMember_bb8f1c0b-5cf3-4139-9e30-091dfefe8a47" xlink:type="arc" order="71"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayExperienceFluctuationsInOurQuarterlyOperatingResultsMember_16ba418b-792a-4d0b-9019-6823b82fb419" xlink:href="htgc-20231231.xsd#htgc_WeMayExperienceFluctuationsInOurQuarterlyOperatingResultsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayExperienceFluctuationsInOurQuarterlyOperatingResultsMember_16ba418b-792a-4d0b-9019-6823b82fb419" xlink:type="arc" order="72"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_WeMayBeTheTargetOfLitigationMember_6df47de4-3536-45ae-95a0-2a3ccb971b69" xlink:href="htgc-20231231.xsd#htgc_WeMayBeTheTargetOfLitigationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cef_AllRisksMember" xlink:to="loc_htgc_WeMayBeTheTargetOfLitigationMember_6df47de4-3536-45ae-95a0-2a3ccb971b69" xlink:type="arc" order="73"/>
  </link:definitionLink>
</link:linkbase>
