The game was played in Costa Rica’s National Stadium, ahead of the co-hosts' Group B opener against Nicaragua.
It was Bermuda’s first ever match in the Gold Cup and marked the first time the tournament, which was this year expanded from 12 to 16 teams, has embraced a co-hosting method.
The United States is the other hosting nation.
The next round of Group B games take place in Frisco, Texas on Thursday when Costa Rica play Bermuda and Haiti take on Nicaragua.
(Reporting by Andrew Downie; Editing by Ian Ransom)