Exhibit 23.2

CONSENT OF INDEPENDENT PETROLEUM ENGINEERS
Ryder Scott Company, L.P. (“Ryder Scott”) consents to the references to our firm and our report dated February 10, 2021 (our “Report”) included in Ecopetrol S.A.’s annual report on Form 20-F for the year ended December 31, 2020 (the “Annual Report”), the inclusion of our Report as Exhibit 99.1 to the Annual Report and references to and information derived from our Report in the Annual Report, as well as to the incorporation by reference of the consent and our Report into Ecopetrol S.A.’s registration statement on Form F-3 filed with the United States Securities and Exchange Commission on June 1, 2018 (the “Registration Statement”). Ryder Scott further consents to the references to Ryder Scott as set forth in the Registration Statement under the heading “Experts”.
| /s/ RYDER SCOTT COMPANY, L.P. | |
| RYDER SCOTT COMPANY, L.P. | |
| TBPE Firm Registration No. F-1580 |
Houston, Texas
April 8, 2021
| SUITE 2800, 350 7TH AVENUE, S.W. | CALGARY, ALBERTA T2P 3N9 | TEL (403) 262-2799 | ||
| 633 17TH STREET, SUITE 1700 | DENVER, COLORADO 80202 | TEL (303) 339-8110 |