We find that the best substitute for Gruyère cheese is freshly shredded Swiss cheese. After all, Gruyère is a type of Swiss cheese! However, Comté or Provolone can be used, too.