Tom Hanks covers his face with a bandanna as he takes a Sunday afternoon stroll with Rita Wilson

Tom Hanks covers his face with a bandanna as he takes a Sunday afternoon stroll with wife Rita Wilson

Tom Hanks did his part to stay safe, covering his face with a bandanna, as he headed out for a stroll with wife Rita Wilson.

While the 63-year-old actor was rocking a bandanna, his 63-year-old wife did not cover her face as they took a stroll around their neighborhood in Pacific Palisades, California.

The happy couple, who have been married for 32 years, were in good spirits, with their arms around each other as they took a stroll. 

Staying safe: Tom Hanks did his part to stay safe, covering his face with a bandanna, as he headed out for a stroll with wife Rita Wilson

Hanks was wearing a light green t-shirt with a slightly-matching green and white bandanna tied around his face.

The Forrest Gump star also wore a pair of black shorts and a pair of black New Balance sneakers.

He completed his look with a pair of clear-framed sunglasses, a grey hat with a hoodie draped over his shoulders.

Tom's look: Hanks was wearing a light green t-shirt with a slightly-matching green and white bandanna tied around his face

Tom’s look: Hanks was wearing a light green t-shirt with a slightly-matching green and white bandanna tied around his face

His wife Rita Wilson was wearing a black visor and black sunglasses with a black face mask, though it was seen dangling around her neck instead of covering her face.

She also wore a grey t-shirt under a black hoodie, with a pair of black stretch pants that were cut off at her knees.

The actress completed her look with a pair of black sneakers as she embraced her husband on their walk.

Live stream: The happy couple also took part in YouTube's Dear Class of 2020 live-streamed special, where they celebrated the recent high school graduates who didn't get to have a big ceremony due to COVID-19

Live stream: The happy couple also took part in YouTube’s Dear Class of 2020 live-streamed special, where they celebrated the recent high school graduates who didn’t get to have a big ceremony due to COVID-19

The happy couple also took part in YouTube’s Dear Class of 2020 live-streamed special, where they celebrated the recent high school graduates who didn’t get to have a big ceremony due to COVID-19.

Hanks and Wilson were among the first notable celebrities to have contracted the coronavirus, though they have both since fully recovered.

They contracted the virus while Hanks was in Australia shooting an untitled Elvis Presley biopic, where he plays Elvis’ longtime manager Colonel Tom Parker, alongside Austin Butler as Elvis. 

Recover: Hanks and Wilson were among the first notable celebrities to have contracted the coronavirus, though they have both since fully recovered

Recover: Hanks and Wilson were among the first notable celebrities to have contracted the coronavirus, though they have both since fully recovered

Hanks will next be seen in the WWII drama Greyhound, which he also wrote the screenplay adaptation for.

The film was originally slated to hit theaters on June 12, though it was pulled from theaters due to the coronavirus.

Apple TV Plus announced in May they have picked up the distribution rights to the film for $70 million, and they will release it digitally on an undetermined date.