EX-23.1 2 d526203dex231.htm EX-23.1 EX-23.1

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in Registration Statement No. 333-164959 onForm S-8 of Berkshire Hathaway Inc. of our report dated June 19, 2023, with respect to the statements of net assets available for benefits of the BNSF Railway Company Non-Salaried Employees 401(k) Retirement Plan as of December 31, 2022 and 2021, the related statement of changes in net assets available for benefits for the year ended December 31, 2022, and the related supplemental schedule of Schedule H, Line 4i- Schedule of Assets (Held at End of Year) as of December 31, 2022, which report appears in the December 31, 2022 annual report on Form 11-K of the BNSF Railway Company Non-Salaried Employees 401(k) Retirement Plan for the year ended December 31, 2022.

/s/ Whitley Penn LLP

Fort Worth, Texas

June 19, 2023