J.P. Morgan ChaseJPM -1.21% & Co. Chairman and Chief Executive James Dimon has been invited to appear before a key Senate panel on June 7 to explain what led to his company’s $2 billion-plus trading loss.

J.P. Morgan said Mr. Dimon will testify but didn’t immediately commit to the date. “Jamie will of course be available to testify next month. We are working with the House and Senate to determine a timeframe that work for both chambers and allow us to provide the most thorough testimony next month,” a J.P. Morgan spokeswoman said.

Senate Banking Committee Chairman Sen. Tim Johnson (D., S.D.) announced the date of Mr. Dimon’s appearance Friday. He had previously said that he would ask Mr. Dimon to testify, but the date hadn’t been announced. The hearing will start at 10 a.m.