Form: 11-K/A

Annual report of employee stock purchase, savings and similar plans

June 13, 2022

EXHIBIT 23.1

Consent of Independent Registered Public Accounting Firm

To the Global Pension & Benefits Committee and Plan Participants

Ball Corporation 401(k) and Employee Stock Ownership Plan

Westminster, Colorado

We hereby consent to the incorporation by reference in the Registration Statements on Form
S-8 (33-37548, 33-32393, 333-84561, 333-67284, 333-150457 and 333-24061) of Ball Corporation 401(k) and Employee Stock Ownership Plan of our report dated June 10, 2022, relating to the financial statements and supplemental schedules of Ball Corporation 401(k) and Employee Stock Ownership Plan which appear in this Form 11-K for the year ended December 31, 2021.

/s/ BDO USA, LLP

Denver, Colorado

June 10, 2022

E-1