Jennifer Garner and Patrick Dempsey reportedly dating

Jennifer Garner is reportedly bouncing back from her split from Ben Affleck, secretly dating one of her former hunky co-stars.

OK Magazine reports that the former "Alias" star, 43, is dating "Grey’s Anatomy" alum Patrick Dempsey, 49.

The pair starred together in the film "Valentine’s Day."

A source told the magazine that it happened “a few months back” when Garner asked Dempsey out for coffee.

“They’ve been friends for years ... it was only natural for them to confide in each other,” the source said. “As soon as they started talking, the spark was evident to both of them. Jen was relieved — and excited.”

The source said that they had got on well when they filmed the 2009 film together.

“They had great chemistry and it was obvious to everyone around,” the source said.

Garner and Dempsey reportedly enjoyed a second date over dinner “that ended up lasting a whole weekend.”

“Patrick has been treating her like a queen. It’s refreshing after Ben,” the source said.

Affleck, who reportedly had an affair with the couple’s nanny, was also reportedly dating a former co-star — Pearl Harbor’s Kate Beckinsale, who recently split from her husband of 10 years Len Wiseman.

Garner was married to "Felicity" star Scott Foley from 2000-2004.

She then dated "Alias" co-star Michael Vartan from 2003-2004 before getting together with Affleck.

This article originally appeared on News.com.au.