LEGO Harry Potter: Years 5-7 is an action-adventure utilizing LEGO thematics and mechanics. The game is the part of the vast LEGO franchise and is released by Traveller's Tales — the studio specializing in LEGO since 2006. This is the second part of the Harry Potter LEGO arc with the first one being Years 1-4 title.
The game features mechanics same for all of the LEGO games — the core characteristic of them is collecting LEGO blocks while proceeding through the levels: the environment can be destroyed to some extent (basic surroundings like grass and walls are indestructible), the crafting part looks like an assembly of a constructor kit.
The title implements conditionally open world consisting of various locations reminiscent from the original book. The player can travel between locations after the completing of the main story to mop up the collectibles and find an interaction that was earlier inaccessible due to lack of special powers and moves. Such skills are usually acquired within the first playthrough. The game does not feature an online multiplayer, unlike its predecessor.
The plot of the game generally follows the last three books and four films about the Harry Potter's adventures. The game starts with events depicted in The Order of the Phoenix film and ends with a fight with Lord Voldemort.