Subject to Completion. April 30, 2026. GS Finance Corp. $Leveraged Callable S&P 500Futures Excess Return Index-Linked Notes due guaranteed byThe Goldman Sachs Group, Inc.® The notes do not bear interest.The notes will mature on the stated maturity date (expected to be June 3, 2031), unless we redeem them.We may redeem your notes at 100% of their face amount plus an amountequal totheproductof $1,000timesthe applicable call premium amount on any monthly call payment date beginning in June 2027 and ending inMay 2031.The call payment dates and applicable call premium amount for each call payment date are specified onpage PS-4 of this pricing supplement. If we do not redeem your notes, the amount that you will be paid on your notes on the stated maturity date is based onthe performance of the S&P 500®Futures Excess Return Index as measured from the trade date (expected to be May29, 2026) to and including the determination date (expected to be May 27, 2031). The index tracks the performance of E-mini S&P 500 futures contracts, not the S&P 500®Index. Generally, thereturn on an investment in a futures contract is correlated with, but not the same as, the return on buying andholding the securities underlying such contract. If the final index level on the determination date isgreater thanthe initial index level (set on the trade date and will bean intra-day level or the closing level of the index on the trade date), the return on your notes will be positive and willequal 2timesthe index return. The index return is the percentage increase or decrease in the final index level from the If the final index level isequal toorless thanthe initial index level, you will receive the face amount of yournotes. At maturity, for each $1,000 face amount of your notes, you will receive an amount in cash equal to: •if the index return ispositive(the final index level isgreater thanthe initial index level), thesumof (i) $1,000plus(ii)theproductof (a) $1,000times(b) 2times(c) the index return; or•if the index return iszeroornegative(the final index level isequal toorless thanthe initial index level), $1,000. You should read the disclosure herein to better understand the terms and risks of your investment, includingthe credit risk of GS Finance Corp. and The Goldman Sachs Group, Inc. See page PS-9. The estimated value of your notes at the time the terms of your notes are set on the trade date is expected to bebetween $885 and $935 per $1,000 face amount. For a discussion of the estimated value and the price at whichGoldman Sachs & Co. LLC would initially buy or sell your notes, if it makes a market in the notes, see the following Original issue date:expected to be June 3, 2026Original issue price:Underwriting discount:% of the face amount*Net proceeds to the issuer: * The original issue price will be% for certain investors; see “Supplemental Plan of Distribution; Conflicts of Interest”on page PS-21 for additional information regarding the fees comprising the underwriting discount. Neither the Securities and Exchange Commission nor any other regulatory body has approved or disapprovedof these securities or passed upon the accuracy or adequacy of this prospectus. Any representation to thecontrary is a criminal offense. The notes are not bank deposits and are not insured by the Federal Deposit Pricing Supplement No. The issue price, underwriting discount and net proceeds listed above relate to the notes we sell initially. We may decideto sell additional notes after the date of this pricing supplement, at issue prices and with underwriting discounts and netproceeds that differ from the amounts set forth above. The return (whether positive or negative) on your investment in GS Finance Corp. may use this prospectus in the initial sale of the notes. In addition, Goldman Sachs & Co. LLC or anyother 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 trade date (as determined byreference to pricing models used by Goldman Sachs & Co. LLC (GS&Co.) and taking into account our credit spreads)is expected to be between $885 and $935 per $1,000 face amount, which is less than the original issue price. Thevalue of your notes at any time will reflect many factors and cannot be predicted; however, the price (not includingGS&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 isequal to approximately the estimated value of your notes at the time of pricing, plus an additional amount (initially equal Prior to, the price (not includ