The Central American country indicated that it "holds the regime (of Maduro) responsible for the personal safety and integrity of the representative of the State of Costa Rica" in Venezuela.
Venezuela also warned that it reserves the possibility of applying other reciprocal measures "to compensate this unacceptable aggression against the personnel and premises of the diplomatic mission."
More than 60,000 people have fled the crisis in Nicaragua over the past year, the UN said Tuesday, with neighboring Costa Rica bearing the brunt of the refugee flow.