It all depends on your credit card coverage. You really need to talk with your credit card to see what your options are. I always get all the coverage becuase I get nervous about the WHAT IF?...
Collision Damage Waiver (CDW) itself isn't technically "mandatory by name," but basic third-party liability insurance ("Responsabilidad Civil") is.
Most rental companies in Costa Rica bundle CDW into your quote anyway, making it seem mandatory because they wonβt let you leave without it unless you can prove (with a letter) that your credit card fully covers rental CDW specifically in Costa Rica.
Even then, some agencies still require you to buy the basic liability from them.