BRUSSELS—Jolted by fresh allegations of Iranian plots on their doorsteps, European governments are discussing their first targeted sanctions against Tehran in years as they strain to uphold the 2015 Iran nuclear deal.

The discussions come after the Danish government on Tuesday accused Iran’s intelligence agents of plotting the assassination of an Iranian opposition leader there in September. Earlier this year, French officials concluded Tehran was behind a plot to attack an Iranian opposition group meeting in Paris in late...