In a long-simmering dispute, the court of appeal in Cologne found that Lindt's foil-wrapped chocolate teddies could not be mistaken for Haribo's trademark jelly sweets.
"The court rejected Haribo's lawsuit," a court spokeswoman said..
"It could not find any resemblance between the written trademarks 'gold bear' and the Lindt Teddy."
Bonn-based Haribo had argued that the chocolate teddies, wrapped in gold foil, were a "three-dimensional representation of the words 'gold bear'."
But the court rejected Haribo's arguments, pointing out that Lindt's logo was clearly visible on the packaging and the teddies were much closer in appearance to the Swiss chocolate maker's own "gold bunnies" that are sold at Easter.
Haribo can now appeal and take the case to the Federal Court of Justice.