Olivia Wilde looks casually cool after a workout in a

Olivia Wilde looks casually cool after a workout in a hoodie and black athletic leggings

Olivia Wilde wears a hoodie and black leggings as she hits the gym in Los Angeles… following her ‘difficult’ split from Harry Styles

Olivia Wilde is starting the new year on the right foot.

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

The outing comes as Wilde is reportedly still trying to recover from her “difficult” split from pop star Harry Styles, 28.

Stay fit: Olivia Wilde is starting the new year on the right foot.  The Don't Worry Darling director, 38, was spotted after a workout in Los Angeles on Friday

Stay fit: Olivia Wilde is starting the new year on the right foot. The Don’t Worry Darling director, 38, was spotted after a workout in Los Angeles on Friday

The star of the house – born Olivia Jane Cockburn – paired the fit with black trainers and wore her brunette tresses in a high ponytail.

The actress shielded her eyes from the sun with oversized black sunglasses and carried a white tote bag over her shoulder.

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

Casually cool: The star of the house - born Olivia Jane Cockburn - rocked a black hoodie and matching skin-tight leggings, and wore her brunette tresses in a high ponytail for the outing

Casually cool: The star of the house – born Olivia Jane Cockburn – rocked a black hoodie and matching skin-tight leggings, and wore her brunette tresses in a high ponytail for the outing

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

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

The former couple made their public debut at Styles’ agent’s wedding in January 2021.

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

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

Separation: Olivia and Harry were together for 19 months before splitting in November 2022;  Pictured in September 2022 in New York

Separation: Olivia and Harry were together for 19 months before splitting in November 2022; Pictured in September 2022 in New York

The Rush star was recently on vacation with her friends to help her get away from Styles.

A source told US Weekly: “Olivia is still very upset about the breakup. Olivia thought if she went on vacation she could relax.”

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

Disney Day: Following the split, the star shared some rare snaps of her children Otis, 8, and Daisy, 6, including a photo from their fun Disneyland trip

Disney Day: Following the split, the star shared some rare snaps of her children Otis, 8, and Daisy, 6, including a photo from their fun Disneyland trip

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

Sources claimed that the couple have split due to his upcoming touring schedule, allowing her to focus more on her kids and her work in LA.

Before dating Styles, Wilde dated actor Jason Sudeikis for nine years and the two share two children, Otis, 8, and Daisy, 6.

Since the split, Wilde has shared rare photos on social media with her two children at Disneyland and taken them on an ice cream date at Jeni’s Splendid Ice Creams in LA.

The ex: The actress shares her children with comedian Jason Sudeikis.  They were together for nine years prior to their split in November 2020;  Pictured 2020

The ex: The actress shares her children with comedian Jason Sudeikis. They were together for nine years prior to their split in November 2020; Pictured 2020