Olivia Wilde looks casual cool in a hoodie and black athletic leggings following a workout

Olivia Wilde rocks a black hoodie and leggings while hitting the gym in Los Angeles…after a ‘difficult’ split from Harry Styles

Olivia Wilde is starting the New Year off on the right foot.

The Don’t Worry Darling director, 38, was spotted on Friday after a workout in Los Angeles wearing a black hoodie and matching skintight leggings.

The outing comes as Wilde is reportedly still trying to recover from her ‘rocky’ split from pop star Harry Styles, 28.

Staying fit: Olivia Wilde is starting the New Year off on the right foot.  The 38-year-old director of Don't Worry Darling was seen after a workout in Los Angeles on Friday.

Staying fit: Olivia Wilde is starting the New Year off on the right foot. The 38-year-old director of Don’t Worry Darling was seen after a workout in Los Angeles on Friday.

The House star, born Olivia Jane Cockburn, teamed the fit with black sneakers and wore her brunette locks in a high ponytail.

The actress shaded her eyes from the sun with a pair of large black sunglasses and had a white tote bag slung over her shoulder.

To stay hydrated after training, she carried a bottle of water in her hand.

Casual cool: The House star, born Olivia Jane Cockburn, rocked a black hoodie and matching skintight leggings, and wore her brunette hair in a high ponytail for the outing

Casual cool: The House star, born Olivia Jane Cockburn, rocked a black hoodie and matching skintight leggings, and wore her brunette hair in a high ponytail for the outing

Olivia and Harry dated for 19 months before splitting in November 2022.

Styles and Wilde were rumored to have started dating after she directed him in his second feature, Don’t Worry Darling.

The former couple had their first public outing at Styles’ agent’s wedding in January 2021.

Difficult: It comes as Wilde is reportedly still trying to recover from her 'difficult' split from pop star Harry Styles, 28;  pictured 2022

Difficult: It comes as Wilde is reportedly still trying to recover from her ‘difficult’ split from pop star Harry Styles, 28; pictured 2022

Split: Olivia and Harry dated for 19 months before splitting in November 2022;  Pictured in September 2022 in New York

Split: Olivia and Harry dated for 19 months before splitting in November 2022; Pictured in September 2022 in New York

The Rush star recently went on vacation with her friends to help her move on from Styles.

said a source US Weekly: ‘Olivia is still very upset about the breakup. Olivia thought that going on vacation would allow her to relax.

Styles, was in the middle of his tour when the news broke of their break up after almost two years together.

Disney Day: Post-breakup, the star has shared some rare snaps of her kids Otis, 8, and Daisy, 6, including a photo from their fun trip to Disneyland

Disney Day: Post-breakup, the star has shared some rare snaps of her kids Otis, 8, and Daisy, 6, including a photo from their fun trip to Disneyland

The Booksmart director attended almost every show on his residency tour and the previous leg of the US and European tour in 2021.

Sources claimed that the couple broke up due to his upcoming tour and so she could focus more on her children and her job in Los Angeles.

Before dating Styles, Wilde was with actor Jason Sudeikis for nine years and the couple have two children, Otis, 8, and Daisy, 6.

Since the breakup, Wilde has shared rare photos with her two children at Disneyland on social media, as well as treating them to ice cream at Jeni’s Splendid Ice Creams in Los Angeles.

The ex: The actress shares her children with comedian Jason Sudeikis.  They were together for nine years before splitting in November 2020;  pictured 2020

The ex: The actress shares her children with comedian Jason Sudeikis. They were together for nine years before splitting in November 2020; pictured 2020