Lego Harry Potter: Years 5–7

Lego Harry Potter:
Years 5–7
Developer(s)
Publisher(s)
Director(s)Arthur Parsons
SeriesWizarding World
Platform(s)
Release
11 November 2011
    • NA: 11 November 2011
    • PAL: 18 November 2011
    PlayStation Vita
    • NA: 6 March 2012
    • PAL: 9 March 2012
    OS X
    • WW: 22 March 2012
    iOS
    • WW: 3 May 2012
    Android
    • WW: 28 September 2016
    PlayStation 4
    • NA: 18 October 2016
    • EU: 21 October 2016
    Nintendo Switch, Xbox One
    • NA: 30 October 2018
    • EU: 2 November 2018
    PlayStation 5, Xbox Series X/S
    • WW: 8 October 2024
Genre(s)Action-adventure
Mode(s)Single-player, multiplayer

Lego Harry Potter: Years 5–7 is an action-adventure game developed by Traveller's Tales and published by Warner Bros. Interactive Entertainment. The sequel to Lego Harry Potter: Years 1–4 (2010), it was released on 11 November 2011 in North America and November 18 in Europe. The game is based on the Lego Harry Potter toy line and is based on the final three books and four films in the Harry Potter film series: Order of the Phoenix (2007), Half-Blood Prince (2009), Deathly Hallows - Part 1 (2010), and Deathly Hallows - Part 2 (2011). The game was initially released for PlayStation 3, Xbox 360, PlayStation Portable, PlayStation Vita, Wii, Nintendo DS, Nintendo 3DS, and Microsoft Windows. The first of three trailers was released 6 October 2011, and the demo was released on 1 November.

The OS X version of the game was released by Feral Interactive on 22 March 2012. A mobile version of the game was released in May 2012 and September 2016 for iOS and Android, respectively. The game was released for the PlayStation 4 on 21 October 2016, as part of the Lego Harry Potter Collection, which bundles the game with its predecessor, Lego Harry Potter: Years 1–4, and was also released for the Nintendo Switch and Xbox One on 30 October 2018.

The game received generally positive reviews, especially for the humor added to the game's narrative.