Patrick Dempsey Mrs. McDreamy Sells House ... Keeps Hubby

10/4/2016 4:16 PM PDT

Patrick Dempsey -- Mrs. McDreamy Sells House, Keeps Hubby (PHOTO GALLERY)

EXCLUSIVE

Patrick Dempsey and his wife, Jill, are back together, and their first order of business -- dumping the pad Jill bought when they were on the verge of divorce. 

Jill swooped the 2 story Pacific Palisades home last summer for $6.1 million -- when she and Patrick were in the throes of the breakup -- and now she's unloaded it for $7.575 mil. The deal closed on Tuesday.

Pretty sweet temporary housing for Jill -- 5 beds, 5 baths with 6,135 square feet of space, and a full extra guest house out back. Not to mention pool and spa, cathedral ceilings and its own library. 

Now she's passed on all that luxury -- because of her agents, Brett Lawyer and Barbara Boyle -- to continue life with Dr. McDreamy. The tidy profit doesn't hurt either.

The buyers, "Black Mass" director Scott Cooper and his producer wife Jocely, were repped by Jeeb O'Reilly.