Ben Affleck reportedly bought a new home as rumors continue to swirl that he and Jennifer Lopez are splitting.

According to TMZ, the “Good Will Hunting” star recently purchased a $20.5 million mansion in the ritzy Pacific Palisades neighborhood of Los Angeles as his and Lopez’s marital home still sits on the market.

His new bachelor pad allegedly boasts 5 bedrooms with walk-in closets and 6 bathrooms. Inside the main house are reportedly breakfast and dining spaces, a family room, a den and a media room with a dedicated powder room.

Ben Affleck walks in Los Angeles
Ben Affleck, pictured walking in Los Angeles above, reportedly purchased a $20.5 million mansion in the ritzy Pacific Palisades neighborhood.TheImageDirect.com

Ben Affleck walks in Los Angeles
The movie star, photographed here on a stroll in the Brentwood neighborhood of Los Angeles, bought a five-bedroom, six-bathroom house, according to TMZ.TheImageDirect.com

There is also reportedly a separate guest house on the property.

Reps for the actor did not immediately respond to Page Six for comment.

Affleck, 51, and Lopez, 55, have been trying to offload their 38,000-square-foot home since June. While they originally tried to sell the house off-market, they took their listing public earlier this month.

Page Six confirmed they put some of their art pieces up for sale as well.

Ben Affleck and Jennifer Lopez's marital home

Affleck’s home with Jennifer Lopez, seen above, is still sitting on the market for $68 million.nobyline@backgrid / BACKGRID

Ben Affleck and Jennifer Lopez's marital home
The duo attempted to sell the 38,000-square-foot home, pictured above again, off market in June.Gary Glass Estates
The “Gigli” co-stars first purchased their pad in June 2023 — almost a year after they eloped in Las Vegas — for just over $60 million.

They have listed the massive 12-bedroom, 24-bathroom home for $68 million and are reportedly “in a rush to sell it.”

“They thought they could sell it off-market but made a game-time decision in order to put more eyes on the property,” a source told Us Weekly on July 13.

Ben Affleck and Jennifer Lopez cuddle up on the red carpet

The couple, seen cozying up at Elle’s 2023 Women in Hollywood celebration, listed the spacious residence publicly in July — just over a year after they purchased it.AFP via Getty Images

Ben Affleck and Jennifer Lopez pose on the red carpet

The “Gigli” co-stars, seen above at the “This is Me… Now: A Love Story” premiere in February, are reportedly “in a rush” to offload their home.AFP via Getty Images

“Ben especially wants to be done with the house. He was never happy there,” they added.

In June, an insider told People Affleck “never liked” their house because “it’s too far away from his kids.”

The “On the Floor” singer, meanwhile, reportedly thinks it’s “too big.”

Ben Affleck and Jennifer Lopez walk in Los Angeles

The “Way Back” star, photographed walking in Los Angeles with Lopez above, reportedly “never liked” their house because “it’s too far away from his kids.”Thecelebrityfinder/MEGA

Jennifer Lopez waving in NYC

Lopez, seen waving in New York City here, has been spending time on the East Coast as Affleck stays in Los Angeles amid swirling divorce rumors.MEGA