Exhibit 23.6

Consent of Independent Auditors

We consent to the incorporation by reference in the registration on Form S-3 of Hannon Armstrong Sustainable Infrastructure Capital, Inc. of our report dated April 29, 2021, with respect to the consolidated financial statements of Rosie TargetCo, LLC and subsidiaries, which report appears in the Form 10-K/A of Hannon Armstrong Sustainable Infrastructure Capital, Inc. dated March 31, 2023 and to the reference to our firm under the heading “Experts” in the prospectus.

/s/ KPMG LLP

Philadelphia, Pennsylvania

December 8, 2023