The Goldman Sachs Group Inc.

05/04/2021 | Press release | Distributed by Public on 05/04/2021 12:10

Primary Offering Prospectus (SEC Filing - 424B2)

April 2021

Pricing Supplement filed pursuant to Rule 424(b)(2) dated April 30, 2021 / Registration Statement No. 333-253421
STRUCTURED INVESTMENTS

Opportunities in International Equities

GS Finance Corp.

$1,165,630 Market-Linked Notes BasedontheValueoftheEURO STOXX 50®Indexdue May 4, 2028

The Market-Linked Notes do not bear interest and are unsecured notes issued by GS Finance Corp. and guaranteed by The Goldman Sachs Group, Inc. The amount that you will be paid on your notes on the stated maturity date (May 4, 2028) is based on the performance of the EURO STOXX 50® Index as measured from the pricing date (April 30, 2021) to and including the valuation date (April 28, 2028).

At maturity, if the final index value (the index closing value on the valuation date) is greater than the initial index value of 3,974.74, the return on your notes will be positive and equal to the index percent change (the percentage change in the final index value from the initial index value), subject to the maximum payment at maturity of $16.00 per note. If the final index value is equal to or less than the initial index value, you will receive the stated principal amount of your investment, without any positive return on your notes.

At maturity, for each $10 principal amount of your notes, you will receive an amount in cash equal to:

if the final index value is greater than the initial index value, the sum of (i) $10 plus (ii) the product of (a) $10 times (b) the index percent change,subject to the maximum payment at maturity of $16.00 per note; or

if the final index value is equal to or less than the initial index value, $10.

The notes are for investors who are willing to forgo interest payments for the potential to earn an equity-index based return, subject to the maximum payment at maturity, without participating in the negative return of the index.

The estimated value of your notes at the time the terms of your notes are set on the pricing date is equal to approximately $9.52 per $10 principal amount. For a discussion of the estimated value and the price at which Goldman Sachs & Co. LLC would initially buy or sell your notes, if it makes a market in the notes, see the following page.

Your investment in the notes involves certain risks, including the credit risk of GS Finance Corp. and The Goldman Sachs Group, Inc. See page PS-11. You should read the disclosure herein to better understand the terms and risks of your investment.

Original issue date:

May 6, 2021

Original issue price:

100.00% of the principal amount

Underwriting discount:

3.50% ($40,797.05 in total)*

Net proceeds to the issuer:

96.50% ($1,124,832.95 in total)*

*Morgan Stanley Wealth Management, acting as dealer for the offering, will receive a selling concession of $0.35 for each note it sells. It has informed us that it intends to internally allocate $0.05 of the selling concession for each note as a structuring fee.

Neither the Securities and Exchange Commission nor any other regulatory body has approved or disapproved of these notes or passed upon the accuracy or adequacy of this prospectus. Any representation to the contrary is a criminal offense.

The notes are not bank deposits and are not insured by the Federal Deposit Insurance Corporation or any other governmental agency, nor are they obligations of, or guaranteed by, a bank.

Goldman Sachs & Co. LLC

Pricing Supplement No. 2,292 dated April 30, 2021

April 2021

The issue price, underwriting discount and net proceeds listed above relate to the notes we sell initially. We may decide to sell additional notes after the date of this pricing supplement, at issue prices and with underwriting discounts and net proceeds that differ from the amounts set forth above. The return (whether positive or negative) on your investment in notes will depend in part on the issue price you pay for such notes.

GS Finance Corp. may use this prospectus in the initial sale of the notes. In addition, Goldman Sachs & Co. LLC or any other affiliate of GS Finance Corp. may use this prospectus in a market-making transaction in a note after its initial sale. Unless GS Finance Corp. or its agent informs the purchaser otherwise in the confirmation of sale, thisprospectus is being used in a market-making transaction.

Estimated Value of Your Notes

