Company: SREA
Filing Date: 2025-02-26
Form Type: S-8
Source: 0001193125-25-036757
Chunk: 3

Company: SEMPRA
Filing Date: 2025-02-26
Form: S-8
Chunk 3
---
 (including in Exhibit 5.1).                                                                                                                                                                                    |
| 24.1*   |     | Powers of Attorney (included on the signature page hereto).                                                                                                                                                                                    |
| 107*    |     | Filing Fee Table.                                                                                                                                                                                                                              |

| * | Filed herewith. |

| + | In lieu of the opinion of counsel or determination letter contemplated by Item 601(b)(5)(ii) of Commission                                                                                                                                    
 Regulation S-K with respect to the qualification of the Savings Plans under Section 401 of the Internal Revenue Code of 1986, as amended (the “Code”), Sempra hereby undertakes that it will                                                  
 submit or has submitted the Savings Plans and any amendments thereto to the Internal Revenue Service (“IRS”) in a timely manner when required and has made or will make all changes required by the IRS in order to qualify the Savings Plans 
 under Section 401 of the Internal Revenue Code of 1986, as amended.                                                                                                                                                                           |

2

SIGNATURES Pursuant to the requirements of the Securities Act of 1933, the registrant certifies that it has reasonable grounds to believe that it meets all of the requirements for filing on Form S-8and has duly caused this registration statement to be signed on its behalf by the undersigned, thereunto duly authorized, in the City of San Diego, State of California, on February 26, 2025.

| SEMPRA       
 (Registrant) |     |                                                 |
| By:          |     | /s/ Peter R. Wall                               |
|              |     | Peter R. Wall Senior Vice President, Controller 
 and Chief Accounting Officer                    |

POWER OF ATTORNEY Each of the undersigned officers and directors of the registrant hereby severally constitutes and appoints each individual who, at the time of acting under this power of attorney, is the Chief Executive Officer, the Principal Financial Officer (however designated), the Principal Accounting Officer (however designated), a Vice President, the Corporate Secretary or the Treasurer of Sempra, and each of them singly (with full power to each of them to act alone), as his or her true and lawful attorneys-in-fact andagents, with full power of substitution and resubstitution in each of them, for him or her and in his or her name, place and stead, and in any and all capacities, to sign any and all amendments to this registration statement, including post-effective amendments, and any registration statement for the same offering that is to be effective under Rule