XML 58 R49.htm IDEA: XBRL DOCUMENT
v3.26.1

Debt - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025 | Dec. 31, 2025 | Mar. 09, 2026 | Jan. 28, 2026 | Sep. 09, 2025 | Sep. 11, 2024 | Mar. 11, 2024 | Nov. 24, 2020 | Feb. 10, 2020
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, Current borrowing capacity |  | $ 2,675,000 |  |  | $ 2,675,000 |  |  | $ 2,995,000 |  |  |  |  |  |  |
Deferred financing costs |  | 15,438 |  |  | 15,438 |  |  | 13,245 |  |  |  |  |  |  |
Carrying value | [1] | 1,850,308 |  |  | $ 1,850,308 |  |  | 1,874,620 |  |  |  |  |  |  |
2025 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 360,000
Interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3.75%
Debt Instrument, Maturity Date, Description |  |  |  |  | The 2025 Notes bore interest at a rate of 3.750% per year, payable semi-annually in arrears on February 10 and August 10 of each year. The 2025 Notes matured and were fully repaid on February 10, 2025, in accordance with their terms, using proceeds from the Revolving Credit Facility. |  |  |  |  |  |  |  |  |  |
Carrying value |  | 0 |  |  | $ 0 |  |  | 0 |  |  |  |  |  |  |
2026 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  |  |  |  |  |  |  | 500,000 |  |  |  |  |  | $ 500,000 |
Interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.875% |
Debt Instrument, Maturity Date, Description |  |  |  |  | The 2026 Notes bore interest at a rate of 2.875% per year, payable semi-annually in arrears on January 15 and July 15 of each year. The 2026 Notes matured and were fully repaid on January 15, 2026, in accordance with their terms, using proceeds from the Revolving Credit Facility. |  |  |  |  |  |  |  |  |  |
Carrying value |  |  |  |  |  |  |  | 499,921 |  |  |  |  |  |  |
2027 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  | 400,000 |  |  | $ 400,000 |  |  | 400,000 |  |  |  |  | $ 400,000 |  |
Interest rate |  |  |  |  |  |  |  |  |  |  |  | 6.375% | 6.375% |  |
Debt Instrument, Maturity Date, Description |  |  |  |  | The 2027 Notes bear interest at a rate of 6.375% per year, payable semi-annually in arrears on March 11 and September 11 of each year. The 2027 Notes will mature on March 11, 2027 and may be redeemed in whole or in part at the Company’s option at any time or from time to time at the redemption prices set forth in the indenture. |  |  |  |  |  |  |  |  |  |
Carrying value |  | 396,874 |  |  | $ 396,874 |  |  | 397,333 |  |  |  |  |  |  |
2029 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  | 400,000 |  |  | $ 400,000 |  |  |  |  | $ 400,000 |  |  |  |  |
Interest rate |  |  |  |  |  |  |  |  |  | 5.10% |  |  |  |  |
Debt Instrument, Maturity Date, Description |  |  |  |  | The 2029 Notes bear interest at a rate of 5.100% per year, payable semi-annually in arrears on January 28 and July 28 of each year, commencing on July 28, 2026. The 2029 Notes will mature on January 28, 2029 and may be redeemed in whole or in part at the Company's option at any time or from time to time at the redemption prices set forth in the indenture. |  |  |  |  |  |  |  |  |  |
Carrying value |  | 388,565 |  |  | $ 388,565 |  |  |  |  |  |  |  |  |  |
2030 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Aggregate principal amount |  | 400,000 |  |  | $ 400,000 |  |  | 400,000 |  |  | $ 400,000 |  |  |  |
Interest rate |  |  |  |  |  |  |  |  | 5.65% |  | 5.65% |  |  |  |
Debt Instrument, Maturity Date, Description |  |  |  |  | The 2030 Notes bear interest at a rate of 5.650% per year, payable semi-annually in arrears on March 9 and September 9 of each year. The 2030 Notes will mature on September 9, 2030 and may be redeemed in whole or in part at the Company’s option at any time or from time to time at the redemption prices set forth in the indenture. |  |  |  |  |  |  |  |  |  |
Carrying value |  | $ 385,228 |  |  | $ 385,228 |  |  | 391,616 |  |  |  |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted average interest rate |  | 5.41% |  | 6.33% | 5.48% |  | 6.35% |  |  |  |  |  |  |  |
Average outstanding balance |  | $ 668,364 |  | $ 866,395 | $ 703,863 |  | $ 879,113 |  |  |  |  |  |  |  |
Debt, Current borrowing capacity | [2] | 1,475,000 | [1] |  | 1,475,000 | [1] |  | 1,695,000 |  |  |  |  |  |  |
Maximum borrowing capacity |  | 2,542,500 |  |  | $ 2,542,500 |  |  |  |  |  |  |  |  |  |
Revolving credit facility interest rate description |  |  |  |  | Borrowings denominated in USD, including amounts drawn in respect of letters of credit, bear interest (at the Company’s election) of either (i) Term SOFR plus a margin of either 1.775% or 1.65% (subject to certain gross borrowing base conditions) or (ii) an alternative base rate, which is the highest of (a) zero, (b) the highest of (i) the Prime Rate in effect on such day, (ii) the Federal Funds Effective Rate for such day plus 1/2 of 1.00% and (iii) the rate per annum equal to (x) the greater of (A) Term SOFR for an interest period of one (1) month and (B) zero plus (y) 1.00%, plus a margin of either 0.775% or 0.65% (subject to certain gross borrowing base conditions). Borrowings denominated in non-USD bear interest of the applicable term benchmark rate or the applicable risk-free rate (the “RFR rate”) plus a margin of either 1.775% or 1.65% (subject to the conditions applicable to borrowings denominated in USD that bear interest based on the applicable term benchmark rate or the applicable RFR rate). With respect to borrowings denominated in USD, the Company may elect either Term SOFR, or an alternative base rate at the time of borrowing, and such borrowings may be converted from one benchmark to another at any time, subject to certain conditions. Interest is payable in arrears on the applicable interest payment date as specified therein. The Company pays a fee of 0.325% per annum on committed but undrawn amounts under the Revolving Credit Facility, payable quarterly in arrears. Amounts borrowed under the Revolving Credit Facility will mature, and all accrued and unpaid interest will be due and payable, on May 5, 2031. |  |  |  |  |  |  |  |  |  |
Line of credit facility, commitment fee percentage |  |  |  |  | 0.325% |  |  |  |  |  |  |  |  |  |
Cost incurred in obtaining revolving credit facility |  | 41,912 |  |  | $ 41,912 |  |  |  |  |  |  |  |  |  |
Unamortized deferred financing costs |  | 15,438 |  |  | 15,438 |  |  | 13,245 |  |  |  |  |  |  |
Carrying value | [1],[2] | $ 679,641 |  |  | $ 679,641 |  |  | $ 585,750 |  |  |  |  |  |  |
Revolving Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Asset coverage ratio |  | 150.00% |  |  | 150.00% |  |  |  |  |  |  |  |  |  |
Asset coverage ratio with respect to consolidated assets |  | 200.00% |  |  | 200.00% |  |  |  |  |  |  |  |  |  |
Revolving Credit Facility | Lenders Hold 84% of Total Lending Commitments |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revolving credit facility accrued and unpaid interest due and payable date |  |  |  |  | May 05, 2031 |  |  |  |  |  |  |  |  |  |
Debt |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line Of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Asset coverage ratio requirement, description |  |  |  |  | Investment Company Act, is at least 150% after such borrowing (if certain requirements are met). As of June 30, 2026 and December 31, 2025, the Company’s asset coverage ratio based on the aggregate amount outstanding of senior securities was 172% and 175%. |  |  |  |  |  |  |  |  |  |
Asset coverage ratio |  | 172.00% |  |  | 172.00% |  |  | 175.00% |  |  |  |  |  |  |
Weighted average interest rate |  |  |  |  | 5.77% |  |  | 5.36% |  |  |  |  |  |  |
Average outstanding balance |  |  |  |  | $ 1,882,869 |  |  | $ 1,860,251 |  |  |  |  |  |  |
Maximum borrowing capacity |  | $ 2,542,500 |  |  | $ 2,542,500 |  |  |  |  |  |  |  |  |  |
[1] | The carrying value is presented net of the unamortized debt issuance costs and includes the cumulative hedging adjustments for those borrowings that are designated in a fair value hedging relationship, as applicable.
[2] | Provides, under certain circumstances, a total borrowing capacity of $2,542,500. The Company may borrow amounts in USD or certain other permitted currencies. Debt outstanding denominated in currencies other than USD has been converted to USD using the applicable foreign currency exchange rate as of the applicable reporting date. As of June 30, 2026, the Company had outstanding borrowings denominated in USD of $583,674, in EUR of EUR 13,700, in GBP of GBP 17,450, in CAD of CAD 57,020 and in AUD of AUD 24,500. As of December 31, 2025, the Company had outstanding borrowings denominated in USD of $489,674, in EUR of EUR 13,700, in GBP of GBP 18,950, in CAD of CAD 52,270 and in AUD of AUD 24,500.

