Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the Registration Statement (Form S-8 No. 333-271888) pertaining to the 401(k) Savings Plan of KB Home of our report dated June 13, 2025, with respect to the financial statements and schedule of the KB Home 401(k) Savings Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2024.
/s/ Ernst & Young LLP
Los Angeles, California
June 13, 2025