GS Finance Corp.$ Autocallable Variable Coupon Equity-Linked Notes due The Goldman Sachs Group, Inc. The notes do not pay a fixed coupon and may pay only the minimum coupon amount on a payment date.Theamount that you will be paid on your notes is based on the performances of the common stock of Advanced MicroDevices, Inc., the common stock of Micron Technology, Inc., the common stock of Oracle Corporation and the commonstock of QUALCOMM Incorporated The notes will mature on the stated maturity date (expected to be July 31, 2031),unless automatically called on any observation date, commencing in July 2027 to and including June 2031. Your noteswill be automatically called if the closing price of each index stock on any such observation date isgreater thanorequaltoits initial price (set on the trade date (expected to be July 27, 2026) and will be an intra-day price or the closing priceof one share of such index stock on the trade date). If your notes are automatically called, you will receive a paymenton the next payment date (the third business day after the relevant observation date) equal to the face amount of yournotesplusa coupon (as described below). Observation dates are expected to be the27th day of each month (provided that the observation date for July 2031 isexpected to be July 28, 2031), commencing in August 2026 and ending in July 2031. If on any observation date theclosing price of each index stock isgreater thanorequalto 77.5% of its initial price, you will receive on the applicablepayment date a coupon for each $1,000 face amount of your notes equal to (i) theproductof $9.042 (0.9042% monthly,or the potential for up to approximately 10.85% per annum)timesthe number of observation dates that have occurredup to and including the relevant observation dateminus(ii) thesumof all coupons previously paid (the maximumcoupon amount). If the closing price ofany index stock on an observation date isless than77.5% of its initial price, youwill receive on the applicable payment date a coupon of $0.209 (0.0209% monthly, or the potential for up toapproximately 0.25% per annum) for each $1,000 face amount of your notes (the minimum coupon amount). At maturity, for each $1,000 face amount of your notes you will receive $1,000 plus the final coupon. 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 S-19.The estimated value of yournotes at the time the terms of your notes are set on the trade date is expected to be between $885 and $925 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 followingpage. Original issue date:expected to be July 30, 2026Original issue price:100% of the face amount* Underwriting discount:% of the face amount*Net proceeds to the issuer:% of the face amount* The original issue price will be% for certain investors; see “Supplemental Plan of Distribution” on page S-39 foradditional 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 DepositInsurance Corporation or any other governmental agency, nor are they obligations of, or guaranteed by, abank. Goldman Sachs & Co. LLC Prospectus Supplement No.dated, 2026. The issue price, underwriting discount and net proceeds listed above relate to the notes we sell initially. We maydecide to sell additional notes after the date of this prospectus supplement, at issue prices and with underwritingdiscounts and net proceeds that differ from the amounts set forth above. The return (whether positive or negative) onyour 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 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 $925 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 p