Workers in bright orange construction vests showed up at a house in Nicaragua’s capital, Managua, with tools to pick the lock and remove cabinets.

Days earlier, employees from the attorney general’s office went to another Managua home and said it was now state property. The men who arrived in police trucks at a third house in the city’s wooded outskirts came with sledgehammers.

“They were ready to break down the door,” Camilo de Castro, a filmmaker whose work is critical of the government, said of the police’s arrival at his door.

Mr. de Castro and the other two homeowners, Gonzalo Carrión and Haydee Castillo, are all human rights activists who are among more than 300 Nicaraguans declared traitors this year by the Sandinista government with no rights to citizenship or property.

Now, the government has started making it official in stark fashion by fanning out and seizing its opponents’ properties, including the homes of two former foreign ministers.

The campaign is a throwback to the leftist party’s first time in office in the 1980s, when the Sandinistas expropriated homes, setting off yearslong legal disputes. The country’s current leader, Daniel Ortega, led the Sandinista revolution that thrust them into power and lives in a house he confiscated decades ago.

Mr. Ortega was beaten at the ballot box in 1990 but after changes to the constitution that made it possible for him to win, Mr. Ortega reclaimed the presidency in 2007. He spent the next decade chipping away at the country’s democracy by interfering with the National Assembly, elections and the Supreme Court.

Tens of thousands of people rose up against Mr. Ortega and his wife, Vice President Rosario Murillo, in 2018, accusing them of becoming exactly what they had once fought against: leaders of a dictatorial family dynasty. Government opposition landed hundreds of people in prison, and at least 300 were shot in protests.

Earlier this year 222 political prisoners were released into exile.

The move to start seizing properties in recent days follows the confiscation of a prominent Jesuit university and the arrests of several priests. On Monday, the Sandinistas seized a private business school Harvard University founded nearly 60 years ago. The government’s campaign signals that even five years after a failed uprising, dissent has serious consequences.

“It was not enough for him to imprison me and send me into exile in addition to stigmatizing me as a terrorist and traitor,” said Ms. Castillo, who now lives in Baton Rouge, La.

Ms. Murillo, who acts as the government spokeswoman, did not respond to a request for comment. She and the president have said that they consider opposition activists terrorists for trying to overthrow the government by blocking roads, bringing commerce to a standstill and occasionally resorting to violence. Many of them, like Mr. de Castro, are officially fugitives from justice.

The international community has widely criticized the Ortega government, with the United Nations likening the government to Nazis who committed crimes against humanity.

Mr. Ortega helped lead an insurgency that in 1979 overthrew the corrupt dictatorship of Anastasio Somoza Debayle. A civil war ensued, during which the new Sandinista government seized the Somoza family’s many ill-gotten spoils. The confiscation was initially intended as a quest to return to the Nicaraguan people what had been stolen, by redistributing land through agrarian reform.

But the Sandinistas also took the homes of people who fled, either accusing them of being allies of the Somoza regime or declaring the property abandoned.

When they were voted out of office in 1990, the Sandinistas used the transition period to whip up legal documentation for the properties they had doled out to their cronies, a giveaway known as the “piñata.”

While the government at the time rationalized the property transfers, saying that up to 200,000 poor people received land titles, critics said top officials took up to 6,000 homes, including some of the best real estate in the country like large estates and beach houses.

Mr. Ortega himself still lives in a six-bedroom compound in Managua, which takes up an entire square block, that he seized from a former adversary who decades later became his vice president.

“Everything Somoza owned had essentially been robbed, so it was perfect that it was confiscated — not confiscated, but returned to Nicaragua,” said Moisés Hassan, a former member of the Sandinista junta that ruled at the time. “Those houses were supposed to be used as nursing homes or orphanages, but then those bums took advantage and started stealing houses, accusing people of being Somocistas.”

During their time in office, Sandinista officials who lived in palatial digs “maintained the fiction” that the homes were property of the state that had simply been “assigned” to them, Mr. Hassan said.

Mr. Hassan, among the first Sandinistas to break with the party, fled the country for Costa Rica two years ago and is among the political opponents who were stripped of their Nicaraguan citizenship. Government workers recently seized the seven-bedroom house in Managua he bought in 1980, which had recently been valued at $280,000.

“The cruel truth is that it’s the only material thing I had besides my pension, which they also took,” Mr. Hassan, 81, said.

Mr. Carrión, the human rights activist, fled to Costa Rica five years ago when the government dissolved the human rights organization he ran. He spent at least $70,000 on his home in the center of Managua and had finished paying it off.

“They convicted us without a trial and took the house, even though the law says they can only do that if a property is used in the commission of a crime,” he said.

A passer-by took photos showing a chunk of his kitchen dumped in a pile in front of the house.

Mr. Carrión, 62, who also lost his pension, has faith that the Ortega-Murillo government will eventually collapse and the homes will be recovered.

Experts say it will be a long road before the properties are ever returned to their owners. It took decades for people who lost their homes in the 1980s, many of whom had been or eventually became American citizens, to be compensated — and that was only after the Sandinistas no longer occupied the presidency.

It took pressure from Washington and threats of withholding U.S. aid to make a dent in the thousands of claims, said Peter Sengelmann, 87, who lost his house in 1979, presumably because his two brothers were associated with the Somoza government and later led the Committee to Recover Confiscated American Properties in Nicaragua.

“The Sandinista government paid me about a third of what it was worth, and I took it, because I thought it was better than nothing,” said Mr. Sengelmann, who now lives in Miami. “It took about 15 years.”

He was paid $85,000.

Jason Poblete, a U.S. lawyer who specializes in international property claims, mostly out of Cuba, said about a year and a half ago he started getting calls from property owners in Nicaragua who said they were being harassed with false unpaid property tax bills, another tactic the government uses to give seizures “the color of law,” he said.

The issue is likely to become a longtime sticking point as it is in Cuba, where nearly 6,000 American citizens and corporations lost homes, farms, factories, sugar mills and other properties totaling $1.9 billion when the Castros took power in 1959. Hundreds of thousands of Cubans also lost property, Mr. Poblete said, without compensation.

“The Cubans learned how to do this, and they taught the Nicaraguans,” Mr. Poblete said. “It is a more sophisticated form of political intimidation.’’

Mr. de Castro, who in the past briefly worked as an assistant to New York Times reporters, said no lawyer in Nicaragua would ever take their cases. He added that several activists who were stripped not just of property but also their citizenship planned to bring a case to the Inter-American Commission on Human Rights, arguing that the moves violated international law. Among the plaintiffs are his mother, the writer Gioconda Belli, whose home was also taken.

“As long as the regime is in power, we won’t be able to go back and won’t be able to get our houses back,” he said. “I don’t think they’re going to stop.”