X
- Definition Describes the asset coverage ratios and the minimum asset coverage ratio requirement. + References No definition available. + Details
Name: | gsbd_AssetCoverageRatioRequirementDescription
Namespace Prefix: | gsbd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument asset coverage ratio with respect to consolidated assets. + References No definition available. + Details
Name: | gsbd_DebtInstrumentAssetCoverageRatioWithRespectToConsolidatedAssets
Namespace Prefix: | gsbd_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Revolving credit facility accrued and unpaid interest due and payable date. + References No definition available. + Details
Name: | gsbd_RevolvingCreditFacilityAccruedAndUnpaidInterestDueAndPayableDate
Namespace Prefix: | gsbd_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of the maturity date of the debt instrument including whether the debt matures serially and, if so, a brief description of the serial maturities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred cost, excluding capitalized cost related to contract with customer; classified as noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_DeferredCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of total assets less all liabilities and indebtedness not represented by senior security, to senior security representing indebtedness. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Investment Company Act of 1940 -Section 61 -Paragraph a -Subparagraph (1) -Publisher SEC + Details
Name: | us-gaap_InvestmentCompanySeniorSecurityIndebtednessAssetCoverageRatio
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Average amount borrowed under the credit facility during the period. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityAverageOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 10: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average interest rate of long-term debt outstanding calculated over time. + References No definition available. + Details
Name: | us-gaap_LongTermDebtWeightedAverageInterestRateOverTime
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset. + References No definition available. + Details
Name: | us-gaap_UnamortizedDebtIssuanceExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_TwoZeroTwoFiveNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_TwoZeroTwoSixNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_TwothousandTwentySevenNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_TwoThousandTwentyNineNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gsbd_TwoThousandThirtyNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=gsbd_LendersHoldEightyFourPercentageOfTotalLendingCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_DebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |