Hilary Duff to star in ‘How I Met Your Father’ sitcom sequel

Hilary Duff is about to become legen … wait for it … dary.

The former teen idol and “Younger” star has gotten the unlikely role in a gender-swapped sequel to “How I Met Your Mother” on Hulu.

Called “How I Met Your Father,” the show will follow Sophie (Duff, 33) reminiscing to her son about how she met his father and recounting her friend group’s dating antics back in 2021, (as told from a vantage point in the future). 

The former show, which ran on CBS from 2005 to 2014, had a similar format, with Bob Saget’s voice narrating a look back at Ted Mosby’s (Josh Radnor) past dating romps and friend group, including womanizing Barney (Neil Patrick Harris), ambitious Robin (Cobie Smulders) and couple-goals duo Marshall (Jason Segel) and Lily (Alyson Hannigan). The hit series was often innovative with its structure — jumping around in time and weaving in long-running jokes.

The new series will be written by Isaac Aptaker and Elizabeth Berger, both of whom wrote and produced for “This Is Us,” as well as “Love, Simon” and its spinoff, “Love, Victor.”