EXHIBIT 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-275523 and No. 333-199637) of John B. Sanfilippo & Son, Inc. of our report dated August 21, 2024 relating to the consolidated financial statements and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.
/s/ PricewaterhouseCoopers LLP
Chicago, Illinois
August 21, 2024