The estimated value of your notes at the time the terms of your notes are set on the pricing date (as determined by reference to pricing models used by Goldman Sachs & Co. LLC (GS&Co.) and taking into account our credit spreads) is equal to approximately $9.52 per $10 principal amount), which is less than the original issue price. The value of your notes at any time will reflect many factors and cannot be predicted; however, the price (not including GS&Co.'s customary bid and ask spreads) at which GS&Co. would initially buy or sell notes (if it makes a market, which it is not obligated to do) and the value that GS&Co. will initially use for account statements and otherwise is equal to approximately the estimated value of your notes at the time of pricing, plus an additional amount (initially equal to $0.48 per $10 principal amount).

The price (not including GS&Co.'s customary bid and ask spreads) at which GS&Co. would buy or sell your notes (if it makes a market, which it is not obligated to do) will equal approximately the sum of (a) the then-current estimated value of your notes (as determined by reference to GS&Co.'s pricing models) plus (b) any remaining additional amount (the additional amount will decline to zero from the time of pricing through April 29, 2023, as described below). On and after April 30, 2023, the price (not including GS&Co.'s customary bid and ask spreads) at which GS&Co. would buy or sell your notes (if it makes a market) will equal approximately the then-current estimated value of your notes determined by reference to such pricing models.

With respect to the $0.48 initial additional amount:

• $0.13 will decline to zero on a straight-line basis from the time of pricing through April 29, 2023; and

• $0.35 will decline to zero on a straight-line basis from May 30, 2021 through June 12, 2021.

PS-2

April 2021

About Your Notes

The notes are notes that are part of the Medium-Term Notes, Series F program of GS Finance Corp. and are fully and unconditionally guaranteed by The Goldman Sachs Group, Inc. This prospectus includes this pricing supplement and the accompanying documents listed below. This pricing supplement constitutes a supplement to the documents listed below and should be read in conjunction with such documents:

General terms supplement no. 2,012 dated March 22, 2021

Underlier supplement no. 19 dated April 28, 2021

Prospectus supplement dated March 22, 2021

Prospectus dated March 22, 2021

The information in this pricing supplement supersedes any conflicting information in the documents listed above. In addition, some of the terms or features described in the listed documents may not apply to your notes.

Please note that, for purposes of this pricing supplement, references in the general terms supplement no. 2,012 to 'underlier(s)', 'indices', 'exchange-traded fund(s)', 'lesser performing', 'trade date', 'underlier sponsor', 'determination date', 'face amount', 'level' and 'cash settlement amount' shall be deemed to refer to 'underlying(s)', 'underlying index(es)', 'underlying ETF(s)', 'worst performing', 'pricing date', 'underlying publisher', 'valuation date', 'principal amount', 'value' and 'payment at maturity', respectively. In addition, for purposes of this pricing supplement, references in the general terms supplement no. 2,012 to 'trading day' shall be deemed to refer to 'underlying business day', 'index business day' or 'ETF business day', as applicable, and references to 'closing level' shall be deemed to refer to 'closing price', 'closing value', 'index closing value' or 'ETF closing price', as applicable.

Please note that, for purposes of this pricing supplement, references in the underlier supplement no. 18 to 'underlier(s)', 'indices', 'exchange-traded fund(s)', 'trade date' and 'underlier sponsor' shall be deemed to refer to 'underlying(s)', 'underlying index(es)', 'underlying ETF(s)', 'pricing date' and 'underlying index publisher', respectively.

PS-3

April 2021

April 2021

Pricing Supplement filed pursuant to Rule 424(b)(2) dated April 30, 2021 / Registration Statement No. 333-253421
STRUCTURED INVESTMENTS

Opportunities in International Equities

GS Finance Corp.

$1,165,630 Market-Linked Notes BasedontheValueoftheEURO STOXX 50®Indexdue May 4, 2028

The Market-Linked Notes do not bear interest and are unsecured notes issued by GS Finance Corp. and guaranteed by The Goldman Sachs Group, Inc. The amount that you will be paid on your notes on the stated maturity date (May 4, 2028) is based on the performance of the EURO STOXX 50® Index as measured from the pricing date (April 30, 2021) to and including the valuation date (April 28, 2028).

At maturity, if the final index value (the index closing value on the valuation date) is greater than the initial index value of 3,974.74, the return on your notes will be positive and equal to the index percent change (the percentage change in the final index value from the initial index value), subject to the maximum payment at maturity of $16.00 per note. If the final index value is equal to or less than the initial index value, you will receive the stated principal amount of your investment, without any positive return on your notes.

At maturity, for each $10 principal amount of your notes, you will receive an amount in cash equal to:

if the final index value is greater than the initial index value, the sum of (i) $10 plus (ii) the product of (a) $10 times (b) the index percent change,subject to the maximum payment at maturity of $16.00 per note; or

if the final index value is equal to or less than the initial index value, $10.

The notes are for investors who are willing to forgo interest payments for the potential to earn an equity-index based return, subject to the maximum payment at maturity, without participating in the negative return of the index.

FINAL TERMS

Issuer / Guarantor:

GS Finance Corp. / The Goldman Sachs Group, Inc.

Aggregate principal amount:

$1,165,630

Underlying index:

EURO STOXX 50® Index (Bloomberg symbol, 'SX5E Index')

Pricing date:

April 30, 2021

Original issue date:

May 6, 2021

Valuation date:

April 28, 2028, subject to postponement

Stated maturity date:

May 4, 2028

Stated principal amount/Original issue price:

$10 per note / 100% of the principal amount

Estimated value:

Approximately $9.52

Payment at maturity:

•If the final index value is greater than the initial index value, $10 + the

supplemental payment, subject to the maximum payment at maturity.

In no event will the payment at maturity exceed the maximum payment

at maturity.

•If the final index value is equal to or less than the initial index value, $10. In no event will the payment at maturity be less than the stated principal amount.

Supplemental payment:

$10 × the index percent change, provided that in no event will the supplemental payment be less than $0

Maximum payment at maturity:

$16.00 per note (160.00% of the stated principal amount)

Index percent change:

(final index value - initial index value) / initial index value

Initial index value:

3,974.74, which is the index closing value on the pricing date

Final index value:

The index closing value on the valuation date

CUSIP / ISIN:

36260W421 / US36260W4217

Listing:

The notes will not be listed on any securities exchange

Underwriter:

Goldman Sachs & Co. LLC

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

We refer to the notes we are offering by this pricing supplement as the 'offered notes' or the 'notes'. Each of the notes has the terms described under 'Final Terms' and 'Additional Provisions' in this pricing supplement. Please note that in this pricing supplement, references to 'GS Finance Corp.', 'we', 'our' and 'us' mean only GS Finance Corp. and do not include its subsidiaries or affiliates, references to 'The Goldman Sachs Group, Inc.', our parent company, mean only The Goldman Sachs Group, Inc. and do not include its subsidiaries or affiliates and references to 'Goldman Sachs' mean The Goldman Sachs Group, Inc. together with its consolidated subsidiaries and affiliates, including us. Also, references to the 'accompanying prospectus' mean the accompanying prospectus, dated March 22, 2021, references to the 'accompanying prospectus supplement' mean the accompanying prospectus supplement, dated March 22, 2021, for Medium-Term Notes, Series F, references to the 'accompanying underlier supplement no. 19' mean the accompanying underlier supplement no. 19 dated April 28, 2021 and references to the 'accompanying general terms supplement no. 2,012' mean the accompanying general terms supplement no. 2,012, dated March 22, 2021, in each case of GS Finance Corp. and The Goldman Sachs Group, Inc. The notes will be issued under the senior debt indenture, dated as of October 10, 2008, as supplemented by the First Supplemental Indenture, dated as of February 20, 2015, each among us, as issuer, The Goldman Sachs Group, Inc., as guarantor, and The Bank of New York Mellon, as trustee. This indenture, as so supplemented and as further supplemented thereafter, is referred to as the 'GSFC 2008 indenture' in the accompanying prospectus supplement.

Investment Summary

The Market-Linked Notes Based on the Value of the EURO STOXX 50® Index due May 4, 2028 (the 'notes') offer participation in the positive performance of the underlying index, subject to the maximum payment at maturity . The notes provide investors:

an opportunity to gain exposure to any appreciation of the EURO STOXX 50® Index over the term of the notes, subject to the maximum payment at maturity of $16.00 per note (160.00% of the stated principal amount).

the repayment of principal and no exposure to any decline of the underlying index if the notes are held to maturity.

You will not receive dividends on the stocks comprising the underlying index (the 'underlying index stocks') or any interest payments on your notes. At maturity, if the underlying index has depreciated or has not appreciated at all, you will receive the stated principal amount of $10 per note, without any positive return on your investment. All payments on the notes, including the repayment of principal at maturity, are subject to our credit risk.

Maturity:

Approximately 7 years

Payment at maturity:

•If the final index value is greater than the initial index value, $10 + the supplemental payment, subject to the maximum payment at maturity. In no event will the payment at maturity exceed the maximum payment at maturity.

•If the final index value is equal to or less than the initial index value, $10. In no event will the payment at maturity be less than the stated principal amount.

Final index value:

The index closing value on the valuation date

Index percent change:

(final index value - initial index value) / initial index value

Supplemental payment:

$10 × leverage factor × the index percent change. In no event will the supplemental payment be less than $0.

Maximum payment at maturity:

$16.00 per note (160.00% of the stated principal amount)

Minimum payment at maturity:

$10

PS-5

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Interest:

None

Redemption:

None. The notes will not be subject to redemption right or price dependent redemption right.

Key Investment Rationale

The notes offer 100% participation in a limited range of positive performance of the EURO STOXX 50® Index, subject to a maximum payment at maturity of $16.00 per note, and provide for the repayment of principal at maturity. They are for investors who are concerned about principal risk but seek an equity index-based return, and who are willing to forgo interest payments and performance above the maximum payment at maturity of $16.00 per note in exchange for the repayment of principal at maturity plus the potential to receive a supplemental payment based on the performance of the underlying index,subject to the maximum payment at maturity. At maturity, if the underlying index has appreciated in value, investors will receive the stated principal amount of their investment plus the supplemental payment, subject to the maximum payment at maturity of $16.00 per note. If the underlying index has not appreciated or has depreciated in value, investors will receive the principal amount of their investment, without any positive return on the notes. Investors will not receive dividends on the underlying index stocks or any interest payments on the notes. All payments on the notes are subject to the credit risk of GS Finance Corp., as issuer, and The Goldman Sachs Group, Inc., as guarantor.

Repayment of principal

The notes offer investors upside exposure to the performance of the underlying index, up to the maximum payment at maturity, while providing for the repayment of principal at maturity.

Upside Scenario

The underlying index increases in value. In this case, you receive a full return of principal as well as the supplemental payment reflecting the appreciation of the underlying index,subject to the maximum payment at maturity of $16.00 per note (160.00% of the stated principal amount). For example, if the final index value is 2.00% greater than the initial index value, the notes will provide a total return of 2.00% at maturity.

Par Scenario

The underlying index declines or does not appreciate in value. In this case, the notes pay only the stated principal amount of $10 at maturity.

PS-6

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

How the Notes Work

Payoff Diagram

The payoff diagram below illustrates the payment at maturity on the notes based on the following terms:

Stated principal amount:

$10 per note

Maximum payment at maturity:

$16.00 per note (160.00% of the stated principal amount)

Minimum payment at maturity:

$10

Payoff Diagram

How it works

Upside Scenario. If the final index value is greater than the initial index value, investors will receive the $10 stated principal amount plus a supplemental payment reflecting the appreciation of the underlying index from the pricing date to the valuation date of the notes,subject to the maximum payment at maturity. Under the terms of the notes, investors will realize the maximum payment at maturity at a final index value of 160.00% of the initial index value.

If the underlying index appreciates 2.00%, investors will receive a 2.00% return, or $10.20 per note reflecting the $10 principal amount and $0.20 supplemental payment.

If the underlying index appreciates 70.00%, investors will receive only the maximum payment at maturity of $16.00 per note, or 160.00% of the stated principal amount.

PS-7

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Par Scenario. If the final index value is equal to or less than the initial index value, investors will receive the $10 stated principal amount per note.

If the underlying index depreciates 30.00%, the investor would receive $10 per note.

Additional Hypothetical Examples

The following examples are provided for purposes of illustration only. They should not be taken as an indication or prediction of future investment results and merely are intended to illustrate the impact that the various hypothetical index closing values on the valuation date could have on the payment at maturity assuming all other variables remain constant.

The examples below are based on a range of final index values that are entirely hypothetical; the index closing value on any day throughout the life of the notes, including the final index value on the valuation date, cannot be predicted. The underlying index has been highly volatile in the past - meaning that the index closing value has changed considerably in relatively short periods - and its performance cannot be predicted for any future period.

The information in the following examples reflects hypothetical rates of return on the offered notes assuming that they are purchased on the original issue date at the stated principal amount and held to the stated maturity date. If you sell your notes in a secondary market prior to the stated maturity date, your return will depend upon the market value of your notes at the time of sale, which may be affected by a number of factors that are not reflected in the examples below such as interest rates, the volatility of the underlying index and the creditworthiness of GS Finance Corp., as issuer, and the creditworthiness of The Goldman Sachs Group, Inc., as guarantor. The information in the examples also reflects the key terms and assumptions in the box below.

Key Terms and Assumptions

Stated principal amount

$10

Maximum payment at maturity

$16.00 per note (160.00% of the stated principal amount)

Neither a market disruption event nor a non-index business day occurs on the originally scheduled valuation date

No change in or affecting any of the underlying index stocks or the method by which the underlying index publisher calculates the underlying index

Notes purchased on original issue date at the stated principal amount and held to the stated maturity date

For these reasons, the actual performance of the underlying index over the life of your notes, as well as the amount payable at maturity may bear little relation to the hypothetical examples shown below or to the historical index closing values shown elsewhere in this pricing supplement. For information about the historical values of the underlying index during recent periods, see 'The Underlying Index - Historical Index Closing Values' below. Before investing in the offered notes, you should consult publicly available information to determine the values of the underlying index between the date of this pricing supplement and the date of your purchase of the offered notes.

Also, the hypothetical examples shown below do not take into account the effects of applicable taxes. Because of the U.S. tax treatment applicable to your notes, tax liabilities could affect the after-tax rate of return on your notes to a comparatively greater extent than the after-tax return on the underlying index stocks.

The values in the left column of the table below represent hypothetical final index values and are expressed as percentages of the initial index value. The amounts in the right column represent the hypothetical payments at maturity, based on the corresponding hypothetical final index value, and are expressed as

PS-8

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

percentages of the stated principal amount of a note (rounded to the nearest one-thousandth of a percent). Thus, a hypothetical payment at maturity of 100.000% means that the value of the cash payment that we would deliver for each $10 of the outstanding stated principal amount of the offered notes on the stated maturity date would equal 100.000% of the stated principal amount of a note, based on the corresponding hypothetical final index value and the assumptions noted above.

Hypothetical Final Index Value

(as Percentage of Initial Index Value)

Hypothetical Payment at Maturity

(as Percentage of Stated Principal Amount)

200.000%

160.000%

175.000%

160.000%

160.000%

160.000%

125.000%

125.000%

100.000%

100.000%

75.000%

100.000%

50.000%

100.000%

30.000%

100.000%

25.000%

100.000%

0.000%

100.000%

If, for example, the final index value were determined to be 25.000% of the initial index value, the payment at maturity that we would deliver on your notes at maturity would be 100.000% of the stated principal amount of your notes, as shown in the table above. As a result, if you purchased your notes on the original issue date at the stated principal amount and held them to the stated maturity date, you would receive no return on your investment. In addition, if the final index value were determined to be 200.000% of the initial index value, the payment at maturity that we would deliver on your notes at maturity would be limited to the maximum payment at maturity, or 160.000% of each $10 principal amount of your notes, as shown in the table above. As a result, if you held your notes to the stated maturity date, you would not benefit from any increase in the final index value over 160.000% of the initial index value.

The payments at maturity shown above are entirely hypothetical; they are based on market prices for the underlying index stocks that may not be achieved on the valuation date and on assumptions that may prove to be erroneous. The actual market value of your notes on the stated maturity date or at any other time, including any time you may wish to sell your notes, may bear little relation to the hypothetical payments at maturity shown above, and these amounts should not be viewed as an indication of the financial return on an investment in the offered notes. The hypothetical payments at maturity on notes held to the stated maturity date in the examples above assume you purchased your notes at their stated principal amount and have not been adjusted to reflect the actual issue price you pay for your notes. The return on your investment (whether positive or negative) in your notes will be affected by the amount you pay for your notes. If you purchase your notes for a price other than the stated principal amount, the return on your investment will differ from, and may be significantly lower than, the hypothetical returns suggested by the above examples. Please read 'Risk Factors - The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors' below.

Payments on the notes are economically equivalent to the amounts that would be paid on a combination of other instruments. For example, payments on the notes are economically equivalent to a combination of an interest-bearing bond bought by the holder and one or more options entered into between the holder and us (with one or more implicit option premiums paid over time). The discussion in this paragraph does not modify or affect the terms of the notes or the U.S. federal income tax treatment of the notes, as described elsewhere in this pricing supplement.

PS-9

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

We cannot predict the actual final index value or what the market value of your notes will be on any particular index business day, nor can we predict the relationship between the index closing value and the market value of your notes at any time prior to the stated maturity date. The actual amount that you will receive at maturity and the rate of return on the offered notes will depend on the actual final index value determined by the calculation agent as described above. Moreover, the assumptions on which the hypothetical returns are based may turn out to be inaccurate. Consequently, the amount of cash to be paid in respect of your notes on the stated maturity date may be very different from the information reflected in the examples above.

PS-10

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Risk Factors

An investment in your notes is subject to the risks described below, as well as the risks and considerations described in the accompanying prospectus, in the accompanying prospectus supplement, under 'Additional Risk Factors Specific to the Securities' in the accompanying underlier supplement no. 19 and under 'Additional Risk Factors Specific to the Notes' in the accompanying general terms supplement no. 2,012. You should carefully review these risks and considerations as well as the terms of the notes described herein and in the accompanying prospectus, the accompanying prospectus supplement, the accompanying underlier supplement no. 19 and the accompanying general terms supplement no. 2,012. Your notes are a riskier investment than ordinary debt securities. Also, your notes are not equivalent to investing directly in the underlying index stocks, i.e., the stocks comprising the underlying index to which your notes are linked. You should carefully consider whether the offered notes are appropriate given your particular circumstances.

Risks Related to Structure, Valuation and Secondary Market Sales

Your Notes Do Not Bear Interest

You will not receive any interest payments on your notes. As a result, even if the payment at maturity payable for your notes on the stated maturity date exceeds the stated principal amount of your notes, the overall return you earn on your notes may be less than you would have earned by investing in a non-indexed debt security of comparable maturity that bears interest at a prevailing market rate.

You May Receive Only the Stated Principal Amount of Your Notes at Maturity

If the index percent change is zero or negative on the valuation date, the payment at maturity will be limited to the stated principal amount.

Even if the amount paid on your notes at maturity exceeds the stated principal amount of your notes, the overall return you earn on your notes may be less than you would have earned by investing in a note with the same stated maturity that bears interest at the prevailing market rate.

The Notes Are Subject to the Credit Risk of the Issuer and the Guarantor

Although the return on the notes will be based on the performance of the underlying index, the payment of any amount due on the notes is subject to the credit risk of GS Finance Corp., as issuer of the notes, and the credit risk of The Goldman Sachs Group, Inc., as guarantor of the notes. The notes are our unsecured obligations. Investors are dependent on our ability to pay all amounts due on the notes, and therefore investors are subject to our credit risk and to changes in the market's view of our creditworthiness. Similarly, investors are dependent on the ability of The Goldman Sachs Group, Inc., as guarantor of the notes, to pay all amounts due on the notes, and therefore are also subject to its credit risk and to changes in the market's view of its creditworthiness. See 'Description of the Notes We May Offer - Information About Our Medium-Term Notes, Series F Program - How the Notes Rank Against Other Debt' on page S-5 of the accompanying prospectus supplement and 'Description of Debt Securities We May Offer- Guarantee by The Goldman Sachs Group, Inc.' on page 67 of the accompanying prospectus.

The Potential for the Value of Your Notes to Increase Will Be Limited

Your ability to participate in any change in the value of the underlying index over the life of your notes will be limited because of the maximum payment at maturity of $16.00 per note (160.00% of the stated principal amount). The maximum payment at maturity will limit the payment at maturity you may receive for each of your notes, no matter how much the value of the underlying index may rise over the life of your notes. Because the payment at maturity will be limited to 160.00% of the stated principal amount per note, any increase in the final index value over the initial index value by more than 60.000% of the initial index value will not further increase the return on the notes. Accordingly, the amount payable for each of your notes may be significantly less than it would have been had you invested directly in the underlying index.

The Return on Your Notes Will Not Reflect Any Dividends Paid on the Underlying Index Stocks

PS-11

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

The underlying index publisher calculates the value of the underlying index by reference to the prices of its underlying index stocks, without taking account of the value of dividends paid on those underlying index stocks. Therefore, the return on your notes will not reflect the return you would realize if you actually owned the underlying index stocks and received the dividends paid on those underlying index stocks. You will not receive any dividends that may be paid on any of the underlying index stocks by the underlying index stock issuer. See '-Investing in the Notes is Not Equivalent to Investing in the Underlying Index; You Have No Shareholder Rights or Rights to Receive Any Underlying Index Stock' below for additional information.

The Estimated Value of Your Notes At the Time the Terms of Your Notes Are Set On the Pricing Date (as Determined By Reference to Pricing Models Used By GS&Co.) Is Less Than the Original Issue Price Of Your Notes

The original issue price for your notes exceeds the estimated value of your notes as of the time the terms of your notes are set on the pricing date, as determined by reference to GS&Co.'s pricing models and taking into account our credit spreads. Such estimated value on the pricing date is set forth above under 'Estimated Value of Your Notes'; after the pricing date, the estimated value as determined by reference to these models will be affected by changes in market conditions, the creditworthiness of GS Finance Corp., as issuer, the creditworthiness of The Goldman Sachs Group, Inc., as guarantor and other relevant factors. The price at which GS&Co. would initially buy or sell your notes (if GS&Co. makes a market, which it is not obligated to do), and the value that GS&Co. will initially use for account statements and otherwise, also exceeds the estimated value of your notes as determined by reference to these models. As agreed by GS&Co. and the distribution participants, this excess (i.e., the additional amount described under 'Estimated Value of Your Notes') will decline to zero over the period from the date hereof through the applicable date set forth above under 'Estimated Value of Your Notes'. Thereafter, if GS&Co. buys or sells your notes it will do so at prices that reflect the estimated value determined by reference to such pricing models at that time. The price at which GS&Co. will buy or sell your notes at any time also will reflect its then current bid and ask spread for similar sized trades of structured notes.

In estimating the value of your notes as of the time the terms of your notes are set on the pricing date, as disclosed above under 'Estimated Value of Your Notes', GS&Co.'s pricing models consider certain variables, including principally our credit spreads, interest rates (forecasted, current and historical rates), volatility, price-sensitivity analysis and the time to maturity of the notes. These pricing models are proprietary and rely in part on certain assumptions about future events, which may prove to be incorrect. As a result, the actual value you would receive if you sold your notes in the secondary market, if any, to others may differ, perhaps materially, from the estimated value of your notes determined by reference to our models due to, among other things, any differences in pricing models or assumptions used by others. See '- The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors' below.

The difference between the estimated value of your notes as of the time the terms of your notes are set on the pricing date and the original issue price is a result of certain factors, including principally the underwriting discount and commissions, the expenses incurred in creating, documenting and marketing the notes, and an estimate of the difference between the amounts we pay to GS&Co. and the amounts GS&Co. pays to us in connection with your notes. We pay to GS&Co. amounts based on what we would pay to holders of a non-structured note with a similar maturity. In return for such payment, GS&Co. pays to us the amounts we owe under your notes.

In addition to the factors discussed above, the value and quoted price of your notes at any time will reflect many factors and cannot be predicted. If GS&Co. makes a market in the notes, the price quoted by GS&Co. would reflect any changes in market conditions and other relevant factors, including any deterioration in our creditworthiness or perceived creditworthiness or the creditworthiness or perceived creditworthiness of The Goldman Sachs Group, Inc. These changes may adversely affect the value of your notes, including the price you may receive for your notes in any market making transaction. To the extent that GS&Co. makes a market in the notes, the quoted price will reflect the estimated value determined by reference to GS&Co.'s pricing models at that time, plus or minus its then current bid and ask spread for similar sized trades of structured notes (and subject to the declining excess amount described above).

PS-12

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Furthermore, if you sell your notes, you will likely be charged a commission for secondary market transactions, or the price will likely reflect a dealer discount. This commission or discount will further reduce the proceeds you would receive for your notes in a secondary market sale.

There is no assurance that GS&Co. or any other party will be willing to purchase your notes at any price and, in this regard, GS&Co. is not obligated to make a market in the notes. See '- Your Notes May Not Have an Active Trading Market' below.

The Amount Payable on Your Notes Is Not Linked to the Value of the Underlying Index at Any Time Other than the Valuation Date

The final index value will be based on the index closing value on the valuation date (subject to adjustment as described elsewhere in this pricing supplement). Therefore, if the index closing value dropped precipitously on the valuation date, the payment at maturity for your notes may be significantly less than it would have been had the payment at maturity been linked to the index closing value prior to such drop in the value of the underlying index. Although the actual value of the underlying index on the stated maturity date or at other times during the life of your notes may be higher than the final index value, you will not benefit from the index closing value at any time other than on the valuation date.

The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors

When we refer to the market value of your notes, we mean the value that you could receive for your notes if you chose to sell them in the open market before the stated maturity date. A number of factors, many of which are beyond our control, will influence the market value of your notes, including:

the value of the underlying index;

the volatility - i.e., the frequency and magnitude of changes - in the index closing value of the underlying index;

the dividend rates of the underlying index stocks;

economic, financial, regulatory, political, military, public health and other events that affect stock markets generally and the underlying index stocks, and which may affect the index closing value of the underlying index;

interest rates and yield rates in the market;

the time remaining until your notes mature; and

our creditworthiness and the creditworthiness of The Goldman Sachs Group, Inc., whether actual or perceived, including actual or anticipated upgrades or downgrades in our credit ratings or the credit ratings of The Goldman Sachs Group, Inc. or changes in other credit measures.

Without limiting the foregoing, the market value of your notes may be negatively impacted by increasing interest rates. Such adverse impact of increasing interest rates could be significantly enhanced in notes with longer-dated maturities, the market values of which are generally more sensitive to increasing interest rates.

These factors, and many other factors, will influence the price you will receive if you sell your notes before maturity, including the price you may receive for your notes in any market making transaction. If you sell your notes before maturity, you may receive less than the principal amount of your notes or the amount you may receive at maturity.

You cannot predict the future performance of the underlying index based on its historical performance. The actual performance of the underlying index over the life of the offered notes or the payment at maturity may bear little or no relation to the historical index closing values of the underlying index or to the hypothetical examples shown elsewhere in this pricing supplement.

PS-13

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Your Notes May Not Have an Active Trading Market

Your notes will not be listed or displayed on any securities exchange or included in any interdealer market quotation system, and there may be little or no secondary market for your notes. Even if a secondary market for your notes develops, it may not provide significant liquidity and we expect that transaction costs in any secondary market would be high. As a result, the difference between bid and asked prices for your notes in any secondary market could be substantial.

If the Value of the Underlying Index Changes, the Market Value of Your Notes May Not Change in the Same Manner

The price of your notes may move quite differently than the performance of the underlying index. Changes in the value of the underlying index may not result in a comparable change in the market value of your notes. Even if the value of the underlying index increases above the initial index value during some portion of the life of the notes, the market value of your notes may not reflect this amount. We discuss some of the reasons for this disparity under '- The Market Value of Your Notes May Be Influenced by Many Unpredictable Factors' above.

Other Investors May Not Have the Same Interests as You

Other investors in the notes are not required to take into account the interests of any other investor in exercising remedies or voting or other rights in their capacity as note holders. The interests of other investors may, in some circumstances, be adverse to your interests. Further, other investors in the market may take short positions (directly or indirectly through derivative transactions) on assets that are the same or similar to your notes, the underlying stocks or other similar securities, which may adversely impact the market for or value of your notes.

Hedging Activities by Goldman Sachs or Our Distributors May Negatively Impact Investors in the Notes and Cause Our Interests and Those of Our Clients and Counterparties to be Contrary to Those of Investors in the Notes

Goldman Sachs has hedged or expects to hedge our obligations under the notes by purchasing listed or over-the-counter options, futures and/or other instruments linked to the underlying index or the underlying index stocks. Goldman Sachs also expects to adjust the hedge by, among other things, purchasing or selling any of the foregoing, and perhaps other instruments linked to the underlying index or the underlying index stocks, at any time and from time to time, and to unwind the hedge by selling any of the foregoing on or before the valuation date for your notes. Alternatively, Goldman Sachs may hedge all or part of our obligations under the notes with unaffiliated distributors of the notes which we expect will undertake similar market activity. Goldman Sachs may also enter into, adjust and unwind hedging transactions relating to other index-linked securities whose returns are linked to changes in the value of the underlying index or the underlying index stocks, as applicable.

In addition to entering into such transactions itself, or distributors entering into such transactions, Goldman Sachs may structure such transactions for its clients or counterparties, or otherwise advise or assist clients or counterparties in entering into such transactions. These activities may be undertaken to achieve a variety of objectives, including: permitting other purchasers of the notes or other securities to hedge their investment in whole or in part; facilitating transactions for other clients or counterparties that may have business objectives or investment strategies that are inconsistent with or contrary to those of investors in the notes; hedging the exposure of Goldman Sachs to the notes including any interest in the notes that it reacquires or retains as part of the offering process, through its market-making activities or otherwise; enabling Goldman Sachs to comply with its internal risk limits or otherwise manage firmwide, business unit or product risk; and/or enabling Goldman Sachs to take directional views as to relevant markets on behalf of itself or its clients or counterparties that are inconsistent with or contrary to the views and objectives of the investors in the notes.

Any of these hedging or other activities may adversely affect the value of the underlying index - directly or indirectly by affecting the value of the underlying index stocks - and therefore the market value of your notes and the amount we will pay on your notes at maturity. In addition, you should expect that these transactions will cause Goldman Sachs or its clients, counterparties or distributors to have economic

PS-14

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

interests and incentives that do not align with, and that may be directly contrary to, those of an investor in the notes. Neither Goldman Sachs nor any distributor will have any obligation to take, refrain from taking or cease taking any action with respect to these transactions based on the potential effect on an investor in the notes, and may receive substantial returns on hedging or other activities while the value of your notes declines. In addition, if the distributor from which you purchase notes is to conduct hedging activities in connection with the notes, that distributor may otherwise profit in connection with such hedging activities and such profit, if any, will be in addition to the compensation that the distributor receives for the sale of the notes to you. You should be aware that the potential to earn fees in connection with hedging activities may create a further incentive for the distributor to sell the notes to you in addition to the compensation they would receive for the sale of the notes.

Goldman Sachs' Trading and Investment Activities for its Own Account or for its Clients, Could Negatively Impact Investors in the Notes

Goldman Sachs is a global investment banking, securities and investment management firm that provides a wide range of financial services to a substantial and diversified client base that includes corporations, financial institutions, governments and individuals. As such, it acts as an investor, investment banker, research provider, investment manager, investment advisor, market maker, trader, prime broker and lender. In those and other capacities, Goldman Sachs purchases, sells or holds a broad array of investments, actively trades securities, derivatives, loans, commodities, currencies, credit default swaps, indices, baskets and other financial instruments and products for its own account or for the accounts of its customers, and will have other direct or indirect interests, in the global fixed income, currency, commodity, equity, bank loan and other markets. Any of Goldman Sachs' financial market activities may, individually or in the aggregate, have an adverse effect on the market for your notes, and you should expect that the interests of Goldman Sachs or its clients or counterparties will at times be adverse to those of investors in the notes.

Goldman Sachs regularly offers a wide array of securities, financial instruments and other products into the marketplace, including existing or new products that are similar to your notes, or similar or linked to the underlying index or underlying index stocks. Investors in the notes should expect that Goldman Sachs will offer securities, financial instruments, and other products that will compete with the notes for liquidity, research coverage or otherwise.

The Policies of the Underlying Index Publisher and Changes That Affect the Underlying Index or the Underlying Index Stocks Comprising the Underlying Index Could Affect the Payment at Maturity and the Market Value of the Notes

The policies of the underlying index publisher concerning the calculation of the value of the underlying index, additions, deletions or substitutions of underlying index stocks and the manner in which changes affecting the underlying index stocks or their issuers, such as stock dividends, reorganizations or mergers, are reflected in the value of the underlying index, could affect the value of the underlying index and, therefore, the payment at maturity and the market value of your notes before the stated maturity date. The payment at maturity and the market value of your notes could also be affected if the underlying index publisher changes these policies, for example, by changing the manner in which it calculates the underlying index value or if the underlying index publisher discontinues or suspends calculation or publication of the value of the underlying index, in which case it may become difficult to determine the market value of your notes. If events such as these occur, the calculation agent - which initially will be GS&Co., our affiliate - may determine the index closing value of the underlying index on any such date - and thus the payment at maturity - in a manner it considers appropriate, in its sole discretion. We describe the discretion that the calculation agent will have in determining the underlying index value on any index business day or the valuation date and the payment at maturity more fully under 'Supplemental Terms of the Notes - Discontinuance or Modification of an Underlier' and '- Role of Calculation Agent' on page S-25 of the accompanying general terms supplement no. 2,012.

Investing in the Notes is Not Equivalent to Investing in the Underlying Index; You Have No Shareholder Rights or Rights to Receive Any Underlying Index Stock

PS-15

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Investing in your notes is not equivalent to investing in the underlying index and will not make you a holder of any of the underlying index stocks. Neither you nor any other holder or owner of your notes will have any rights with respect to the underlying index stocks, including any voting rights, any right to receive dividends or other distributions, any rights to make a claim against the underlying index stocks or any other rights of a holder of the underlying index stocks. Your notes will be paid in cash and you will have no right to receive delivery of any underlying index stocks.

We May Sell an Additional Aggregate Stated Principal Amount of the Notes at a Different Issue Price

At our sole option, we may decide to sell an additional aggregate stated principal amount of the notes subsequent to the date of this pricing supplement. The issue price of the notes in the subsequent sale may differ substantially (higher or lower) from the original issue price you paid as provided on the cover of this pricing supplement.

If You Purchase Your Notes at a Premium to Stated Principal Amount, the Return on Your Investment Will Be Lower Than the Return on Notes Purchased at Stated Principal Amount and the Impact of Certain Key Terms of the Notes Will be Negatively Affected

The payment at maturity will not be adjusted based on the issue price you pay for the notes. If you purchase notes at a price that differs from the stated principal amount of the notes, then the return on your investment in such notes held to the stated maturity date will differ from, and may be substantially less than, the return on notes purchased at stated principal amount. If you purchase your notes at a premium to stated principal amount and hold them to the stated maturity date the return on your investment in the notes will be lower than it would have been had you purchased the notes at stated principal amount or a discount to stated principal amount.

Additional Risks Related to the EURO STOXX 50® Index

An Investment in the Offered Notes Is Subject to Risks Associated with Foreign Securities

The value of your notes is linked to an underlying index that is comprised of stocks from one or more foreign securities markets. Investments linked to the value of foreign equity securities involve particular risks. Any foreign securities market may be less liquid, more volatile and affected by global or domestic market developments in a different way than are the U.S. securities market or other foreign securities markets. Both government intervention in a foreign securities market, either directly or indirectly, and cross-shareholdings in foreign companies, may affect trading prices and volumes in that market. Also, there is generally less publicly available information about foreign companies than about those U.S. companies that are subject to the reporting requirements of the U.S. Securities and Exchange Commission. Further, foreign companies are subject to accounting, auditing and financial reporting standards and requirements that differ from those applicable to U.S. reporting companies.

The prices of securities in a foreign country are subject to political, economic, financial and social factors that are unique to such foreign country's geographical region. These factors include: recent changes, or the possibility of future changes, in the applicable foreign government's economic and fiscal policies; the possible implementation of, or changes in, currency exchange laws or other laws or restrictions applicable to foreign companies or investments in foreign equity securities; fluctuations, or the possibility of fluctuations, in currency exchange rates; and the possibility of outbreaks of hostility, political instability, natural disaster or adverse public health developments. The United Kingdom ceased to be a member of the European Union on January 31, 2020 (an event commonly referred to as 'Brexit'). The effects of Brexit are uncertain, and, among other things, Brexit has contributed, and may continue to contribute, to volatility in the prices of securities of companies located in Europe (or elsewhere) and currency exchange rates, including the valuation of the euro and British pound in particular. Any one of these factors, or the combination of more than one of these factors, could negatively affect such foreign securities market and the price of securities therein. Further, geographical regions may react to global factors in different ways, which may cause the prices of securities in a foreign securities market to fluctuate in a way that differs from those of securities in the U.S. securities market or other foreign securities markets. Foreign economies may also differ from the U.S. economy in important respects, including growth of gross

PS-16

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

national product, rate of inflation, capital reinvestment, resources and self-sufficiency, which may have a positive or negative effect on foreign securities prices.

Government Regulatory Action, Including Legislative Acts and Executive Orders, Could Result in Material Changes to the Composition of an Underlying Index with Underlying Index Stocks from One or More Foreign Securities Markets and Could Negatively Affect Your Return on the Notes

Government regulatory action, including legislative acts and executive orders, could cause material changes to the composition of an underlying index with underlying index stocks from one or more foreign securities markets and could negatively affect your investment in the notes in a variety of ways, depending on the nature of such government regulatory action and the underlying index stocks that are affected. For example, pursuant to recent executive orders issued by the United States Government, United States persons are prohibited from engaging in transactions in, or possessing, publicly traded securities of certain companies that are determined to be linked to the People's Republic of China military, intelligence and security apparatus, or securities that are derivative of, or that are designed to provide investment exposure to, those securities (including indexed notes). If the prohibitions in those executive orders (or prohibitions under other government regulatory action) become applicable to underlying index stocks that are currently included in an underlying index or that in the future are included in an underlying index, such underlying index stocks may be removed from an underlying index. If government regulatory action results in the removal of underlying index stocks that have (or historically have had) significant weight in an underlying index, such removal could have a material and negative effect on the level of such underlying index and, therefore, your investment in the notes. Similarly, if underlying index stocks that are subject to those executive orders or subject to other government regulatory action are not removed from an underlying index, the value of the notes could be materially and negatively affected, and transactions in, or holdings of, the notes may become prohibited under United States law. Any failure to remove such underlying index stocks from an underlying index could result in the loss of a significant portion or all of your investment in the notes, including if you are forced to divest the notes at a time when the value of the notes has declined.

Risks Related to Tax

Your Notes Will Be Treated as Debt Instruments Subject to Special Rules Governing Contingent Payment Debt Instruments for U.S. Federal Income Tax Purposes

The notes will be treated as debt instruments subject to special rules governing contingent payment debt instruments for U.S. federal income tax purposes. If you are a U.S. individual or taxable entity, you generally will be required to pay taxes on ordinary income from the notes over their term based on the comparable yield for the notes, even though you will not receive any payments from us until maturity. This comparable yield is determined solely to calculate the amount on which you will be taxed prior to maturity and is neither a prediction nor a guarantee of what the actual yield will be. In addition, any gain you may recognize on the sale, exchange or maturity of the notes will be taxed as ordinary interest income. If you are a secondary purchaser of the notes, the tax consequences to you may be different. Please see 'Supplemental Discussion of U.S. Federal Income Tax Consequences' below for a more detailed discussion. Please also consult your tax advisor concerning the U.S. federal income tax and any other applicable tax consequences to you of owning your notes in your particular circumstances.

Foreign Account Tax Compliance Act (FATCA) Withholding May Apply to Payments on Your Notes, Including as a Result of the Failure of the Bank or Broker Through Which You Hold the Notes to Provide Information to Tax Authorities

Please see the discussion under 'United States Taxation - Taxation of Debt Securities - Foreign Account Tax Compliance Act (FATCA) Withholding' in the accompanying prospectus for a description of the applicability of FATCA to payments made on your notes.

PS-17

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

The Underlying Index

The EURO STOXX 50® Index is a free-float market capitalization-weighted index of 50 European blue-chip stocks. The 50 stocks included in the EURO STOXX 50® Index are allocated to one of the following Eurozone countries based on their country of incorporation, primary listing and largest trading volume: Austria, Belgium, Finland, France, Germany, Ireland, Italy, Luxembourg, the Netherlands, Portugal and Spain. For more details about the underlying index, the underlying index publisher and license agreement between the underlying index publisher and the issuer, see 'The Underliers - EURO STOXX 50® Index' on page S-34 in the accompanying underlier supplement no. 19.

The EURO STOXX 50® is the intellectual property of STOXX Limited, Zurich, Switzerland and/or its licensors ('Licensors'), which is used under license. The notes or other financial instruments based on the underlying index are in no way sponsored, endorsed, sold or promoted by STOXX and its Licensors and neither STOXX nor its Licensors shall have any liability with respect thereto.

PS-18

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Historical Index Closing Values

The index closing values have fluctuated in the past and may, in the future, experience significant fluctuations. In particular, the underlying index has recently experienced extreme and unusual volatility. Any historical upward or downward trend in the index closing value during any period shown below is not an indication that the underlying index is more or less likely to increase or decrease at any time during the life of your notes.

You should not take the historical index closing values as an indication of the future performance of the underlying index,including because of the recent volatility described above. We cannot give you any assurance that the future performance of the underlying index or the underlying index stocks will result in your receiving an amount greater than the outstanding principal amount of your notes on the stated maturity date.

Neither we nor any of our affiliates make any representation to you as to the performance of the underlying index. Before investing in the offered notes, you should consult publicly available information to determine the relevant index closing values between the date of this pricing supplement and the date of your purchase of the offered notesand, given the recent volatility described above, you should pay particular attention to recent levels of the underlying index. The actual performance of the underlying index over the life of the offered notes, as well as the payment at maturity, may bear little relation to the historical index closing values shown below.

The table below shows the high, low and period end index closing values of the EURO STOXX 50® Index each of the four calendar quarters in 2016, 2017, 2018, 2019, 2020 and the first two calendar quarters of 2021 (through April 30, 2021). We obtained the index closing values listed in the tables below from Bloomberg Financial Services, without independent verification.

PS-19

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Historical Quarterly High, Low and Period End Index Closing Values of the EURO STOXX 50® Index

High

Low

Period End

2016

Quarter ended March 31

3,178.01

2,680.35

3,004.93

Quarter ended June 30

3,151.69

2,697.44

2,864.74

Quarter ended September 30

3,091.66

2,761.37

3,002.24

Quarter ended December 31

3,290.52

2,954.53

3,290.52

2017

Quarter ended March 31

3,500.93

3,230.68

3,500.93

Quarter ended June 30

3,658.79

3,409.78

3,441.88

Quarter ended September 30

3,594.85

3,388.22

3,594.85

Quarter ended December 31

3,697.40

3,503.96

3,503.96

2018

Quarter ended March 31

3,672.29

3,278.72

3,361.50

Quarter ended June 30

3,592.18

3,340.35

3,395.60

Quarter ended September 30

3,527.18

3,293.36

3,399.20

Quarter ended December 31

3,414.16

2,937.36

3,001.42

2019

Quarter ended March 31

3,409.00

2,954.66

3,351.71

Quarter ended June 30

3,514.62

3,280.43

3,473.69

Quarter ended September 30

3,571.39

3,282.78

3,569.45

Quarter ended December 31

3,782.27

3,413.31

3,745.15

2020

Quarter ended March 31

3,865.18

2,385.82

2,786.90

Quarter ended June 30

3,384.29

2,662.99

3,234.07

Quarter ended September 30

3,405.35

3,137.06

3,193.61

Quarter ended December 31

3,581.37

2,958.21

3,552.64

2021

Quarter ended March 31

3,926.20

3,481.44

3,919.21

Quarter ending June 30 (through April 30, 2021)

4,032.99

3,940.46

3,974.74

PS-20

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

The graph below shows the daily historical index closing values from January 1, 2016 through April 30, 2021. As a result, the following graph does not reflect the global financial crisis which began in 2008, which had a materially negative impact on the price of most equity securities and, as a result, the level of most equity indices. We obtained the index closing values in the graph below from Bloomberg Financial Services, without independent verification.

Historical Performance of the EURO STOXX 50® Index

PS-21

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Supplemental Discussion of U.S. Federal Income Tax Consequences

The following section supplements the discussion of U.S. federal income taxation in the accompanying prospectus.

The following section is the opinion of Sidley Austin llp, counsel to GS Finance Corp. and The Goldman Sachs Group, Inc. It applies to you only if you hold your notes as a capital asset for tax purposes. This section does not apply to you if you are a member of a class of holders subject to special rules, such as:

a dealer in securities or currencies;

a trader in securities that elects to use a mark-to-market method of accounting for your securities holdings;

a bank;

a regulated investment company;

a life insurance company;

a tax-exempt organization;

a partnership;

an accrual method taxpayer subject to special tax accounting rules as a result of its use of financial statements;

a person that owns the notes as a hedge or that is hedged against interest rate risks;

a person that owns the notes as part of a straddle or conversion transaction for tax purposes; or

a United States holder (as defined below) whose functional currency for tax purposes is not the U.S. dollar.

This section is based on the U.S. Internal Revenue Code of 1986, as amended, its legislative history, existing and proposed regulations under the Internal Revenue Code, published rulings and court decisions, all as currently in effect. These laws are subject to change, possibly on a retroactive basis.

You should consult your tax advisor concerning the U.S. federal income tax and other tax consequences of your investment in the notes, including the application of state, local or other tax laws and the possible effects of changes in federal or other tax laws.

United States Holders

This subsection describes the tax consequences to a United States holder. You are a United States holder if you are a beneficial owner of notes and you are:

a citizen or resident of the United States;

a domestic corporation;

an estate whose income is subject to U.S. federal income tax regardless of its source; or

a trust if a United States court can exercise primary supervision over the trust's administration and one or more United States persons are authorized to control all substantial decisions of the trust.

If you are not a United States holder, this section does not apply to you and you should refer to '- Non-United States Holders' below.

Your notes will be treated as debt instruments subject to special rules governing contingent payment debt instruments for U.S. federal income tax purposes. Under those rules, the amount of interest you are required to take into account for each accrual period will be determined by constructing a projected payment schedule for your notes and applying rules similar to those for accruing original issue discount

PS-22

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

on a hypothetical noncontingent debt instrument with that projected payment schedule. This method is applied by first determining the yield at which we would issue a noncontingent fixed rate debt instrument with terms and conditions similar to your notes (the 'comparable yield') and then determining as of the issue date a payment schedule that would produce the comparable yield. These rules will generally have the effect of requiring you to include amounts in income in respect of your notes, even though you will not receive any payments from us until maturity.

We have determined that the comparable yield for the notes is equal to 1.9879% per annum, compounded semi-annually with a projected payment at maturity of $11.48 based on an investment of $10.

Based on this comparable yield, if you are an initial holder that holds a note until maturity and you pay your taxes on a calendar year basis, we have determined that you would be required to report the following amounts as ordinary income, not taking into account any positive or negative adjustments you may be required to take into account based on the actual payments on the notes, from the note each year:

Accrual Period

Interest Deemed to Accrue During Accrual Period (per $10 note)

Total Interest Deemed to Have Accrued from Original Issue Date (per $10 note) as of End of Accrual Period

May 6, 2021 through December 31, 2021

$0.13

$0.13

January 1, 2022 through December 31, 2022

$0.20

$0.33

January 1, 2023 through December 31, 2023

$0.20

$0.53

January 1, 2024 through December 31, 2024

$0.21

$0.74

January 1, 2025 through December 31, 2025

$0.21

$0.95

January 1, 2026 through December 31, 2026

$0.21

$1.16

January 1, 2027 through December 31, 2027

$0.23

$1.39

January 1, 2028 through May 4, 2028

$0.09

$1.48

You are required to use the comparable yield and projected payment schedule that we compute in determining your interest accruals in respect of your notes, unless you timely disclose and justify on your U.S. federal income tax return the use of a different comparable yield and projected payment schedule.

The comparable yield and projected payment schedule are not provided to you for any purpose other than the determination of your interest accruals in respect of your notes, and we make no representation regarding the amount of contingent payments with respect to your notes.

If you purchase your notes at a price other than their adjusted issue price determined for tax purposes, you must determine the extent to which the difference between the price you paid for your notes and their adjusted issue price is attributable to a change in expectations as to the projected payment schedule, a change in interest rates, or both, and reasonably allocate the difference accordingly. The adjusted issue price of your notes will equal your notes' original issue price plus any interest deemed to be accrued on your notes (under the rules governing contingent payment debt instruments) as of the time you purchase your notes. The original issue price of your notes will be the first price at which a substantial amount of the notes is sold to persons other than bond houses, brokers or similar persons or organizations acting in the capacity of underwriters, placement agents or wholesalers. Therefore, you may be required to make the adjustments described above even if you purchase your notes in the initial offering if you purchase your notes at a price other than the issue price.

If the adjusted issue price of your notes is greater than the price you paid for your notes, you must make positive adjustments increasing (i) the amount of interest that you would otherwise accrue and include in income each year, and (ii) the amount of ordinary income (or decreasing the amount of ordinary loss) recognized upon maturity by the amounts allocated under the previous paragraph to each of interest and the projected payment schedule; if the adjusted issue price of your notes is less than the price you paid for your notes, you must make negative adjustments, decreasing (i) the amount of interest that you must include in income each year, and (ii) the amount of ordinary income (or increasing the amount of ordinary

PS-23

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

loss) recognized upon maturity by the amounts allocated under the previous paragraph to each of interest and the projected payment schedule. Adjustments allocated to the interest amount are not made until the date the daily portion of interest accrues.

Because any Form 1099-OID that you receive will not reflect the effects of positive or negative adjustments resulting from your purchase of notes at a price other than the adjusted issue price determined for tax purposes, you are urged to consult with your tax advisor as to whether and how adjustments should be made to the amounts reported on any Form 1099-OID.

You will recognize gain or loss upon the sale, exchange or maturity of your notes in an amount equal to the difference, if any, between the cash amount you receive at such time and your adjusted basis in your notes. In general, your adjusted basis in your notes will equal the amount you paid for your notes, increased by the amount of interest you previously accrued with respect to your notes (in accordance with the comparable yield and the projected payment schedule for your notes), and increased or decreased by the amount of any positive or negative adjustment, respectively, that you are required to make if you purchase your notes at a price other than the adjusted issue price determined for tax purposes.

Any gain you recognize upon the sale, exchange or maturity of your notes will be ordinary interest income. Any loss you recognize at such time will be ordinary loss to the extent of interest you included as income in the current or previous taxable years in respect of your notes, and thereafter, capital loss. If you are a noncorporate holder, you would generally be able to use such ordinary loss to offset your income only in the taxable year in which you recognize the ordinary loss and would generally not be able to carry such ordinary loss forward or back to offset income in other taxable years.

Non-United States Holders

If you are a Non-United States holder, please see the discussion under 'United States Taxation - Taxation of Debt Securities - Non-United States Holders' in the accompanying prospectus for a description of the tax consequences relevant to you. You are a Non-United States holder if you are the beneficial owner of the notes and are, for U.S. federal income tax purposes:

a nonresident alien individual;

a foreign corporation; or

an estate or trust that in either case is not subject to U.S. federal income tax on a net income basis on income or gain from the notes.

The Treasury Department has issued regulations under which amounts paid or deemed paid on certain financial instruments ('871(m) financial instruments') that are treated as attributable to U.S.-source dividends could be treated, in whole or in part depending on the circumstances, as a 'dividend equivalent' payment that is subject to tax at a rate of 30% (or a lower rate under an applicable treaty), which in the case of amounts you receive upon the sale, exchange or maturity of your notes, could be collected via withholding. If these regulations were to apply to the notes, we may be required to withhold such taxes if any U.S.-source dividends are paid on the stocks included in the underlying index during the term of the notes. We could also require you to make certifications (e.g., an applicable Internal Revenue Service Form W-8) prior to the maturity of the notes in order to avoid or minimize withholding obligations, and we could withhold accordingly (subject to your potential right to claim a refund from the Internal Revenue Service) if such certifications were not received or were not satisfactory. If withholding was required, we would not be required to pay any additional amounts with respect to amounts so withheld. These regulations generally will apply to 871(m) financial instruments (or a combination of financial instruments treated as having been entered into in connection with each other) issued (or significantly modified and treated as retired and reissued) on or after January 1, 2023, but will also apply to certain 871(m) financial instruments (or a combination of financial instruments treated as having been entered into in connection with each other) that have a delta (as defined in the applicable Treasury regulations) of one and are issued (or significantly modified and treated as retired and reissued) on or after January 1, 2017. In addition, these regulations will not apply to financial instruments that reference a 'qualified index' (as defined in the regulations). We have determined that, as of the issue date of your notes, your notes will not be subject to withholding under these rules. In certain limited circumstances, however, you should be

PS-24

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

aware that it is possible for Non-United States holders to be liable for tax under these rules with respect to a combination of transactions treated as having been entered into in connection with each other even when no withholding is required. You should consult your tax advisor concerning these regulations, subsequent official guidance and regarding any other possible alternative characterizations of your notes for U.S. federal income tax purposes.

Foreign Account Tax Compliance Act (FATCA) Withholding

Pursuant to Treasury regulations, Foreign Account Tax Compliance Act (FATCA) withholding (as described in 'United States Taxation-Taxation of Debt Securities-Foreign Account Tax Compliance Act (FATCA) Withholding' in the accompanying prospectus) will generally apply to obligations that are issued on or after July 1, 2014; therefore, the notes will generally be subject to the FATCA withholding rules.

PS-25

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Additional Information About the Notes

This section is meant as a summary and should be read in conjunction with the section entitled 'Supplemental Terms of the Notes' on page S-14 of the accompanying general terms supplement no. 2,012. This pricing supplement supersedes any conflicting provisions of the accompanying general terms supplement no. 2,012.

Please read this information in conjunction with the final terms on the front cover of this pricing supplement.

Additional Provisions:

Underlying index publisher:

STOXX Limited

Denominations:

$10 and integral multiples of $10 in excess thereof

Interest:

None

Postponement of stated maturity date:

As described under 'Supplemental Terms of the Notes - Stated Maturity Date' on page S-14 of the accompanying general terms supplement no. 2,012

Postponement of valuation date:

As described under 'Supplemental Terms of the Notes - Determination Date' on page S-15 of the accompanying general terms supplement no. 2,012

Specified currency:

U.S. dollars ('$')

Index closing value:

As described under 'Supplemental Terms of the Notes - Special Calculation Provisions - Closing Value, Index Closing Level' on page S-29 of the accompanying general terms supplement no. 2,012

Business day:

As described under 'Supplemental Terms of the Notes - Special Calculation Provisions - Business Day' on page S-28 of the accompanying general terms supplement no. 2,012

Index business day:

As described under 'Supplemental Terms of the Notes - Special Calculation Provisions - Trading Day' on page S-29 of the accompanying general terms supplement no. 2,012

FDIC:

The notes are not bank deposits and are not insured by the Federal Deposit Insurance Corporation or any other governmental agency, nor are they obligations of, or guaranteed by, a bank

Trustee:

The Bank of New York Mellon

Calculation agent:

GS&Co.

Use of proceeds and hedging:

As described under 'Use of Proceeds' and 'Hedging' on page S-34 of the accompanying general terms supplement no. 2,012

ERISA:

As described under 'Employee Retirement Income Security Act' on page S-35 of the accompanying general terms supplement no. 2,012

Supplemental plan of distribution; conflicts of interest:

As described under 'Supplemental Plan of Distribution' on page S-36 of the accompanying general terms supplement no. 2,012 and 'Plan of Distribution - Conflicts of Interest' on page 125 of the accompanying prospectus; GS Finance Corp. estimates that its share of the total offering expenses, excluding underwriting discounts and commissions, will be approximately $20,000.

GS Finance Corp. will sell to GS&Co., and GS&Co. will purchase from GS Finance Corp., the aggregate stated principal amount of the offered notes specified on the front cover of this pricing supplement. GS&Co. proposes initially to offer the notes to the public at the original issue price set forth on the cover page of this pricing supplement. Morgan Stanley Smith Barney LLC (Morgan Stanley Wealth Management), acting as dealer for the offering, will receive a selling concession of $0.35, or 3.50% of the principal amount, for each note it sells. Morgan Stanley Wealth Management has informed us that it intends to internally allocate at Morgan Stanley Wealth Management $0.05 of the selling concession, or 0.50% of the principal amount, for each note as a structuring fee. GS&Co. is an affiliate of GS Finance Corp. and The Goldman Sachs Group, Inc. and, as such, will have a 'conflict of interest' in this offering of notes within the meaning of Financial Industry Regulatory Authority, Inc. (FINRA) Rule 5121. Consequently, this offering of notes will be conducted in compliance with the provisions of FINRA Rule 5121. GS&Co. will not be permitted to sell notes in this offering to an account over which it exercises discretionary authority without the prior specific written approval of the account holder.

We will deliver the notes against payment therefor in New York, New York on May 6, 2021. Under Rule 15c6-1 of the Securities Exchange Act of 1934, trades in the secondary market generally are required to settle in two business days, unless the parties to any such trade expressly agree otherwise. Accordingly, purchasers who wish to trade notes on any date prior to two business days before delivery will be required to specify alternative settlement arrangements to prevent a failed settlement.

We have been advised by GS&Co. that it intends to make a market in the notes. However, neither GS&Co. nor any of our other affiliates that makes a market is obligated to do so and any of them may stop doing so at any time.

PS-26

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

About Your Notes:

The notes are notes that are part of the Medium-Term Notes, Series F program of GS Finance Corp., and are fully and unconditionally guaranteed by The Goldman Sachs Group, Inc. This prospectus includes this pricing supplement and the accompanying documents listed below. This pricing supplement constitutes a supplement to the documents listed below and should be read in conjunction with such documents:

General terms supplement no. 2,012 dated March 22, 2021

Underlier supplement no. 19 dated April 28, 2021

Prospectus supplement dated March 22, 2021

Prospectus dated March 22, 2021

The information in this pricing supplement supersedes any conflicting information in the documents listed above. In addition, some of the terms or features described in the listed documents may not apply to your notes.

Please note that, for purposes of this pricing supplement, references in the general terms supplement no. 2,012 to 'underlier(s)', 'indices', 'exchange-traded fund(s)', 'lesser performing', 'trade date', 'underlier sponsor', 'determination date', 'face amount', 'level' and 'cash settlement amount' shall be deemed to refer to 'underlying(s)', 'underlying index(es)', 'underlying ETF(s)', 'worst performing', 'pricing date', 'underlying publisher', 'valuation date', 'principal amount', 'value' and 'payment at maturity', respectively. In addition, for purposes of this pricing supplement, references in the general terms supplement no. 2,012 to 'trading day' shall be deemed to refer to 'underlying business day', 'index business day' or 'ETF business day', as applicable, and references to 'closing level' shall be deemed to refer to 'closing price', 'closing value', 'index closing value' or 'ETF closing price', as applicable.

Please note that, for purposes of this pricing supplement, references in the underlier supplement no. 18 to 'underlier(s)', 'indices', 'exchange-traded fund(s)', 'trade date' and 'underlier sponsor' shall be deemed to refer to 'underlying(s)', 'underlying index(es)', 'underlying ETF(s)', 'pricing date' and 'underlying index publisher', respectively.

PS-27

April 2021

GS Finance Corp.

Market-Linked Notes Based on the Value of the EURO STOXX 50®Index due May 4, 2028

Validity of the Notes and Guarantee:

In the opinion of Sidley Austin LLP, as counsel to GS Finance Corp. and The Goldman Sachs Group, Inc., when the notes offered by this pricing supplement have been executed and issued by GS Finance Corp., such notes have been authenticated by the trustee pursuant to the indenture, and such notes have been delivered against payment as contemplated herein, (a) such notes will be valid and binding obligations of GS Finance Corp., enforceable in accordance with their terms, subject to applicable bankruptcy, insolvency and similar laws affecting creditors' rights generally, concepts of reasonableness and equitable principles of general applicability (including, without limitation, concepts of good faith, fair dealing and the lack of bad faith), provided that such counsel expresses no opinion as to the effect of fraudulent conveyance, fraudulent transfer or similar provision of applicable law on the conclusions expressed above and (b) the guarantee with respect to such notes will be a valid and binding obligation of The Goldman Sachs Group, Inc., enforceable in accordance with its terms, subject to applicable bankruptcy, insolvency and similar laws affecting creditors' rights generally, concepts of reasonableness and equitable principles of general applicability (including, without limitation, concepts of good faith, fair dealing and the lack of bad faith), provided that such counsel expresses no opinion as to the effect of fraudulent conveyance, fraudulent transfer or similar provision of applicable law on the conclusions expressed above. This opinion is given as of the date hereof and is limited to the laws of the State of New York and the General Corporation Law of the State of Delaware as in effect on the date hereof. In addition, this opinion is subject to customary assumptions about the trustee's authorization, execution and delivery of the indenture and the genuineness of signatures and certain factual matters, all as stated in the letter of such counsel dated February 23, 2021, which has been filed as Exhibit 5.6 to the registration statement on Form S-3 filed with the Securities and Exchange Commission by GS Finance Corp. and The Goldman Sachs Group, Inc. on February 23, 2021.

PS-28

April 2021

We have not authorized anyone to provide any information or to make any representations other than those contained or incorporated by reference in this pricing supplement, the accompanying general terms supplement no. 2,012, the accompanying underlier supplement no. 19, the accompanying prospectus supplement or the accompanying prospectus. We take no responsibility for, and can provide no assurance as to the reliability of, any other information that others may give you. This pricing supplement, the accompanying general terms supplement no. 2,012, the accompanying underlier supplement no. 19, the accompanying prospectus supplement and the accompanying prospectus is an offer to sell only the notes offered hereby, but only under circumstances and in jurisdictions where it is lawful to do so. The information contained in this pricing supplement, the accompanying general terms supplement no. 2,012, the accompanying underlier supplement no. 19, the accompanying prospectus supplement and the accompanying prospectus is current only as of the respective dates of such documents.

$1,165,630

GS Finance Corp.

Market-Linked Notes BasedontheValueofthe EURO STOXX 50®Indexdue May 4, 2028


Goldman Sachs & Co. LLC