XML 237 R129.htm IDEA: XBRL DOCUMENT
v3.25.1

Impairment of non-current assets - Investments in joint ventures (Details) - COP ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Impairment of non-current assets |  |  |
Investment in associates and joint ventures | $ 15,374 | $ (7,987) | $ (2,092)
Equion Energa Limited |  |  |
Impairment of non-current assets |  |  |
Investment in associates and joint ventures | $ 15,374 | $ (7,987) | $ (2,092)

X
- References No definition available. + Details
Name: | ec_DetailedInformationsAboutImpairmentLossesReversalsOfAssetsLineItems
Namespace Prefix: | ec_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The impairment loss + References No definition available. + Details
Name: | ec_ImpairmentsLoss
Namespace Prefix: | ec_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | ifrs-full_JointVenturesAxis=ec_EquionEnergyLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |