"Oscar's contract expired after the game against Switzerland and the decision not to renew it was taken by the executive committee ," said Rodolfo Villalobos, according to a FEDEFUTBOL statement. "I would like to thank him for his efforts."
He said the Ramirez's replacement would depend on the federation's budget. Ramirez, a former Costa Rica midfielder, was in charge for three years.
The Ticos reached the quarter-finals of the 2014 World Cup in Brazil but were eliminated after only two games in Russia after losing to Serbia and Brazil, before drawing 2-2 with Switzerland in their final game.
(Writing by Brian Homewood Moscow)